* net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
[bpt/emacs.git] / lisp / ChangeLog
1 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
2
3 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
4 uses code from the previous `ange-ftp-run-real-handler'.
5 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
6 only in case that function exist. This is needed for proper
7 unloading of Tramp.
8
9 2013-04-15 Tassilo Horn <tsdh@gnu.org>
10
11 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
12
13 * textmodes/reftex.el (reftex-compile-variables): Use it.
14
15 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
16
17 * files.el (normal-mode): Only use default major-mode if no other mode
18 was specified.
19
20 * emacs-lisp/trace.el (trace-values): New function.
21
22 * files.el: Allow : in local variables (bug#14089).
23 (hack-local-variable-regexp): New var.
24 (hack-local-variables-prop-line, hack-local-variables): Use it.
25
26 2013-04-13 Roland Winkler <winkler@gnu.org>
27
28 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
29 data before it gets modified by bibtex-beginning-of-entry.
30
31 2013-04-13 Roland Winkler <winkler@gnu.org>
32
33 * textmodes/bibtex.el (bibtex-url): Doc fix.
34
35 2013-04-13 Roland Winkler <winkler@gnu.org>
36
37 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
38 does not visit a BibTeX file, exclude it from the list of buffers
39 returned by bibtex-initialize.
40
41 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
42
43 * window.el (split-window): Remove interactive form, since as a
44 command this function is a special case of split-window-below.
45 Correct doc string.
46
47 2013-04-12 Roland Winkler <winkler@gnu.org>
48
49 * faces.el (read-face-name): Do not override value of arg default.
50 Allow single faces and strings as default values. Remove those
51 elements from return value that are not faces.
52 (describe-face): Simplify.
53 (face-at-point): New optional args thing and multiple so that this
54 function can provide the same functionality previously provided by
55 read-face-name.
56 (make-face-bold, make-face-unbold, make-face-italic)
57 (make-face-unitalic, make-face-bold-italic, invert-face)
58 (modify-face, read-face-and-attribute): Use face-at-point.
59
60 * cus-edit.el (customize-face, customize-face-other-window)
61 * cus-theme.el (custom-theme-add-face)
62 * face-remap.el (buffer-face-set)
63 * facemenu.el (facemenu-set-face): Use face-at-point.
64
65 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
66
67 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
68
69 2013-04-10 Tassilo Horn <tsdh@gnu.org>
70
71 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
72 off leading { and trailing } from field values.
73
74 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
75
76 * emacs-lisp/timer.el (timer--check): New function.
77 (timer--time, timer-set-function, timer-event-handler): Use it.
78 (timer-set-idle-time): Simplify.
79 (timer--activate): CSE.
80 (timer-event-handler): Give more info in error message.
81 (internal-timer-start-idle): New function, moved from C.
82
83 * mpc.el (mpc-proc): Add `restart' argument.
84 (mpc-proc-cmd): Use it.
85 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
86 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
87 less often.
88
89 2013-04-10 Masatake YAMATO <yamato@redhat.com>
90
91 * progmodes/sh-script.el: Implement `sh-mode' own
92 `add-log-current-defun-function' (bug#14112).
93 (sh-current-defun-name): New function.
94 (sh-mode): Use the function.
95
96 2013-04-09 Bastien Guerry <bzg@gnu.org>
97
98 * simple.el (choose-completion-string): Fix docstring (bug#14163).
99
100 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
101
102 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
103
104 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
105 timer (bug#14156).
106
107 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
108
109 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
110 declaration.
111
112 2013-04-07 Leo Liu <sdl.web@gmail.com>
113
114 * pcmpl-x.el: New file.
115
116 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
117
118 Do not set x-display-name until X connection is established.
119 This is needed to prevent from weird situation described at
120 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
121 * frame.el (make-frame): Set x-display-name after call to
122 window system initialization function, not before.
123 * term/x-win.el (x-initialize-window-system): Add optional
124 display argument and use it.
125 * term/w32-win.el (w32-initialize-window-system):
126 * term/ns-win.el (ns-initialize-window-system):
127 * term/pc-win.el (msdos-initialize-window-system):
128 Add compatible optional display argument.
129
130 2013-04-06 Eli Zaretskii <eliz@gnu.org>
131
132 * files.el (normal-backup-enable-predicate): On MS-Windows and
133 MS-DOS compare truenames of temporary-file-directory and of the
134 file, so that 8+3 aliases (usually found in $TEMP on Windows)
135 don't fail comparison by compare-strings. Also, compare file
136 names case-insensitively on MS-Windows and MS-DOS.
137
138 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
139
140 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
141 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
142
143 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
144
145 * whitespace.el (whitespace-color-on, whitespace-color-off):
146 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
147
148 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
149
150 * ispell.el (ispell-set-spellchecker-params):
151 Really set `ispell-args' for all equivs.
152
153 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
154
155 * ido.el (ido-completions): Use extra elements of ido-decorations
156 (bug#14143).
157 (ido-decorations): Update docstring.
158
159 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
160
161 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
162 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
163 nil during initialization, in order not to miss changes since the
164 file was opened. (Bug#14140)
165
166 2013-04-05 Leo Liu <sdl.web@gmail.com>
167
168 * kmacro.el (kmacro-call-macro): Fix bug#14135.
169
170 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
171
172 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
173
174 2013-04-04 Glenn Morris <rgm@gnu.org>
175
176 * electric.el (electric-pair-inhibit-predicate): Add :version.
177
178 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
179
180 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
181 when a package is required several times (bug#14082).
182
183 2013-04-04 Roland Winkler <winkler@gnu.org>
184
185 * faces.el (read-face-name): Behave as promised by the docstring.
186 Assume that arg default is a list of faces.
187 (describe-face): Call read-face-name with list of default faces.
188
189 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
190
191 * bookmark.el: Fix deletion of bookmarks (bug#13972).
192 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
193 (bookmark-bmenu-execute-deletions): Only skip first line if it's
194 the header.
195 (bookmark-exit-hook-internal): Save even if list is empty.
196
197 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
198
199 * emacs-lisp/package.el (package-pinned-packages): New var.
200 (package--add-to-archive-contents): Obey it (bug#14118).
201
202 2013-04-03 Alan Mackenzie <acm@muc.de>
203
204 Handle `parse-partial-sexp' landing inside a comment opener
205 (Bug#13244). Also adapt to the new values of element 7 of a parse
206 state.
207
208 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
209 parameter `not-in-delimiter'. Handle being inside comment opener.
210 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
211 character in case we're typing a '*' after a '/'.
212 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
213 instead by passing the parameter to c-state-pp-to-literal.
214
215 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
216 for elt. 7 of a parse state.
217
218 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
219
220 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
221 * international/latin1-disp.el, international/mule-util.el:
222 * language/cyril-util.el, language/european.el, language/ind-util.el:
223 * language/lao-util.el, language/thai.el, language/tibet-util.el:
224 * language/tibetan.el, language/viet-util.el:
225 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
226
227 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
228
229 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
230 (electric-pair-post-self-insert-function): Use it.
231 (electric-pair-default-inhibit): New function, extracted from
232 electric-pair-post-self-insert-function.
233
234 2013-03-31 Roland Winkler <winkler@gnu.org>
235
236 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
237
238 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
239
240 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
241
242 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
243
244 Un-indent after "pass" and "return" statements (Bug#13888)
245 * progmodes/python.el (python-indent-block-enders): New var.
246 (python-indent-calculate-indentation): Use it.
247
248 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
249
250 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
251 defun. Defining it as defalias could introduce too eager
252 byte-compiler optimization. (Bug#14030)
253
254 2013-03-30 Chong Yidong <cyd@gnu.org>
255
256 * iswitchb.el (iswitchb-read-buffer): Fix typo.
257
258 2013-03-30 Leo Liu <sdl.web@gmail.com>
259
260 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
261 (kmacro-execute-from-register): Pass the keyboard macro to
262 kmacro-call-macro or repeating won't work correctly.
263
264 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
265
266 * progmodes/subword.el: Back to using `forward-symbol'.
267
268 * subr.el (forward-whitespace, forward-symbol)
269 (forward-same-syntax): Move from thingatpt.el.
270
271 2013-03-29 Leo Liu <sdl.web@gmail.com>
272
273 * kmacro.el (kmacro-to-register): New command.
274 (kmacro-execute-from-register): New function.
275 (kmacro-keymap): Bind to 'x'. (Bug#14071)
276
277 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
278
279 * mpc.el: Use defvar-local and setq-local.
280 (mpc--proc-connect): Connection failures are not bugs.
281 (mpc-mode-map): `follow-link' only applies to the buffer's content.
282 (mpc-volume-map): Bind to the up-events.
283
284 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
285
286 * progmodes/subword.el (superword-mode): Use `forward-sexp'
287 instead of `forward-symbol'.
288
289 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
290
291 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
292 (edebug--recursive-edit): Use it.
293 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
294 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
295
296 2013-03-28 Leo Liu <sdl.web@gmail.com>
297
298 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
299
300 2013-03-27 Eli Zaretskii <eliz@gnu.org>
301
302 * facemenu.el (list-colors-callback): New defvar.
303 (list-colors-redisplay): New function.
304 (list-colors-display): Install list-colors-redisplay as the
305 revert-buffer-function. (Bug#14063)
306
307 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
308
309 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
310 and suffixes don't overlap (bug#14061).
311
312 * case-table.el: Use lexical-binding.
313 (case-table-get-table): New function.
314 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
315
316 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
317
318 * progmodes/subword.el: Add `superword-mode' to do word motion
319 over symbol_words (parallels and leverages `subword-mode' which
320 does word motion inside MixedCaseWords).
321
322 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
323
324 * eshell/em-unix.el: Move su and sudo to...
325 * eshell/em-tramp.el: ...Eshell tramp module
326
327 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
328
329 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
330 Change return value to be a sexp. Delay `get-buffer' to after
331 restoring the desktop (bug#13951).
332
333 2013-03-26 Leo Liu <sdl.web@gmail.com>
334
335 * register.el: Move semantic tag handling back to
336 cedet/semantic/senator.el. (Bug#14052)
337
338 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
339
340 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
341 into the prompt either (bug#13963).
342
343 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
344
345 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
346 part of "(error-foo)".
347
348 2013-03-24 Juri Linkov <juri@jurta.org>
349
350 * replace.el (list-matching-lines-prefix-face): New defcustom.
351 (occur-1): Pass `list-matching-lines-prefix-face' to the function
352 `occur-engine' if `face-differs-from-default-p' returns t.
353 (occur-engine): Add `,' inside backquote construct to evaluate
354 `prefix-face'. Propertize the prefix with the `prefix-face' face.
355 Pass `prefix-face' to the functions `occur-context-lines' and
356 `occur-engine-add-prefix'.
357 (occur-engine-add-prefix, occur-context-lines): Add optional arg
358 `prefix-face' and propertize the prefix with `prefix-face'.
359 (Bug#14017)
360
361 2013-03-24 Leo Liu <sdl.web@gmail.com>
362
363 * nxml/rng-valid.el (rng-validate-while-idle)
364 (rng-validate-quick-while-idle): Guard against deleted buffer.
365 (Bug#13999)
366
367 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
368 is the last entry in kill-buffer-hook.
369
370 * files.el (kill-buffer-hook): Doc fix.
371
372 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
373
374 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
375 Make it safe-local.
376
377 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
378
379 2013-03-23 Leo Liu <sdl.web@gmail.com>
380
381 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
382 Remove.
383
384 * nxml/rng-valid.el (rng-validate-mode)
385 (rng-after-change-function, rng-do-some-validation):
386 * nxml/rng-maint.el (rng-validate-buffer):
387 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
388 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
389 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
390 (nxml-extend-after-change-region): Use with-silent-modifications.
391
392 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
393 timer-idle-list.
394
395 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
396 (rng-next-error-1, rng-previous-error-1): Do not let-bind
397 timer-idle-list. (Bug#13999)
398
399 2013-03-23 Juri Linkov <juri@jurta.org>
400
401 * info.el (info-index-match): New face.
402 (Info-index, Info-apropos-matches): Add a nested subgroup to the
403 main pattern and add text properties with the new face to matches
404 in index entries relative to the beginning of the index entry.
405 (Bug#14015)
406
407 2013-03-21 Eric Ludlam <zappo@gnu.org>
408
409 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
410 Inhibit read only while inserting objects.
411
412 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
413
414 * progmodes/cfengine.el: Update docs to mention
415 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
416 symbol motion. Remove "_" from the word syntax.
417
418 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
419
420 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
421 syntax for both `cfengine2-mode' and `cfengine3-mode'.
422
423 2013-03-20 Juri Linkov <juri@jurta.org>
424
425 * info.el (Info-next-reference-or-link)
426 (Info-prev-reference-or-link): New functions.
427 (Info-next-reference, Info-prev-reference): Use them.
428 (Info-try-follow-nearest-node): Handle footnote navigation.
429 (Info-fontify-node): Fontify footnotes. (Bug#13989)
430
431 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
432
433 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
434 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
435
436 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
437
438 Suppress unnecessary non-ASCII chatter during build process.
439 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
440 (batch-skkdic-convert): Suppress most of the chatter.
441 It's not needed so much now that machines are faster,
442 and its non-ASCII component was confusing; see Dmitry Gutov in
443 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
444
445 2013-03-20 Leo Liu <sdl.web@gmail.com>
446
447 * ido.el (ido-chop): Fix bug#10994.
448
449 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
450
451 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
452 Remove vars.
453 (whitespace-color-on, whitespace-color-off):
454 Use `font-lock-fontify-buffer' (Bug#13817).
455
456 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
457
458 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
459 remapping in mode-line.
460 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
461
462 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
463
464 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
465 value for `whitespace-line' face (Bug#13875).
466 (whitespace-font-lock-keywords): Change description.
467 (whitespace-color-on): Don't save `font-lock-keywords' value, save
468 the constructed keywords instead.
469 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
470
471 2013-03-19 Leo Liu <sdl.web@gmail.com>
472
473 * progmodes/compile.el (compilation-display-error): New command.
474 (compilation-mode-map, compilation-minor-mode-map): Bind it to
475 C-o. (Bug#13992)
476
477 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
478
479 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
480
481 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
482
483 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
484
485 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
486
487 * net/tramp-compat.el (tramp-compat-user-error): New defun.
488
489 * net/tramp-adb.el (tramp-adb-handle-shell-command):
490 * net/tramp-gvfs.el (top):
491 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
492 (tramp-handle-shell-command): Use it.
493 (tramp-dissect-file-name): Raise an error when hostname is a
494 method name, and neither method nor user is specified.
495
496 * net/trampver.el: Update release number.
497
498 2013-03-18 Leo Liu <sdl.web@gmail.com>
499
500 Make sure eldoc can be turned off properly.
501 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
502 eldoc-mode.
503 (eldoc-display-message-p): Revert last change.
504 (eldoc-display-message-no-interference-p)
505 (eldoc-print-current-symbol-info): Tweak.
506
507 2013-03-18 Tassilo Horn <tsdh@gnu.org>
508
509 * doc-view.el (doc-view-new-window-function): Check the new window
510 overlay's display property instead the char property of the
511 buffer's first char. Use `with-selected-window' instead of
512 `save-window-excursion' with `select-window'.
513 (doc-view-document->bitmap): Check the current doc-view overlay's
514 display property instead the char property of the buffer's first char.
515
516 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
517
518 Automate the build of ja-dic.el (Bug#13984).
519 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
520 from the input, rather than assume that it's been done for us by the
521 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
522 the current date into a ja-dic.el comment, as that complicates
523 regression testing.
524
525 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
526
527 * whitespace.el: Fix double evaluation.
528 (whitespace-space, whitespace-hspace, whitespace-tab)
529 (whitespace-newline, whitespace-trailing, whitespace-line)
530 (whitespace-space-before-tab, whitespace-indentation)
531 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
532 obsolete defvars.
533 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
534 (whitespace-color-on): Use a single font-lock-add-keywords call.
535 Fix double-evaluation of face variables.
536
537 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
538
539 * net/tramp-adb.el (tramp-adb-parse-device-names):
540 Use `start-process' instead of `call-process'. Otherwise, the
541 function might be blocked under MS Windows. (Bug#13299)
542
543 2013-03-17 Leo Liu <sdl.web@gmail.com>
544
545 Extend eldoc to display info in the mode-line. (Bug#13978)
546 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
547 (eldoc-mode-line-string): New variable.
548 (eldoc-minibuffer-message): New function.
549 (eldoc-message-function): New variable.
550 (eldoc-message): Use it.
551 (eldoc-display-message-p)
552 (eldoc-display-message-no-interference-p):
553 Support eldoc-post-insert-mode.
554
555 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
556 (eval-expression): Run it.
557
558 2013-03-17 Roland Winkler <winkler@gnu.org>
559
560 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
561 strings in the list of return values.
562
563 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
564
565 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
566 radix before checking for HMS forms.
567
568 2013-03-16 Leo Liu <sdl.web@gmail.com>
569
570 * progmodes/scheme.el: Add indentation and font-locking for λ.
571 (Bug#13975)
572
573 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
574
575 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
576 token before point (bug#13942).
577
578 2013-03-16 Leo Liu <sdl.web@gmail.com>
579
580 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
581
582 2013-03-16 Eli Zaretskii <eliz@gnu.org>
583
584 * startup.el (command-line-normalize-file-name): Fix handling of
585 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
586 <xfq.free@gmail.com> in
587 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
588
589 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
590
591 Sync with Tramp 2.2.7.
592
593 * net/trampver.el: Update release number.
594
595 2013-03-14 Tassilo Horn <tsdh@gnu.org>
596
597 * doc-view.el Fix bug#13887.
598 (doc-view-insert-image): Don't modify overlay associated to
599 non-live windows, and implement horizontal centering of image in
600 case it's smaller than the window.
601 (doc-view-new-window-function): Force redisplay of new windows on
602 doc-view buffers.
603
604 2013-03-13 Karl Fogel <kfogel@red-bean.com>
605
606 * saveplace.el (save-place-alist-to-file): Don't sort
607 `save-place-alist', just pretty-print it (bug#13882).
608
609 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
610
611 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
612 whether `default-file-name-coding-system' is bound. It isn't in
613 XEmacs.
614
615 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
616
617 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
618 backquotes for `obsolete' (bug#13929).
619
620 * international/mule.el (find-auto-coding): Include file name in
621 obsolescence warning (bug#13922).
622
623 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
624
625 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
626 for CFEngine 3-specific indentation.
627 (cfengine3-indent-line): Use it. Fix up category regex.
628 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
629
630 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
631
632 * type-break.el (type-break-file-name):
633 * textmodes/remember.el (remember-data-file):
634 * strokes.el (strokes-file):
635 * shadowfile.el (shadow-initialize):
636 * saveplace.el (save-place-file):
637 * ps-bdf.el (bdf-cache-file):
638 * progmodes/idlwave.el (idlwave-config-directory):
639 * net/quickurl.el (quickurl-url-file):
640 * international/kkc.el (kkc-init-file-name):
641 * ido.el (ido-save-directory-list-file):
642 * emulation/viper.el (viper-custom-file-name):
643 * emulation/vip.el (vip-startup-file):
644 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
645 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
646
647 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
648
649 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
650 * language/thai-word.el: Switch to UTF-8.
651
652 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
653
654 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
655
656 2013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
657
658 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
659 Use with-current-buffer and don't move point.
660 (net-utils-run-simple): Remove useless code.
661 (net-utils-remove-ctl-m): Remove unused custom.
662
663 2013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
664
665 * international/characters.el (glyphless-set-char-table-range): New fun.
666 (update-glyphless-char-display): Use it (bug#13744).
667
668 2013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
669
670 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
671 namespaces in the syntax, indent closer for hanging brace
672 correctly, allow single-quote delimited 'strings', and make
673 `cfengine3-mode' the default.
674
675 2013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
676
677 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
678 Use lexical-binding. Fix up docstring according to conventions.
679 (gdbmi-debug-mode): New var.
680 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
681 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
682 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
683 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
684 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
685 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
686 (gdbmi-bnf-incomplete-record-result): New functions.
687 (gdb-car<): Remove function.
688 (gdbmi-record-list): Remove variable.
689 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
690 (gdbmi-bnf-result-state-configs): New const.
691 (gud-gdbmi-marker-filter): Rewrite.
692 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
693 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
694 Add `token' argument.
695 (gdb-done, gdb-error): New functions.
696 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
697
698 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
699
700 * term/xterm.el (xterm--report-background-handler): Don't burp
701 upon timeout.
702 (xterm--version-handler): Extract from terminal-init-xterm.
703 (xterm--query): Don't mishandle timeout. Remove debugging messages.
704 Allow multiple handlers.
705 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
706
707 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
708 (xterm--report-background-handler, xterm--query): New functions.
709 (terminal-init-xterm): Use them.
710
711 2013-03-11 Michael R. Mauger <michael@mauger.com>
712
713 * progmodes/sql.el Version 3.2
714 Please note that my address changed to <michael@mauger.com>;
715 the <mmaug@yahoo.com> address remains active.
716 (sql-connection-alist): Updates documentation to fix bug#13715.
717 (sql-connect): Handle missing `sql-connection-alist' correctly.
718 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
719 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
720 property.
721 (sql-default-value): New function.
722 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
723 values were not used.
724 (sql-rename-buffer): Make sure alternate buffer name has no text
725 properties.
726 (sql-input-sender, sql-execute-feature): Fetch variable with
727 `buffer-local-value' rather than `with-current-buffer'.
728 (sql-*): Use #' function syntax consistently.
729 (sql-*): Use message/error/user-error consistently.
730
731 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
732
733 * xt-mouse.el (xterm-mouse-event-read): Remove.
734 (xterm-mouse--read-event-sequence-1000)
735 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
736
737 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
738
739 * term/xterm.el (xterm-function-map): Support format used with
740 formatOtherKeys=1 (bug#13839).
741
742 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
743 (with-no-warnings): Use `declare'.
744
745 * whitespace.el (whitespace-enable-predicate): New variable.
746 (whitespace-enable-predicate): Use it.
747
748 * comint.el (comint-send-input, comint-snapshot-last-prompt)
749 (comint-output-filter, comint-update-fence):
750 Use with-silent-modifications.
751
752 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
753
754 * replace.el (occur-read-regexp-defaults-function): New var.
755 (occur-read-regexp-defaults): New defun.
756 (occur-read-primary-args): Propagate above change (bug#13892).
757
758 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
759
760 * mouse.el (mouse-drag-track): Remove left-over debugging code.
761
762 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
763
764 Major rewrite due to changed D-Bus interface of GVFS 1.14.
765
766 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
767 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
768 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
769 New defconst.
770 (tramp-gvfs-file-name-handler-alist) [directory-files]
771 [directory-files-and-attributes, file-exists-p, file-modes]:
772 Use Tramp default handler.
773 [file-acl, file-selinux-context, process-file, set-file-acl]:
774 [set-file-modes, set-file-selinux-context, shell-command]:
775 [start-file-process]: Remove handler.
776 [verify-visited-file-modtime]: New handler.
777 (tramp-gvfs-dbus-string-to-byte-array)
778 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
779 calls of `dbus-string-to-byte-array' and
780 `tramp-gvfs-dbus-byte-array-to-string'.
781 (tramp-gvfs-handle-copy-file)
782 (tramp-gvfs-handle-delete-directory)
783 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
784 (tramp-gvfs-handle-file-directory-p)
785 (tramp-gvfs-handle-file-executable-p)
786 (tramp-gvfs-handle-file-name-all-completions)
787 (tramp-gvfs-handle-file-readable-p)
788 (tramp-gvfs-handle-file-writable-p)
789 (tramp-gvfs-handle-insert-directory)
790 (tramp-gvfs-handle-insert-file-contents)
791 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
792 (tramp-gvfs-handle-set-visited-file-modtime)
793 (tramp-gvfs-handle-write-region): Rewrite.
794 (tramp-gvfs-handle-file-acl)
795 (tramp-gvfs-handle-file-selinux-context)
796 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
797 (tramp-gvfs-handle-set-file-modes)
798 (tramp-gvfs-handle-set-file-selinux-context)
799 (tramp-gvfs-handle-shell-command)
800 (tramp-gvfs-handle-start-file-process)
801 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
802 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
803 over the symlinks. Fix user handling.
804 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
805 of the D-Bus signals.
806 (tramp-gvfs-connection-mounted-p): Handle different names of the
807 D-Bus methods.
808 (tramp-gvfs-mount-spec-entry): New defun.
809 (tramp-gvfs-mount-spec): Use it.
810 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
811 there is a share name. Handle different names of the D-Bus
812 signals and methods. Set connection properties needed for
813 `tramp-check-cached-permissions'.
814 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
815 Return t or nil.
816
817 * net/tramp.el (tramp-backtrace): Move up.
818 (tramp-error): Dump a backtrace into the debug buffer when
819 `tramp-verbose > 9.
820 (tramp-file-mode-type-map, tramp-file-mode-from-int)
821 (tramp-file-mode-permissions, tramp-get-local-uid)
822 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
823 tramp-sh.el.
824
825 * net/tramp-sh.el (tramp-file-mode-type-map)
826 (tramp-check-cached-permissions, tramp-file-mode-from-int)
827 (tramp-file-mode-permissions, tramp-get-local-uid)
828 (tramp-get-local-gid): Move to tramp.el.
829
830 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
831
832 Separate mouse-1-click-follows-link from mouse-drag-region.
833 * mouse.el (mouse--down-1-maybe-follows-link): New function.
834 (key-translation-map): Use it to implement mouse-1-click-follows-link.
835 (mouse-drag-line, mouse-drag-track):
836 Remove mouse-1-click-follows-link code.
837 (mouse--remap-link-click-p): Remove.
838
839 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
840
841 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
842 (hi-lock-read-regexp-defaults): New defun.
843 (hi-lock-line-face-buffer, hi-lock-face-buffer)
844 (hi-lock-face-phrase-buffer): Propagate above change.
845 Update docstring (bug#13892).
846
847 * subr.el (find-tag-default-as-regexp): New defun.
848 * replace.el (read-regexp): Propagate above change.
849
850 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
851
852 * calc/calc-units.el (calc-convert-units): Fix the way that default
853 new units are stored.
854
855 2013-03-07 Matthias Meulien <orontee@gmail.com>
856
857 * bookmark.el: Define a face to highlight bookmark names in
858 bookmark menu buffers, where the default is a bold face similarly
859 to buffer names in buffer menu buffers.
860 (bookmark-menu-bookmark): New face to highlight bookmark names.
861 (bookmark-insert-location): Remove duplicated text property to
862 conform to buffer list (see `list-buffers').
863 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
864 `bookmark-menu-bookmark' to bookmark names.
865
866 2013-03-07 Matthias Meulien <orontee@gmail.com>
867 Karl Fogel <kfogel@red-bean.com>
868
869 * bookmark.el: Display the bookmark list header similarly to the
870 buffer list header (see `list-buffers'), where the default is now
871 an immovable/immutable header line.
872 (bookmark-bmenu-use-header-line): New variable.
873 (bookmark-bmenu-inline-header-height): New name for
874 `bookmark-bmenu-header-height', to avoid confusion with the code
875 for the new immovable header. All references changed.
876 (bookmark-bmenu-set-header): New function.
877 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
878 Conditionalize header construction accordingly.
879 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
880 the inline header height.
881 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
882 Conditionalize the skipping of the inline header height.
883
884 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
885
886 * progmodes/js.el (js--multi-line-declaration-indentation):
887 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
888
889 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
890
891 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
892 Only propertize regexp when not inside a string (Bug#13885).
893
894 2013-03-06 Alan Mackenzie <acm@muc.de>
895
896 Correct the position of point in some line-up functions.
897 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
898 (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
899 point at column 0 rather than at a random place in the line.
900
901 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
902
903 * net/tramp-compat.el (tramp-compat-delete-directory):
904 Implement TRASH argument.
905
906 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
907
908 Keep pre-existing highlighting in completion candidates (Bug#13250).
909 * minibuffer.el (completions-first-difference): State that the
910 face is "added" in the docstring.
911 (completions-common-part): Same. And don't inherit from default.
912 (completion-hilit-commonality): Prepend 'completions-common-part
913 and 'completion-first-difference faces to the 'face property,
914 instead of replacing the value(s).
915 (completion--insert-strings): Same with 'completions-annotations face.
916 (completion-hilit-commonality): Use 'face instead of
917 'font-lock-face, because it gets priority if the completion
918 strings already have 'face set.
919
920 2013-03-04 Alan Mackenzie <acm@muc.de>
921
922 Replace `last-command-event' by `last-command-char' in XEmacs.
923 * progmodes/cc-defs.el (c-last-command-char): New macro.
924 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
925 (c-semi&comma-no-newlines-before-nonblanks)
926 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
927 in place of `last-command-event'.
928 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
929 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
930 (c-electric-paren, c-electric-continued-statement): Use the new
931 macro in place of `last-command-event'.
932
933 2013-03-04 Glenn Morris <rgm@gnu.org>
934
935 * files.el (inhibit-local-variables-regexps):
936 Add .diff and .patch. (Bug#13862)
937
938 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
939
940 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
941 whether the "su" command is available on the device.
942
943 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
944
945 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
946 (tramp-adb-handle-process-file): Remove superfluous setting.
947 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
948 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
949 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
950
951 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
952
953 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
954 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
955 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
956 Use dict-key rather than dict-name for the error message.
957
958 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
959
960 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
961 when reverting (bug#13831).
962
963 2013-03-01 Agustín Martín Domingo <agustin.martin@hispalinux.es>
964
965 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
966 Always expand affix-file before storing to protect against changed
967 `default-directory'.
968 (ispell-print-if-debug): Make sure message is printed at the end
969 of the debug buffer.
970
971 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
972
973 * net/tramp.el (tramp-obsolete-methods): New defconst.
974 (tramp-warned-obsolete-methods): New defvar.
975 (tramp-find-method): Check for obsolete methods. Map them to a
976 replacement method if appropriate.
977
978 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
979 Remove methods.
980 (top): Remove completion functions for "scp1", "scp2", "ssh1",
981 "ssh2" and "plink1".
982
983 2013-02-28 Dale Sedivec <dale@codefu.org>
984
985 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
986 Return valid syntax-table property value when converting
987 quotes within text from string syntax to punctuation syntax (bug#13844).
988
989 2013-02-28 Juri Linkov <juri@jurta.org>
990
991 * dired-aux.el (dired-diff): If file at point is a backup file,
992 use its original as the default value, and reverse the order
993 of arguments to the `diff' call. Doc fix. (Bug#13772)
994
995 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
996
997 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
998 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
999
1000 2013-02-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1001
1002 Initial support for hunspell dictionaries auto-detection (Bug#13639)
1003
1004 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
1005 Ask hunspell about available and default dictionaries.
1006 (ispell-parse-hunspell-affix-file): Extract relevant info from
1007 hunspell affix file.
1008 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
1009 `ispell-dictionary-alist' entry for given dictionary after info
1010 provided by `ispell-parse-hunspell-affix-file'.
1011 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
1012 of parsed hunspell dicts and associated affix files.
1013 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
1014 of parsed hunspell dicts and associated parameters.
1015 (ispell-set-spellchecker-params):
1016 Call `ispell-find-hunspell-dictionaries' if hunspell and not
1017 previously done.
1018 (ispell-start-process):
1019 Call `ispell-hunspell-fill-dictionary-entry' for current
1020 dictionary if it is not initialized.
1021
1022 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
1023
1024 * imenu.el: Comment nitpicks.
1025
1026 2013-02-28 Sam Steingold <sds@gnu.org>
1027
1028 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
1029 See <http://stackoverflow.com/questions/14720205>.
1030
1031 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1032
1033 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
1034 (net-utils-mode): Use it.
1035 (net-utils--revert-cmd): New var.
1036 (net-utils-run-simple): Set it, and remove bogus interactive spec.
1037 (traceroute): Use net-utils-run-simple.
1038
1039 2013-02-28 Glenn Morris <rgm@gnu.org>
1040
1041 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
1042
1043 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
1044
1045 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
1046 (doc-view-fallback-mode): Remove overlays here.
1047 (doc-view-toggle-display): Instead of here. Don't throw away
1048 image-mode-winprops-alist.
1049 (doc-view-goto-page): Don't mess with hscroll.
1050
1051 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1052
1053 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
1054 &optional (bug#13819).
1055
1056 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
1057
1058 * net/tramp-adb.el (tramp-adb-parse-device-names)
1059 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
1060
1061 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
1062
1063 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1064 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
1065 defined. POSIX environments fall back to the "C" locale then and
1066 emit a warning, which shall be suppressed.
1067
1068 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
1069
1070 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
1071 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
1072
1073 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
1074
1075 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
1076
1077 2013-02-25 Juri Linkov <juri@jurta.org>
1078
1079 * replace.el (read-regexp): Let-bind `default' to the first
1080 element of `defaults' if it's a list, otherwise it should be
1081 a string or nil. Let-bind `suggestions' to `defaults' if it's
1082 a list, otherwise make a list with the string value. Doc fix.
1083 (Bug#13805)
1084
1085 2013-02-25 Eli Zaretskii <eliz@gnu.org>
1086
1087 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
1088 that match "\`\.#", to avoid compiling lock files, even if they
1089 are readable (as they are on MS-Windows).
1090
1091 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
1092
1093 * files.el (basic-save-buffer): Remove redundant directory-creation.
1094
1095 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
1096
1097 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
1098 Add option to force `pi' to remain symbolic.
1099 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
1100 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
1101 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
1102 derivatives, when necessary.
1103
1104 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
1105
1106 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
1107 (ps-mode-octal-region): Use string-make-unibyte.
1108
1109 2013-02-23 Glenn Morris <rgm@gnu.org>
1110
1111 * emulation/viper-cmd.el (viper-submit-report):
1112 * progmodes/ps-mode.el (ps-mode-maintainer-address):
1113 * progmodes/vera-mode.el (vera-mode-help-address):
1114 * textmodes/artist.el (artist-maintainer-address):
1115 * textmodes/reftex.el (reftex-report-bug):
1116 * vc/ediff-util.el (ediff-submit-report):
1117 Add bug-gnu-emacs to bug report address.
1118
1119 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
1120 Remove bug report entries.
1121 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
1122
1123 * emacs-lisp/bytecomp.el (byte-compile-level): New.
1124 (byte-compile-file, byte-compile-from-buffer):
1125 Use separate input/output buffers for each level of recursive
1126 byte-compile-file calls. (Bug#13787)
1127
1128 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
1129
1130 * net/tramp.el (tramp-methods): Fix docstring.
1131 (tramp-ssh-controlmaster-options): Rename it from
1132 `tramp-ssh-controlmaster-template'. Return a string.
1133 (tramp-default-method): Adapt check for
1134 `tramp-ssh-controlmaster-options'.
1135
1136 * net/tramp-sh.el (tramp-methods):
1137 Replace `tramp-ssh-controlmaster-template' by "%c".
1138 (tramp-do-copy-or-rename-file-out-of-band)
1139 (tramp-maybe-open-connection): Use it in format spec. Ensure,
1140 that it is applied for the first hop only.
1141
1142 2013-02-22 Juri Linkov <juri@jurta.org>
1143
1144 * isearch.el (isearch-lazy-highlight-new-loop):
1145 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
1146 to `isearch-other-end' if it is not nil. (Bug#13402)
1147
1148 * replace.el (replace-highlight): Let-bind `isearch-other-end'
1149 to `match-beg'.
1150
1151 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
1152 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
1153 and `isearch-error' to nil.
1154
1155 2013-03-16 Fabián Ezequiel Gallina <fgallina@cuca>
1156
1157 * progmodes/python.el (python-info-current-defun):
1158 Enhance match-data cluttering prevention.
1159
1160 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
1161
1162 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
1163
1164 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1165 Handle multibyte file names.
1166
1167 2013-02-22 Glenn Morris <rgm@gnu.org>
1168
1169 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
1170 (sgml-transformation-function): Give it a :set function.
1171 (sgml-tag): Doc fix.
1172
1173 * cmuscheme.el (scheme-buffer):
1174 * progmodes/inf-lisp.el (inferior-lisp-buffer):
1175 * progmodes/tcl.el (inferior-tcl-buffer):
1176 * textmodes/tex-mode.el (tex-command): Doc fixes.
1177
1178 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
1179
1180 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
1181
1182 2013-02-21 Bastien Guerry <bzg@gnu.org>
1183
1184 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
1185
1186 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
1187
1188 * progmodes/python.el (python-info-current-defun):
1189 Enhance match-data cluttering prevention.
1190
1191 2013-02-21 Glenn Morris <rgm@gnu.org>
1192
1193 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
1194 loaded while outline-regexp is let bound. (Bug#9584)
1195
1196 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
1197
1198 * progmodes/python.el (python-info-current-defun): Fix failed
1199 defun name retrieval because of unwanted match-data cluttering.
1200
1201 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
1202
1203 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
1204 defconst. Apply independent check for ControlPersist.
1205
1206 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
1207 temporarily, via "env".
1208
1209 2013-02-21 Glenn Morris <rgm@gnu.org>
1210
1211 * info.el (Info-enable-edit): Remove.
1212 (Info-edit): Disable it rather than using Info-enable.
1213 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
1214 (Info-cease-edit): Make editing of Info files obsolete.
1215
1216 * informat.el (Info-tagify):
1217 Handle buffers not visiting files. (Bug#13763)
1218
1219 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
1220
1221 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
1222
1223 2013-02-21 Glenn Morris <rgm@gnu.org>
1224
1225 * files.el (basic-save-buffer): Move check for existing parent
1226 directory after hooks. (Bug#13773)
1227
1228 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
1229
1230 * simple.el (command-execute): Move from C. Add obsolete check.
1231 (extended-command-history): Move from C.
1232
1233 2013-02-20 Ulrich Müller <ulm@gentoo.org>
1234
1235 * jka-cmpr-hook.el (jka-compr-compression-info-list)
1236 (jka-compr-mode-alist-additions): Handle .txz suffix for
1237 XZ-compressed tar archives (bug#13770).
1238
1239 2013-02-20 Bastien Guerry <bzg@gnu.org>
1240
1241 * outline.el (outline-regexp, outline-heading-end-regexp):
1242 Make variables, not options (bug#13731).
1243
1244 2013-02-20 Glenn Morris <rgm@gnu.org>
1245
1246 * image.el (image-current-frame): Change from variable to function.
1247 (image-show-frame): Rename from image-nth-frame. Update callers.
1248 * image-mode.el (image-multi-frame): New variable.
1249 (image-mode-map, image-mode, image-goto-frame):
1250 Use image-multi-frame rather than image-current-frame.
1251 (image-mode, image-goto-frame): Use image-current-frame as
1252 function rather than as variable.
1253
1254 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
1255 * emacs-lisp/cl-macs.el (cl--make-type-test)
1256 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
1257
1258 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
1259
1260 * net/tramp-cache.el (tramp-get-hash-table): New defun.
1261 (tramp-get-file-property, tramp-set-file-property)
1262 (tramp-get-connection-property, tramp-set-connection-property): Use it.
1263 (tramp-flush-file-property, tramp-flush-directory-property):
1264 Rename argument to KEY.
1265 (tramp-flush-connection-property): Simplify a little bit.
1266 (tramp-connection-property-p): New defun.
1267 (top): Reapply saved values only if there isn't a corresponding
1268 entry in `tramp-connection-properties'.
1269
1270 2013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
1271
1272 * progmodes/python.el (python-indent-context):
1273 Fix python-info-line-ends-backslash-p call.
1274 (python-info-line-ends-backslash-p)
1275 (python-info-beginning-of-backslash): Respect line-number argument.
1276 (python-info-current-line-comment-p):
1277 Fix behavior when not at beginning-of-line.
1278 (python-util-position): Remove function.
1279 (python-util-goto-line): New function.
1280
1281 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
1282
1283 * eshell/em-unix.el (eshell/su): Require tramp.
1284 (eshell/sudo): Require tramp. Remove now unnecessary check.
1285
1286 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
1287 `tramp-current-connection' in order to avoid an error when several
1288 commands are invoked in a short time in eshell and friends.
1289
1290 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
1291
1292 Cleanup some of EIEIO's namespace.
1293 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
1294 Use it to define all the class-* and object-* field accessors (renamed
1295 to eieio--class-* and eieio--object-*). Update all uses.
1296 (eieio--class-num-slots, eieio--object-num-slots): Rename from
1297 class-num-slots and object-num-slots.
1298 (eieio--check-type): New macro.
1299 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
1300 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
1301 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
1302 (object-assoc-list-safe): Use it.
1303 (eieio-defclass): Tighten regexp.
1304 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
1305 Remove unreachable code.
1306 (object-class-fast): Declare obsolete.
1307 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
1308 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
1309 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
1310 Rename from class-name, object-name, object-set-name-string,
1311 object-class, object-class-name, class-parents, class-children,
1312 class-precedence-list, class-parent; with obsolete alias.
1313 (class-of, class-direct-superclasses, class-direct-subclasses):
1314 Declare obsolete.
1315 (eieio-defmethod): Use `memq'; remove unreachable code.
1316 * emacs-lisp/eieio-base.el (eieio-persistent-read):
1317 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
1318 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
1319
1320
1321 2013-02-18 Aidan Gauland <aidalgol@no8wireless.co.nz>
1322
1323 * eshell/em-cmpl.el: Correct "context-related help" keybinding in
1324 commentary.
1325
1326 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
1327
1328 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
1329 Use font-lock-keyword-face for macros and special forms (bug#8345).
1330
1331 2013-02-17 Didier Verna <didier@didierverna.net>
1332
1333 * net/network-stream.el (network-stream-open-starttls):
1334 Check that response to the starttls-command is non-nil. (Bug#13706)
1335
1336 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
1337
1338 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
1339 Don't assume all identifier chars have syntax word.
1340 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1341 Remove bar-not-symbol. Adjust callers.
1342 (lisp-mode-variables): Don't set a font-lock-syntax-table.
1343
1344 2013-02-17 Leo Liu <sdl.web@gmail.com>
1345
1346 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
1347
1348 2013-02-17 Glenn Morris <rgm@gnu.org>
1349
1350 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
1351
1352 * image-mode.el (image-mode-map): Add image-dired menu entry.
1353
1354 * image-dired.el (tumme): Make this alias obsolete.
1355
1356 2013-02-16 Glenn Morris <rgm@gnu.org>
1357
1358 * image.el (image-animated-types): Remove.
1359 (image-multi-frame-p): Rename from image-animated-p, and generalize.
1360 (image-animated-p): Make obsolete alias.
1361 (image-animate, image-nth-frame, image-animate-timeout):
1362 Use image-multi-frame-p.
1363 (image-animate-timeout): If no delay, use image-default-frame-delay.
1364 * image-mode.el (image-mode, image-toggle-animation):
1365 Use image-multi-frame-p. (Bug#763, bug#10739)
1366 (image-mode): Adjust startup message for a multi-frame image.
1367
1368 * image-mode.el (image-mode-map): Give it a menu.
1369
1370 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
1371
1372 * net/tramp-cache.el (tramp-connection-properties): New customer
1373 option.
1374 (tramp-get-connection-property): Use it.
1375
1376 * net/tramp-compat.el (top): Require 'trampver.
1377
1378 * net/tramp-sh.el (tramp-remote-process-environment):
1379 Set tramp-autoload cookie.
1380
1381 2013-02-16 Kevin Ryde <user42@zip.com.au>
1382
1383 * info-look.el (info-lookup-select-mode): If major-mode has no
1384 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
1385
1386 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
1387
1388 * replace.el (read-regexp): Tighten the regexp that matches tag.
1389 When tag is retrieved with `find-tag-default', use regexp that
1390 matches tag at point. Also update docstring (Bug#13687).
1391
1392 2013-02-16 Eli Zaretskii <eliz@gnu.org>
1393
1394 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
1395 add watch for the file, not its parent directory, since w32notify
1396 sets up the watch for the directory internally. (Bug#13725)
1397
1398 2013-02-16 Glenn Morris <rgm@gnu.org>
1399
1400 * image.el (image-default-frame-delay): New variable.
1401 (image-animated-p): Use image-default-frame-delay.
1402 (image-minimum-frame-delay): New constant.
1403 (image-animate-timeout): Use image-minimum-frame-delay.
1404
1405 * image.el (image-nth-frame): New, split from image-animate-timeout.
1406 (image-animate-timeout): Use image-nth-frame.
1407 * image-mode.el (image-goto-frame, image-next-frame)
1408 (image-previous-frame): New commands.
1409 (image-mode-map): Add new frame commands.
1410
1411 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
1412
1413 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
1414 If col-desc already has help-echo, use it. (Bug#13563)
1415
1416 2013-02-16 Glenn Morris <rgm@gnu.org>
1417
1418 * image.el (image-current-frame): New variable.
1419 (image-animate-timeout): Set image-current-frame.
1420 * image-mode.el (image-mode): For animated images,
1421 display a frame counter via mode-line-process.
1422
1423 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
1424
1425 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
1426
1427 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
1428
1429 2013-02-15 Alan Mackenzie <acm@muc.de>
1430
1431 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
1432 global minor mode has been enabled, call the minor mode function
1433 for a new buffer once only, after the major mode hook, whilst
1434 allowing that hook explicitly to disable the minor mode.
1435 (MODE-disable-in-buffer): New (generated) function.
1436 (disable-MODE): New (generated) buffer local variable.
1437
1438 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
1439
1440 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
1441 `iswitchb-next-match' and `iswitchb-prev-match' resply.
1442 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
1443 `ido-next-match' and `ido-prev-match' resply.
1444 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
1445 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
1446 `icomplete-backward-completions' (Bug#13708).
1447
1448 2013-02-15 Glenn Morris <rgm@gnu.org>
1449
1450 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
1451
1452 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
1453
1454 * net/goto-addr.el (goto-address-fontify): Add start and end args.
1455 (goto-address-fontify-region): Use them instead of narrowing, so
1456 syntax-ppss has access to the whole buffer.
1457
1458 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
1459
1460 * progmodes/python.el: Explain how to restore "cc-mode"-like
1461 forward-sexp movement in header documentation (Bug#13642).
1462 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
1463 comments and strings (GH bug 114).
1464
1465 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
1466
1467 * progmodes/python.el (python-info-current-defun): Fix current
1468 defun detection (Bug#13618).
1469
1470 2013-02-15 Chong Yidong <cyd@gnu.org>
1471
1472 * xml.el (xml-parse-string): Fix typo in handling of bad character
1473 references.
1474
1475 2013-02-15 Glenn Morris <rgm@gnu.org>
1476
1477 * play/fortune.el (fortune-compile): Simplify and fix previous change.
1478
1479 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
1480
1481 * net/tramp.el (tramp-debug-message):
1482 Add `tramp-condition-case-unless-debug'.
1483 (tramp-debug-on-error): New defvar.
1484 (tramp-condition-case-unless-debug): New defun.
1485 (tramp-file-name-handler): Use it.
1486
1487 2013-02-14 Juri Linkov <juri@jurta.org>
1488
1489 * info.el (Info-isearch-filter): Treat non-nil values of
1490 `search-invisible' including its default value `open'
1491 like the value `t' to match hidden text. (Bug#13402)
1492
1493 2013-02-14 Glenn Morris <rgm@gnu.org>
1494
1495 * help-fns.el (find-lisp-object-file-name): Give special treatment
1496 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
1497
1498 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
1499
1500 * net/quickurl.el (quickurl-save-urls):
1501 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
1502
1503 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
1504
1505 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
1506 depth for unfinished percent literal. Not using it in the caller.
1507 (ruby-move-to-block): Jump over multiline literals of all types,
1508 ignoring code-looking contents inside them.
1509 (ruby-add-log-current-method): Improve performance at the expense
1510 of accuracy. `ruby-block-contains-point' is relatively slow, so
1511 only use it for method and singleton class blocks.
1512
1513 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
1514
1515 Use ControlMaster where applicable. (Bug#13677)
1516
1517 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
1518 replacing `tramp-detect-ssh-controlmaster'.
1519 (tramp-default-method): Use it.
1520
1521 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
1522 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
1523 arguments.
1524 [scpc, rsyncc]: Remove methods.
1525 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
1526 and "ssh2_old".
1527 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
1528 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
1529
1530 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1531
1532 * emacs-lisp/package.el (package--initialized): Move before first use.
1533
1534 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
1535
1536 * icomplete.el (icomplete-hide-common-prefix): New user option.
1537 (icomplete-first-match): New face.
1538 (icomplete-completions): Correct handling of "complete but not
1539 unique" (Bug#12638).
1540
1541 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
1542
1543 * descr-text.el (describe-char): Display the script (bug#13698).
1544
1545 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1546
1547 * tmm.el: Use lexical-binding and current-active-maps.
1548 (tmm-menubar): Use map-keymap and pcase.
1549 (tmm--completion-table): New function.
1550 (tmm-prompt): Use it to fix the menu order.
1551 (tmm-get-keybind): Use current-active-maps.
1552
1553 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
1554
1555 Add dired-hide-details-mode. (Bug#6799)
1556
1557 * locate.el (locate-mode): Set parent mode property to dired-mode.
1558
1559 * find-dired.el (find-dired): Call dired-insert-set-properties on
1560 initial information line. Set process mark on end of buffer.
1561 (find-dired-sentinel):
1562 Call dired-insert-set-properties on summary.
1563
1564 * dired.el (dired-hide-details-hide-symlink-targets)
1565 (dired-hide-details-hide-information-lines): New options.
1566 (dired-insert-directory):
1567 Set properties after final treatment of output.
1568 (dired-insert-set-properties):
1569 Set dired-hide-details-* properties.
1570 (dired-mode-map): Bind dired-hide-details-mode.
1571 (dired-mode): Set buffer-invisibility-spec to a list.
1572 (dired-next-line): Skip hidden lines.
1573 (dired-previous-line): Use dired-next-line.
1574 (dired-hide-details-mode): New minor mode.
1575 (dired-hide-details-update-invisibility-spec): New function.
1576
1577 2013-02-13 Glenn Morris <rgm@gnu.org>
1578
1579 * play/yow.el: Move to obsolete/. (Bug#9384)
1580
1581 2013-02-13 Juri Linkov <juri@jurta.org>
1582
1583 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
1584 to select `ediff-control-frame' and set input focus correctly on Xfce.
1585 (Bug#12218)
1586
1587 2013-02-13 Juri Linkov <juri@jurta.org>
1588
1589 * image-mode.el (image-mode-map):
1590 * doc-view.el (doc-view-mode-map):
1591 * vc/ediff-util.el (ediff-setup-keymap):
1592 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
1593
1594 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
1595
1596 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
1597 performance. Instead of recalculating indentation fully for each
1598 line, sum up indentation depth based only on visited lines.
1599 (ruby-parse-partial): Increase the depth after "do" even when END
1600 is right after it.
1601 (ruby-parse-partial): When END is in the middle of a percent
1602 literal, increase the depth if the delimiter chars belong to the
1603 paren syntax class.
1604
1605 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
1606
1607 * play/fortune.el (fortune-compile): Also make the compiled file
1608 if it does not exist at all, not just if it is old. (Bug#5338)
1609
1610 2013-02-13 Glenn Morris <rgm@gnu.org>
1611
1612 * emacs-lisp/package.el (package-menu-execute): Doc fix.
1613
1614 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
1615
1616 * lisp/emacs-lisp/package.el (package-menu-execute):
1617 Add optional noquery argument. (Bug#13625)
1618
1619 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
1620
1621 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
1622 if DIR exists and PARENTS is non-nil.
1623
1624 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
1625
1626 * progmodes/js.el (js--multi-line-declaration-indentation):
1627 Silence byte-compiler warning.
1628
1629 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
1630
1631 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
1632
1633 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
1634 only if it doesn't exist.
1635
1636 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1637 Set process marker.
1638
1639 2013-02-12 Tassilo Horn <tsdh@gnu.org>
1640
1641 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
1642 UserInstallation when calling soffice to work around LibreOffice
1643 bug 37531.
1644
1645 2013-02-12 Glenn Morris <rgm@gnu.org>
1646
1647 * files.el (basic-save-buffer):
1648 Offer to create a non-existing directory. (Bug#3016)
1649
1650 * calc/calc-graph.el (calc-graph-show-dumb):
1651 * calendar/calendar.el (calendar-mode-map):
1652 * cus-edit.el (custom-mode-map):
1653 * ehelp.el (electric-help-map):
1654 * emulation/vip.el (vip-mode-map):
1655 * epa.el (epa-key-list-mode-map):
1656 * info.el (Info-mode-map):
1657 * mail/rmail.el (rmail-mode-map):
1658 * mail/rmailsum.el (rmail-summary-mode-map):
1659 * man.el (Man-mode-map):
1660 * net/newst-plainview.el (newsticker-mode-map):
1661 * progmodes/cpp.el (cpp-edit-mode-map):
1662 * progmodes/grep.el (grep-mode-map):
1663 * progmodes/idlw-help.el (idlwave-help-mode-map):
1664 * simple.el (special-mode-map):
1665 * startup.el (splash-screen-keymap):
1666 * view.el (view-mode-map):
1667 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
1668
1669 2013-02-11 Elias Pipping <pipping@lavabit.com>
1670
1671 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
1672 (bug#13679).
1673
1674 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
1675
1676 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
1677
1678 2013-02-11 Glenn Morris <rgm@gnu.org>
1679
1680 * vc/diff.el (diff-use-labels): New variable.
1681 (diff-no-select): Use --label rather than -L, and first
1682 check that it is supported. (Bug#11067)
1683
1684 * files.el (enable-dir-local-variables): New variable.
1685 (hack-dir-local-variables): Respect enable-dir-local-variables.
1686 * tutorial.el (help-with-tutorial):
1687 Ignore directory-local variables. (Bug#11127)
1688
1689 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
1690 (vc-svn-global-switches): ... to here. (Bug#13513)
1691
1692 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
1693
1694 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
1695 Handle "foo (bar, default: xxx): " prompts.
1696
1697 2013-02-10 Chong Yidong <cyd@gnu.org>
1698
1699 * files.el (basic-save-buffer-1): Do not set
1700 buffer-file-coding-system-explicit (Bug#4533).
1701
1702 * mail/emacsbug.el (report-emacs-bug): Change binding of
1703 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
1704
1705 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
1706
1707 * calc/calc.el (calc-allow-units-as-numbers): New variable.
1708 * calc/calc-units.el (calc-convert-units): Use new variable.
1709
1710 2013-02-09 Eli Zaretskii <eliz@gnu.org>
1711
1712 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
1713
1714 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
1715 buffer-file-type.
1716
1717 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
1718 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
1719 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
1720 coding-system-for-write instead.
1721
1722 * jka-compr.el (jka-compr-write-region): Don't bind
1723 buffer-file-type.
1724
1725 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
1726 buffer-file-type.
1727
1728 * files.el (file-name-buffer-file-type-alist): Remove defvar.
1729 (insert-file-contents-literally): Remove reference to
1730 file-name-buffer-file-type-alist.
1731
1732 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
1733 make-obsolete.
1734 (find-buffer-file-type-match, find-buffer-file-type): Remove.
1735 (find-buffer-file-type-coding-system): Remove references to
1736 find-buffer-file-type-match, find-buffer-file-type, and
1737 buffer-file-type.
1738 Don't put find-buffer-file-type-coding-system into
1739 file-coding-system-alist.
1740 (find-file-binary, find-file-text): Bind coding-system-for-read
1741 instead of file-name-buffer-file-type-alist.
1742
1743 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
1744
1745 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
1746 converter (Bug#13622).
1747 (doc-view-unoconv-program): Make obsolete alias.
1748 (doc-view-odf->pdf-converter-program): New variable.
1749 (doc-view-odf->pdf-converter-function): New variable.
1750 (doc-view-mode-p): Use it.
1751 (doc-view-odf->pdf-converter-unoconv):
1752 Rename from `doc-view-odf->pdf-converter-unoconv'.
1753 (doc-view-odf->pdf-converter-soffice): New function.
1754 (doc-view-convert-current-doc):
1755 Use `doc-view-odf->pdf-converter-function'.
1756
1757 2013-02-09 Chong Yidong <cyd@gnu.org>
1758
1759 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
1760 view-echo-area-messages (Bug#13340).
1761
1762 * help.el (view-echo-area-messages): Use display-buffer.
1763
1764 * dired-x.el (dired-do-run-mail): Prompt for confirmation
1765 (Bug#13561).
1766
1767 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
1768
1769 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
1770 Eval body right away, now that we do eager macroexpansion (bug#13605).
1771
1772 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
1773 (fundamental-mode): Use run-mode-hooks.
1774
1775 * eshell/esh-proc.el (eshell/kill): Fix last change.
1776 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
1777
1778 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
1779
1780 * eshell/esh-proc.el (eshell/kill): Rewrite.
1781
1782 * eshell/em-ls.el (show-almost-all): Declare.
1783 (eshell-do-ls): Add support for -A argument.
1784
1785 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
1786
1787 * icomplete.el (icomplete-forward-completions)
1788 (icomplete-backward-completions): Handle corner case (bug#13602).
1789
1790 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
1791
1792 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
1793 be nil. Handle this. (Bug#13636)
1794
1795 2013-02-07 Richard Stallman <rms@gnu.org>
1796
1797 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
1798 `save-buffer-coding-system'.
1799
1800 2013-02-07 Alan Mackenzie <acm@muc.de>
1801
1802 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
1803 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
1804 (c-parse-state-get-strategy): Don't return 'BOD any more.
1805 (c-append-lower-brace-pair-to-state-cache):
1806 Extra parameter HERE instead of narrowing.
1807 Widen to top of buffer before searching backwards for a brace pair.
1808 (c-state-push-any-brace-pair): Add HERE parameter to function call.
1809 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
1810 Narrow to parameter HERE, in place of being called narrowed.
1811 (c-remove-stale-state-cache): Extra parameter HERE in place of
1812 narrowing. Check there's an open brace in the cache before
1813 searching for its match.
1814 (c-invalidate-state-cache-1): Add HERE parameter to function call.
1815 (c-parse-state-1): Don't narrow here for 'forward strategy,
1816 instead passing extra parameter HERE to several functions.
1817 Remove 'BOD strategy.
1818
1819 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
1820
1821 * emacs-lisp/package.el (describe-package-1): Tell what archive is
1822 used to install the package.
1823
1824 2013-02-06 Glenn Morris <rgm@gnu.org>
1825
1826 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
1827 if we can't get user input. (Bug#6567)
1828
1829 * startup.el (command-line): If simple.el is missing,
1830 test and warn about for some possible causes.
1831
1832 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
1833
1834 * cus-start.el (all): Add ns-use-native-fullscreen.
1835
1836 2013-02-05 Glenn Morris <rgm@gnu.org>
1837
1838 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
1839
1840 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
1841 Fix directory creation in fallback case.
1842
1843 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1844
1845 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
1846 (vc-update-change-log): Use dolist.
1847
1848 2013-02-04 Chong Yidong <cyd@gnu.org>
1849
1850 * thingatpt.el: Rewrite the URL detection routines, absorbing some
1851 code from ffap.el.
1852 (thing-at-point-beginning-of-url-regexp): New var.
1853 (thing-at-point-uri-schemes): Update list of URI schemes.
1854 (thing-at-point-url-regexp): Variable deleted.
1855 (thing-at-point-markedup-url-regexp): Disallow newlines.
1856 (thing-at-point-newsgroup-regexp)
1857 (thing-at-point-newsgroup-heads)
1858 (thing-at-point-default-mail-uri-scheme): New variables.
1859 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
1860 method to find the possible bounds of the URI at point.
1861 New optional argument to find ill-formed URIs.
1862 (thing-at-point-url-at-point): Rewrite. New arguments for finding
1863 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
1864 the scheme-adding heuristics from ffap-url-at-point.
1865 (thing-at-point--bounds-of-well-formed-url): New function.
1866 Do parens matching to decide whether to include parens in the URI
1867 (Bug#9153).
1868
1869 * ffap.el: Require thingatpt.
1870 (ffap-url-at-point): Delegate URI detection to thing-at-point.
1871 All URI-valid characters are now recognized (Bug#5673).
1872 (ffap-string-at-point): Use use-region-p.
1873 (ffap-url-regexp): Extra character is handled by thing-at-point.
1874 (ffap-string-at-point-mode-alist): Allow parentheses.
1875 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
1876 Convert to aliases; code moved to thingatpt.el.
1877 (ffap-gnus-hook): Use setq-local.
1878
1879 2013-02-04 Glenn Morris <rgm@gnu.org>
1880
1881 * emacs-lisp/ert.el (ert--explain-format-atom):
1882 Don't try to print non-characters as characters. (Bug#13543)
1883
1884 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
1885
1886 * net/tramp.el (tramp-debug-message): Extend function exclude list.
1887 (tramp-backtrace): New defun.
1888 (tramp-handle-insert-file-contents): Use `visit' when inserting
1889 the local copy.
1890
1891 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
1892 Use `remote-file-name-inhibit-cache'.
1893
1894 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
1895
1896 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
1897 (bug#13614).
1898
1899 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
1900 current-load-list (bug#13366).
1901
1902 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
1903
1904 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1905 Identify g++ template instantiation trace. (Bug#12287)
1906 (compilation-mode-hook, compilation-start-hook)
1907 (compilation-window-height): Simplify docstrings. (Bug#13379)
1908
1909 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1910
1911 * mouse.el (mouse-drag-track): Always deactivate the mark before
1912 running the final event's command since that command is in charge of
1913 activating the mark if needed (bug#13523).
1914
1915 2013-02-02 Juri Linkov <juri@jurta.org>
1916
1917 * replace.el (perform-replace): Move let-bindings of isearch-*
1918 variables deeper to the loop that searches for the next match.
1919 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
1920 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
1921 (Bug#13579)
1922
1923 * isearch.el (isearch-search-fun-default): Check for null
1924 first element of isearch-cmds as a precaution when it's used
1925 with inactive isearch.
1926
1927 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
1928
1929 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
1930 error when buffer in question is narrowed so position 1 is out of
1931 visible part.
1932
1933 2013-02-02 Glenn Morris <rgm@gnu.org>
1934
1935 * textmodes/remember.el (remember-clipboard): Doc fix.
1936
1937 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1938
1939 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
1940 properties (bug#13179).
1941
1942 2013-02-02 Juri Linkov <juri@jurta.org>
1943
1944 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
1945 instead of hard-coded default face `match'. (Bug#9438)
1946
1947 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
1948
1949 * vc/vc-arch.el (vc-arch-registered):
1950 * vc/vc-bzr.el (vc-bzr-registered):
1951 * vc/vc-cvs.el (vc-cvs-registered):
1952 * vc/vc-git.el (vc-git-registered):
1953 * vc/vc-hg.el (vc-hg-registered):
1954 * vc/vc-mtn.el (vc-mtn-registered):
1955 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
1956 (Bug#13139)
1957
1958 * info.el (Info-next-reference, Info-prev-reference): Add numeric
1959 prefix argument. (Bug#11656)
1960
1961 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
1962
1963 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
1964
1965 2013-02-01 Glenn Morris <rgm@gnu.org>
1966
1967 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
1968 if the backend is known not to support it.
1969
1970 * imenu.el (imenu-default-create-index-function):
1971 Tweak infinite loop test to check for forward motion as well as none.
1972
1973 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
1974
1975 * net/soap-client.el (soap-invoke): Encode the string for
1976 `url-request-data' as UTF-8.
1977 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
1978
1979 2013-02-01 Glenn Morris <rgm@gnu.org>
1980
1981 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
1982
1983 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
1984
1985 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
1986
1987 * net/tramp.el (tramp-tramp-file-p): Comment check for
1988 `string-as-unibyte'. The function does not exist on XEmacs, and
1989 likely we need another approach.
1990
1991 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
1992 `tramp-gw-*' variables are bound.
1993
1994 2013-01-31 Glenn Morris <rgm@gnu.org>
1995
1996 * files.el (basic-save-buffer-2): Choose coding system for
1997 writing the file before backing it up, to reduce delay between
1998 backing up and writing the new version. (Bug#13522)
1999
2000 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
2001
2002 * simple.el (cycle-spacing): New command.
2003 (just-one-space): Use it.
2004
2005 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
2006
2007 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
2008 (opascal-newline-always-indents): Remove custom.
2009 (opascal-tab, opascal-newline): Remove commands.
2010 (opascal-new-comment-line): Insert "\n" instead of calling newline.
2011 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
2012 (opascal-save-match-data): Remove, use save-match-data instead.
2013 (opascal-save-state): Use with-silent-modifications.
2014
2015 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
2016 (bug#13585).
2017
2018 2013-01-30 Juri Linkov <juri@jurta.org>
2019
2020 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
2021 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
2022 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
2023
2024 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2025
2026 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
2027 column if we're just deleting the backslashes.
2028 (makefile-fill-paragraph): Use eolp.
2029
2030 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
2031
2032 * autorevert.el (auto-revert-use-notify): Fix docstring.
2033
2034 2013-01-30 Leo Liu <sdl.web@gmail.com>
2035
2036 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
2037
2038 2013-01-30 Glenn Morris <rgm@gnu.org>
2039
2040 * mouse.el (mouse-drag-line): Avoid pushing same event onto
2041 unread-command-events twice in some cases. This tries to implement
2042 the 2012-07-26 changes in a different way. (Bug#13560)
2043
2044 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
2045
2046 * progmodes/python.el
2047 (python-pdbtrack-comint-output-filter-function): Enhancements on
2048 stacktrace detection. (thanks @gnovak)
2049
2050 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2051
2052 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
2053 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
2054 Use defvar-local.
2055 (jit-lock-register): Use setq-local.
2056
2057 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
2058
2059 * calc-units.el (math-default-units-table): Remove initial value.
2060 (calc-convert-units): Treat expressions where all the units cancel as
2061 if they didn't have units.
2062
2063 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
2064
2065 * net/tramp.el (tramp-process-connection-type): Fix docstring.
2066 (tramp-completion-reread-directory-timeout): Fix type.
2067 (tramp-connection-min-time-diff): New defcustom.
2068
2069 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
2070
2071 2013-01-30 Glenn Morris <rgm@gnu.org>
2072
2073 * imenu.el (imenu-default-create-index-function):
2074 Put back a version of the infinite loop test removed 2013-01-23.
2075
2076 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
2077
2078 * progmodes/python.el (python-shell-parse-command):
2079 Find python-shell-interpreter with modified environment.
2080
2081 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2082
2083 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
2084
2085 2013-01-29 Alan Mackenzie <acm@muc.de>
2086
2087 Amend to fontify /regexp/s in actions correctly.
2088 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
2089 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
2090 are no longer included.
2091 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
2092 What used to be these variables without "-line" in the name.
2093 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
2094 (c-awk-non-arith-op-bra-re): Now also matches {.
2095 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
2096 "return", and "case".
2097 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
2098 by /.
2099 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
2100 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
2101
2102 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
2103
2104 * autorevert.el (auto-revert-use-notify):
2105 Use `custom-initialize-default' for initialization. (Bug#13583)
2106
2107 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
2108
2109 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2110 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
2111 in `tramp-file-name-handler'.
2112 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
2113 compatibility.
2114 (tramp-compute-multi-hops): Check, whether
2115 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
2116
2117 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2118
2119 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
2120 (bug#13297).
2121
2122 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
2123
2124 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
2125 checks made superfluous by the \_< operator.
2126 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
2127 temporarily) broken indentation.
2128 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2129 Highlight nested constants, too. \_< broke that.
2130
2131 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
2132
2133 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
2134 instead of "\\b".
2135
2136 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
2137
2138 * autorevert.el (auto-revert-handler): Notifications which result
2139 from a saved file shall not be taken into account. (Bug#13557)
2140
2141 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
2142
2143 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
2144 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
2145 (lisp-mode): Pass t for it. (Bug#13556)
2146
2147 2013-01-25 Alan Mackenzie <acm@muc.de>
2148
2149 AWK Mode: Fix indentation bug at top level. Bug #12274.
2150
2151 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
2152 just before CASE 5D.
2153
2154 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
2155
2156 * net/socks.el (socks-nslookup-host): Use string-to-number.
2157
2158 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
2159
2160 * autorevert.el (auto-revert-remote-files)
2161 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
2162 (auto-revert-notify-enabled, auto-revert-use-notify)
2163 (auto-revert-notify-watch-descriptor-hash-list)
2164 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
2165 (auto-revert-notify-event-descriptor)
2166 (auto-revert-notify-event-action)
2167 (auto-revert-notify-event-file-name): Doc fix.
2168 (global-auto-revert-mode): Reorder checks.
2169 (auto-revert-notify-rm-watch): Respect changed values of
2170 `auto-revert-notify-watch-descriptor-hash-list'.
2171 (auto-revert-notify-add-watch): Check for
2172 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
2173 `inotify-add-watch'. Watch `default-directory' instead of
2174 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
2175 has a changed meaning now. (Bug#13540)
2176 (auto-revert-notify-handler): Change implementation wrt events
2177 returning from a directory.
2178 (auto-revert-handler): Reorder implementation for checks of remote
2179 files.
2180 (auto-revert-buffers): Fix parentheses error.
2181
2182 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
2183
2184 * progmodes/python.el: Enhancements to header documentation about
2185 skeletons. (Bug#5716)
2186
2187 * imenu.el (imenu-default-create-index-function): Remove useless
2188 infinite loop check. (Bug#13438)
2189
2190 2013-01-25 Alan Mackenzie <acm@muc.de>
2191
2192 Fix a bug in the state cache mechanism. Refactor this a bit.
2193
2194 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
2195 `cache-pos' element from the return value.
2196 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
2197 buffer to enable proper searching from beyond HERE. Amend the
2198 test for detecting the sought brace pair. Amend the value written
2199 to the "brace desert cache" when the brace isn't found.
2200 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
2201 and several other variables analogously.
2202 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
2203 parameter to a locally calculated variable.
2204 (c-parse-state-1): Change the calling conventions to the two
2205 defuns involving `cache-pos'.
2206
2207 2013-01-25 Chong Yidong <cyd@gnu.org>
2208
2209 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
2210
2211 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
2212
2213 * paren.el (show-paren-function): Make sure to set 'priority and
2214 'face only if the overlay does exist.
2215
2216 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
2217
2218 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
2219
2220 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
2221 basic attributes.
2222 (tramp-sh-handle-set-file-acl): Improve error checking.
2223
2224 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
2225
2226 * doc-view.el (doc-view-display): Force mode line update until all
2227 document is converted. Suggested by Stefan Monnier (Bug#13164).
2228
2229 2013-01-23 Bastien Guerry <bzg@gnu.org>
2230
2231 * paren.el (show-paren-function): Make sure an overlay exists
2232 before trying to delete it. Also use `pos' as a position only
2233 when it is an integer.
2234
2235 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
2236
2237 * play/gametree.el (gametree-break-line-here): Use point-marker.
2238
2239 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
2240
2241 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2242 Mark descriptive parts with `display' property.
2243
2244 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2245
2246 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
2247 New variable to map standard dict names to hunspell ones.
2248 (ispell-set-spellchecker-params): Make sure specific dict names
2249 are used for standard dicts with hunspell.
2250
2251 2013-01-21 Tassilo Horn <tsdh@gnu.org>
2252
2253 * textmodes/reftex-cite.el (reftex-format-citation): Add format
2254 chars for note (%N) and url (%U).
2255 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
2256
2257 2013-01-21 Juri Linkov <juri@jurta.org>
2258
2259 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
2260 in addition to existing separate binding `meta f10' in `global-map'.
2261 (Bug#13484)
2262
2263 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
2264
2265 Improve XEmacs compatibility.
2266
2267 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
2268
2269 * net/tramp-adb.el (top): Require `time-date'.
2270 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
2271 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
2272 Use `tramp-file-name-handler'.
2273 (tramp-adb-maybe-open-connection):
2274 Use `tramp-compat-set-process-query-on-exit-flag'.
2275
2276 * net/tramp-sh.el (tramp-sh-handle-file-acl):
2277 Use `tramp-compat-funcall'.
2278
2279 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
2280 `tramp-compat-funcall'.
2281
2282 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
2283
2284 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
2285 reimplementation using "adb shell command ..." instead of running
2286 remote shell interactively.
2287
2288 2013-01-20 Glenn Morris <rgm@gnu.org>
2289
2290 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
2291 Add native profiler menu entries.
2292
2293 * profiler.el (profiler-running-p): New function.
2294 (profiler-cpu-profile): Use profiler-running-p.
2295 (profiler-report-mode-map): Add some more menu entries.
2296
2297 2013-01-19 Glenn Morris <rgm@gnu.org>
2298
2299 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
2300 fixes 2012-12-07 change. (Bug#13499)
2301
2302 2013-01-19 Leo Liu <sdl.web@gmail.com>
2303
2304 * dired.el (dired-get-marked-files): Prune erroneous values due to
2305 last change. (Bug#13152)
2306
2307 2013-01-19 Glenn Morris <rgm@gnu.org>
2308
2309 * progmodes/etags.el (tags-table-check-computed-list):
2310 Preserve point in tags buffer. (Bug#13412)
2311
2312 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
2313
2314 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
2315 Chong Yidong <cyd@gnu.org>
2316
2317 * image-mode.el (image-next-file, image-previous-file):
2318 New commands (Bug#8453).
2319 (image-mode-map): Bind them to n and p.
2320 (image-mode--images-in-directory): New helper function.
2321
2322 2013-01-19 Chong Yidong <cyd@gnu.org>
2323
2324 * image-mode.el (image-mode-fit-frame): Add a frame argument.
2325 Suggested by Drew Adams (Bug#7730). Handle window decorations;
2326 save and restore the old window configuration.
2327
2328 2013-01-18 Leo Liu <sdl.web@gmail.com>
2329
2330 * progmodes/js.el: Tweak autoload cookie for alias.
2331
2332 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
2333
2334 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
2335 buffer local, again. This was lost with the fix on 2013-01-12.
2336
2337 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
2338
2339 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
2340 order to support several eshell buffers in parallel.
2341
2342 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
2343
2344 * autorevert.el (auto-revert-use-notify): In the :set function, do
2345 not modify `kill-buffer-hook'.
2346 (auto-revert-notify-rm-watch):
2347 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
2348 (auto-revert-notify-add-watch): Do not call
2349 `auto-revert-notify-rm-watch', but add it to a buffer local
2350 `kill-buffer-hook'.
2351
2352 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2353
2354 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
2355 call to `eval' rather than a backquoted lambda.
2356
2357 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2358
2359 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
2360 to return an explicit nil.
2361 (advice--remove-function): Change accordingly.
2362
2363 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
2364 the use of nadvice.el.
2365
2366 * progmodes/which-func.el (which-function): Silence imenu errors
2367 (bug#13433).
2368
2369 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
2370
2371 * progmodes/sql.el: (sql-imenu-generic-expression):
2372 (sql-mode-font-lock-object-name): Match schema qualified names.
2373 (sql-connect): Use string keys.
2374 (sql-product-interactive): Wait for interpreter prompt.
2375 (sql-comint-oracle): Set process coding based on NLS_LANG.
2376
2377 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
2378
2379 * progmodes/sql.el (sql-output-to-send): Remove, unused.
2380 (sql-interactive-remove-continuation-prompt):
2381 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
2382
2383 2013-01-14 Leo Liu <sdl.web@gmail.com>
2384
2385 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
2386 (Bug#13420)
2387
2388 2013-01-14 Glenn Morris <rgm@gnu.org>
2389
2390 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2391 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
2392
2393 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
2394
2395 * progmodes/python.el (python-nav-end-of-statement):
2396 Fix cornercase when handling multiline strings.
2397
2398 2013-01-13 Richard Stallman <rms@gnu.org>
2399
2400 * mail/sendmail.el (mail-position-on-field): Add doc string.
2401
2402 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
2403 Get current message boundaries and pass them to
2404 message-forward-make-body-mime. Minor style changes.
2405
2406 2013-01-13 Eli Zaretskii <eliz@gnu.org>
2407
2408 * cus-start.el (all): Avoid warnings about
2409 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
2410
2411 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
2412
2413 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
2414
2415 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2416
2417 * jit-lock.el (jit-lock-debug-mode): New minor mode.
2418 (jit-lock--debug-fontifying): New var.
2419 (jit-lock--debug-fontify): New function.
2420 * subr.el (condition-case-unless-debug): Don't prevent catching the
2421 error, just let the debbugger run.
2422 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
2423 timer code and don't drop errors silently.
2424
2425 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
2426
2427 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
2428 `permanent-local' property.
2429 (auto-revert-notify-handler): Use `file-equal-p'.
2430
2431 2013-01-12 Eli Zaretskii <eliz@gnu.org>
2432
2433 * autorevert.el (auto-revert-notify-handler): Fix filtering of
2434 file notification by ACTION. For filtering by file name, compare
2435 only the non-directory part of the file name.
2436
2437 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
2438
2439 * autorevert.el: Use cl-lib instead of cl.
2440
2441 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
2442 (vc-bzr-checkin): Use it.
2443 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
2444 will preserve match-data.
2445
2446 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
2447
2448 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
2449 (js--declaration-keyword-re): New var.
2450 (js--multi-line-declaration-indentation): New function.
2451 (js--proper-indentation): Use it.
2452
2453 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
2454
2455 * calc/calc.el (calc-highlight-selections-with-faces)
2456 (calc-dispatch):
2457 * comint.el (comint-history-isearch-message):
2458 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
2459 * ffap.el (ffap-string-at-point-region, ffap-next)
2460 (ffap-string-at-point, ffap-string-around)
2461 (ffap-copy-string-as-kill, ffap-highlight-overlay)
2462 (ffap-literally):
2463 * font-lock.el (font-lock-keywords-alist)
2464 (font-lock-removed-keywords-alist):
2465 * help-mode.el (help-xref-symbol-regexp):
2466 * info.el (Info-find-emacs-command-nodes):
2467 * international/mule.el (add-to-coding-system-list):
2468 * isearch.el (isearch-message-function, isearch-fail-pos):
2469 * misearch.el (multi-isearch-next-buffer-function):
2470 * newcomment.el (comment-box):
2471 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
2472 (pr-setting-database):
2473 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
2474 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
2475 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
2476 (pike-font-lock-keywords-3):
2477 * progmodes/compile.el (compile):
2478 * progmodes/etags.el (tags-table-files)
2479 (tags-table-files-function, tags-included-tables-function):
2480 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
2481 (gdb-restore-windows):
2482 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
2483 (ps-n-up-filling-database):
2484 * server.el (server-buffer, server-log):
2485 * simple.el (newline, delete-backward-char, delete-forward-char)
2486 (minibuffer-history-isearch-message, kill-line, track-eol)
2487 (temporary-goal-column):
2488 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
2489 (flyspell-default-deplacement-commands):
2490 * textmodes/ispell.el (ispell-accept-output):
2491 * textmodes/sgml-mode.el (html-tag-help):
2492 * vc/compare-w.el (compare-ignore-whitespace)
2493 (compare-ignore-case, compare-windows-dehighlight):
2494 * vc/diff.el (diff):
2495 * whitespace.el (whitespace-point)
2496 (whitespace-font-lock-refontify, whitespace-bob-marker)
2497 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
2498
2499 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
2500
2501 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
2502 (auto-revert-notify-rm-watch): Ignore errors.
2503 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
2504 inotify, and '(size last-write-time) for w32notify.
2505 Set buffer-local `auto-revert-use-notify' to nil when adding a file
2506 watch fails - this is a fallback to the file modification check.
2507 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
2508 (auto-revert-notify-event-action)
2509 (auto-revert-notify-event-file-name): New defuns.
2510 (auto-revert-notify-handler): Use them. Implement first
2511 plausibility checks.
2512 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
2513
2514 2013-01-11 Julien Danjou <julien@danjou.info>
2515
2516 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
2517 max are almost equal. Also return the correct value for V which is
2518 already between 0 and 1.
2519
2520 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
2521
2522 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
2523
2524 2013-01-11 Eli Zaretskii <eliz@gnu.org>
2525
2526 * autorevert.el (auto-revert-notify-rm-watch)
2527 (auto-revert-notify-add-watch): Fix typos in w32notify function
2528 names.
2529
2530 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
2531
2532 * autorevert.el (auto-revert-notify-enabled): Move up.
2533 (auto-revert-use-notify): New defcustom.
2534 (auto-revert-mode, global-auto-revert-mode)
2535 (auto-revert-notify-add-watch, auto-revert-handler)
2536 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
2537 `auto-revert-notify-enabled'.
2538
2539 2013-01-10 Elias Pipping <pipping@exherbo.org>
2540
2541 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
2542 * doc-view.el (doc-view-document->bitmap):
2543 Use doc-view-single-page-converter-function instead of
2544 single-page-converter arg; adjust callers.
2545
2546 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
2547
2548 * progmodes/which-func.el (which-function): Understand Semantic's use
2549 of overlays in imenu--index-alist.
2550
2551 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
2552
2553 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
2554 (Man-man-k-use-anchor): New var.
2555 (Man-parse-man-k): New function.
2556 (Man-completion-table): Use it.
2557 (man): Flush the completion cache between uses.
2558
2559 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
2560
2561 * autorevert.el: Add file watch support.
2562 (auto-revert-notify-enabled): New defconst.
2563 (auto-revert-notify-watch-descriptor-hash-list)
2564 (auto-revert-notify-watch-descriptor)
2565 (auto-revert-notify-modified-p): New defvars.
2566 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
2567 (auto-revert-notify-handler): New defuns.
2568 (auto-revert-mode, global-auto-revert-mode): Remove file watches
2569 when mode is disabled.
2570 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
2571 (auto-revert-buffers): Add file watches for active buffers.
2572
2573 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
2574
2575 * cus-start.el (toplevel): Only allow float values for
2576 scroll-up-aggressively and scroll-down-aggressively.
2577 Allow any number for line-spacing.
2578
2579 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2580
2581 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
2582 (doc-view-pdf->png-converter-function): Use mupdf if available.
2583 (doc-view-djvu->png-converter-function)
2584 (doc-view-ps->png-converter-function): Remove.
2585 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
2586 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
2587 (doc-view-already-converted-p): Adjust accordingly.
2588 (doc-view-mode-p): Simplify.
2589 (doc-view-enlarge): Use setq-local.
2590 (doc-view-pdf->png-converter-ghostscript)
2591 (doc-view-djvu->png-converter-ddjvu)
2592 (doc-view-pdf->png-converter-mupdf): Rework to call
2593 doc-view-start-process directly.
2594 (doc-view-pdf/ps->png): Simplify accordingly.
2595 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
2596 (doc-view-document->bitmap): Rename from doc-view-document->png.
2597 (doc-view-convert-current-doc): Merge pdf and djvu cases.
2598 (doc-view-set-slice-from-bounding-box): Fix completion table.
2599 (doc-view-mode): Use add-hook for after-revert-hook.
2600
2601 2013-01-10 Glenn Morris <rgm@gnu.org>
2602
2603 * emacs-lisp/authors.el (authors-ignored-files)
2604 (authors-valid-file-names, authors-renamed-files-alist):
2605 Add some more entries.
2606
2607 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2608
2609 * image-mode.el (image-mode-winprops): Don't throw away the fallback
2610 `t' pseudo-window entry.
2611
2612 2013-01-10 Alan Mackenzie <acm@muc.de>
2613
2614 Fix bugs in the c-parse-state mechanism. Reuse some markers
2615 instead of continually generating new ones.
2616
2617 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
2618 (c-state-old-cpp-end-marker): New variables.
2619 (c-append-lower-brace-pair-to-state-cache): Start a backward
2620 search for "}" definitively outside CPP constructs.
2621 (c-remove-stale-state-cache): Inform the caller of a need to
2622 search back for a brace pair in certain circumstances.
2623 (c-state-maybe-marker): New macro.
2624 (c-parse-state): Reuse markers when appropriate.
2625
2626 2013-01-10 Glenn Morris <rgm@gnu.org>
2627
2628 * simple.el (execute-extended-command): Doc fix.
2629 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
2630
2631 2013-01-10 Chong Yidong <cyd@gnu.org>
2632
2633 * faces.el (read-face-name): Doc fix.
2634
2635 2013-01-10 Roland Winkler <winkler@gnu.org>
2636
2637 * emacs-lisp/crm.el: Allow any regexp for separators.
2638 (crm-default-separator): All spaces around the default comma separator.
2639 (crm--completion-command): New macro.
2640 (crm-completion-help, crm-complete, crm-complete-word): Use it.
2641 (crm-complete-and-exit): Handle non-single-char separators.
2642
2643 2013-01-09 Elias Pipping <pipping@lavabit.com>
2644
2645 * doc-view.el: Add support for DjVu (bug#13164).
2646 (doc-view-djvu->png-converter-function): New config var.
2647 (doc-view-single-page-converter-function, doc-view--image-type)
2648 (doc-view--image-file-extension): New vars.
2649 (doc-view-mode): Initialize them.
2650 (doc-view-goto-page): Use them.
2651 (doc-view-mode-p): Add support for ddjvu.
2652 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
2653 (doc-view-set-up-single-converter): New funs.
2654 (doc-view-pdf/ps->png): Extend for djvu.
2655 (doc-view-document->png): Rename from doc-view-pdf->png.
2656 (doc-view-convert-current-doc): Handle djvu.
2657 (doc-view-insert-image, doc-view-display)
2658 (doc-view-already-converted-p): Don't hardcode png.
2659 (doc-view-set-doc-type): Recognize djvu docs.
2660
2661 2013-01-09 Elias Pipping <pipping@lavabit.com>
2662
2663 * doc-view.el: Add support for mupdf converter (bug#13164).
2664 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
2665 (doc-view-ps->png-converter-function): New config vars.
2666 (doc-view-pdf->png-converter-ghostscript)
2667 (doc-view-ps->png-converter-ghostscript)
2668 (doc-view-pdf->png-converter-mupdf): New functions.
2669 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
2670
2671 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
2672
2673 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
2674 first in session cache: When `tramp-own-remote-path' is in
2675 `tramp-remote-path', the remote path is only set in the session
2676 cache.
2677
2678 2013-01-09 Glenn Morris <rgm@gnu.org>
2679
2680 * emacs-lisp/trace.el (trace-function-foreground)
2681 (trace-function-background): Doc fix.
2682
2683 2013-01-09 Juri Linkov <juri@jurta.org>
2684
2685 * international/mule-cmds.el (read-char-by-name): Move let-binding
2686 of completion-ignore-case around completing-read to fix regression
2687 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
2688 `string-match-p' using the nil value of `case-fold-search' and
2689 `completion-ignore-case' in `completion-pcm--all-completions'.
2690 (Bug#12615).
2691
2692 2013-01-09 Glenn Morris <rgm@gnu.org>
2693
2694 * progmodes/compile.el (compilation-parse-errors):
2695 Fix typo. (Bug#13369)
2696
2697 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
2698
2699 * comint.el (comint-send-input): Check size of buffer before
2700 waiting for process output, in case already accepted. (Bug#13290)
2701
2702 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
2703
2704 Spelling fixes.
2705 * net/tramp-adb.el (tramp-adb-get-toolbox):
2706 Fix misspelling of 'unknown'.
2707
2708 2013-01-08 Juri Linkov <juri@jurta.org>
2709
2710 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
2711 * progmodes/flymake.el (flymake-errline, flymake-warnline):
2712 Use underline style wave on terminals that support it. (Bug#13000)
2713
2714 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2715
2716 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
2717 the predicate returns nil.
2718
2719 * simple.el: Use lexical-binding.
2720 (primitive-undo): Use pcase.
2721 (minibuffer-history-isearch-push-state): Use a closure.
2722
2723 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2724
2725 * simple.el (primitive-undo): Move from undo.c.
2726
2727 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2728
2729 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
2730 (cvs-mode-remove-handled): Use it (bug#13380).
2731
2732 * emacs-lisp/nadvice.el (advice--tweak): New function.
2733 (advice--remove-function, advice--subst-main): Use it.
2734
2735 * emacs-lisp/advice.el: Update commentary.
2736
2737 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
2738
2739 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2740 Remove spurious entry.
2741
2742 2013-01-08 Glenn Morris <rgm@gnu.org>
2743
2744 * net/tramp.el (tramp-default-host-alist): Add :version.
2745
2746 2013-01-08 Juri Linkov <juri@jurta.org>
2747
2748 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
2749 single completion. (Bug#12456)
2750 (info--manual-names): Expand node completions into an explicit list
2751 before appending it to another list. Filter out internal buffers
2752 with the leading space in the buffer name. (Bug#10771)
2753
2754 2013-01-08 Juri Linkov <juri@jurta.org>
2755
2756 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
2757 that defaults to the Top node.
2758 (Info-goto-node, Info-read-node-name): Doc fix to mention that
2759 the short format (FILENAME) goes to the Top node.
2760 (Info-build-node-completions): Rename arg `file' to `filename'.
2761 (Bug#13365)
2762
2763 2013-01-07 Bastien Guerry <bzg@gnu.org>
2764
2765 * menu-bar.el (menu-bar-search-documentation-menu):
2766 Use `apropos-user-option' and fix the help message.
2767
2768 2013-01-07 Bastien Guerry <bzg@gnu.org>
2769
2770 * apropos.el (apropos-do-all): Update docstring.
2771 (apropos-user-option-button): New face.
2772 (apropos-user-option): Rename from `apropos-variable' and update
2773 docstring.
2774 (apropos-variable): Rewrite, now show all variables by default.
2775 (apropos-print): Mention "User option" instead of "Variable" when
2776 printing doc for user options. (Bug#13276)
2777
2778 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
2779
2780 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
2781 Handle filename correctly, when parsing "source -> target" symlink
2782 output.
2783 (tramp-adb-handle-set-file-times): New defun.
2784
2785 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
2786
2787 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
2788 advice list when the interactive-spec of ad-Advice-* changes.
2789
2790 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
2791
2792 * wid-edit.el (widget-default-get): Work for inlined elements.
2793 (Bug#12670)
2794
2795 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
2796
2797 * net/tramp.el (tramp-default-host-alist): New defcustom.
2798 (tramp-find-host): Use it.
2799 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
2800 `eshell-directory-change-hook'.
2801
2802 * net/tramp-adb.el (top): Add adb specific entry in
2803 `tramp-default-host-alist'.
2804 (tramp-adb-file-name-host): Remove function.
2805 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
2806 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
2807
2808 * net/tramp-sh.el: Move eshell integration code to tramp.el.
2809
2810 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
2811
2812 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
2813
2814 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
2815
2816 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
2817 consist of more than one digit.
2818 (tramp-adb-file-name-handler-alist):
2819 Use `tramp-handle-file-exists-p' consistently.
2820 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
2821 (tramp-adb-handle-file-exists-p): Remove function.
2822 (tramp-adb-file-name-host): New defun.
2823 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
2824 Use it.
2825 (tramp-adb-maybe-open-connection): Set "remote-path" property.
2826
2827 2013-01-06 Chong Yidong <cyd@gnu.org>
2828
2829 * vc/vc.el (vc-next-action): Detect buffer modifications
2830 conflicting with locking VCS operation (Bug#11490).
2831
2832 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
2833
2834 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
2835
2836 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
2837 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
2838
2839 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
2840
2841 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
2842 parsing of ls output using regular expression (handle filenames
2843 with spaces). Use virtual device number.
2844 (tramp-do-parse-file-attributes-with-ls): New defun (Code
2845 cleanup).
2846
2847 2013-01-04 Daiki Ueno <ueno@gnu.org>
2848
2849 * epg.el: Silence byte-compiler warnings.
2850 (epg--start): Use delete-char instead of delete-backward-char.
2851 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
2852
2853 2013-01-04 Daiki Ueno <ueno@gnu.org>
2854
2855 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
2856 Suggested by Eli Zaretskii <eliz@gnu.org>.
2857
2858 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
2859
2860 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
2861 non-negative integers. Otherwise, the default values are used.
2862 (tramp-convert-file-attributes): Convert uid and gid to integers.
2863
2864 2013-01-04 Glenn Morris <rgm@gnu.org>
2865
2866 * term.el (term-handle-colors-array): Ensure face attributes
2867 are fully specified, not nil. (Bug#13337)
2868
2869 * term.el (term-default-fg-color, term-default-bg-color):
2870 Fix custom type.
2871
2872 * progmodes/etags.el (tags-compression-info-list): Doc fix.
2873 (tag-find-file-of-tag-noselect): Check auto-compression-mode
2874 rather than 'jka-compr being loaded. (Bug#13338)
2875
2876 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
2877
2878 * icomplete.el (icomplete-completions):
2879 Honor icomplete-prospects-height once more following
2880 2012-11-29 changes. (Bug#13224)
2881
2882 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
2883
2884 * subr.el (internal--called-interactively-p--get-frame): Find aliases
2885 of called-interactively-p as well (bug#13237).
2886
2887 * view.el (view--enable, view--disable): Rename from view-mode-enable
2888 and view-mode-disable and assume it's called from view-mode.
2889 (view-mode-enable, view-mode-disable): Redefine as obsolete
2890 compatibility layer above view-mode.
2891 (view-mode-enter): Call `view-mode'.
2892
2893 * files.el (after-find-file): Call `view-mode'.
2894
2895 * doc-view.el (doc-view-scale-internally): New var.
2896 (doc-view-enlarge, doc-view-insert-image): Obey it.
2897
2898 2013-01-03 Daiki Ueno <ueno@gnu.org>
2899
2900 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
2901 exist. (Bug#13344)
2902
2903 2013-01-03 Glenn Morris <rgm@gnu.org>
2904
2905 * mail/rmail.el (rmail-set-header-1): Ignore case.
2906 Handle multi-line headers. (Bug#13330)
2907
2908 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
2909 Handle paragraph starting at beginning of buffer.
2910
2911 * subr.el (eval-after-load): Don't purecopy the form, so that it
2912 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
2913
2914 * emacs-lisp/byte-run.el (defun): Place cl declarations
2915 after any interactive spec. (Bug#13265)
2916
2917 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
2918
2919 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
2920 defun. Don't check for DECL if DOCSTRING isn't a string.
2921 (defun): Likewise.
2922
2923 2013-01-02 Glenn Morris <rgm@gnu.org>
2924
2925 * eshell/em-cmpl.el (eshell-pcomplete):
2926 More thoroughly imitate pcomplete. (Bug#13293)
2927
2928 * files.el (parse-colon-path): Doc fix. (Bug#12351)
2929 Return nil for empty path elements. (Bug#13296)
2930
2931 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
2932
2933 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
2934 order to improve efficiency (Based on Daniel Colascione's
2935 <dancol@dancol.org> patch). (Bug#13182)
2936
2937 2013-01-02 Glenn Morris <rgm@gnu.org>
2938
2939 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
2940
2941 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
2942
2943 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
2944 neither DOCSTRING nor DECL was given. (Bug#13316)
2945
2946 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
2947
2948 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
2949 `error' call.
2950 (tramp-do-copy-or-rename-file): Ignore errors when calling
2951 `set-file-extended-attributes'.
2952
2953 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2954 Add handler for `file-acl'.
2955 (tramp-smb-handle-file-acl): New defun.
2956
2957 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
2958
2959 * calc/README: Mention ISO 8601 week-numbering dates.
2960
2961 2013-01-01 Martin Rudalics <rudalics@gmx.at>
2962
2963 * view.el (view-mode-enable): New argument run-view-mode-hook.
2964 Run view-mode-hook only when it's non-nil (Bug#13315).
2965 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
2966 argument t.
2967
2968 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
2969
2970 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
2971 (No device connected, invalid device name). (Bug #13299)
2972
2973 2012-12-31 Martin Rudalics <rudalics@gmx.at>
2974
2975 * window.el (window-resizable--p): Rename to window-resizable-p.
2976 (window-resize-no-error): New function.
2977
2978 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
2979 broken in fix from 2012-12-28.
2980
2981 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
2982
2983 * subr.el (special-form-p): Don't signal errors on undef aliases.
2984
2985 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
2986
2987 * calc/calc-forms.el (math-parse-date): Try using
2988 `math-parse-iso-date' when it looks like it might be needed.
2989 Allow times of 24:00.
2990 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
2991 of 24:00.
2992
2993 2012-12-30 Glenn Morris <rgm@gnu.org>
2994
2995 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
2996 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
2997 (rmail-summary-displayed, rmail-summary): Declare.
2998 (mairix-rmail-display): Just require rmail.
2999
3000 2012-12-30 Chong Yidong <cyd@gnu.org>
3001
3002 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
3003 check for the tarball contents.
3004
3005 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
3006
3007 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
3008 tarfile content listings (Bug#13136).
3009
3010 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
3011
3012 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
3013 Insert the undecoded text of the message being forwarded. (Bug#9521)
3014
3015 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
3016
3017 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
3018 integers, if they are real numbers. (Bug#13282)
3019
3020 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
3021 Return `t' on success.
3022
3023 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3024 Add handler for `set-file-selinux-context'.
3025
3026 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
3027
3028 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
3029 (tramp-sh-handle-set-file-acl): Return `t' on success.
3030
3031 2012-12-29 Eli Zaretskii <eliz@gnu.org>
3032
3033 * files.el (backup-buffer-copy, basic-save-buffer-2):
3034 If set-file-extended-attributes fails, fall back on set-file-modes
3035 instead of signaling an error. (Bug#13298)
3036 (basic-save-buffer): Likewise.
3037
3038 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
3039
3040 * progmodes/python.el: Support other commands triggering
3041 python-indent-line so indentation cycling continues to work.
3042 (python-indent-trigger-commands): New defcustom.
3043 (python-indent-line): Use it.
3044
3045 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
3046
3047 * progmodes/python.el (python-shell-send-region): Add blank lines
3048 for non sent code so backtraces remain correct.
3049
3050 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
3051
3052 * progmodes/python.el: Remove cl dependency.
3053 (python-syntax-count-quotes): Replace incf call.
3054 (python-fill-string): Replace setf call.
3055
3056 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
3057
3058 * info.el (info-other-window): New arg, for consistency with info.
3059
3060 2012-12-28 Martin Rudalics <rudalics@gmx.at>
3061
3062 * mail/rmail.el (rmail-maybe-display-summary):
3063 Rewrite (Bug#13066).
3064
3065 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
3066
3067 * epg.el (epg--start): Modify process-environment locally.
3068
3069 2012-12-28 Daiki Ueno <ueno@gnu.org>
3070
3071 * epg.el: Support pinentry-curses.
3072 Suggested by Werner Koch in
3073 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
3074 (epg-agent-file, epg-agent-mtime): New variable.
3075 (epg--start): Record the modified time of gpg-agent socket file,
3076 to restore Emacs frame after pinentry-curses termination.
3077 (epg-wait-for-completion): Restore Emacs frame here.
3078
3079 2012-12-27 Juri Linkov <juri@jurta.org>
3080
3081 * info.el (Info-file-completions): New variable.
3082 (Info-read-node-name-1): Complete node names in the Info file
3083 when a file name is given. Call `Info-build-node-completions'
3084 with a file name.
3085 (Info-build-node-completions): Add new arg `file'. When it is
3086 non-nil, visit it in a temporary buffer and cache its completions in
3087 `Info-current-file-completions'. Move most of the function body to
3088 `Info-build-node-completions-1'.
3089 (Info-build-node-completions-1): New function with the body from
3090 `Info-build-node-completions'. (Bug#12456)
3091
3092 2012-12-27 Juri Linkov <juri@jurta.org>
3093
3094 * frame.el (frame-maximization-style): Remove user option.
3095 (cycle-frame-maximized): Remove function.
3096 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
3097 (toggle-frame-fullscreen): New command bound to <f11> instead of
3098 `toggle-frame-maximized'.
3099 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
3100
3101 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
3102
3103 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
3104
3105 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3106 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3107 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
3108 for `file-accessible-directory-p'. (Bug#13275)
3109
3110 2012-12-27 Sam Steingold <sds@gnu.org>
3111
3112 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
3113 continuations, see <http://stackoverflow.com/questions/3582436>.
3114
3115 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
3116
3117 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
3118 "module" and "def" to have indentation before them.
3119 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
3120
3121 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
3122
3123 2012-12-27 Alan Mackenzie <acm@muc.de>
3124
3125 Speed up fontification where there's large brace blocks.
3126 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
3127 to a call of c-beginning-of-decl-1.
3128
3129 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
3130
3131 * comint.el (comint-adjust-window-point): New function.
3132 (comint-postoutput-scroll-to-bottom):
3133 Call comint-adjust-window-point (Bug#13248).
3134
3135 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
3136
3137 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
3138 Rakefile regexp.
3139 (auto-mode-alist): Associate .gemspec files with ruby-mode
3140 (https://bugs.ruby-lang.org/issues/5453).
3141
3142 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
3143
3144 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
3145 Suppress coloring, if possible (required for BusyBox based systems like
3146 CyanogenMod).
3147 (tramp-adb-handle-file-attributes)
3148 (tramp-adb-handle-insert-directory)
3149 (tramp-adb-handle-file-name-all-completions): Use it.
3150 (tramp-adb-get-toolbox): New defun. Check for remote shell
3151 implementation (BusyBox or Toolbox).
3152
3153 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
3154
3155 * startup.el (initial-buffer-choice): Allow function as value
3156 (Bug#13251).
3157 (command-line-1): Handle case where initial-buffer-choice
3158 specifies a function.
3159 * server.el (server-execute): Handle case where
3160 initial-buffer-choice specifies a function.
3161
3162 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
3163
3164 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
3165 its own function.
3166 (smtpmail-try-auth-methods): Forget the user name/password if the
3167 login is unsuccessful (bug#12424).
3168
3169 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
3170
3171 * notifications.el (notifications-notify): Protect body with
3172 `with-demoted-errors'.
3173
3174 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3175 Check properties of remote device. Restart connection, if there is a
3176 change.
3177
3178 2012-12-21 Chong Yidong <cyd@gnu.org>
3179
3180 * sort.el (sort-subr): Doc fix (Bug#13056).
3181
3182 2012-12-21 Bastien Guerry <bzg@gnu.org>
3183
3184 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
3185
3186 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
3187
3188 * simple.el (process-file): Overwrite stderr file, if exists.
3189
3190 2012-12-21 Daiki Ueno <ueno@gnu.org>
3191
3192 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
3193 (epg-error): Set `error-message' property.
3194
3195 2012-12-21 Chong Yidong <cyd@gnu.org>
3196
3197 * international/mule-cmds.el (read-char-by-name): Signal an error
3198 if the user does not supply a valid character (Bug#13177).
3199
3200 * simple.el (transpose-subr-1): Preserve marker positions by
3201 changing the insertion sequence (Bug#13122).
3202
3203 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3204
3205 * simple.el (kill-region): Deactivate mark even for empty regions
3206 (Bug#13169).
3207
3208 2012-12-21 Chong Yidong <cyd@gnu.org>
3209
3210 * help-fns.el (describe-variable): Make sure we get the right
3211 buffer name (Bug#13105). Suggested by Kelly Dean.
3212
3213 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
3214
3215 * comint.el (comint-redirect-previous-input-string): New variable.
3216 (comint-redirect-setup, comint-redirect-cleanup)
3217 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
3218 (comint-redirect-preoutput-filter): Fix verbose message.
3219
3220 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
3221
3222 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
3223 is too long for Tramp. See discussion in
3224 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
3225
3226 * progmodes/compile.el (compilation-start): Remove line escape
3227 template.
3228
3229 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
3230
3231 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
3232 Adjust comment.
3233
3234 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
3235
3236 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
3237 following non-comment text (bug#13207).
3238 (lm-header-multiline): Continuation lines need to be indented more than
3239 the first line.
3240 (lm-homepage): New function.
3241 (lm-with-file): Don't be confused if narrowing is in effect.
3242
3243 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
3244
3245 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
3246 very beginning of a hunk (e.g. killing the first line).
3247
3248 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
3249
3250 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
3251 and text properties from returned ACL string.
3252 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
3253 for "setfacl" command.
3254
3255 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
3256
3257 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
3258 `tramp-cleanup-this-connection', when the process has died.
3259 (Bug#13151)
3260
3261 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3262
3263 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
3264
3265 2012-12-17 Kevin Ryde <user42@zip.com.au>
3266
3267 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
3268
3269 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
3270
3271 Add support for preserving ACL entries of files.
3272
3273 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
3274 `set-file-acl' handlers.
3275
3276 * net/tramp-adb.el (tramp-adb-handle-copy-file):
3277 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3278
3279 * net/tramp-compat.el (tramp-compat-copy-file):
3280 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3281
3282 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3283 Add `file-acl' and `set-file-acl' handlers.
3284 (tramp-gvfs-handle-copy-file):
3285 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3286 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
3287 New defuns.
3288
3289 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3290 Add `file-acl' and `set-file-acl' handlers.
3291 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
3292 (tramp-sh-handle-set-file-acl): New defuns.
3293 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
3294 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3295
3296 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3297 Add `file-acl' and `set-file-acl' handlers.
3298 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
3299
3300 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3301
3302 * help-macro.el (make-help-screen): Instead of switch-to-buffer
3303 use pop-to-buffer with NORECORD argument t. As buffer name, use
3304 *Metahelp* with a leading space (Bug#13190).
3305
3306 2012-12-16 Romain Francoise <romain@orebokech.com>
3307
3308 * files.el (file-extended-attributes)
3309 (set-file-extended-attributes): New functions.
3310 (backup-buffer): Use them to handle both SELinux context and ACL
3311 entries.
3312 (backup-buffer-copy): Work with an alist of extended attributes,
3313 rather than an SELinux context.
3314 (basic-save-buffer-2): Ditto.
3315
3316 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
3317
3318 * battery.el (battery-bsd-apm): New function.
3319
3320 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
3321
3322 * calc/calc.el (calc-standard-date-formats): Adjust one of the
3323 standard date formats.
3324
3325 2012-12-15 Juri Linkov <juri@jurta.org>
3326
3327 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
3328 `isearch-insert-char-by-name'.
3329 (with-isearch-suspended): New defmacro with body mostly from
3330 `isearch-edit-string' except the part that sets
3331 `isearch-new-string' and `isearch-new-message'.
3332 (isearch-edit-string): Use new macro `with-isearch-suspended' with
3333 body that sets `isearch-new-string' and `isearch-new-message'.
3334 (isearch-insert-char-by-name): New command.
3335 * international/mule-cmds.el (read-char-by-name): Let-bind
3336 `enable-recursive-minibuffers' to t.
3337 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
3338
3339 2012-12-15 Juri Linkov <juri@jurta.org>
3340
3341 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
3342 (Bug#13175)
3343
3344 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
3345
3346 * dired-x.el (dired-guess-shell-command): Put colon at the end of
3347 the prompt. (Bug#13045)
3348
3349 2012-12-14 Glenn Morris <rgm@gnu.org>
3350
3351 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
3352 Try to include filename in non-bytecomp warning. (Bug#13132)
3353
3354 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
3355
3356 Fix permissions bugs with setgid directories etc. (Bug#13125)
3357 * files.el (backup-buffer): Don't rely on 9th output of
3358 file-attributes, as it's now a placeholder. Instead, use the new
3359 optional arg of file-ownership-preserved-p.
3360 (file-ownership-preserved-p): New optional arg GROUP.
3361 Fix mishandling of setuid directories that would cause this
3362 function to return t when it should have returned nil.
3363 Document what happens if the file does not exist, and when
3364 it's not known whether the ownership will be preserved.
3365 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
3366 Likewise.
3367 (tramp-get-local-gid): Use group-gid for integer, as that's
3368 faster and more reliable.
3369
3370 2012-12-14 Julien Danjou <julien@danjou.info>
3371
3372 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
3373 Update keywords list, data type and PL/pgSQL.
3374
3375 2012-12-14 Dave Abrahams <dave@boostpro.com>
3376
3377 * vc/ediff-util.el (ediff-buffer-type): New function.
3378 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
3379 rather than taking it as as argument.
3380 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
3381
3382 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
3383
3384 * json.el: Add pretty-print option (bug#12634).
3385 (json-encoding-separator, json-encoding-default-indentation)
3386 (json--encoding-current-indentation, json-encoding-pretty-print)
3387 (json-encoding-lisp-style-closings): New vars.
3388 (json--with-indentation): New macro.
3389 (json-encode-hash-table, json-encode-alist, json-encode-plist)
3390 (json-encode-array): Use it to obey json-encoding-pretty-print.
3391 (json-pretty-print-buffer, json-pretty-print): New commands.
3392
3393 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
3394
3395 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3396 Extract `ruby-syntax-propertize-expansions'.
3397 (ruby-syntax-propertize-expansions): Only change syntax on
3398 certain string delimiters, to punctuation. This way the common
3399 functions like forward-word and thing-at-point still work.
3400 (ruby-match-expression-expansion): Improve readability.
3401 (ruby-block-contains-point): New function.
3402 (ruby-add-log-current-method): Handle several edge cases.
3403
3404 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
3405
3406 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
3407 unload-feature finishes even when aborting an ongoing edebug session.
3408 Also, do not worry about edebug-mode, unload-feature takes care of it.
3409
3410 2012-12-13 Andreas Schwab <schwab@suse.de>
3411
3412 * net/tls.el (tls-program): Update customize type.
3413
3414 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
3415
3416 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
3417 (edebug-setup-hook, cl-read-load-hooks): Use it.
3418 (edebug-unload-function): New function. (Bug#13163)
3419
3420 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
3421
3422 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
3423 Otherwise, there could be errors in autoloading. (Bug#13151)
3424
3425 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
3426
3427 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
3428 sequences.
3429
3430 2012-12-13 Alan Mackenzie <acm@muc.de>
3431
3432 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
3433 * progmodes/cc-engine.el (c-backward-comments): Add code to work
3434 around `forward-comment' not recognizing ^M as whitespace.
3435
3436 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
3437
3438 * progmodes/python.el (python-skeleton-class)
3439 (python-skeleton-def): Do not add space after defun name.
3440
3441 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3442
3443 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
3444 (cl--symbol-function): Remove (now that funbound is like nil).
3445
3446 2012-12-12 Glenn Morris <rgm@gnu.org>
3447
3448 * button.el (button--area-button-p): Fix typo.
3449
3450 2012-12-12 Sam Steingold <sds@gnu.org>
3451
3452 * frame.el (frame-maximization-style): New user option.
3453 (toggle-frame-maximized): Toggle frame maximization according to
3454 `frame-maximization-style', bound to <f11>.
3455 (cycle-frame-maximized): Cycle between all maximization styles and
3456 non-maximized frame, bound to shift-<f11>.
3457
3458 2012-12-12 David Cadé <codename68@gmail.com>
3459
3460 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
3461
3462 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
3463
3464 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
3465 (eieio-override-prin1): Don't quote kewords and booleans.
3466 (object-write) <eieio-default-superclass>: Don't put closing parens
3467 on new line, avoid needless empty lines, align values that are objects
3468 with the slot keyword (instead of beginning on the same line).
3469 (eieio-list-prin1): Align value with slot keyword; increase
3470 eieio-print-depth before printing members of the list.
3471
3472 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3473
3474 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
3475 a display text-property.
3476 (report-emacs-bug-hook): Don't bother deleting it any more.
3477
3478 * hilit-chg.el (highlight-save-buffer-state): Delete.
3479 Use with-silent-modifications instead.
3480 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
3481
3482 * button.el: Handle buttons in display text-properties.
3483 (button--area-button-p, button--area-button-string):
3484 Use (STRING . STRING-POS) representation instead of just STRING.
3485
3486 2012-12-11 Eli Zaretskii <eliz@gnu.org>
3487
3488 * makefile.w32-in (compile4-SH): Fix a typo that caused term
3489 subdirectory be skipped.
3490
3491 2012-12-11 Glenn Morris <rgm@gnu.org>
3492
3493 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
3494
3495 * progmodes/f90.el (f90-line-continued, f90-indent-region):
3496 Treat preprocessor lines embedded in continuations like comments.
3497 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
3498
3499 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
3500
3501 * calc/calc.el (calc-standard-date-formats): Add more date
3502 formats.
3503 * calc/calc-forms.el (math-parse-iso-date): New function.
3504 (math-parse-date): Use `math-parse-iso-date' when appropriate.
3505 (math-parse-iso-date-validate): Add extra error checking.
3506 (calc-date-notation): Add ability to access new date formats.
3507
3508 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3509
3510 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
3511 font-lock as well as when there's no text-property.
3512
3513 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
3514
3515 * hi-lock.el: Refine the choice of default face.
3516 (hi-lock-keyword->face): New function. Use it wherever we used
3517 cadadadr instead.
3518 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
3519 (hi-lock--last-face): Remove var.
3520 (hi-lock--unused-faces): New var to replace it.
3521 (hi-lock-read-face-name): Use/maintain it.
3522 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
3523 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
3524 if it has another face.
3525
3526 2012-12-10 Eli Zaretskii <eliz@gnu.org>
3527
3528 * subr.el (w32notify-handle-event): New function.
3529 (inotify-handle-event): Doc fix.
3530
3531 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3532
3533 * subr.el (inotify-event-p, inotify-handle-event): New functions.
3534
3535 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
3536
3537 * simple.el (just-one-space): Doc fix.
3538
3539 2012-12-10 Eli Zaretskii <eliz@gnu.org>
3540
3541 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
3542
3543 2012-12-10 Le Wang <l26wang@gmail.com>
3544
3545 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
3546 narrowed buffer (bug#12361).
3547
3548 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
3549
3550 * vc/vc-hooks.el (vc-state): Doc fix.
3551
3552 2012-12-10 Glenn Morris <rgm@gnu.org>
3553
3554 * mail/rmail.el (rmail-maybe-display-summary):
3555 Preserve buffer, in case select-window changes it. (Bug#13066)
3556
3557 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3558
3559 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
3560 cl-load-hook where they belong.
3561
3562 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3563
3564 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
3565
3566 2012-12-09 Eli Zaretskii <eliz@gnu.org>
3567
3568 Parallelize byte compilation on MS-Windows.
3569 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
3570 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
3571 (WINS_BASIC): Define as concatenation of the above.
3572 (compile): Subdivide into 4 separate and independent jobs that can
3573 be run in parallel.
3574 (compile0-CMD, compile0-SH): New targets for compiling
3575 COMPILE_FIRST files, which are prerequisites for the rest of the
3576 byte-compilation.
3577 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
3578 New targets for parallel compilation with cmd.exe.
3579 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
3580 compiling under a Unixy shell.
3581
3582 2012-12-09 Chong Yidong <cyd@gnu.org>
3583
3584 * simple.el (set-mark-default-inactive): Delete this
3585 accidentally-introduced option.
3586 (set-mark-command, exchange-point-and-mark): Remove calls.
3587
3588 2012-12-09 Glenn Morris <rgm@gnu.org>
3589
3590 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
3591 Respect a defcustom's :set function, if appropriate. (Bug#109)
3592 (eval-defun): Doc fix.
3593
3594 2012-12-08 Juri Linkov <juri@jurta.org>
3595
3596 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
3597 (Info-fontify-node, Info-bookmark-make-record): Remove the
3598 file extension from Info-current-file (Bug#13016).
3599
3600 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3601
3602 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
3603 point, still provide some default.
3604 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
3605 names, since we don't use it right now. Actually return the list.
3606 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
3607
3608 2012-12-07 Chong Yidong <cyd@gnu.org>
3609
3610 * novice.el (disabled-command-function): Remove a spurious help
3611 xref (Bug#13043). Suggested by Kelly Dean.
3612
3613 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
3614 syntax is specified (Bug#13025).
3615
3616 * info.el (Info-set-mode-line): Remove the file extension from
3617 Info-current-file if there is one (Bug#13016).
3618
3619 2012-12-07 Glenn Morris <rgm@gnu.org>
3620
3621 * mail/rmail.el (rmail-mime-decoded): New permanent local.
3622 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
3623 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
3624 and rmail-mime-decoded. (Bug#9841)
3625
3626 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
3627 (batch-unrmail, unrmail): Doc fixes.
3628 (unrmail): Respect unrmail-mbox-format.
3629 * mail/rmail.el (rmail-mbox-format): New option.
3630 (rmail-show-message-1): Respect rmail-mbox-format.
3631
3632 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3633
3634 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
3635
3636 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3637
3638 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
3639 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
3640 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
3641 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
3642 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
3643 (cl-progv): Don't rely on dynamic scoping to find the body.
3644 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
3645 (cl--proclaims-deferred): Rename from the "cl-" prefix.
3646 (cl-declaim): Use backquotes.
3647 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
3648 Use "cl--" prefix for the object's tag.
3649
3650 * ses.el: Use advice-add/remove.
3651 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
3652 (copy-region-as-kill, yank): Use advice-add.
3653 (ses-unload-function): Use advice-remove.
3654
3655 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
3656
3657 * button.el: Make them work in header-lines (bug#12817).
3658 (button-map): Add bindings for header-line and mode-line use.
3659 (button-get, button-put, button-label): `button' may now be a string.
3660 (button-activate): Don't make it a defsubst.
3661 (button--area-button-p, button--area-button-string): New functions.
3662 (make-text-button): Fix the return value when `beg' was a string.
3663 (push-button): Handle the mode-line case.
3664
3665 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3666
3667 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
3668 (sql-signum): Remove. Use `cl-signum' instead.
3669 (sql-read-passwd): Remove; use read-passwd instread.
3670 (sql-get-login-ext): Use read-string.
3671 (sql-get-login): Use dolist and pcase.
3672 (sql--completion-table): Rename from sql-try-completion.
3673 Use complete-with-action.
3674 (sql-mode): Don't change abbrev-all-caps globally.
3675 (sql-connect): Don't rely on dynamic scoping for `new-name'.
3676 (sql-postgres-completion-object): Initialize vars in their `let'.
3677 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
3678 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
3679 (sql-comint-interbase): Use a single append, without setq.
3680 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
3681
3682 * hi-lock.el: Rework the default face and the serialize regexp code.
3683 (hi-lock--auto-select-face-defaults): Remove.
3684 (hi-lock-string-serialize-serial): Remove.
3685 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
3686 make weak.
3687 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
3688 equal string.
3689 (hi-lock-set-pattern): Adjust accordingly.
3690 (hi-lock--regexps-at-point): Simplify accordingly.
3691 (hi-lock--auto-select-face-defaults): Remove.
3692 (hi-lock--last-face): New var to replace it.
3693 (hi-lock-read-face-name): Rewrite (bug#11095).
3694 (hi-lock-unface-buffer): Arrange for the face to be the next default.
3695
3696 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
3697
3698 * net/tramp.el (tramp-replace-environment-variables):
3699 Hide compiler warning.
3700 (tramp-file-name-for-operation): Remove `executable-find',
3701 `start-process', `call-process' and `call-process-region'.
3702
3703 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
3704
3705 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
3706 compatibility.
3707
3708 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
3709
3710 2012-12-06 Chong Yidong <cyd@gnu.org>
3711
3712 * ffap.el (ffap-replace-file-component): Fix typo.
3713
3714 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3715
3716 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
3717 fix open-paren-like token test (bug#12785).
3718
3719 2012-12-06 Glenn Morris <rgm@gnu.org>
3720
3721 * mail/rmailsum.el (rmail-new-summary): Tweak for
3722 rmail-maybe-display-summary changing buffer. (Bug#13066)
3723
3724 2012-12-06 Juri Linkov <juri@jurta.org>
3725
3726 * info.el (Info-fontify-node): Don't hide the last newline.
3727 (Bug#12272)
3728
3729 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
3730
3731 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
3732 so as to enable message-read-from-minibuffer to expand mail aliases.
3733
3734 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3735
3736 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
3737 the `intangible' property.
3738 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
3739
3740 2012-12-05 Deniz Dogan <deniz@dogan.se>
3741
3742 * net/rcirc.el (rcirc-urls): Update documentation.
3743 (rcirc-condition-filter): New function.
3744 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
3745 and exclude consecutive duplicate URLs (Bug#6082).
3746
3747 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
3748
3749 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3750 Check return code of copy command.
3751
3752 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
3753 Use group `tramp'. Add version.
3754
3755 2012-12-05 Chong Yidong <cyd@gnu.org>
3756
3757 * ffap.el (ffap-url-regexp): Don't require matching at front of
3758 string (Bug#4952).
3759 (ffap-url-p): If only a substring matches, return that.
3760 (ffap-url-at-point): Use the return value of ffap-url-p.
3761 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
3762 (find-file-at-point, dired-at-point, dired-at-point-prompter)
3763 (ffap-guess-file-name-at-point): Likewise.
3764 (ffap-replace-file-component): Fix typo.
3765
3766 * info.el (info-display-manual): Add existing Info buffers, whose
3767 files may not be in Info-directory-list, to the completion.
3768 (info--manual-names): New helper function.
3769
3770 2012-12-05 Glenn Morris <rgm@gnu.org>
3771
3772 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
3773 New functions, for detecting and resolving conflicts. (Bug#10709)
3774
3775 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
3776
3777 * hi-lock.el (hi-lock-auto-select-face): New user variable.
3778 (hi-lock-auto-select-face-defaults): New buffer local variable.
3779 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
3780 (hi-lock-unface-buffer): Prompt user with useful defaults.
3781 With prefix arg, unhighlight all hi-lock patterns in buffer.
3782
3783 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3784
3785 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
3786
3787 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
3788
3789 * Makefile.in (TRAMP_SRC):
3790 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
3791
3792 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
3793
3794 * net/tramp-adb.el: New package.
3795
3796 2012-12-04 Chong Yidong <cyd@gnu.org>
3797
3798 * terminal.el: Move to obsolete/.
3799
3800 * longlines.el: Move to obsolete/.
3801
3802 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
3803 Remove code referring to longlines mode.
3804
3805 2012-12-03 Juri Linkov <juri@jurta.org>
3806
3807 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
3808
3809 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3810
3811 * textmodes/ispell.el (ispell-init-process)
3812 (ispell-start-process, ispell-internal-change-dictionary):
3813 Make sure personal dictionary name is expanded after initial
3814 `default-directory' value. Use expanded strings for
3815 keep/restart checks and for value (Bug#13019).
3816
3817 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
3818
3819 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
3820
3821 2012-12-03 Leo Liu <sdl.web@gmail.com>
3822
3823 * files.el (dir-locals-read-from-file): Check file non-empty
3824 before reading. (Bug#13038)
3825
3826 2012-12-03 Glenn Morris <rgm@gnu.org>
3827
3828 * jka-cmpr-hook.el (jka-compr-get-compression-info):
3829 Remove any version extension before checking filename. (Bug#13006)
3830 (jka-compr-compression-info-list): Belated :version bump.
3831
3832 2012-12-03 Chong Yidong <cyd@gnu.org>
3833
3834 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
3835
3836 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
3837 (buffer-menu): Doc fix (Bug#12294).
3838
3839 2012-12-03 Roland Winkler <winkler@gnu.org>
3840
3841 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
3842 of diary-show-all-entries in the diary buffer (Bug#12994).
3843
3844 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
3845
3846 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
3847 "<STDIN>". This is binary safe.
3848
3849 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
3850
3851 * calc/calc-forms.el (math-absolute-from-iso-dt)
3852 (math-date-to-iso-dt, math-parse-iso-date-validate)
3853 (math-iso-dt-to-date): New functions.
3854 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
3855 (math-fd-isoweekday): New variables.
3856 (calc-date-notation, math-parse-standard-date, math-format-date)
3857 (math-format-date-part): Add support for more formatting codes.
3858
3859 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
3860
3861 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
3862 current buffer's file name when called interactively (Bug#12488).
3863
3864 2012-12-02 Juri Linkov <juri@jurta.org>
3865
3866 * info.el (info-display-manual): Don't clobber an existing Info
3867 buffer (Bug#10770). Add completion (Bug#10771).
3868
3869 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
3870
3871 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
3872 before using it for comparison (Bug#5297).
3873
3874 2012-12-01 Jari Aalto <jari.aalto@cante.net>
3875
3876 * textmodes/css-mode.el (css-current-defun-name): New function.
3877 (css-mode): Use it.
3878
3879 * textmodes/sgml-mode.el (html-current-defun-name): New function.
3880 (html-mode): Use it.
3881
3882 2012-12-01 Chong Yidong <cyd@gnu.org>
3883
3884 Modularize add-log-current-defun (Bug#2224).
3885 Suggested by Jari Aalto.
3886
3887 * vc/add-log.el (add-log-current-defun-function): Doc fix.
3888 (add-log-current-defun): Move mode-specific code to other files.
3889 (add-log-lisp-like-modes, add-log-c-like-modes)
3890 (add-log-tex-like-modes): Variables deleted.
3891
3892 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
3893 (lisp-mode-variables): Use it.
3894
3895 * progmodes/cc-mode.el (c-common-init):
3896 * progmodes/cperl-mode.el (cperl-mode): Set a value for
3897 add-log-current-defun-function.
3898
3899 * progmodes/m4-mode.el (m4-current-defun-name): New function.
3900 (m4-mode): Use it.
3901
3902 * progmodes/perl-mode.el (perl-current-defun-name): New.
3903 (perl-mode): Use it.
3904
3905 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
3906 Use lisp-current-defun-name.
3907
3908 * textmodes/tex-mode.el (tex-current-defun-name): New.
3909 (tex-common-initialization): Use it.
3910
3911 * textmodes/texinfo.el (texinfo-current-defun-name): New.
3912 (texinfo-mode): Use it.
3913
3914 2012-12-01 Chong Yidong <cyd@gnu.org>
3915
3916 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
3917 * progmodes/autoconf.el (autoconf-mode):
3918 * progmodes/js.el (js-mode):
3919 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
3920 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
3921 * progmodes/perl-mode.el (perl-mode):
3922 * progmodes/sh-script.el (sh-mode, sh-set-shell):
3923 * textmodes/css-mode.el (css-mode):
3924 * textmodes/sgml-mode.el (html-mode, sgml-mode)
3925 (sgml-tags-invisible, sgml-guess-indent):
3926 * textmodes/tex-mode.el (tex-common-initialization)
3927 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
3928 (doctex-mode, plain-tex-mode, latex-mode):
3929 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
3930
3931 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
3932
3933 * vc/vc-hg.el (vc-hg-next-revision):
3934 Ensure use of default "tip" output format. (Bug#6968)
3935
3936 2012-12-01 Kim F. Storm <storm@cua.dk>
3937
3938 * startup.el (fancy-startup-tail): Add a clickable link
3939 (Bug#2176).
3940
3941 2012-12-01 Chong Yidong <cyd@gnu.org>
3942
3943 * startup.el (fancy-startup-tail): Improve the message about
3944 auto-save files (Bug#2176).
3945
3946 * files.el (recover-session): Improve the descriptive message, and
3947 use substitute-command-keys.
3948
3949 2012-12-01 Glenn Morris <rgm@gnu.org>
3950
3951 * ido.el (ido-file-internal):
3952 Handle other-window, other-frame for dired. (Bug#13036)
3953
3954 2012-11-30 Glenn Morris <rgm@gnu.org>
3955
3956 * icomplete.el (icomplete-separator): Fix :version.
3957
3958 2012-11-30 Chong Yidong <cyd@gnu.org>
3959
3960 * shell.el (shell): For C-u M-x shell, use an inactive shell
3961 buffer as the default (Bug#1975).
3962 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
3963 (shell-mode): Use them to reapply ansi colorization if Shell mode
3964 is re-enabled.
3965
3966 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
3967
3968 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
3969
3970 2012-11-30 Samuel Bronson <naesten@gmail.com>
3971
3972 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
3973 flag to xargs, for compatibility with BSD xargs (Bug#11703).
3974
3975 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
3976
3977 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
3978 by move-to-column (Bug#3234).
3979
3980 2012-11-30 Chong Yidong <cyd@gnu.org>
3981
3982 * longlines.el (longlines-wrap-line, longlines-encode-region):
3983 Preserve text properties (Bug#1425).
3984
3985 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
3986
3987 * vc/vc.el (vc-register): Allow registering a file which is
3988 already registered with a different backend (Bug#10589).
3989
3990 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
3991 Stefan Monnier <monnier@iro.umontreal.ca>
3992
3993 * icomplete.el: Change separator; add ido-style commands.
3994 (icomplete-show-key-bindings): Remove custom var.
3995 (icomplete-get-keys): Remove function.
3996 (icomplete-forward-completions, icomplete-backward-completions):
3997 New commands.
3998 (icomplete-minibuffer-map): New var.
3999 (icomplete-minibuffer-setup): Use it.
4000 (icomplete-exhibit): Don't delay if the list of completions is known.
4001 (icomplete-separator): New custom.
4002 (icomplete-completions): Use it.
4003 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
4004 (minibuffer-force-complete-and-exit): New command.
4005 (minibuffer--complete-and-exit): New function extracted from
4006 minibuffer-complete-and-exit.
4007 (minibuffer-complete-and-exit): Use it.
4008
4009 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
4010 error message when the file doesn't exist (bug#12974).
4011
4012 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
4013
4014 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
4015
4016 2012-11-29 Glenn Morris <rgm@gnu.org>
4017
4018 * files.el (hack-dir-local-variables): Warn if try to set
4019 coding via dir-locals, since it doesn't work. (Bug#7169)
4020
4021 Add desktop support for restoring vc-dir buffers. (Bug#10606)
4022 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
4023 Set buffer-local value of desktop-save-buffer.
4024 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
4025 New functions.
4026 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
4027 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
4028
4029 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
4030 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
4031 Doc fix.
4032 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
4033 Doc fixes.
4034
4035 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
4036
4037 * calc/calc-forms.el (calc-date-notation): Fix regexp
4038 used to find time codes. Fix symbol for seconds.
4039
4040 2012-11-27 Glenn Morris <rgm@gnu.org>
4041
4042 * emacs-lisp/derived.el (derived-mode-make-docstring):
4043 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
4044
4045 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4046
4047 * textmodes/table.el (table-insert): Don't use `symbol-name' on
4048 lexically scoped variables (bug#13005).
4049
4050 2012-11-27 Glenn Morris <rgm@gnu.org>
4051
4052 * vc/vc-hooks.el (vc-mistrust-permissions):
4053 Default to t, to avoid data-loss. (Bug#11490)
4054
4055 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
4056
4057 * progmodes/python.el (python-indent-guess-indent-offset):
4058 If indentation is guessed make python-indent-offset buffer-local.
4059
4060 Fix Imenu regression.
4061 * progmodes/python.el (python-nav-beginning-of-defun):
4062 Fix forward movement when statement(s) separates point from defun.
4063 (python-imenu-prev-index-position): New function.
4064
4065 2012-11-27 Eli Zaretskii <eliz@gnu.org>
4066
4067 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
4068
4069 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
4070 Don't set buffer-file-type. Return nil. (Bug#12989)
4071
4072 2012-11-27 Glenn Morris <rgm@gnu.org>
4073
4074 * hippie-exp.el (hippie-expand-try-functions-list):
4075 Re-autoload it. (Bug#12982)
4076
4077 2012-11-27 Eli Zaretskii <eliz@gnu.org>
4078
4079 * descr-text.el (describe-char-padded-string):
4080 Call internal-char-font only on GUI frames. (Bug#11964)
4081
4082 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
4083
4084 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
4085 and obsoletion message.
4086
4087 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4088
4089 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
4090 the constructs to keep outside of the `cl-block' (bug#12977).
4091
4092 2012-11-27 Chong Yidong <cyd@gnu.org>
4093
4094 * mouse.el (mouse-drag-line): Even if the line is not draggable,
4095 keep reading until we get the up-event anyway, in order to process
4096 the up-event for mouse-1-click-follows-link (Bug#12971).
4097
4098 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
4099
4100 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
4101 base function is not yet defined (bug#12965).
4102 (ad-activate-advised-definition): Use ad-compile-function.
4103 (ad-activate): Use cond.
4104
4105 2012-11-25 Leo Liu <sdl.web@gmail.com>
4106
4107 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
4108 (Bug#12979)
4109
4110 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
4111
4112 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
4113 reftex-section-info-function in order to be compatible with
4114 Texinfo integration.
4115
4116 * textmodes/reftex.el (reftex-section-pre-regexp)
4117 (reftex-section-post-regexp, reftex-section-info-function):
4118 New variable.
4119 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
4120 reftex-section-post-regexp, and reftex-section-info-function in order
4121 to be compatible with Texinfo integration.
4122
4123 * textmodes/reftex-toc.el (reftex-toc-promote-action):
4124 use reftex-section-pre-regexp variable in order to be compatible with
4125 Texinfo integration.
4126
4127 2012-11-25 Chong Yidong <cyd@gnu.org>
4128
4129 * faces.el: Make face-spec-set more analogous to setq.
4130 (face-spec-set): Change the third arg to specify whether this
4131 function is being called via defface, customize, or a third party.
4132 Set the appropriate symbol properties. Clear the override spec if
4133 setting via Custom. Initialize face if necessary. (Bug#4988)
4134 (face-spec-recalc): Allow theme faces to completely replace the
4135 defface spec, in the same way as custom faces (Bug#8454).
4136
4137 * cus-face.el (custom-declare-face): Move face initialization to
4138 face-spec-set.
4139 (custom-theme-set-faces): Don't initialize the face name here, as
4140 that is now done in face-spec-set.
4141
4142 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
4143 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
4144 Simplify by using the new arg to face-spec-set.
4145
4146 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
4147 reset face-override-spec too, and use custom-declare-face.
4148
4149 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
4150
4151 * term/ns-win.el (ns-initialize-window-system): Move creation of
4152 fontsets here (Bug#11964).
4153
4154 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
4155
4156 * ses.el (ses-rename-cell): Correct bug on mode-line update after
4157 cell renaming.
4158
4159 2012-11-24 Chong Yidong <cyd@gnu.org>
4160
4161 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
4162 obsolete.
4163
4164 * custom.el (custom-theme-set-variables): Use a topological sort
4165 for ordering by custom dependencies (Bug#12952).
4166 (custom--sort-vars, custom--sort-vars-1): New functions.
4167
4168 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
4169
4170 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
4171 lexical-binding (bug#12938).
4172
4173 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
4174
4175 * image-mode.el (image-transform-check-size): Use assertions only
4176 for images of type imagemagick.
4177
4178 Otherwise no error, image-transform-fit-to-{width,height} is
4179 silently ignored, as before. Doc fix.
4180
4181 2012-11-24 Chong Yidong <cyd@gnu.org>
4182
4183 * faces.el (color-defined-p): Doc fix (Bug#12853).
4184
4185 2012-11-24 Juri Linkov <juri@jurta.org>
4186
4187 * dired.el (dired-mark): Add optional arg `interactive'.
4188 Check for `use-region-p' if `interactive' is non-nil.
4189 (dired-unmark, dired-flag-file-deletion): Add optional arg
4190 `interactive'. Call `dired-mark' with the arg `interactive'.
4191 (Bug#10624)
4192
4193 * wdired.el: Revert 2012-10-17 change partly and replace it with
4194 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
4195 (wdired-finish-edit): Add marks for new file names to
4196 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
4197 after `revert-buffer'.
4198 (wdired-do-renames): Remove calls to `dired-remove-file',
4199 `dired-add-file', `dired-add-entry'. (Bug#11795)
4200
4201 2012-11-24 Alan Mackenzie <acm@muc.de>
4202
4203 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
4204
4205 Fix bugs in the state cache. Enhance a debugging mechanism.
4206 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
4207 "brace at column zero" strategy for C++.
4208 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
4209 (c-parse-state-point): New variable.
4210 (c-record-parse-state-state): Record old parse state with
4211 `copy-tree'. Record previous value of point.
4212 (c-debug-parse-state-double-cons): New debugging function.
4213 (c-debug-parse-state): Call the above new function.
4214 (c-toggle-parse-state-debug): Output a confirmatory message.
4215
4216 * progmodes/cc-mode.el (c-before-change, c-after-change):
4217 Call c-invalidate-state-cache from `c-before-change' instead of
4218 `c-after-change'.
4219
4220 2012-11-23 Chong Yidong <cyd@gnu.org>
4221
4222 * find-cmd.el (find-constituents): Add executable, ipath,
4223 readable, samefile, writable, daystart, regextype (Bug#12856).
4224
4225 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
4226
4227 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
4228
4229 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
4230
4231 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
4232 definition. This fixes a bootstrap failure.
4233 (calc-gregorian-switch): In menu, put dates before regions.
4234 This is easier to follow, lines up better in the menu, and lets us
4235 coalesce regions that switch at the same time. Give country
4236 names, not "Vatican", as that's better for non-expert users.
4237 Use names that are stable between the date of switch and now, e.g.,
4238 Bohemia and Moravia (which existed then and now) and not
4239 Czechoslovakia (which didn't exist then and doesn't exist now).
4240 What is now the U.S. mostly did not switch at the same time as
4241 Britain, so omit the U.S. Correct spelling of "Britain".
4242 Catholic Switzerland was too much of a mess, so omit it.
4243
4244 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
4245
4246 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
4247 after the variable is changed.
4248
4249 2012-11-21 Daniel Colascione <dancol@dancol.org>
4250
4251 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
4252 in SQL declarations for font-lock.
4253 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
4254
4255 2012-11-21 Glenn Morris <rgm@gnu.org>
4256
4257 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
4258 (face-italic-p): Add optional argument "inherit".
4259
4260 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
4261 Remove -p suffix from names, for consistency with other set-face-*.
4262 (set-face-inverse-video): Fix interactive spec.
4263 * play/gamegrid.el (gamegrid-make-mono-tty-face):
4264 * textmodes/table.el (table--update-cell-face):
4265 Use set-face-inverse-video rather than now obsolete alias.
4266
4267 2012-11-21 Eli Zaretskii <eliz@gnu.org>
4268
4269 * simple.el (line-move): Don't call line-move-partial if
4270 scroll-conservatively is in effect. (Bug#12927)
4271
4272 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4273
4274 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
4275 Fallback on completion-at-point rather than
4276 pcomplete-expand-and-complete, and only if pcomplete actually failed.
4277 (eshell-cmpl-initialize): Setup completion-at-point.
4278
4279 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
4280
4281 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
4282
4283 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
4284
4285 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
4286 are remote, check out-of-band property for both.
4287
4288 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4289
4290 * window.el (switch-to-buffer): Re-add the warning that was lost in the
4291 code rewrite.
4292
4293 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
4294
4295 More minor time fixes.
4296 * calendar/time-date.el: Commentary fix.
4297 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
4298 too much other code depends on (0 0) time stamps.
4299 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
4300 Add a couple of FIXME comments.
4301
4302 Minor cleanup for times as lists of four integers.
4303 * files.el (dir-locals-directory-cache):
4304 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
4305 Doc fixes.
4306 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
4307 * ps-bdf.el (bdf-file-newer-than-time):
4308 Process four-integers time stamps, not two. Doc fixes.
4309
4310 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4311
4312 * uniquify.el (uniquify-managed): Use defvar-local.
4313 (rename-buffer, create-file-buffer): Advise with advice-add.
4314 (uniquify-unload-function): Unadvise accordingly.
4315
4316 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
4317 (trace-buffer): Don't purecopy.
4318 (trace-entry-message, trace-exit-message): Add `context' arg.
4319 (trace--timer): New var.
4320 (trace-make-advice): Adjust for use in nadvice.
4321 Add `context' argument. Delay `display-buffer' via a timer.
4322 (trace-function-internal): Use advice-add.
4323 (trace--read-args): New function.
4324 (trace-function-foreground, trace-function-background): Use it.
4325 (trace-function): Rename to trace-function-foreground and redefine as
4326 an alias to that new name.
4327 (untrace-function, untrace-all): Adjust to the use of nadvice.
4328
4329 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
4330
4331 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
4332
4333 * subr.el (called-interactively-p-functions): New var.
4334 (internal--called-interactively-p--get-frame): New macro.
4335 (called-interactively-p, interactive-p): Rewrite in Lisp.
4336 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
4337 (called-interactively-p-functions): Use it.
4338 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
4339 (called-interactively-p-functions): Use it.
4340 * allout.el (allout-called-interactively-p): Don't assume
4341 called-interactively-p is a subr.
4342
4343 2012-11-20 Glenn Morris <rgm@gnu.org>
4344
4345 * profiler.el (profiler-report-mode-map): Add a menu.
4346 No need to bind `q' because we derive from special-mode.
4347 (profiler-report-find-entry): Handle calls from the menu-bar.
4348
4349 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
4350
4351 * emacs-lisp/byte-run.el (defun-declarations-alist):
4352 Allow a compiler-macro to be a lambda expression.
4353
4354 * progmodes/python.el: Use cl-lib. Move var declarations outside of
4355 eval-when-compile.
4356 (python-syntax-context): Add compiler-macro.
4357 (python-font-lock-keywords): Simplify with De Morgan.
4358
4359 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
4360
4361 * files.el (load-file): Require match in minibuffer selection, as was
4362 the case in Emacs-20 before we changed the spec to allow .elc files
4363 (bug#12935).
4364
4365 * json.el: Don't require cl since we don't use it.
4366 * color.el: Don't require cl.
4367 (color-complement): `caddr' -> `nth 2'.
4368
4369 * calendar/time-date.el (time-to-seconds): De-obsolete.
4370
4371 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
4372
4373 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
4374 year numbers.
4375 (math-date-to-julian-dt): Adjust the initial approximation for the
4376 year to deal with the new definition of the DATE.
4377
4378 2012-11-19 Daniel Colascione <dancol@dancol.org>
4379
4380 * term/w32-win.el (cygwin-convert-path-from-windows):
4381 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
4382
4383 2012-11-18 Chong Yidong <cyd@gnu.org>
4384
4385 * filecache.el (file-cache--read-list): New function.
4386 (file-cache-add-directory-list, file-cache-add-file-list)
4387 (file-cache-delete-file-list, file-cache-delete-directory-list):
4388 Use it to read a list of files or directories (Bug#12846).
4389 (file-cache-add-file, file-cache-add-directory)
4390 (file-cache-delete-file-list, file-cache-delete-file-regexp)
4391 (file-cache-delete-directory): Print an message.
4392
4393 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
4394
4395 * calc/calc-forms.el (math-date-to-dt): Use integer date when
4396 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
4397
4398 2012-11-18 Glenn Morris <rgm@gnu.org>
4399
4400 * image.el (insert-image, insert-sliced-image): Doc fix.
4401
4402 2012-11-18 Chong Yidong <cyd@gnu.org>
4403
4404 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
4405 (Bug#12810).
4406
4407 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
4408
4409 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
4410 response when the target file is in a subdirectory (Bug#12757).
4411
4412 2012-11-18 Chong Yidong <cyd@gnu.org>
4413
4414 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
4415
4416 2012-11-18 Glenn Morris <rgm@gnu.org>
4417
4418 * emacs-lisp/cl-lib.el (face-underline-p):
4419 Use set-face-underline rather than the alias set-face-underline-p.
4420
4421 * window.el (with-temp-buffer-window): Doc fix.
4422 * subr.el (with-output-to-temp-buffer):
4423 Add doc xref to with-temp-buffer-window.
4424
4425 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
4426
4427 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
4428 * calc/calc.el (math-format-date-cache): Declare.
4429
4430 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
4431
4432 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
4433 It also uses January 1, 1 AD as its day number 1.
4434 * calc/calc-forms.el (math-julian-date-beginning)
4435 (math-julian-date-beginning-int): Implement this.
4436
4437 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
4438
4439 * descr-text.el (quail-find-key):
4440 * dired.el (desktop-file-name):
4441 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
4442 * generic-x.el (comint-mode, comint-exec):
4443 * image-dired.el (widget-forward):
4444 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
4445 (speedbar-change-expand-button-char)
4446 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
4447 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
4448 * printing.el (easy-menu-add-item, easy-menu-remove-item)
4449 (widget-field-action, widget-value-set):
4450 * speedbar.el (imenu--make-index-alist):
4451 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
4452 (ring-length, ring-insert):
4453 * vcursor.el (compare-windows-skip-whitespace):
4454 * woman.el (dired-get-filename):
4455 Declare functions.
4456
4457 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
4458
4459 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
4460
4461 * calc/calc.el (calc-gregorian-switch): New variable.
4462
4463 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
4464 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
4465 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
4466 (math-leap-year-p): Add option to distinguish between Julian
4467 and Gregorian calendars.
4468 (math-day-number): Use `math-day-in-year' to do the computations.
4469 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
4470 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
4471 to do the computations.
4472 (math-date-to-dt): Use `math-date-to-julian-dt' and
4473 `math-date-to-gregorian-dt' to do the computations.
4474 (calcFunc-weekday, math-format-date-part): Use the new version of
4475 the DATE to determine the weekday.
4476 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
4477 when necessary.
4478
4479 2012-11-17 Eli Zaretskii <eliz@gnu.org>
4480
4481 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
4482 Cygwin; otherwise use 'file:'. (Bug#12914)
4483 (cygwin-convert-path-from-windows): Declare, to avoid
4484 byte-compiler warnings.
4485
4486 2012-11-17 Andreas Politz <politza@fh-trier.de>
4487
4488 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
4489 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
4490 prefix and negative numeric prefix args (Bug#12795).
4491
4492 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
4493
4494 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
4495 Don't signal an error with a score that is too low to add to the
4496 list of top scores. (Bug#12779)
4497
4498 2012-11-17 Chong Yidong <cyd@gnu.org>
4499
4500 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
4501
4502 * filecache.el (file-cache-add-file): Handle relative file name in
4503 the argument (Bug#12694).
4504
4505 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
4506
4507 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
4508
4509 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4510
4511 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
4512
4513 * emacs-lisp/cl-lib.el: Set more meaningful version number.
4514
4515 2012-11-16 Martin Rudalics <rudalics@gmx.at>
4516
4517 * window.el (enlarge-window, shrink-window): Don't mention return
4518 value in doc-string (Bug#12896).
4519 (window--display-buffer): Don't resize frames - it won't work
4520 with all window managers and defeat pop-up-frame-alist.
4521 (display-buffer-alist): In doc-string explain that CONDITION can
4522 be a function and which arguments are passed to it (Bug#12854).
4523 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
4524 expressions (Bug#12854).
4525 (display-buffer): Pass ACTION argument to
4526 display-buffer-assq-regexp.
4527
4528 2012-11-16 Glenn Morris <rgm@gnu.org>
4529
4530 * window.el (fit-frame-to-buffer-bottom-margin)
4531 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
4532
4533 * faces.el (face-underline-p): Use face-attribute-specified-or.
4534
4535 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
4536
4537 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
4538
4539 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4540
4541 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
4542
4543 2012-11-16 Glenn Morris <rgm@gnu.org>
4544
4545 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
4546 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
4547
4548 * faces.el (face-underline-p): Doc fix. Handle :underline being
4549 things other than `t' (a string, a list).
4550 (face-inverse-video-p): Doc fix.
4551 (set-face-underline): Rename it back from set-face-underline-p.
4552 Doc fix. Allow interactive input of values other than t.
4553 (read-face-attribute): Apply formatting to :underline,
4554 since like :box and :stipple it can take list values.
4555
4556 * term.el (ansi-term): Don't let C-x escape-char binding
4557 clobber the more standard C-c binding. (Bug#12842)
4558
4559 * subr.el (set-temporary-overlay-map): Doc fix.
4560
4561 2012-11-16 Martin Rudalics <rudalics@gmx.at>
4562
4563 * window.el (record-window-buffer)
4564 (display-buffer-record-window): When copying the markers to
4565 window-point preserve window-point-insertion-type. (Bug#12588)
4566
4567 2012-11-16 Glenn Morris <rgm@gnu.org>
4568
4569 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
4570 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
4571 Use new names for hooks rather than obsolete aliases.
4572
4573 2012-11-15 Daniel Colascione <dancol@dancol.org>
4574
4575 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
4576 prefix instead of "file:" so that when FILE-NAME begins with "//",
4577 as it does when the target file is on a network share, url-handler
4578 isn't confused.
4579
4580 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4581
4582 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
4583 a preactivated advice from an old advice.el; they're not compatible!
4584
4585 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
4586
4587 * emacs-lisp/nadvice.el (advice--make-interactive-form):
4588 Fix string-spec case.
4589
4590 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
4591
4592 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4593
4594 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
4595 (advice--buffer-local-function-sample): New var.
4596 (advice--set-buffer-local, advice--buffer-local): New functions.
4597 (add-function, remove-function): Use them.
4598
4599 2012-11-15 Drew Adams <drew.adams@oracle.com>
4600
4601 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
4602
4603 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4604
4605 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
4606 potential binding of print-gensym to t, and prettify (back)quotes in
4607 case they appear in args's default values (bug#12884).
4608
4609 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4610
4611 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
4612 (advice-eval-interactive-spec): New function.
4613 (advice--make-interactive-form): Support around advice (bug#12844).
4614
4615 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
4616
4617 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
4618 more strict. Add docstring.
4619 (ruby-expression-expansion-re): Extract from
4620 `ruby-match-expression-expansion'.
4621 (ruby-syntax-propertize-function): After everything else, search
4622 for expansions in string literals, mark their insides as
4623 whitespace syntax and save match data for font-lock.
4624 (ruby-font-lock-keywords): Use the 2nd group from expression
4625 expansion matches.
4626 (ruby-match-expression-expansion): Use the match data saved to the
4627 text property in ruby-syntax-propertize-function.
4628
4629 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4630
4631 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
4632 (bug#12879).
4633
4634 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4635
4636 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
4637 start/end keyword a bit harder. Works with different values of N.
4638 Add more comments.
4639 (ruby-end-of-block): Update accordingly.
4640
4641 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4642
4643 * woman.el (woman-file-name): Don't mess with unread-command-events
4644 (bug#12861).
4645
4646 * emacs-lisp/advice.el: Layer on top of nadvice.el.
4647 Remove out of date self-require hack.
4648 (ad-do-advised-functions): Use simple `dolist'.
4649 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
4650 (ad-advice-definition): Redefine as functions.
4651 (ad-advice-classes): Move before first use.
4652 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
4653 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
4654 (ad--defalias-fset): Remove functions.
4655 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
4656 (ad-get-orig-definition): Rewrite.
4657 (ad-make-advised-definition-docstring): Change base docstring.
4658 (ad-real-orig-definition): Rewrite.
4659 (ad-map-arglists): Change name of called function.
4660 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
4661 (ad-make-advised-definition): Simplify.
4662 (ad-assemble-advised-definition): Tweak for new calling context.
4663 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
4664 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
4665 function and call ad-activate if needed.
4666 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
4667 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
4668 (ad-compile-function): Compile ad-Advice-*.
4669 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
4670 (ad-start-advice, ad-stop-advice): Remove.
4671
4672 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4673
4674 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
4675 period before class method names, not after. Remove handling of
4676 one impossible case. Add comments.
4677
4678 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4679
4680 * emacs-lisp/advice.el: Remove support for freezing.
4681 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
4682 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
4683 Remove support for `freeze'.
4684
4685 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
4686 override the default.
4687 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
4688 cl--dotimes/dolist.
4689 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
4690 `cl' is loaded.
4691
4692 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
4693 from add-advice.
4694 (advice--strip-macro): New function.
4695 (advice--defalias-fset): Use them to handle macros.
4696 (advice-add): Use them.
4697 (advice-member-p): Correctly handle macros.
4698
4699 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4700
4701 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4702 Never font-lock the beginning of singleton class as heredoc.
4703
4704 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4705
4706 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
4707
4708 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
4709
4710 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
4711 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
4712 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
4713
4714 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
4715
4716 Fix end-of-defun misbehavior.
4717 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
4718 python-beginning-of-defun-function. Handle nested defuns
4719 correctly.
4720 (python-nav-end-of-defun): Rename from
4721 python-end-of-defun-function. Ensure forward movement.
4722 (python-info-current-defun): Reimplement to work as intended
4723 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
4724 parent defuns as soon as possible.
4725
4726 2012-11-13 Glenn Morris <rgm@gnu.org>
4727
4728 * progmodes/flymake.el (flymake-error-bitmap)
4729 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
4730 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
4731
4732 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4733
4734 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
4735 backward, always stop at indentation. Reverts the change from
4736 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
4737
4738 2012-11-13 Glenn Morris <rgm@gnu.org>
4739
4740 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
4741 Add ibuffer-filter-by-derived-mode.
4742
4743 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
4744 the same name shadowing each other.
4745
4746 * window.el (with-temp-buffer-window): Doc tweak.
4747
4748 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
4749
4750 * help.el (temp-buffer-max-height):
4751 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
4752 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
4753
4754 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
4755
4756 * emacs-lisp/nadvice.el: New package.
4757 * subr.el (special-form-p): New function.
4758 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
4759 (elp-all-instrumented-list): Remove var.
4760 (elp-not-profilable): Remove elp-wrapper.
4761 (elp-profilable-p): Use autoloadp and special-form-p.
4762 (elp--advice-name): New const.
4763 (elp-instrument-function): Use advice-add.
4764 (elp--instrumented-p): New predicate.
4765 (elp-restore-function): Use advice-remove.
4766 (elp-restore-all, elp-reset-all): Use mapatoms.
4767 (elp-set-master): Use elp--instrumented-p.
4768 (elp--make-wrapper): Rename from elp-wrapper, return a function
4769 suitable for advice-add. Use cl-inf.
4770 (elp-results): Use mapatoms+elp--instrumented-p.
4771 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
4772 (debug-function-list): Remove var.
4773 (debug): Rename arg, and then let-bind it explicitly inside.
4774 (debugger-setup-buffer): Rename arg.
4775 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
4776 (debugger-frame-number): Adjust to new debug-on-entry setup.
4777 (debug--implement-debug-on-entry): Rename from
4778 implement-debug-on-entry, add argument.
4779 (debugger-special-form-p): Remove, use special-form-p instead.
4780 (debug-on-entry): Use advice-add.
4781 (debug--function-list): New function.
4782 (cancel-debug-on-entry): Use it, along with advice-remove.
4783 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
4784 (debugger-list-functions): Use debug--function-list instead of
4785 debug-function-list.
4786 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
4787 (ad-special-form-p): Remove, use special-form-p instead.
4788 (ad-set-advice-info): Use add-function and remove-function.
4789 (ad--defalias-fset): Adjust accordingly.
4790
4791 2012-11-10 Glenn Morris <rgm@gnu.org>
4792
4793 * mail/emacsbug.el (report-emacs-bug-tracker-url)
4794 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
4795 (report-emacs-bug-create-existing-bugs-buffer)
4796 (report-emacs-bug-parse-query-results)
4797 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
4798
4799 * term.el (term-default-fg-color, term-default-bg-color):
4800 Make obsolete, rather than just saying "deprecated" in the doc.
4801
4802 * term.el (term): Rename from `term-face'.
4803 (term-current-face, ansi-term-color-vector)
4804 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
4805 Update all users.
4806
4807 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
4808
4809 * server.el (server-create-window-system-frame): Handle Nextstep
4810 specially (Bug#12780).
4811
4812 2012-11-10 Glenn Morris <rgm@gnu.org>
4813
4814 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
4815 Unautoload, and make obsolete. (Bug#7449)
4816
4817 2012-11-10 Chong Yidong <cyd@gnu.org>
4818
4819 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
4820 rename from diff-remove-trailing-whitespace (Bug#12831).
4821
4822 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4823
4824 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
4825 miscompilation of trace.el.
4826
4827 2012-11-10 Glenn Morris <rgm@gnu.org>
4828
4829 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
4830
4831 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4832
4833 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
4834 (bug#12812).
4835
4836 2012-11-10 Chong Yidong <cyd@gnu.org>
4837
4838 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
4839 a defcustom with an appropriate :set function.
4840 (minibuffer-default--in-prompt-regexps): New function.
4841
4842 2012-11-10 Glenn Morris <rgm@gnu.org>
4843
4844 * emacs-lisp/cl.el (define-setf-expander, defsetf)
4845 (define-modify-macro): Doc fixes.
4846
4847 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
4848 (gv-define-simple-setter): Update doc of `fix-return'.
4849
4850 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4851
4852 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
4853 twice when `fix-return' is set (bug#12813).
4854
4855 * emacs-lisp/cl.el (defsetf): Pass the third arg to
4856 gv-define-simple-setter (bug#12812).
4857
4858 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
4859 (bug#12756).
4860
4861 2012-11-10 Glenn Morris <rgm@gnu.org>
4862
4863 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
4864
4865 * emacs-lisp/cl-extra.el (cl-prettyexpand):
4866 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
4867 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
4868 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
4869
4870 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
4871
4872 2012-11-10 Leo Liu <sdl.web@gmail.com>
4873
4874 * ido.el (ido-set-matches-1): Improve flex matching performance by
4875 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
4876
4877 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4878
4879 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
4880 (ad--defalias-fset): New function.
4881 (ad-safe-fset): Remove.
4882 (ad-make-freeze-definition): Use cl-letf*.
4883
4884 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4885
4886 * subr.el (dolist): Don't bind VAR in RESULT.
4887
4888 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
4889 (fset, documentation): Don't save real def since we don't advise.
4890 (ad-do-advised-functions): Remove problematic `result-form'.
4891 (ad-safe-fset): `ad-real-fset' => `fset'.
4892 (ad-read-advised-function): Don't assume that ad-do-advised-functions
4893 uses CL's dolist internally.
4894 (ad-arglist): Remove unused arg `name'.
4895 (ad-docstring, ad-make-advised-docstring):
4896 `ad-real-documentation' => `documentation'.
4897 (warning-suppress-types): Declare.
4898 (ad-set-arguments): Simple CSE.
4899 (ad-recover-normality): Sanity check.
4900
4901 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
4902 (funcall '(lambda ..) ..) into ((lambda ..) ..).
4903
4904 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
4905
4906 * ses.el: symbol to coordinate mapping is made by symbol property
4907 `ses-cell'. This means that the same mapping is done for all SES
4908 sheets. That is good enough for cells with standard A1 names, but
4909 not for named cell. So a hash map is added for the latter.
4910 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
4911 (ses-sym-rowcol): Use hashmap for named cell.
4912 (ses-is-cell-sym-p): New defun.
4913 (ses-decode-cell-symbol): New defun.
4914 (ses-create-cell-variable): Add cell to hashmap when name is not
4915 A1-like.
4916 (ses-rename-cell): Check that cell new name is not already in
4917 spreadsheet with the use of ses-is-cell-sym-p
4918 (ses-rename-cell): Use hash map for named cells, but accept also
4919 renaming back to A1-like.
4920
4921 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4922
4923 * emacs-lisp/advice.el: Use new dynamic docstrings.
4924 (ad-make-advised-definition-docstring, ad-advised-definition-p):
4925 Use dynamic-docstring-function instead of ad-advice-info.
4926 (ad--make-advised-docstring): New function extracted from
4927 ad-make-advised-docstring.
4928 (ad-make-advised-docstring): Use it.
4929 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
4930 from sql-help.
4931 (sql-help): Use it with dynamic-docstring-function.
4932
4933 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
4934
4935 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4936
4937 * files.el (hack-one-local-variable--obsolete): New function.
4938 (hack-one-local-variable): Use it for obsolete settings.
4939
4940 * subr.el (locate-user-emacs-file): If both old and new name exist, use
4941 the new name.
4942
4943 * progmodes/js.el (js--filling-paragraph): New var.
4944 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
4945 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
4946 less sneaky.
4947
4948 2012-11-08 Julien Danjou <julien@danjou.info>
4949
4950 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
4951 `auto-mode-alist' (Bug#12835).
4952
4953 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4954
4955 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
4956 (perl--prettify-symbols-alist): New const.
4957 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
4958 New functions.
4959 (perl-font-lock-keywords-2): Use them.
4960 (perl-electric-noindent-p): New function.
4961 (perl-mode): Use it to set up electric-indent-mode.
4962 (perl-electric-terminator, perl-indent-command): Mark obsolete.
4963 (perl-mode-map): Remove bindings for them.
4964 (perl-imenu-generic-expression, perl-outline-level):
4965 Match functions&packages in column>0.
4966
4967 * env.el (env--substitute-vars-regexp): New const.
4968 (substitute-env-vars): Use it. Add `only-defined' arg.
4969 * net/tramp.el (tramp-replace-environment-variables): Use it.
4970
4971 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
4972 Byte-compile *before* eval in eval-and-compile.
4973 (byte-compile-log-warning): Remove redundant inhibit-read-only.
4974 (byte-compile-file-form-autoload): Don't hide actual definition.
4975 (byte-compile-maybe-guarded): Accept `functionp' as well.
4976
4977 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
4978
4979 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
4980
4981 * notifications.el (notifications-get-server-information-method):
4982 New defconst.
4983 (notifications-get-capabilities): Fix docstring.
4984 (notifications-get-server-information): New defun.
4985
4986 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4987
4988 * textmodes/ispell.el (ispell-region): Standard re-indent for better
4989 readability.
4990
4991 * textmodes/ispell.el: Experimental support for support debugging.
4992 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
4993 buffer for ispell.
4994 (ispell-print-if-debug): New function to print stuff to
4995 `ispell-debug-buffer' if debugging is enabled.
4996 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
4997 show some debugging info.
4998 (ispell-buffer-with-debug): New function that creates a debugging
4999 buffer and calls `ispell-buffer' with debugging enabled.
5000
5001 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
5002 comment in autoconf mode. (Bug#12768)
5003
5004 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
5005
5006 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
5007 frame-first-window, frame-root-window, frame-selected-window,
5008 minibuffer-selected-window, minibuffer-window,
5009 window-absolute-pixel-edges, window-at, window-body-height,
5010 window-body-width, window-display-table, window-combination-limit,
5011 window-frame, window-fringes, window-inside-absolute-pixel-edges,
5012 window-inside-edges, window-inside-pixel-edges, window-left-child,
5013 window-left-column, window-margins, window-next-buffers,
5014 window-next-sibling, window-new-normal, window-new-total,
5015 window-normal-size, window-parameter, window-parameters, window-parent,
5016 window-pixel-edges, window-point, window-prev-buffers,
5017 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
5018 window-start, window-text-height, window-top-child, window-top-line,
5019 window-total-height, window-total-width and window-use-time to the list
5020 of functions without side-effects.
5021 (toplevel): Add window-valid-p to the list of error-free functions
5022 without side-effects.
5023
5024 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5025
5026 * textmodes/ispell.el (ispell-program-name):
5027 Update spellchecker parameters when customized.
5028
5029 2012-11-04 Glenn Morris <rgm@gnu.org>
5030
5031 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
5032
5033 2012-11-04 Chong Yidong <cyd@gnu.org>
5034
5035 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
5036 same-window-* variables.
5037
5038 2012-11-04 Juri Linkov <juri@jurta.org>
5039
5040 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
5041 (isearch-describe-key, isearch-describe-mode): Use a display
5042 action instead of binding same-window-* variables (Bug#10040).
5043
5044 2012-11-03 Glenn Morris <rgm@gnu.org>
5045
5046 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
5047 Rename handler properties back from cl-- to cl-. (Bug#12788)
5048
5049 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
5050
5051 2012-11-03 Eli Zaretskii <eliz@gnu.org>
5052
5053 * term/pc-win.el: Don't load term/internal from here.
5054
5055 * loadup.el: Load term/internal from here.
5056
5057 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
5058
5059 * progmodes/python.el (inferior-python-mode): Fix hang in
5060 jit-lock (Bug#12645).
5061
5062 2012-11-03 Martin Rudalics <rudalics@gmx.at>
5063
5064 * window.el (switch-to-visible-buffer)
5065 (switch-to-buffer-preserve-window-point): Fix doc-strings.
5066
5067 2012-11-03 Glenn Morris <rgm@gnu.org>
5068
5069 * emacs-lisp/cl-lib.el (cl--random-time):
5070 Rename from cl-random-time. (Bug#12773)
5071 (cl--gensym-counter, cl--random-state): Update callers.
5072 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
5073
5074 2012-11-03 Chong Yidong <cyd@gnu.org>
5075
5076 * cus-start.el: Make cursor-type customizable (Bug#11633).
5077
5078 2012-11-02 Glenn Morris <rgm@gnu.org>
5079
5080 * filecache.el: No need to load find-lisp when compiling.
5081 (find-lisp-find-files): Autoload it.
5082 (file-cache-add-directory-recursively): Don't require find-lisp.
5083
5084 * image.el (image-type-from-file-name): Trivial simplification.
5085
5086 * emacs-lisp/bytecomp.el (byte-compile-eval):
5087 Decouple "noruntime" and "cl-functions" warnings.
5088
5089 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
5090
5091 * play/gomoku.el (gomoku-display-statistics): Update mode line
5092 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
5093
5094 2012-10-31 Martin Rudalics <rudalics@gmx.at>
5095
5096 * window.el (quit-restore-window): If the window has been
5097 created on an existing frame and ended up as the sole window on
5098 that frame, do not delete it (Bug#12764).
5099
5100 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
5101
5102 * progmodes/sh-script.el (sh--inside-noncommand-expression):
5103 Rename from sh--inside-arithmetic-expression, handle more cases
5104 (bug#11263).
5105
5106 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
5107 (sh-font-lock-open-heredoc): Use it (bug#12770).
5108
5109 2012-10-30 Glenn Morris <rgm@gnu.org>
5110
5111 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
5112
5113 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
5114
5115 2012-10-29 Chong Yidong <cyd@gnu.org>
5116
5117 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
5118 function key is stored in a keyboard macro (Bug#4894).
5119
5120 * thingatpt.el (number-at-point): Apply a thing-at-point property.
5121
5122 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5123
5124 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
5125 header comments".
5126 (diff-unified->context, diff-context->unified)
5127 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
5128
5129 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
5130
5131 * files.el (find-alternate-file): Only ask one question (bug#12487).
5132
5133 2012-10-29 Chong Yidong <cyd@gnu.org>
5134
5135 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
5136 Suggested by Dan Nicolaescu (Bug#6326).
5137
5138 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
5139
5140 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5141
5142 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
5143
5144 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
5145
5146 * face-remap.el (face-remap-add-relative): Handle the case where a
5147 face-remapping-alist entry is a cons cell (Bug#12762).
5148
5149 2012-10-29 Kevin Ryde <user42@zip.com.au>
5150
5151 * woman.el (woman-parse-numeric-value): Handle picas correctly
5152 (Bug#12639).
5153
5154 2012-10-29 Glenn Morris <rgm@gnu.org>
5155
5156 * emacs-lisp/cl.el (defsetf): Doc fix.
5157
5158 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5159
5160 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
5161 syntax to the matching opener, if any (bug#12547).
5162 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
5163 matching open as a "case-(".
5164 (sh-smie-rc-grammar): Add a corresponding rule for it.
5165
5166 2012-10-28 Daniel Hackney <dan@haxney.org>
5167
5168 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
5169 "PKGNAME-autoloads.el" in case we created it.
5170
5171 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5172
5173 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
5174 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
5175 (completion--twq-all): Disable too-strict assertions.
5176
5177 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
5178
5179 2012-10-27 Eli Zaretskii <eliz@gnu.org>
5180
5181 * profiler.el (profiler-report-make-entry-part): Fix help-echo
5182 text to match the real keybindings.
5183
5184 2012-10-27 Juri Linkov <juri@jurta.org>
5185
5186 * wdired.el (wdired-keep-marker-rename): New defcustom.
5187 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
5188 (Bug#11795)
5189
5190 * dired.el (dired-keep-marker-rename): Add reference to
5191 `wdired-keep-marker-rename' in the docstring.
5192 Add default character value ?R to display initially in
5193 Customization UI instead of ?@.
5194
5195 2012-10-27 Martin Rudalics <rudalics@gmx.at>
5196
5197 * window.el (display-buffer): In doc-string describe
5198 window-height and window-width alist entries.
5199
5200 * time.el (display-time-world): Restore fit-window-to-buffer
5201 behavior.
5202
5203 2012-10-27 Chong Yidong <cyd@gnu.org>
5204
5205 * subr.el (insert-buffer-substring-as-yank): Doc fix.
5206
5207 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
5208
5209 * minibuffer.el (completion-category-overrides): New completion
5210 category `bookmark' (bug#11131).
5211
5212 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5213
5214 * emacs-lisp/advice.el (ad-assemble-advised-definition):
5215 Silence bogus compiler warnings for ad-do-it.
5216
5217 * bookmark.el (bookmark-completing-read): Set the completion category
5218 to `bookmark' (bug#11131).
5219
5220 2012-10-26 Bastien <bzg@altern.org>
5221 Stefan Monnier <monnier@iro.umontreal.ca>
5222
5223 * face-remap.el: Use lexical-binding.
5224 (text-scale-adjust): Improve docstring. Use itself for the temporary
5225 overlay-map bindings, so as to repeat the "Use..." message each time.
5226
5227 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5228
5229 * emacs-lisp/macroexp.el (macroexp--expand-all):
5230 Obey byte-compile-warning-enabled-p (bug#12486).
5231
5232 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
5233 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
5234
5235 2012-10-26 Martin Rudalics <rudalics@gmx.at>
5236
5237 * mouse.el (mouse-drag-line): Move last form into preceding when
5238 clause (Bug#12731).
5239
5240 * help.el (resize-temp-buffer-window): Fix doc-string.
5241
5242 2012-10-25 David Engster <deng@randomsample.de>
5243
5244 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
5245 Remove. This feature is already integrated in imenu.
5246
5247 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
5248 always loaded. Require `speedbar' unconditionally.
5249
5250 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5251
5252 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
5253
5254 * minibuffer.el (minibuffer-force-complete): Fix thinko.
5255
5256 * net/ldap.el (ldap-search-internal): The official ldif format starts
5257 with a "version: 1" header (bug#12724).
5258
5259 * emacs-lisp/package.el (package-installed-p): Warn if not ready
5260 (bug#12721).
5261
5262 2012-10-25 Glenn Morris <rgm@gnu.org>
5263
5264 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
5265
5266 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5267
5268 * minibuffer.el (minibuffer-force-complete): Use one more marker
5269 for the temporary-overlay-map command (bug#12619).
5270
5271 2012-10-24 Chong Yidong <cyd@gnu.org>
5272
5273 * time.el (display-time-world-mode): Derive from special-mode.
5274 (display-time-world): Use display-buffer (Bug#12708).
5275 (display-time-world-mode-map): Variable deleted.
5276 (display-time-world-display): Wrap the final delete-char inside
5277 inhibit-read-only.
5278
5279 2012-10-24 Chong Yidong <cyd@gnu.org>
5280
5281 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
5282 Doc fix.
5283
5284 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
5285
5286 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5287
5288 * minibuffer.el (completion--all-sorted-completions-location): New var.
5289 (completion--cache-all-sorted-completions)
5290 (completion--flush-all-sorted-completions): Use it.
5291 (completion-in-region, completion-in-region--postch)
5292 (completion-at-point, completion-help-at-point): Use markers in
5293 completion-in-region--data (bug#12619).
5294
5295 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5296
5297 * progmodes/compile.el (compilation-start): Try to handle common
5298 quoting of `cd' argument (bug#12640).
5299
5300 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
5301 (bug#12671).
5302
5303 2012-10-23 Glenn Morris <rgm@gnu.org>
5304
5305 * progmodes/gud.el (gud-menu-map):
5306 Check gdb-active-process is bound. (Bug#12358)
5307
5308 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5309
5310 * repeat.el (repeat): Set real-this-command (bug#12232).
5311
5312 * htmlfontify.el (hfy-post-html-hook):
5313 * filesets.el (filesets-cache-fill-content-hook):
5314 * arc-mode.el (archive-extract-hook):
5315 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
5316 * net/rcirc.el (rcirc-sentinel-functions)
5317 (rcirc-receive-message-functions, rcirc-activity-functions)
5318 (rcirc-print-functions):
5319 * net/dbus.el (dbus-event-error-functions):
5320 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
5321 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
5322 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
5323 * term/sun.el (sun-raw-prefix-hooks):
5324 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
5325
5326 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
5327
5328 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5329 Set `tramp-chunksize' to 1. This improves the performance.
5330 (tramp-smb-wait-for-output): Add timeout to
5331 `tramp-accept-process-output' calls.
5332
5333 2012-10-23 Chong Yidong <cyd@gnu.org>
5334
5335 * faces.el (font-list-limit): Define as an obsolete variable.
5336
5337 * startup.el (command-line):
5338 * cus-start.el: Don't refer to font-list-limit.
5339
5340 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
5341
5342 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5343
5344 * subr.el (internal-temp-output-buffer-show): Rename from
5345 temp-output-buffer-show, since previously compiled files expect this name.
5346
5347 2012-10-23 Glenn Morris <rgm@gnu.org>
5348
5349 * image.el (image-type-from-file-name): If multiple types match,
5350 return the first one that is supported. (Bug#9045)
5351
5352 2012-10-22 Glenn Morris <rgm@gnu.org>
5353
5354 * image.el (imagemagick-enabled-types): Doc fix.
5355
5356 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
5357
5358 * progmodes/which-func.el (which-func-current): The hash-table may have
5359 an explicit nil (bug#12338).
5360
5361 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5362
5363 * electric.el (electric-pair-delete-selection-self-insert-function):
5364 Rename to electric-pair-will-use-region, return a boolean.
5365 (electric-pair-mode): Adjust accordingly. Don't require delsel.
5366
5367 * delsel.el (delete-selection-helper): Use a function instead of a hook.
5368 (delete-selection-pre-hook): Use use-region-p.
5369 (delete-selection-self-insert-function): Remove.
5370 (self-insert-command): Obey self-insert-uses-region-functions.
5371 (self-insert-iso): Revert to previous setting, since we don't actually
5372 know what that command does.
5373 (delete-selection-self-insert-hooks): Remove.
5374
5375 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
5376
5377 * delsel.el (delete-selection-helper): New function, extracted from
5378 delete-selection-pre-hook.
5379 (delete-selection-pre-hook): Use it.
5380 (delete-selection-self-insert-function): New function.
5381 (delete-selection-self-insert-hooks): New hook.
5382 (self-insert-command, self-insert-iso): Use it.
5383 * electric.el (electric-pair-syntax): New function, extracted from
5384 electric-pair-post-self-insert-function.
5385 (electric-pair-post-self-insert-function): Use it.
5386 (electric-pair-delete-selection-self-insert-function): New function.
5387 (electric-pair-mode): Require delsel and setup
5388 delete-selection-self-insert-hooks (bug#11520).
5389
5390 2012-10-20 Chong Yidong <cyd@gnu.org>
5391
5392 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
5393 no changes to show (Bug#12586).
5394
5395 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
5396 list explicitly (Bug#12571).
5397
5398 2012-10-20 Arne Jørgensen <arne@arnested.dk>
5399
5400 * progmodes/flymake.el (flymake-create-temp-inplace):
5401 Use file-truename.
5402
5403 2012-10-20 Eli Zaretskii <eliz@gnu.org>
5404
5405 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
5406
5407 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
5408
5409 * calc/calc-units.el (math-extract-units): Properly extract powers
5410 of units.
5411
5412 2012-10-20 Daniel Colascione <dancol@dancol.org>
5413
5414 * frame.el (make-frame): Set x-display-name as we used to in order
5415 to unbreak creating an X11 frame from an Emacs daemon started
5416 without a display.
5417
5418 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5419
5420 * minibuffer.el (minibuffer-force-complete): Make the next completion use
5421 the same completion-field (bug#12221).
5422
5423 2012-10-19 Martin Rudalics <rudalics@gmx.at>
5424
5425 * emacs-lisp/debug.el (debug): Record height of debugger window
5426 also when debugger will be back (Bug#8789).
5427
5428 2012-10-18 Chong Yidong <cyd@gnu.org>
5429
5430 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
5431 Convert to defcustom.
5432 (gdb-get-source-file): Don't bind pop-up-windows.
5433
5434 * progmodes/gud.el (gud-display-line): Don't specially re-use
5435 other frames for the gdb-mi case (Bug#12648).
5436
5437 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5438
5439 * emacs-lisp/advice.el: Clean up commentary a bit.
5440 (ad-do-advised-functions, ad-with-originals): Use `declare'.
5441 (byte-code-function-p): Never redefine.
5442
5443 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
5444
5445 2012-10-18 Glenn Morris <rgm@gnu.org>
5446
5447 * dired.el (dired-sort-toggle): Some ls implementations only allow
5448 a single option string. (Bug#12666)
5449
5450 * minibuffer.el (completion-cycle-threshold): Doc fix.
5451
5452 2012-10-17 Kenichi Handa <handa@gnu.org>
5453
5454 * international/mule.el (set-keyboard-coding-system):
5455 Recover input meta mode when the new coding system doesn not use 8-bit.
5456 Supply TERMINAL arg to set-input-meta-mode.
5457
5458 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
5459
5460 * wdired.el (wdired-old-marks): New variable.
5461 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
5462 (wdired-do-renames): Move point with renamed file and don't lose
5463 mark status (Bug#11795).
5464
5465 2012-10-16 Juri Linkov <juri@jurta.org>
5466
5467 * replace.el (query-replace-help): Mention multi-buffer replacement
5468 keys in the Help message. (Bug#12655)
5469
5470 2012-10-15 Chong Yidong <cyd@gnu.org>
5471
5472 * emacs-lisp/byte-run.el (defsubst): Doc fix.
5473
5474 2012-10-14 Eli Zaretskii <eliz@gnu.org>
5475
5476 * window.el (display-buffer): Doc fix.
5477
5478 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5479 Adjust the msft regexp to the output of Studio 2010, and move msft
5480 before edg-1. See the discussion on emacs-devel,
5481 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
5482 for the details.
5483
5484 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
5485
5486 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
5487 (oset): Move uses of object-class-fast macro after its definition.
5488
5489 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
5490
5491 2012-10-13 Chong Yidong <cyd@gnu.org>
5492
5493 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
5494 enabled, re-enable it (Bug#11963).
5495
5496 2012-10-13 Martin Rudalics <rudalics@gmx.at>
5497
5498 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
5499 non-nil, restore window configuration (Bug#12623).
5500
5501 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5502
5503 * help-fns.el (describe-variable, describe-function-1):
5504 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
5505
5506 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
5507
5508 2012-10-12 Glenn Morris <rgm@gnu.org>
5509
5510 * mail/rmailsum.el (rmail-header-summary):
5511 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
5512
5513 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
5514
5515 * progmodes/python.el (python-mode-map):
5516 Replace subtitute-key-definition with proper command remapping.
5517 (python-nav--up-list): Fix behavior for blocks on the same level.
5518
5519 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5520
5521 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
5522
5523 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
5524 changes to the format of load-history.
5525
5526 * international/mule-cmds.el (read-char-by-name): Move let-binding of
5527 completion-ignore-case in case that var is buffer-local (bug#12615).
5528
5529 2012-10-11 Kenichi Handa <handa@gnu.org>
5530
5531 * international/eucjp-ms.el: Re-generated.
5532
5533 2012-10-10 Kenichi Handa <handa@gnu.org>
5534
5535 * select.el (xselect--encode-string): If a coding is specified for
5536 selection, and that is compatible with COMPOUND_TEXT, use it.
5537
5538 2012-10-10 Martin Rudalics <rudalics@gmx.at>
5539
5540 * window.el (switch-to-buffer-preserve-window-point): New option.
5541 (switch-to-buffer):
5542 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
5543
5544 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5545
5546 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
5547 Don't document nil as a useful value (bug#12583).
5548
5549 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
5550
5551 * net/tramp.el (tramp-debug-message):
5552 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
5553 (with-tramp-progress-reporter): Rename from
5554 `tramp-with-progress-reporter'.
5555 (with-tramp-file-property, with-tramp-connection-property):
5556 Move from tramp-cache.el, rename from `with-file-property' and
5557 `with-connection-property', respectively.
5558
5559 * net/tramp-cache.el: Remove `with-file-property' and
5560 `with-connection-property'.
5561
5562 * net/tramp.el:
5563 * net/tramp-gvfs.el:
5564 * net/tramp-sh.el:
5565 * net/tramp-smb.el: Adapt callees.
5566
5567 * net/trampver.el: Update release number.
5568
5569 2012-10-09 Glenn Morris <rgm@gnu.org>
5570
5571 * w32-fns.el (set-message-beep):
5572 * term/w32-win.el (set-message-beep): Update declarations.
5573
5574 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5575
5576 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
5577 (mode-line-widen, mode-line-input-method-map)
5578 (mode-line-coding-system-map, mode-line-remote)
5579 (mode-line-unbury-buffer, mode-line-bury-buffer)
5580 (mode-line-next-buffer, mode-line-previous-buffer):
5581 Replace save-selected-window+select-window => with-selected-window.
5582
5583 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
5584 * progmodes/cc-vars.el (bq-process): Remove, unused.
5585
5586 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
5587
5588 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
5589
5590 Implemented `backward-up-list'-like navigation.
5591 * progmodes/python.el (python-nav-up-list)
5592 (python-nav-backward-up-list): New functions.
5593 (python-mode-map): Define substitute key for backward-up-list to
5594 python-nav-backward-up-list.
5595
5596 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5597
5598 * progmodes/python.el (python-fill-paragraph): Rename from
5599 python-fill-paragraph-function. Fixed fill-paragraph for
5600 decorators (Bug#12605).
5601
5602 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5603
5604 * progmodes/python.el (python-shell-output-filter): Handle extra
5605 carriage return in OSX (Bug#12409).
5606
5607 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5608
5609 Fix shell handling of unbalanced quotes and parens in output.
5610 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
5611 (python-syntax-propertize-function): Use it.
5612 (python-shell-output-syntax-table): New var.
5613 (inferior-python-mode): Prevent unbalanced parens/quotes from
5614 previous output mess with current input context.
5615
5616 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
5617
5618 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
5619 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
5620
5621 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
5622
5623 * ffap.el (ffap-replace-file-component): Support Tramp file name
5624 syntax, not only ange-ftp's one.
5625
5626 2012-10-08 Glenn Morris <rgm@gnu.org>
5627
5628 * cus-start.el (message-log-max): Set :version.
5629
5630 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
5631
5632 2012-10-08 Martin Rudalics <rudalics@gmx.at>
5633
5634 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
5635 the minibuffer window (Bug#10851).
5636
5637 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5638
5639 Enhancements on forward-sexp movement.
5640 * progmodes/python.el (python-nav-beginning-of-statement)
5641 (python-nav-end-of-statement): Return point-marker.
5642 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
5643 (python-info-current-symbol)
5644 (python-info-statement-starts-block-p): Rename from
5645 python-info-beginning-of-block-p.
5646 (python-info-statement-ends-block-p): Rename from
5647 python-info-end-of-block-p.
5648 (python-info-beginning-of-statement-p)
5649 (python-info-end-of-statement-p)
5650 (python-info-beginning-of-block-p, python-info-end-of-block-p):
5651 New functions.
5652
5653 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5654
5655 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
5656 frame-selected-windows.
5657
5658 2012-10-08 Daniel Colascione <dancol@dancol.org>
5659
5660 * battery.el (battery-status-function): Check for
5661 w32-battery-status itself, not system-time windows-nt.
5662
5663 * frame.el: Require cl-lib.
5664 (display-format-alist): New variable mapping frame types to
5665 functions that initialize them.
5666 (window-system-for-display): New function: interprets
5667 display-format-alist.
5668 (make-frame-on-display): Remove existing display-selection logic
5669 and just forward to make-frame, which will now DTRT.
5670 (make-frame): Restructure to use window-system-for-display to
5671 figure out how to create a frame on a given display.
5672 (display-mouse-p): Look for frame-type w32, not a particular
5673 system-type.
5674
5675 * loadup.el: Load w32 lisp code when we have the w32 feature.
5676
5677 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
5678 system-type windows-nt.
5679
5680 * server.el (server-create-window-system-frame): Look for window
5681 type.
5682 (server-proces-filter): Only force a window system when windows-nt
5683 _and_ w32. Explain why.
5684
5685 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
5686 of window systems we configure for the mode.
5687
5688 * startup.el (command-line): Mark window system is initialized
5689 after we've done it.
5690
5691 * common-win.el (x-select-text): Look for w32, not windows-nt.
5692
5693 * ns-win.el: Require cl-lib. Add ourselves to
5694 display-format-alist.
5695 (ns-initialize-window-system): Assert we're not initialized twice.
5696
5697 * w32-win.el: Enable lexical binding; require cl-lib; add
5698 ourselves to display-format-alist.
5699 (w32-handle-dropped-file): Convert incoming dropped files from
5700 Windows paths to Cygwin ones before passing them on to the rest of
5701 Emacs.
5702 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
5703 (w32-initialize-window-system): Assert we're not initialized twice.
5704
5705 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
5706 (x-initialize-window-system): Assert we're not initialized twice.
5707
5708 * w32-common-fns.el: New File.
5709 (w32-version, w32-using-nt, w32-get-clipboard-data)
5710 (w32-set-clipboard-data, x-set-selection, x-get-selection)
5711 (w32-charset-info-alist, x-last-selected, text)
5712 (x-get-selection-value, x-selection-value): Move here.
5713
5714 * w32-fns.el: Require w32-common-fns.
5715 (w32-version, w32-using-nt, w32-get-clipboard-data)
5716 (w32-set-clipboard-data, x-set-selection, x-get-selection)
5717 (w32-charset-info-alist, x-last-selected, text)
5718 (x-get-selection-value, x-selection-value): Move to
5719 w32-common-fns.
5720
5721 * w32-vars.el:
5722 (w32-allow-system-shell, w32-system-shells): Define only in
5723 non-cygwin case.
5724
5725 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5726
5727 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
5728 (read-passwd): Remove a few more potential sources of leaks.
5729
5730 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5731
5732 * progmodes/python.el (inferior-python-mode)
5733 (python-shell-make-comint): Fix initialization of local
5734 variables copied from parent buffer.
5735
5736 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
5737
5738 * term/ns-win.el (ns-read-file-name): Update declaration to match
5739 nsfns.m.
5740 (ns-respond-to-change-font): Change fontsize separately so we are sure
5741 it is set when font is acted upon.
5742
5743 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5744
5745 Enhancements to indentation.
5746 * progmodes/python.el (python-indent-context): Give priority to
5747 inside-string context. Make comments indentation markers.
5748 (python-indent-region): Do not mess with strings, unless it's the
5749 enclosing set of quotes.
5750
5751 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5752
5753 * window.el (internal--before-save-selected-window)
5754 (internal--after-save-selected-window): New functions extracted from
5755 save-selected-window. Make sure we return the `alist' we construct.
5756 (save-selected-window): Use them.
5757
5758 * textmodes/tex-mode.el (tex-recenter-output-buffer):
5759 Use with-selected-window.
5760
5761 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
5762 forms that define macros (bug#12593).
5763
5764 2012-10-07 Kenichi Handa <handa@gnu.org>
5765
5766 * international/mule-conf.el (compound-text-with-extensions):
5767 Add :mime-charset property as x-ctext.
5768
5769 2012-10-07 Stefan Merten <smerten@oekonux.de>
5770
5771 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
5772 (rst-indent-literal-normal, rst-indent-literal-minimized)
5773 (rst-indent-comment): Correct :version tag.
5774 (rst-official-cvs-rev): Correct version string.
5775
5776 2012-10-07 Glenn Morris <rgm@gnu.org>
5777
5778 * mail/rmailmm.el (rmail-mime-process-multipart):
5779 Do not confuse a multipart message with an epilogue
5780 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
5781
5782 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5783
5784 Fix shell output retrieval and comint-prompt-regexp init.
5785 * progmodes/python.el (inferior-python-mode):
5786 (python-shell-make-comint): Fix initialization of
5787 comint-prompt-regexp from copied file local variables.
5788 (python-shell-fetched-lines): Remove var.
5789 (python-shell-output-filter-in-progress): Rename from
5790 python-shell-fetch-lines-in-progress.
5791 (python-shell-output-filter-buffer): Rename from
5792 python-shell-fetch-lines-string.
5793 (python-shell-fetch-lines-filter): Delete function.
5794 (python-shell-output-filter): New function.
5795 (python-shell-send-string-no-output): Use them.
5796
5797 2012-10-07 Glenn Morris <rgm@gnu.org>
5798
5799 * hi-lock.el (hi-lock-process-phrase):
5800 Try to make it less fragile. (Bug#7161)
5801
5802 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
5803
5804 2012-10-06 Glenn Morris <rgm@gnu.org>
5805
5806 * ehelp.el (electric-help-mode): Use help-mode rather than
5807 non-existent mode `help'.
5808 (electric-help-map): Use button-buffer-map. (Bug#10917)
5809
5810 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
5811 (reftex-create-bibtex-footer): Fix custom types.
5812
5813 * progmodes/sh-script.el (sh-indent-after-continuation):
5814 Add explicit :group.
5815
5816 * textmodes/rst.el (rst-preferred-decorations)
5817 (rst-shift-basic-offset): Clarify obsolescence versions.
5818
5819 * profiler.el (profiler): Add missing group :version tag.
5820 * avoid.el (mouse-avoidance-banish-position):
5821 * proced.el (proced-renice-command):
5822 * calc/calc.el (calc-ensure-consistent-units):
5823 * calendar/icalendar.el (icalendar-import-format-uid):
5824 * net/tramp.el (tramp-save-ad-hoc-proxies):
5825 * progmodes/bug-reference.el (bug-reference-bug-regexp):
5826 * progmodes/flymake.el (flymake-error-bitmap)
5827 (flymake-warning-bitmap, flymake-fringe-indicator-position):
5828 * progmodes/sh-script.el (sh-indent-after-continuation):
5829 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
5830 (verilog-before-save-font-hook, verilog-after-save-font-hook):
5831 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
5832 (vhdl-array-index-record-field-in-sensitivity-list)
5833 (vhdl-indent-comment-like-next-code-line):
5834 * textmodes/reftex-vars.el (reftex-ref-style-alist)
5835 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
5836 (reftex-cite-key-separator, reftex-create-bibtex-header)
5837 (reftex-create-bibtex-footer):
5838 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
5839 (rst-indent-literal-normal, rst-indent-literal-minimized)
5840 (rst-indent-comment): Add missing custom :version tags.
5841
5842 * calendar/timeclock.el (timeclock-modeline-display):
5843 Add missing obsolete alias for renamed user option.
5844
5845 * strokes.el (strokes-modeline-string):
5846 * emulation/crisp.el (crisp-mode-modeline-string):
5847 * eshell/esh-mode.el (eshell-status-in-modeline):
5848 Aliases to defcustoms must come before the defcustom.
5849
5850 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
5851 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
5852 (cal-tex-cursor-week-monday): Doc fixes.
5853 (cal-tex-cursor-week2-summary): Doc fix.
5854 Rename from cal-tex-cursor-week-at-a-glance.
5855
5856 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
5857 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
5858
5859 * calendar/calendar.el (calendar-mode-map):
5860 Add cal-tex-cursor-week2-summary.
5861
5862 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
5863
5864 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
5865
5866 * subr.el (read-passwd-map): New var.
5867 (read-passwd): Use `read-string' again.
5868 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
5869
5870 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
5871
5872 * register.el (append-to-register, prepend-to-register):
5873 Deactivate mark, as does `copy-to-register' (bug#12389).
5874
5875 2012-10-06 Chong Yidong <cyd@gnu.org>
5876
5877 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
5878
5879 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
5880
5881 * international/characters.el: Fix simple mistake ((car chars) ->
5882 elt), delete duplicated code.
5883
5884 2012-10-06 Glenn Morris <rgm@gnu.org>
5885
5886 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
5887
5888 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
5889
5890 * color.el (color-hsl-to-rgb): Fix incorrect results for
5891 small and large hue values. (Bug#12559)
5892
5893 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
5894
5895 Enhancements to docstring formatting when filling paragraphs.
5896 * progmodes/python.el (python-fill-docstring-style): Rename from
5897 python-fill-string-style. Added new style.
5898 (python-fill-string): Use new style. Better checks for
5899 docstrings.
5900
5901 2012-10-05 Glenn Morris <rgm@gnu.org>
5902
5903 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
5904
5905 * color.el (color-name-to-rgb, color-rgb-to-hex)
5906 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
5907 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
5908 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
5909 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
5910
5911 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
5912
5913 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
5914
5915 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
5916 to get the correct size across symlinks.
5917
5918 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
5919
5920 2012-10-04 Juri Linkov <juri@jurta.org>
5921
5922 * replace.el (query-replace-interactive): Declare obsolete.
5923 (query-replace-read-from): Add the last incremental search string
5924 to the list of default values accessible via M-n.
5925 (map-query-replace-regexp): Use `read-regexp'.
5926 (query-replace, query-replace-regexp, query-replace-regexp-eval)
5927 (map-query-replace-regexp, replace-string, replace-regexp):
5928 Fix docstrings to replace mentions of `query-replace-interactive'
5929 with alternatives. (Bug#12526)
5930
5931 2012-10-04 Juri Linkov <juri@jurta.org>
5932
5933 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
5934 (dired-pop-to-buffer): Declare obsolete.
5935 (dired-mark-pop-up): Doc fix.
5936
5937 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
5938
5939 Allow user to set docstring style for fill-paragraph.
5940 * progmodes/python.el
5941 (python-fill-comment-function, python-fill-string-function)
5942 (python-fill-decorator-function, python-fill-paren-function):
5943 Remove :safe for defcustoms.
5944 (python-fill-string-style): New defcustom
5945 (python-fill-paragraph-function): Enhance context detection.
5946 (python-fill-string): Honor python-fill-string-style settings.
5947
5948 2012-10-04 Martin Rudalics <rudalics@gmx.at>
5949
5950 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
5951 after setting its buffer (Bug#10805).
5952
5953 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
5954
5955 Fix cornercase for string syntax.
5956 * progmodes/python.el (python-syntax-propertize-function):
5957 Simplify and enhance the regexp for unescaped quotes. Now it also
5958 matches quotes in weird situations like the single quote in
5959 "something\"'".
5960 (python-syntax-stringify): Simplify num-quotes detecting code.
5961
5962 2012-10-03 Glenn Morris <rgm@gnu.org>
5963
5964 * help-macro.el (three-step-help):
5965 Revert 2012-09-29 change. (Bug#12567)
5966
5967 2012-10-03 Martin Rudalics <rudalics@gmx.at>
5968
5969 * menu-bar.el (kill-this-buffer): Don't do anything when
5970 `menu-frame' is not alive or visible (Bug#8184).
5971
5972 * emacs-lisp/debug.el (debug): When quitting the debugger window
5973 restore current buffer (Bug#12502).
5974
5975 2012-10-02 Chong Yidong <cyd@gnu.org>
5976
5977 * progmodes/hideif.el (hif-lookup, hif-defined):
5978 Handle semantic-c-takeover-hideif.
5979
5980 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
5981
5982 Change sampling interval units from ms to ns.
5983 * profiler.el (profiler-sampling-interval): Change units
5984 from ms to ns, multiplying the default by 1000000 so that
5985 it remains 1 ms.
5986 (profiler-report-cpu-line-format): Give enough room for
5987 the maximum counters on 64-bit hosts.
5988 (profiler-report-render-calltree-1): Call them "CPU samples",
5989 not "Time (ms)", since they are not milliseconds now (and
5990 never really were).
5991
5992 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5993
5994 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
5995 Fix querying BBDB for entries without a last name (Bug#11580).
5996
5997 2012-10-02 Chong Yidong <cyd@gnu.org>
5998
5999 * emacs-lisp/eieio.el: Restore Version header.
6000
6001 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6002
6003 * vc/diff-mode.el (diff--auto-refine-data): New var.
6004 (diff-hunk): Use it to delay refinement.
6005 (diff-mode): Remove overlays when we turn off font-lock.
6006
6007 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
6008 (table-initialize-table-fixed-width-mode)
6009 (table-set-table-fixed-width-mode): Remove functions.
6010 (table-command-list): Move initialization into declaration.
6011 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
6012 (table-with-cache-buffer): Use `declare'.
6013 (table-span-cell): Simplify via CSE.
6014 (table-fixed-width-mode): Use define-minor-mode.
6015 (table-call-interactively, table-funcall, table-apply): Remove.
6016 (table-function): New function, to replace them.
6017
6018 * bookmark.el (bookmark-search-pattern): Remove var.
6019 (bookmark-read-search-input): Remove function.
6020 (bookmark-bmenu-search): Reimplement using a minibuffer.
6021
6022 * faces.el (modeline): Remove obsolete face name.
6023
6024 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
6025 and give a non-nil default value.
6026 (add-change-log-entry): Simplify accordingly.
6027
6028 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
6029
6030 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
6031 (vc-git-log-edit-toggle-amend): New function.
6032 (vc-git-log-edit-toggle-signoff): New function.
6033 (vc-git-log-edit-mode): New major mode.
6034 (vc-git-log-edit-mode-map): Keymap for it.
6035 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
6036
6037 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
6038 header names.
6039 (log-edit-toggle-header): New function.
6040 (log-edit-extract-headers): Accept function values in HEADERS alist.
6041
6042 2012-10-01 David Engster <deng@randomsample.de>
6043
6044 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
6045 from symbol property and change message to be more consistent with
6046 Emacs proper.
6047 (eieio-describe-generic): Add filename for each implementation.
6048 Fix indices for generic and normal methods.
6049 (eieio-method-def, eieio-class-def): New buttons.
6050 (eieio-help-find-method-definition)
6051 (eieio-help-find-class-definition): New functions.
6052 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
6053 class, constructor and method definitions.
6054
6055 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
6056 information in symbol property.
6057 (scoped-class): Remove.
6058 (eieio-slot-name-index, call-next-method): Check if it is bound.
6059
6060 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
6061
6062 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
6063 (eieio-custom-mode): New major mode.
6064 (eieio-customize-object): Use it.
6065
6066 2012-10-01 Eric Ludlam <zappo@gnu.org>
6067
6068 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
6069 specifying the expected class, and whether subclassing is allowed.
6070 (eieio-persistent-convert-list-to-object):
6071 (eieio-persistent-validate/fix-slot-value)
6072 (eieio-persistent-slot-type-is-class-p): New functions.
6073 (eieio-named::slot-missing): Doc fix.
6074
6075 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
6076 Stop using unused publd variable.
6077
6078 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
6079 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
6080 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
6081 (eieio-speedbar-handle-click): Do not specify a class for the
6082 method. Fixes method invocation order problems with EDE.
6083
6084 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6085
6086 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
6087 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
6088
6089 2012-10-01 Karl Fogel <kfogel@red-bean.com>
6090
6091 * bookmark.el (bookmark-version-control): Give tags in the
6092 :type choices (Bug#12309), and improve doc string.
6093 (bookmark-write-file): Bind `print-circle' to `t' to allow
6094 circular custom bookmark types. (Bug#12503)
6095
6096 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
6097
6098 Revert the FOLLOW-SYMLINKS change for file-attributes.
6099 * files.el (remote-file-name-inhibit-cache, after-find-file):
6100 * time.el (display-time-file-nonempty-p): Undo last change.
6101
6102 * profiler.el (profiler-sampling-interval): Change default back to 1.
6103 See Stefan Monnier in
6104 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
6105
6106 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
6107
6108 Shell output catching a la gud-gdb.
6109 * progmodes/python.el (python-shell-fetch-lines-in-progress)
6110 (python-shell-fetch-lines-string, python-shell-fetched-lines):
6111 New Vars.
6112 (python-shell-fetch-lines-filter): New function.
6113 (python-shell-send-string-no-output): Use them.
6114
6115 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
6116
6117 * profiler.el (profiler-sampling-interval): Rename from
6118 profiler-sample-interval.
6119 (profiler-sampling-interval): Default to 10.
6120 (profiler-find-profile): New command (was profiler-find-log).
6121 (profiler-find-profile-other-window): New command.
6122 (profiler-find-profile-other-frame): New command.
6123 (profiler-profile): Introduce API-level data structure.
6124
6125 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
6126
6127 file-attributes has a new optional arg FOLLOW-SYMLINKS.
6128 * files.el (remote-file-name-inhibit-cache):
6129 * time.el (display-time-file-nonempty-p): Use it.
6130 * files.el (after-find-file): Don't chase links before calling
6131 file-exists-p, as file-exists-p already does the right thing.
6132
6133 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
6134
6135 Merge from standalone RefTeX repository.
6136
6137 The following ChangeLog entries are shortened versions of the
6138 original ones with file paths adapted. A not so strongly edited
6139 version of the original ChangeLog can be found in the commit log.
6140
6141 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
6142 (reftex-arg-cite): Use `reftex-cite-key-separator'.
6143 Correctly handle new value type returned by `reftex-citation'.
6144
6145 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
6146 that entries with whitespace at various places are found.
6147 Doc fix. Include entries that are cross-referenced from cited entries.
6148 Include @String definitions in the resulting bib file. Add header
6149 and footer defined in `reftex-create-bibtex-header' and
6150 `reftex-create-bibtex-footer'.
6151 (reftex-do-citation): Make it possible again to insert
6152 non-existent entries. Save match data when asking for optional
6153 arguments. Return all keys, not just the first one.
6154 (reftex-all-used-citation-keys): Fix regexp to correctly extract
6155 all citations in the same line.
6156 (reftex-parse-bibtex-entry): Accept additional optional argument
6157 `raw' and keep quotes or braces if it is non-nil. Match fields
6158 containing hyphens besides word constituents.
6159 (reftex-get-string-refs): New function.
6160 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
6161 and ask if it should be reread in case it did.
6162 (reftex-pop-to-bibtex-entry)
6163 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
6164 entries with spaces or tabs in front of arguments.
6165 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6166 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
6167 Match entries containing numbers and symbol constituents.
6168 (reftex-do-citation, reftex-figure-out-cite-format):
6169 Use `reftex-cite-key-separator'.
6170
6171 * textmodes/reftex-dcr.el: Move provide statement to end of file.
6172 (reftex-mouse-view-crossref): Explain why point is set.
6173
6174 * textmodes/reftex-global.el: Whitespace changes.
6175
6176 * textmodes/reftex-index.el: Move provide statement to end of
6177 file.
6178 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
6179 (reftex-index-visit-phrases-buffer): Set marker when visiting
6180 buffer. This allows for returning from the phrases file to the
6181 file one was just editing instead of the file where the last
6182 phrases was added from.
6183 (reftex-index-phrases-syntax-table): New variable. Give ?\"
6184 punctuation syntax as it usually is not used as string quote in
6185 TeX-related modes and may occur unmatched. The change also
6186 prevents fontification of quoted content.
6187 (reftex-index-phrases-mode): Use it.
6188
6189 * textmodes/reftex-parse.el (reftex-parse-from-file):
6190 Move backward one char if a `\' was matched after a section macro.
6191 (reftex-parse-from-file): Use beginning of match instead of end as
6192 bound.
6193
6194 * textmodes/reftex-ref.el: Adapt creation of
6195 `reftex-<package>-<macro>' functions to new structure of
6196 `reftex-ref-style-alist'.
6197 (reftex-reference): Use `reftex-ref-style-list' function.
6198 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
6199 reference macro if `reftex-ref-macro-prompt' is non-nil.
6200 (reftex-reference): Pass refstyle to `reftex-format-special'.
6201 Determine reference macro by looking at
6202 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
6203 Use only one special format function.
6204 (reftex-varioref-vref, reftex-fancyref-fref)
6205 (reftex-fancyref-Fref): Remove definitions. The functions are now
6206 generated from `reftex-ref-style-alist'.
6207 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
6208 Remove.
6209 (reftex-format-special): New function.
6210
6211 * textmodes/reftex-sel.el
6212 (reftex-select-cycle-ref-style-internal): Adapt to new structure
6213 of `reftex-ref-style-alist'. Remove code for testing macro type.
6214 (reftex-select-toggle-varioref)
6215 (reftex-select-toggle-fancyref): Remove.
6216 (reftex-select-cycle-ref-style-internal)
6217 (reftex-select-cycle-ref-style-forward)
6218 (reftex-select-cycle-ref-style-backward): New functions.
6219 (reftex-select-label-map): Use `v' and `V' for general cycling
6220 through reference styles. Add `p' for switching between number
6221 and page reference types.
6222
6223 * textmodes/reftex-toc.el (reftex-re-enlarge):
6224 Call `enlarge-window' only if there is something to do because in Emacs
6225 the horizontal version throws an error even if the parameter is 0.
6226
6227 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
6228 (reftex-plug-into-AUCTeX): Doc fix.
6229 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
6230 string. Adapt to new name.
6231 (reftex-ref-style-alist): Change structure so that it is not
6232 possible to use multiple different package names within a style.
6233 Remove the symbols for symbols for macro type distinction.
6234 Add characters for macro selection.
6235 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
6236 (reftex-create-bibtex-footer): New variables.
6237 (reftex-format-ref-function): Mention third argument of special
6238 format function.
6239 (reftex-ref-style-alist, reftex-ref-style-default-list):
6240 New variables.
6241 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
6242 to new implementation. Mark as obsolete. Add compatibility code
6243 for honoring the variable values in case they are set.
6244 (reftex-cite-format-builtin, reftex-bibliography-commands):
6245 Add support for ConTeXt.
6246 (reftex-format-ref-function, reftex-format-cite-function):
6247 Fix custom type.
6248 (reftex-cite-key-separator): New variable.
6249
6250 * textmodes/reftex.el (reftex-syntax-table-for-bib)
6251 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
6252 `reftex-syntax-table' because parens have to retain their paren
6253 syntax in order for parsing of BibTeX entries like @book(...) to
6254 work.
6255 (reftex-in-comment): Do not error out if `comment-start-skip' is
6256 not set. Deal correctly with escaped comment characters.
6257 (reftex-tie-multifile-symbols): Add doc string.
6258 Initialize `reftex-ref-style-list'.
6259 (reftex-untie-multifile-symbols): Add doc string.
6260 (reftex-add-index-macros): Doc fix.
6261 (reftex-ref-style-activate, reftex-ref-style-toggle)
6262 (reftex-ref-style-list): New functions.
6263 (reftex-mode-menu): Use them. Adapt to new structure of
6264 `reftex-ref-style-alist'.
6265 (reftex-select-with-char): Kill the RefTeX Select buffer when
6266 done.
6267 (reftex-remove-if): New function.
6268 (reftex-erase-all-selection-and-index-buffers)
6269 (reftex-mode-menu): Reference styles are now computed from
6270 `reftex-ref-style-alist'. Fix typo.
6271 (reftex-report-bug): New function.
6272 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
6273 algorithms with O(n log n). Introduce optional argument SORT (not
6274 yet used).
6275
6276 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
6277
6278 Enhancements for triple-quote string syntax.
6279 * progmodes/python.el (python-syntax-propertize-function):
6280 Match both quote cases in one regexp.
6281 (python-syntax-stringify): Handle matches properly.
6282
6283 2012-09-30 Juri Linkov <juri@jurta.org>
6284
6285 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
6286 to nil around the call to `insert' to prevent
6287 directory time modification by lock_file. (Bug#2295)
6288 * tar-mode.el (tar-summarize-buffer): Idem.
6289
6290 2012-09-30 Juri Linkov <juri@jurta.org>
6291
6292 * facemenu.el (list-colors-sort): Add option "Luminance".
6293 (list-colors-sort-key): Implement it.
6294
6295 * vc/diff-mode.el (diff-refine-removed):
6296 * vc/ediff-init.el (ediff-fine-diff-A):
6297 * vc/smerge-mode.el (smerge-refined-removed):
6298 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
6299
6300 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
6301
6302 * term/ns-win.el (x-file-dialog): New function.
6303
6304 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
6305
6306 * ido.el (ido-max-directory-size): Default to nil; the current
6307 default is small for POSIX systems, and impractical on Windows 7
6308 now that lstat returns directory sizes for NTFS.
6309
6310 2012-09-30 Martin Rudalics <rudalics@gmx.at>
6311
6312 In buffer display functions handle window-height/window-width
6313 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
6314 * window.el (window--display-buffer): New argument ALIST.
6315 Obey window-height and window-width alist entries.
6316 (window--try-to-split-window): New argument ALIST.
6317 Bind window-combination-limit to t when the window's size shall be
6318 changed and window-combination-limit equals `window-size'.
6319 (display-buffer-in-atom-window)
6320 (display-buffer-in-major-side-window)
6321 (display-buffer-in-side-window, display-buffer-same-window)
6322 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6323 (display-buffer-pop-up-window, display-buffer-below-selected)
6324 (display-buffer-at-bottom, display-buffer-in-previous-window)
6325 (display-buffer-use-some-window): Adjust all callers of
6326 window--display-buffer and window--try-to-split-window.
6327 (fit-frame-to-buffer): New option.
6328 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
6329 is non-nil.
6330 (display-buffer-in-major-side-window): Evaluate window-height /
6331 window-width alist entries.
6332
6333 * help.el (temp-buffer-resize-frames)
6334 (temp-buffer-resize-regexps): Remove options.
6335 (temp-buffer-resize-mode): Adjust doc-string.
6336 (resize-temp-buffer-window): Don't consult
6337 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
6338 temp-buffer-resize-frames.
6339
6340 * dired.el (dired-mark-pop-up):
6341 Call display-buffer-below-selected with a fit-window-to-buffer alist
6342 entry.
6343
6344 2012-09-30 Chong Yidong <cyd@gnu.org>
6345
6346 * server.el (server-host): Document the security implications.
6347 (server-auth-key): Doc fix.
6348
6349 * startup.el (initial-buffer-choice): Doc fix.
6350
6351 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
6352
6353 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
6354 restriction change.
6355
6356 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
6357
6358 * help-fns.el (help-fns--obsolete): Fix last change.
6359
6360 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
6361
6362 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
6363 (minor-mode-map-alist): Remove redundant code.
6364
6365 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
6366 visited in a buffer.
6367 (cvs-insert-visited-file): New function.
6368 (find-file-hook): Use it.
6369
6370 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
6371
6372 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
6373 chose face.
6374 (log-edit-empty-buffer-p): Don't require a space after a header.
6375
6376 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
6377
6378 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
6379
6380 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
6381 a proper minor-mode.
6382
6383 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
6384
6385 2012-09-29 Glenn Morris <rgm@gnu.org>
6386
6387 * winner.el (winner-mode): Remove variable (let define-minor-mode
6388 handle it).
6389 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
6390 Doc fixes.
6391 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
6392 (winner-mode): Use define-minor-mode.
6393
6394 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
6395 the full definition in loaddefs, rather than duplicating it.
6396
6397 * help-macro.el (three-step-help): No need to autoload defcustom.
6398
6399 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
6400 (inferior-lisp-program, inferior-lisp-load-command)
6401 (inferior-lisp-prompt, inferior-lisp-mode-hook):
6402 No need to autoload defcustoms.
6403
6404 * hippie-exp.el (hippie-expand-try-functions-list)
6405 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
6406 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
6407 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
6408 (hippie-expand-only-buffers): No need to autoload defcustoms.
6409 * progmodes/vhdl-mode.el (vhdl-line-expand):
6410 Explicitly load hippie-exp, so it does not get autoloaded
6411 while hippie-expand-try-functions-list is let-bound.
6412
6413 2012-09-28 Glenn Morris <rgm@gnu.org>
6414
6415 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
6416
6417 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
6418 Only "cl.el" counts as cl these days.
6419
6420 2012-09-28 Juri Linkov <juri@jurta.org>
6421
6422 Display archive errors in the echo area instead of inserting
6423 to the file buffer.
6424
6425 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
6426 to STDERR-TEST that can be a regexp matching a successful output.
6427 Create a temporary file and redirect stderr to it. Search for
6428 STDERR-TEST in the stderr output and display it in the echo area
6429 if no match is found.
6430 (archive-extract-by-file): New function like
6431 `archive-extract-by-stdout' but extracting archives to files
6432 and looking for successful matches in stdout. Function body is
6433 mostly copied from `archive-rar-extract'.
6434 (archive-rar-extract): Use `archive-extract-by-file'.
6435 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
6436
6437 2012-09-28 Leo Liu <sdl.web@gmail.com>
6438
6439 * pcomplete.el (pcomplete-show-completions):
6440 Use minibuffer-message to make pcomplete usable in minibuffer.
6441
6442 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
6443
6444 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6445
6446 * type-break.el: Use lexical-binding.
6447 (type-break-mode): Use define-minor-mode.
6448
6449 * emacs-lisp/pcase.el (pcase--mark-used): New.
6450 (pcase--u1): Use it (bug#12512).
6451
6452 * custom.el (load-theme): Set buffer-file-name so the load is recorded
6453 in load-history with the right file name.
6454
6455 2012-09-28 Tassilo Horn <tsdh@gnu.org>
6456
6457 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
6458 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
6459 (doc-view-get-bounding-box): Make bounding box slicing work for
6460 ODF and DVI documents.
6461
6462 2012-09-28 Glenn Morris <rgm@gnu.org>
6463
6464 * type-break.el (type-break-mode, type-break-interval)
6465 (type-break-good-rest-interval, type-break-keystroke-threshold):
6466 No need to autoload.
6467 (type-break-good-rest-interval, type-break-keystroke-threshold):
6468 Add :set-after.
6469
6470 2012-09-28 Chong Yidong <cyd@gnu.org>
6471
6472 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
6473 Add :version tag.
6474
6475 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6476
6477 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
6478
6479 2012-09-27 Glenn Morris <rgm@gnu.org>
6480
6481 * faces.el (x-display-name): Declare (for without-x builds).
6482
6483 * linum.el (linum-format): Don't autoload it. Improve :type.
6484
6485 * progmodes/tcl.el: Don't require outline when compiling.
6486 (outline-regexp, outline-level): Declare.
6487 * textmodes/sgml-mode.el: Don't require outline when compiling.
6488 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
6489
6490 * term.el (term-ansi-reset):
6491 Try setting term-ansi-face-already-done to nil. (Bug#11785)
6492
6493 * vc/vc.el (vc-next-action): Only gripe about committing read-only
6494 files for RCS and SCCS. (Bug#9781)
6495
6496 2012-09-27 Chong Yidong <cyd@gnu.org>
6497
6498 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
6499 change; value should be t.
6500
6501 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6502
6503 * image-mode.el: Use lexical-binding.
6504 (image-mode-winprops): Use t to stand for the window of
6505 a buffer that's not displayed.
6506 * doc-view.el (doc-view-new-window-function): Handle the new
6507 t in winprops.
6508 (doc-view-enlarge): Make it a real nop if the size is not changed.
6509 (doc-view-display): Handle the case where the buffer is not (yet?)
6510 displayed in any window.
6511 (doc-view-saved-settings): New var.
6512 (doc-view-mode): Use it.
6513 (doc-view-fallback-mode): Set it.
6514
6515 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
6516 Set lexical-binding.
6517 (minibuffer-eldef-shorten-default): New var.
6518 (minibuffer-default-in-prompt-regexps): Use it for new default.
6519 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
6520
6521 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
6522
6523 * international/uni-bidi.el:
6524 * international/uni-category.el:
6525 * international/uni-name.el:
6526 * international/uni-numeric.el: Regenerate.
6527
6528 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
6529 Stefan Monnier <monnier@iro.umontreal.ca>
6530
6531 * profiler.el: New file.
6532
6533 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
6534
6535 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
6536 (testcover-reinstrument): Simplify with CSE.
6537
6538 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
6539
6540 * window.el (temp-buffer-window-setup): Fix typo in docstring.
6541
6542 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
6543
6544 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
6545 (verilog-auto-input, verilog-auto-insert-lisp)
6546 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
6547 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
6548 (verilog-auto-unused, verilog-auto-wire)
6549 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
6550 newline. Reported by Andrew Jones.
6551 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
6552 Reported by Brad Dobbie.
6553 (verilog-batch-delete-trailing-whitespace):
6554 Create verilog-batch-delete-trailing-whitespace.
6555 Reported by Brad Dobbie.
6556 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
6557 parameters from another module. Reported by Dan Katz.
6558 (verilog-auto, verilog-auto-assign-modport)
6559 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
6560 AUTOINOUTMODPORT for UVM interface module shell generation.
6561 Reported by Brad Dobbie.
6562 (verilog-auto-inst-interfaced-ports): Make default nil, as more
6563 standard behavior.
6564 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
6565 Reported by Matt Martin.
6566
6567 2012-09-25 Martin Rudalics <rudalics@gmx.at>
6568
6569 * window.el (window--resize-child-windows): When resizing child
6570 windows proportionally, process them in reverse order to
6571 preserve the "when splitting a window the new one gets the odd
6572 line" behavior.
6573 (window--resize-root-window-vertically): When resizing the
6574 minibuffer window try to affect only windows at the bottom of the
6575 frame. (Bug#12419)
6576
6577 2012-09-25 Chong Yidong <cyd@gnu.org>
6578
6579 * subr.el (declare): Doc fix.
6580
6581 * help-fns.el (help-fns--obsolete): Handle macros properly.
6582
6583 2012-09-25 Chong Yidong <cyd@gnu.org>
6584
6585 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
6586 this function obsolete.
6587
6588 * calendar/cal-x.el (calendar-two-frame-setup)
6589 (calendar-only-one-frame-setup, calendar-one-frame-setup):
6590 * calendar/calendar.el (american-calendar, european-calendar)
6591 (calendar-for-loop):
6592 * comint.el (comint-dynamic-simple-complete)
6593 (comint-dynamic-complete-as-filename, comint-unquote-filename):
6594 * desktop.el (desktop-load-default):
6595 * dired-x.el (dired-omit-here-always)
6596 (dired-hack-local-variables, dired-default-directory):
6597 * emacs-lisp/derived.el (derived-mode-class):
6598 * emacs-lisp/timer.el (timer-set-time-with-usecs):
6599 * emacs-lock.el (toggle-emacs-lock):
6600 * epa.el (epa-display-verify-result):
6601 * epg.el (epg-sign-keys, epg-start-sign-keys)
6602 (epg-passphrase-callback-function):
6603 * eshell/esh-util.el (eshell-for):
6604 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
6605 (eshell-add-to-window-buffer-names):
6606 * files.el (locate-file-completion):
6607 * imenu.el (imenu-example--create-c-index)
6608 (imenu-example--create-lisp-index)
6609 (imenu-example--lisp-extract-index-name)
6610 (imenu-example--name-and-position):
6611 * international/mule-cmds.el (princ-list):
6612 * international/mule-diag.el (decode-codepage-char):
6613 * international/mule-util.el (detect-coding-with-priority):
6614 * iswitchb.el (iswitchb-read-buffer):
6615 * mail/mailalias.el (mail-complete):
6616 * mail/sendmail.el (mail-sent-via):
6617 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
6618 (mouse-major-mode-menu):
6619 * password-cache.el (password-read-and-add):
6620 * pcomplete.el (pcomplete-parse-comint-arguments):
6621 * progmodes/sh-script.el (sh-maybe-here-document):
6622 * replace.el (query-replace-regexp-eval):
6623 * savehist.el (savehist-load):
6624 * simple.el (choose-completion-delete-max-match):
6625 * term.el (term-dynamic-simple-complete):
6626 * vc/ediff-init.el (ediff-check-version):
6627 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
6628 * vc/vc.el (vc-diff-switches-list):
6629 * view.el (view-return-to-alist-update): Likewise.
6630
6631 * subr.el (eval-next-after-load, makehash, insert-string)
6632 (assoc-ignore-representation, assoc-ignore-case): Use declare to
6633 mark obsolete.
6634 (mode-line-inverse-video): Variable deleted.
6635
6636 * international/mule-util.el (string-to-sequence): Remove.
6637
6638 * calendar/calendar.el (calendar-version):
6639 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
6640 (icalendar-convert-diary-to-ical):
6641 * cus-edit.el (custom-mode):
6642 * ansi-color.el (ansi-color-unfontify-region):
6643 * international/latin1-disp.el (latin1-char-displayable-p):
6644 * progmodes/cwarn.el (turn-on-cwarn-mode):
6645 * progmodes/which-func.el (which-func-update-1):
6646 Use define-obsolete-function-alias.
6647
6648 * net/newst-backend.el (newsticker-cache-filename):
6649 * net/newst-treeview.el (newsticker-groups-filename):
6650 Fix incorrect obsolescence declaration.
6651
6652 * allout.el (allout-passphrase-hint-string): Likewise.
6653 (allout-init): Use a declare form to mark obsolete.
6654
6655 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
6656 this applies to functions.
6657
6658 * iswitchb.el (iswitchb-read-buffer): Move code of
6659 iswitchb-define-mode-map here, and delete that obsolete function.
6660
6661 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
6662 font-lock-reference-face.
6663
6664 2012-09-25 Glenn Morris <rgm@gnu.org>
6665
6666 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
6667 Doc fixes.
6668
6669 * eshell/em-term.el (eshell-term-name):
6670 Default to term-term-name. (Bug#12485)
6671
6672 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
6673
6674 * progmodes/python.el (python-shell-send-buffer): Better handling
6675 of "if __name__ == '__main__':" conditionals when sending the buffer.
6676
6677 2012-09-24 Glenn Morris <rgm@gnu.org>
6678
6679 * eshell/esh-cmd.el (eshell-find-alias-function):
6680 Tighten up file-name regexp. (Bug#12499)
6681
6682 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
6683
6684 Enhancements for triple-quote string syntax.
6685 * progmodes/python.el (python-quote-syntax): Remove.
6686 (python-syntax-propertize-function): New value.
6687 (python-syntax-count-quotes, python-syntax-stringify):
6688 New functions.
6689
6690 2012-09-24 Chong Yidong <cyd@gnu.org>
6691
6692 * mail/supercite.el (sc-version): Remove obsolete function.
6693 (sc-describe): Don't mark as obsolete, since it is bound.
6694 (sc-submit-bug-report): Remove.
6695
6696 * vc/log-edit.el (cvs-changelog-full-paragraphs)
6697 (cvs-commit-buffer-require-final-newline): Remove.
6698 (log-edit-require-final-newline)
6699 (log-edit-changelog-full-paragraphs): Default to t.
6700
6701 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
6702 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
6703 * vc/vc.el (vc-checkout-carefully): Likewise.
6704
6705 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
6706 (emerge-version): Remove.
6707
6708 * progmodes/compile.el (compile-internal): Remove.
6709 (compilation-parse-errors-function): Fix typo.
6710
6711 * international/mule.el (set-char-table-default): Remove.
6712 (set-coding-priority, make-coding-system, generic-char-p)
6713 (charset-list, charset-bytes, charset-id): Use declare to mark
6714 functions as obsolete.
6715
6716 * vc/pcvs-defs.el (cvs-buffer-name-alist)
6717 (cvs-invert-ignore-marks): Remove references to obsolete vars.
6718 * vc/vc-hooks.el (vc-default-registered): Don't use
6719 vc-master-templates.
6720
6721 * font-lock.el (font-lock-reference-face):
6722 Use define-obsolete-variable-alias.
6723
6724 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
6725 * calendar/calendar.el (calendar-font-lock-keywords):
6726 * calendar/diary-lib.el (diary-font-lock-keywords)
6727 (diary-fancy-font-lock-keywords):
6728 * textmodes/reftex-sel.el (reftex-insert-docstruct):
6729 * textmodes/reftex-index.el (reftex-insert-index):
6730 * textmodes/reftex-cite.el (reftex-format-bib-entry):
6731 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6732 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
6733 * progmodes/prolog.el (prolog-font-lock-keywords):
6734 * progmodes/idlwave.el (idlwave-idl-keywords):
6735 * progmodes/ada-mode.el (ada-font-lock-keywords):
6736 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
6737
6738 2012-09-24 Glenn Morris <rgm@gnu.org>
6739
6740 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
6741
6742 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
6743
6744 * progmodes/python.el (python-indent-line): More consistent cursor
6745 movement behavior.
6746
6747 2012-09-23 Stefan Merten <smerten@oekonux.de>
6748
6749 * textmodes/rst.el: Fix compiler warning.
6750
6751 2012-09-23 Roland Winkler <winkler@gnu.org>
6752
6753 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
6754 Transcribe also LaTeX hyphenation.
6755 (bibtex-reformat): Bug fix. Do not quote twice the elements of
6756 bibtex-reformat-previous-options.
6757
6758 2012-09-23 Roland Winkler <winkler@gnu.org>
6759
6760 * proced.el (proced-renice-command): New variable.
6761 (proced-marked-processes): New function.
6762 (proced-with-processes-buffer): New macro.
6763 (proced-send-signal): Use them.
6764 (proced-renice): New command bound to r.
6765
6766 2012-09-23 Roland Winkler <winkler@gnu.org>
6767
6768 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
6769 ibuffer-saved-filter-groups has one element, shortcut the call of
6770 completing-read. (Bug#12331)
6771
6772 2012-09-23 Chong Yidong <cyd@gnu.org>
6773
6774 * bindings.el (mode-line-toggle-read-only):
6775 * bs.el (bs-toggle-readonly):
6776 * buff-menu.el (Buffer-menu-toggle-read-only):
6777 * dired.el (dired-toggle-read-only):
6778 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
6779
6780 2012-09-23 Chong Yidong <cyd@gnu.org>
6781
6782 * image.el (image-type-available-p): Adapt to init-image-library
6783 argument changes.
6784
6785 2012-09-22 Juri Linkov <juri@jurta.org>
6786
6787 * dired.el (dired-mode-map): Add [remap read-only-mode] for
6788 `dired-toggle-read-only'. (Bug#12462)
6789
6790 2012-09-22 Martin Rudalics <rudalics@gmx.at>
6791
6792 * subr.el (temp-output-buffer-show): New function.
6793 (with-output-to-temp-buffer): Call temp-output-buffer-show
6794 instead of internal-temp-output-buffer-show.
6795
6796 2012-09-22 Chong Yidong <cyd@gnu.org>
6797
6798 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
6799 (Bug#12462).
6800
6801 * repeat.el (repeat): Doc fix (Bug#12348).
6802
6803 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
6804 (Bug#10909).
6805
6806 * simple.el (shell-command-on-region): Doc fix.
6807 (read-only-mode): Doc fix.
6808
6809 2012-09-22 Eli Zaretskii <eliz@gnu.org>
6810
6811 * emacs-lisp/timer.el (run-with-idle-timer)
6812 (timer-activate-when-idle): Warn against reinvoking an idle timer
6813 from within its own timer action. (Bug#12447)
6814
6815 2012-09-22 Martin Rudalics <rudalics@gmx.at>
6816
6817 * cus-start.el (window-combination-limit): Add new optional
6818 values.
6819 * window.el (temp-buffer-window-show)
6820 (window--try-to-split-window): Handle new values of
6821 window-combination-limit (Bug#1806).
6822 (split-window): Test window-combination-limit for t instead of
6823 non-nil.
6824 (display-buffer-at-bottom): New buffer display action function.
6825 * help.el (temp-buffer-resize-regexps): New option.
6826 (temp-buffer-resize-mode): Rewrite doc-string.
6827 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
6828 Don't resize reused window. Suggested by Glenn Morris.
6829
6830 2012-09-22 Stefan Merten <smerten@oekonux.de>
6831
6832 * textmodes/rst.el: Revamp section title faces.
6833 (rst-official-version)
6834 (rst-package-emacs-version-alist): Sync with official version
6835 V1.4.0.
6836 (rst-faces-defaults, rst-set-level-default)
6837 (rst-level-face-max, rst-level-face-base-color)
6838 (rst-level-face-base-light, rst-level-face-format-light)
6839 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
6840 (rst-adornment-faces-alist): Match new setup.
6841 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
6842 (rst-level-5, rst-level-6): New faces.
6843
6844 2012-09-22 Chong Yidong <cyd@gnu.org>
6845
6846 * simple.el (undo): Handle indirect buffers (Bug#8207).
6847
6848 2012-09-21 Leo Liu <sdl.web@gmail.com>
6849
6850 IDO: Disable match re-ordering for buffer switching.
6851 * ido.el (ido-buffer-disable-smart-matches): New variable.
6852 (ido-set-matches-1): Use it. (Bug#2042)
6853
6854 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
6855
6856 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
6857 Fix 2011-05-17 change. (Bug#12418)
6858
6859 2012-09-21 Leo Liu <sdl.web@gmail.com>
6860
6861 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
6862
6863 2012-09-21 Glenn Morris <rgm@gnu.org>
6864
6865 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
6866 Be more robust about locating simple.el.
6867
6868 2012-09-21 Glenn Morris <rgm@gnu.org>
6869
6870 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
6871
6872 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
6873
6874 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
6875
6876 2012-09-20 Juri Linkov <juri@jurta.org>
6877
6878 * replace.el (query-replace-read-from): Use `read-regexp' instead
6879 of `read-from-minibuffer' when `regexp-flag' is non-nil.
6880 (occur-read-primary-args): Use `read-regexp' instead of
6881 `read-string'.
6882 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
6883 `read-from-minibuffer'.
6884 * isearch.el (isearch-occur): Use `read-regexp' instead of
6885 `read-string'.
6886 * dired.el (dired-read-regexp): Use `read-regexp' instead of
6887 `read-from-minibuffer'.
6888 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
6889 of `read-string'. (Bug#7567)
6890
6891 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
6892 and allow accepting a list of strings prepended to a list of
6893 standard default values. Doc fix. (Bug#12321)
6894
6895 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
6896
6897 * replace.el (read-regexp): Don't add ": " when PROMPT already
6898 ends with a colon and space. (Bug#12321)
6899
6900 2012-09-20 Tassilo Horn <tsdh@gnu.org>
6901
6902 * doc-view.el (doc-view-display): Better fix for the cl-assertion
6903 error.
6904
6905 2012-09-20 Stefan Merten <smerten@oekonux.de>
6906
6907 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
6908 Fixes feature request bug#11711.
6909 (rst-mode): Create `imenu-create-index-function'.
6910 (rst-get-stripped-line): Delete after refactoring.
6911 (rst-section-tree, rst-section-tree-rec)
6912 (rst-section-tree-point): Refactor and document properly.
6913 (rst-imenu-find-adornments-for-position)
6914 (rst-imenu-convert-cell, rst-imenu-create-index):
6915 New function.
6916
6917 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6918
6919 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
6920 (macroexp--expand-all): Use it.
6921 (macroexp--funcall-and-return): Remove by folding it into its sole
6922 caller (macroexp--warn-and-return).
6923 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
6924 Use macroexp--obsolete-warning.
6925
6926 * calc/calc.el: Fix last change by removing the whole chunk, since it
6927 was only needed back when Calc was not bundled.
6928
6929 2012-09-20 Martin Rudalics <rudalics@gmx.at>
6930
6931 * emacs-lisp/debug.el (debug): Restore assignment to
6932 debugger-old-buffer removed on 2012-09-08.
6933
6934 2012-09-20 Juri Linkov <juri@jurta.org>
6935
6936 * dired-aux.el (dired-diff): Remove (require 'diff) since
6937 `diff-latest-backup-file' is now autoloaded.
6938
6939 2012-09-20 Chong Yidong <cyd@gnu.org>
6940
6941 * vc/diff.el (diff-latest-backup-file): Autoload.
6942
6943 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6944
6945 * calc/calc.el: Remove redundant autoload shape check.
6946 (sel-mode): Don't defvar.
6947 (calc-get-stack-element): Add `sel-mode' arg instead.
6948 (calc-top, calc-top-list): Pass it this additional argument.
6949 * calc/calc-store.el (calc-store-map):
6950 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
6951 (calc-map-equation, calc-outer-product, calc-inner-product):
6952 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
6953
6954 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
6955
6956 2012-09-19 Juri Linkov <juri@jurta.org>
6957
6958 * dired-aux.el (dired-diff): Add (require 'diff) because
6959 `diff-latest-backup-file' is not autoloaded.
6960 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
6961 of `dired-get-filename' to t to not report error when there is
6962 no default file on the current line.
6963
6964 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6965
6966 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
6967 macroexp--eval-if-compile.
6968 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
6969 (macroexp--expand-all): Use them (bug#12371).
6970
6971 * doc-view.el (doc-view-guess-paper-size)
6972 (doc-view-scale-bounding-box): Fix unbound `caddr'.
6973
6974 2012-09-19 Tassilo Horn <tsdh@gnu.org>
6975
6976 New feature: set optimal slice from BoundingBox information.
6977 * doc-view.el (doc-view-mode-map): Add keybinding.
6978 (doc-view-menu): Add menu entry.
6979 (doc-view-set-slice): Adapt docstring.
6980 (doc-view-get-bounding-box, doc-view-guess-paper-size)
6981 (doc-view-scale-bounding-box)
6982 (doc-view-set-slice-from-bounding-box): New functions.
6983 (doc-view-paper-sizes): New defvar.
6984
6985 2012-09-19 Glenn Morris <rgm@gnu.org>
6986
6987 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
6988 (byte-compile-log-warning): Autoload. (Bug#12371)
6989
6990 * calendar/calendar.el (calendar-american-month-header)
6991 (calendar-european-month-header, calendar-iso-month-header)
6992 (calendar-month-header): New options.
6993 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
6994 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
6995
6996 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
6997
6998 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
6999
7000 2012-09-18 Juri Linkov <juri@jurta.org>
7001
7002 * dired-aux.el (dired-diff): Restore original functionality of
7003 getting the default value, but keep new feature of using the
7004 latest existing backup file (`diff-latest-backup-file').
7005
7006 2012-09-18 Juri Linkov <juri@jurta.org>
7007
7008 * dired.el (dired-mark): If the region is active in Transient Mark
7009 mode, mark all files in the active region. Doc fix.
7010 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
7011 Doc fix. (Bug#10624)
7012
7013 2012-09-18 Juri Linkov <juri@jurta.org>
7014
7015 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
7016 attributes for M-n are pulled from the file at point.
7017 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
7018 Suggested by Drew Adams. (Bug#10624)
7019
7020 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
7021
7022 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
7023 whitespace after "end".
7024 (ruby-do-end-to-brace): Collapse block to one line if it fits
7025 within fill-column.
7026
7027 2012-09-18 Martin Rudalics <rudalics@gmx.at>
7028
7029 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
7030 value.
7031 (debug): Don't remove debugger window when debugger is expected
7032 to be back.
7033
7034 2012-09-18 Chong Yidong <cyd@gnu.org>
7035
7036 * custom.el (defface): Doc fix.
7037
7038 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
7039
7040 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
7041
7042 * progmodes/compile.el (compilation-start): Use compilation-always-kill
7043 to initialize query-on-exit; then test that instead (bug#12288).
7044
7045 2012-09-17 Stefan Merten <smerten@oekonux.de>
7046
7047 * textmodes/rst.el: Add support for `testcover'.
7048 (rst-defcustom-testcover, rst-testcover-add-compose)
7049 (rst-testcover-add-1value): New functions.
7050 (rst-portable-mark-active-p): Replace by `use-region-p'.
7051 (rst-update-section, rst-classify-adornment)
7052 (rst-find-title-line): Mark `1value' forms.
7053 (rst-classify-adornment): Remove superfluous form.
7054 (rst-update-section, rst-get-adornments-around)
7055 (rst-adornment-complete-p, rst-get-next-adornment)
7056 (rst-adjust, rst-promote-region)
7057 (rst-display-adornments-hierarchy, rst-straighten-adornments)
7058 (rst-find-pfx-in-region, rst-section-tree-rec)
7059 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
7060 (rst-toc-node, rst-toc, rst-forward-section)
7061 (rst-iterate-leftmost-paragraphs)
7062 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
7063 (rst-bullet-list-region)
7064 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
7065 (rst-compile-find-conf, rst-compile)
7066 (rst-repeat-last-character): Fix style.
7067
7068 2012-09-17 Chong Yidong <cyd@gnu.org>
7069
7070 * comint.el (comint--complete-file-name-data): Don't add a space
7071 if the status is `sole'; that adds a gratuitous space in the
7072 completion-cycling case (Bug#12092).
7073
7074 * pcomplete.el (pcomplete-completions-at-point): Likewise.
7075
7076 2012-09-17 Richard Stallman <rms@gnu.org>
7077
7078 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
7079 only in the mime-shown mode, not in raw mode.
7080 (rmail-mime): Toggle off mime by displaying the message without
7081 mime processing. (Bug#12305)
7082
7083 * mail/rmail.el (rmail-retry-failure):
7084 Turn off mime processing first. (Bug#12037)
7085
7086 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
7087
7088 2012-09-17 Chong Yidong <cyd@gnu.org>
7089
7090 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
7091 (shell-dynamic-complete-functions): Convert to defcustom.
7092 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
7093
7094 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
7095 * comint.el (comint-prompt-read-only):
7096 * custom.el (defcustom):
7097 * hi-lock.el (hi-lock-mode):
7098 * ibuffer.el (ibuffer-formats):
7099 * ielm.el (ielm-prompt-read-only):
7100 * novice.el (disable-command):
7101 * saveplace.el (toggle-save-place):
7102 * speedbar.el (speedbar-supported-extension-expressions):
7103 * startup.el (auto-save-list-file-prefix, init-file-user)
7104 (after-init-hook, inhibit-startup-echo-area-message):
7105 * strokes.el (strokes-help):
7106 * time-stamp.el (time-stamp):
7107 * calendar/calendar.el (calendar, diary-file):
7108 * calendar/diary-lib.el (diary-mail-entries, diary)
7109 (diary-list-entries-hook):
7110 * calendar/holidays.el (holidays, calendar-holidays):
7111 * calendar/lunar.el (lunar-phases):
7112 * calendar/solar.el (sunrise-sunset):
7113 * emulation/edt.el (edt-load-keys):
7114 * emulation/viper.el (viper-mode):
7115 * eshell/em-alias.el (eshell-command-aliases-list):
7116 * eshell/esh-util.el (eshell-convert-numeric-arguments):
7117 * international/ogonek.el (ogonek-information):
7118 * net/tramp-cmds.el (tramp-bug):
7119 * net/quickurl.el (quickurl-reread-hook-postfix):
7120 * play/decipher.el (decipher-font-lock-keywords):
7121 * progmodes/cc-styles.el (c-set-style):
7122 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
7123 * progmodes/inf-lisp.el (inferior-lisp-prompt):
7124 * progmodes/octave-mod.el (octave-mode):
7125 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
7126 * progmodes/verilog-mode.el (verilog-read-defines):
7127 * textmodes/two-column.el (2C-mode): Likewise.
7128
7129 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
7130
7131 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
7132 that holds many addresses.
7133
7134 2012-09-16 Chong Yidong <cyd@gnu.org>
7135
7136 * align.el (align-areas): Call the indication function with
7137 positions instead of markers for arguments (Bug#12343).
7138
7139 * files.el (parse-colon-path): Use split-string (Bug#12351).
7140
7141 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
7142 (display-buffer-function): Mark as obsolete.
7143
7144 * progmodes/compile.el (compilation-parse-errors): Accept list
7145 values similar to font-lock-keywords (Bug#12136).
7146 Suggested by Oleksandr Manzyuk.
7147 (compilation-error-regexp-alist): Doc fix.
7148
7149 2012-09-15 Glenn Morris <rgm@gnu.org>
7150
7151 * version.el (emacs-bzr-version-bzr): New function.
7152 (emacs-bzr-get-version): Add optional EXTERNAL argument.
7153
7154 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
7155 checkouts, check the parent dirstate matches the branch.
7156 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
7157 empty string.
7158
7159 * version.el (emacs-bzr-version): Doc fix.
7160 (emacs-bzr-version-dirstate): New function.
7161 (emacs-bzr-get-version): For lightweight checkouts, if the parent
7162 is local try and check that it matches the branch. If not, just
7163 use dirstate information. (Bug#12441)
7164
7165 2012-09-14 Juri Linkov <juri@jurta.org>
7166
7167 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
7168 (Bug#12399)
7169
7170 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7171
7172 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
7173
7174 * emacs-lisp/edebug.el: Miscellaneous cleanup.
7175 Remove obsolete byte-compiler hack that tried to silence some warnings.
7176 (edebug-submit-bug-report): Remove.
7177 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
7178 Remove aliases, use the un-prefixed name instead.
7179 (edebug-pop-to-buffer): Consider other frames.
7180 (edebug-original-read):: Make it more obvious that it's always defined.
7181 (edebug--make-form-data-entry, edebug--form-data-name)
7182 (edebug--form-data-begin, edebug--form-data-end): Rename from the
7183 single-dashed name, and implement with cl-defstruct.
7184 (edebug-set-form-data-entry): Use the standard accessors.
7185 (edebug-make-top-form-data-entry): Use push.
7186 (edebug-no-match): Drop useless `funcall'.
7187 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
7188 to functions.
7189 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
7190 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
7191 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
7192 (easy-menu-define, with-custom-print): Remove redundant specs.
7193 (edebug-outside-overriding-local-map)
7194 (edebug-outside-overriding-terminal-local-map): Remove, unused.
7195 (edebug--display): Bind unread-command-events directly to nil rather
7196 than binding it to unread-command-events and later setting it to nil.
7197 (edebug--display): Kill edebug-eval-buffer here...
7198 (edebug--recursive-edit): ...rather than here.
7199 Bind standard-output and standard-input.
7200 (edebug-eval): Check cl-macroexpand-all is fboundp.
7201 (edebug-temp-display-freq-count): Fix last change.
7202
7203 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
7204 * subr.el (noreturn, 1value): Add `debug' spec.
7205 * emacs-lisp/advice.el: Require cl-lib.
7206 (ad-copy-tree): Remove, use copy-tree instead.
7207 (ad-dolist): Remove use dolist or cl-dolist instead.
7208 (ad-do-return): Remove, use cl-return instead.
7209 (defadvice): Add `debug' spec.
7210
7211 2012-09-13 Juri Linkov <juri@jurta.org>
7212
7213 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
7214 (Bug#12399)
7215
7216 2012-09-13 Glenn Morris <rgm@gnu.org>
7217
7218 * calc/calc.el (math-compose-expr):
7219 * calc/calc-ext.el (math-compose-expr):
7220 * progmodes/cc-defs.el (cl-macroexpand-all):
7221 * progmodes/cc-langs.el (delete-duplicates, mapcan)
7222 (cl-macroexpand-all): Update declarations.
7223
7224 * vc/vc.el: No need to require ediff.
7225 (ediff-load-version-control): Declare.
7226 (ediff-vc-internal): Fix declaration.
7227 (vc-version-ediff): Require ediff.
7228
7229 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
7230
7231 Use a more backwards-compatible timer format (Bug#12430).
7232 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
7233 being right after USECS, as that better supports old code that
7234 inadvisedly looked directly at the timer vector.
7235
7236 2012-09-13 Kenichi Handa <handa@gnu.org>
7237
7238 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
7239 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
7240 `coding-priority' property of these language environment.
7241
7242 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
7243
7244 Fix glitches caused by addition of psec to timers (Bug#12430).
7245 * image.el (image-animate-timer):
7246 * time.el (display-time-world-timer):
7247 Use timer--function and timer--args rather than raw access to
7248 timer vector.
7249
7250 2012-09-13 Glenn Morris <rgm@gnu.org>
7251
7252 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
7253 If not compiling a file, try using load-file-name.
7254
7255 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
7256
7257 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
7258 Fix last change.
7259 (edebug-update-eval-list): Use `push'.
7260
7261 * emacs-lisp/edebug.el: Use lexical-binding.
7262 Remove the "edebug-" prefix from non-dynamically-scoped variables.
7263 Mark unused args with underscore.
7264 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
7265 (edebug-form-data): Use defvar-local.
7266 (edebug-make-before-and-after-form, edebug-make-after-form):
7267 Use backquote.
7268 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
7269 Not dynamically scoped any more.
7270 (edebug--enter-trace): Add arguments `function' and `args'.
7271 Rename from edebug-enter-trace.
7272 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
7273 (edebug--update-coverage): Add `after-index' and `value' args.
7274 Rename from edebug-update-coverage.
7275 (edebug-slow-after): Call it accordingly.
7276 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
7277 edebug-recursive-edit.
7278 (edebug--display): Call it accordingly. Add args `value',
7279 `offset-index', and `arg-mode'. Rename from edebug-display.
7280 (edebug-debugger, edebug): Call it accordingly.
7281 (edebug-eval-display-list): Use dolist.
7282
7283 2012-09-12 Juri Linkov <juri@jurta.org>
7284
7285 * info.el (Info-search): Don't check for isearch-mode and
7286 isearch-regexp before let-binding search-spaces-regexp to
7287 Info-search-whitespace-regexp.
7288 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
7289 search-whitespace-regexp if isearch-lax-whitespace or
7290 isearch-regexp-lax-whitespace is non-nil.
7291 (Info-mode): Don't set local variable search-whitespace-regexp.
7292 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
7293
7294 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7295
7296 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
7297 (debugger-env-macro): Remove support for unread-command-char.
7298
7299 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
7300 the temporary map re-appearing on emulation-mode-map-alists.
7301
7302 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
7303 since 22.1.
7304
7305 * ehelp.el (with-electric-help): Accept functions in
7306 electric-help-form-to-execute.
7307 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
7308 And replace unread-command-char -> unread-command-events.
7309
7310 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
7311
7312 Sync with Tramp 2.2.6.
7313
7314 * net/tramp.el (tramp-accept-process-output): Don't use
7315 JUST-THIS-ONE in the XEmacs case.
7316
7317 * net/trampver.el: Update release number.
7318
7319 2012-09-12 Martin Rudalics <rudalics@gmx.at>
7320
7321 * emacs-lisp/debug.el (debugger-previous-window-height):
7322 New variable.
7323 (debug): When debugger-jumping-flag is non-nil try to restore
7324 height of debugger window. (Bug#8789)
7325
7326 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7327
7328 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
7329 overriding-local-map and pre/post-command-hook here.
7330 (edebug-recursive-edit): Do it here instead (bug#12345).
7331 (edebug-outside-unread-command-char): Remove all uses of
7332 unread-command-char.
7333
7334 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
7335 inhibit-debugger is bound instead.
7336
7337 2012-09-11 Bastien Guerry <bzg@gnu.org>
7338
7339 * subr.el (set-temporary-overlay-map): Add a docstring.
7340 (Bug#12346)
7341
7342 2012-09-11 Bastien Guerry <bzg@gnu.org>
7343
7344 * minibuffer.el (completion-table-subvert): Fix docstring.
7345 (Bug#12347)
7346
7347 2012-09-11 Bastien Guerry <bzg@gnu.org>
7348
7349 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
7350
7351 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
7352
7353 * progmodes/sql.el: Version 3.1
7354 (sql-db2-escape-newlines): New variable.
7355 (sql-escape-newlines-filter): Use it.
7356
7357 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
7358
7359 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
7360
7361 2012-09-10 Dan Nicolaescu <dann@gnu.org>
7362
7363 * vc/diff-mode.el (diff-mode-menu):
7364 Bind diff-remove-trailing-whitespace.
7365
7366 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7367
7368 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
7369 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
7370 (emacs-lisp-byte-code-mode): New functions.
7371 (eval-sexp-add-defvars): Don't skip defvars in column >0.
7372 (eval-defun-2): Remove bogus interactive spec.
7373 (lisp-indent-line): Remove redundant whole-exp code, now done in
7374 indent-according-to-mode.
7375 (save-match-data): Remove redundant indent data.
7376
7377 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
7378 Use `declare'.
7379
7380 2012-09-09 Juri Linkov <juri@jurta.org>
7381
7382 * replace.el (replace-regexp-lax-whitespace): New defcustom.
7383 (replace-lax-whitespace, query-replace-regexp)
7384 (query-replace-regexp-eval, replace-regexp): Doc fix.
7385 (perform-replace, replace-highlight): Let-bind
7386 isearch-lax-whitespace to replace-lax-whitespace and
7387 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
7388
7389 * isearch.el (isearch-query-replace): Let-bind
7390 replace-lax-whitespace to isearch-lax-whitespace and
7391 replace-regexp-lax-whitespace to
7392 isearch-regexp-lax-whitespace. (Bug#10885)
7393
7394 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
7395
7396 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
7397
7398 2012-09-09 Alan Mackenzie <acm@muc.de>
7399
7400 * progmodes/cc-engine.el (c-state-cache-init):
7401 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
7402 (c-record-parse-state-state):
7403 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
7404
7405 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
7406
7407 * register.el (register-separator): Rename from
7408 separator-register. All uses changed. Doc fix.
7409 (register): Fix version.
7410
7411 2012-09-09 Chong Yidong <cyd@gnu.org>
7412
7413 * replace.el (query-replace-map): Bind four new symbols for
7414 requesting window scrolling.
7415
7416 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
7417 query-replace-map (Bug#8948).
7418
7419 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
7420
7421 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
7422 since they are now in query-replace-map.
7423
7424 * window.el (scroll-other-window-down): Make the arg optional.
7425
7426 2012-09-09 Chong Yidong <cyd@gnu.org>
7427
7428 * files.el (hack-local-variables-confirm): Use quit-window to kill
7429 the *Local Variables* buffer.
7430
7431 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
7432
7433 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
7434 not just expect to be at its beginning. Adjust callees.
7435 Succeed when do-end block has no space before the pipe character.
7436 (ruby-brace-to-do-end): When the original block is one-liner,
7437 convert to multiline. Reindent the result.
7438
7439 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
7440
7441 * register.el (register): New group.
7442 (separator-register): New user option.
7443 (increment-register): Route it to `append-to-register', if
7444 register contains text. Implication is that `C-x r +' can now be
7445 used for appending to a text register (bug#12217).
7446 (append-to-register, prepend-to-register): Add separator based on
7447 `separator-register'.
7448
7449 2012-09-08 Alan Mackenzie <acm@muc.de>
7450
7451 AWK Mode: make auto-newline work when there's "==" in the pattern.
7452 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
7453 correctly.
7454 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
7455 Test more rigorously for "=" token.
7456
7457 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
7458
7459 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
7460 Only fail when reached LIMIT.
7461
7462 2012-09-08 Chong Yidong <cyd@gnu.org>
7463
7464 * dired.el (dired-mode-map): Don't bind M-=.
7465
7466 * dired-aux.el (dired-diff): Use backup file as default.
7467
7468 2012-09-08 Drew Adams <drew.adams@oracle.com>
7469
7470 * subr.el (add-to-history): Fix delete usage (Bug#12314).
7471
7472 2012-09-08 Chong Yidong <cyd@gnu.org>
7473
7474 * subr.el (syntax-after, syntax-class): Doc fix.
7475
7476 2012-09-08 Martin Rudalics <rudalics@gmx.at>
7477
7478 * window.el (display-buffer-in-previous-window): New buffer
7479 display action function.
7480
7481 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
7482 (debugger-previous-window): New variable.
7483 (debug): Rewrite using display-buffer-in-previous-window,
7484 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
7485
7486 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
7487
7488 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
7489
7490 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
7491
7492 * progmodes/python.el (python-shell-send-string):
7493 When default-directory is remote, create temp file on remote
7494 filesystem.
7495 (python-shell-send-file): When file is remote, pass local view of
7496 file paths to remote Python interpreter. (Bug#12340)
7497
7498 2012-09-07 Chong Yidong <cyd@gnu.org>
7499
7500 * window.el (switch-to-buffer): Doc fix (Bug#12181).
7501
7502 * files.el (after-find-file): Don't fail on a read-only buffer if
7503 require-final-newline is `visit' or `visit-save' (Bug#11156).
7504
7505 * subr.el (read-char-choice): Allow quitting via ESC ESC.
7506
7507 * userlock.el (ask-user-about-supersession-threat):
7508 Use read-char-choice (Bug#12093).
7509
7510 2012-09-07 Chong Yidong <cyd@gnu.org>
7511
7512 * subr.el (buffer-narrowed-p): New function.
7513
7514 * ses.el (ses-widen):
7515 * simple.el (count-words--buffer-message):
7516 * net/browse-url.el (browse-url-of-buffer): Use it.
7517
7518 * simple.el (count-words-region): Don't signal an error if there
7519 is a non-nil prefix arg and the mark is not set.
7520
7521 * help.el (describe-key-briefly): Allow the message to be seen
7522 when invoked from the minibuffer (Bug#7014).
7523
7524 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
7525
7526 * progmodes/ruby-mode.el (ruby-end-of-defun)
7527 (ruby-beginning-of-defun): Simplify, allow indentation before
7528 block beginning and end keywords.
7529 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
7530 (ruby-end-of-defun): Expect that the point is at the beginning of
7531 the defun.
7532
7533 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7534
7535 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
7536 (bug#12367).
7537 (cl--make-usage-args): Strip _ from argument names.
7538
7539 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7540
7541 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
7542 obsolete alias speedbar-key-map.
7543 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
7544 (vhdl-index-menu-init): Don't use obsolete variable
7545 font-lock-maximum-size.
7546
7547 2012-09-06 Chong Yidong <cyd@gnu.org>
7548
7549 * frame.el (window-system-version): Mark as obsolete.
7550
7551 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
7552 of obsolete variable speedbar-key-map.
7553
7554 2012-09-06 Juri Linkov <juri@jurta.org>
7555
7556 * replace.el (replace-lax-whitespace): New defcustom.
7557 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7558 (replace-string, replace-regexp): Mention it in docstrings.
7559 (perform-replace, replace-highlight): Let-bind
7560 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
7561 to the values of replace-lax-whitespace and regexp-flag.
7562 Don't let-bind search-whitespace-regexp. (Bug#10885)
7563
7564 * isearch.el (isearch-query-replace): Let-bind
7565 replace-lax-whitespace instead of let-binding
7566 replace-search-function and replace-re-search-function.
7567 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
7568 and isearch-regexp-lax-whitespace to lazy-highlight variables.
7569 (isearch-toggle-symbol): Set isearch-regexp to nil
7570 in isearch-word mode (like in isearch-toggle-word).
7571
7572 2012-09-06 Juri Linkov <juri@jurta.org>
7573
7574 * replace.el (replace-search-function)
7575 (replace-re-search-function): Set default values to nil.
7576 (perform-replace): Let-bind isearch-related variables based on
7577 replace-related values, call `isearch-search-fun' and let-bind
7578 the result to `search-function'. Remove code that sets
7579 `search-function' and `search-string' separately for
7580 `delimited-flag'.
7581 (replace-highlight): Add new argument `delimited-flag' and
7582 rename other arguments to the names used in `perform-replace'.
7583 Let-bind `isearch-word' to the argument `delimited-flag'.
7584 (Bug#10885, bug#10887)
7585
7586 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
7587
7588 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
7589 ruby-beginning-of-indent, simplify, allow all keywords to have
7590 indentation before them.
7591 (ruby-beginning-of-indent): Adjust for above. Search until the
7592 found point is not inside a string or comment.
7593 (ruby-font-lock-keywords): Allow symbols to start with "@"
7594 character, give them higher priority than variables.
7595 (ruby-syntax-propertize-function)
7596 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
7597 matchers. Expression expansions are not comments when inside a
7598 string, and there comment syntax status is irrelevant.
7599 (ruby-match-expression-expansion): New function. Check that
7600 expression expansion is inside a string, and it's not escaped.
7601 (ruby-font-lock-keywords): Use it.
7602
7603 2012-09-05 Martin Rudalics <rudalics@gmx.at>
7604
7605 * help.el (temp-buffer-max-height): New default value.
7606 (temp-buffer-resize-frames): New option.
7607 (resize-temp-buffer-window): Optionally resize frame.
7608
7609 * window.el (fit-frame-to-buffer-bottom-margin): New option.
7610 (fit-frame-to-buffer): New function.
7611
7612 2012-09-05 Glenn Morris <rgm@gnu.org>
7613
7614 * emulation/cua-rect.el (cua--init-rectangles):
7615 * textmodes/picture.el (picture-mode-map):
7616 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
7617 like forward-char and backward-char. (Bug#12317)
7618
7619 2012-09-05 Leo Liu <sdl.web@gmail.com>
7620
7621 * progmodes/flymake.el (flymake-warning-re): New variable.
7622 (flymake-parse-line): Use it.
7623
7624 2012-09-05 Glenn Morris <rgm@gnu.org>
7625
7626 * calendar/holidays.el (holiday-christian-holidays):
7627 Rename an entry. (Bug#12289)
7628
7629 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7630
7631 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
7632 (bug#12222).
7633
7634 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7635
7636 * loadup.el: Load macroexp. Remove hack.
7637 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
7638 (macroexp--expand-all): Use it to get better warnings.
7639 (macroexp--backtrace, macroexp--trim-backtrace-frame)
7640 (internal-macroexpand-for-load): New functions.
7641 (macroexp--pending-eager-loads): New var.
7642 (emacs-startup-hook): New hack to replace one in loadup.el.
7643 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
7644 (cl--compiler-macro-cXXr): Move to top, before they can be used.
7645 (cl-psetf): Simplify.
7646 (cl-defstruct): Add indent rule.
7647
7648 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
7649
7650 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
7651 over `user-mail-address' for the SMTP MAIL FROM envelope.
7652 (smtpmail-via-smtp): Ditto.
7653
7654 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
7655
7656 * progmodes/ruby-mode.el: Clean up keybindings.
7657 (ruby-mode-map): Don't bind ruby-electric-brace,
7658 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
7659 backward-kill-word, reindent-then-newline-and-indent.
7660 (ruby-mark-defun): Remove.
7661 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
7662 (ruby-mode): Set local beginning-of-defun-function and
7663 end-of-defun-function values.
7664
7665 2012-09-03 Martin Rudalics <rudalics@gmx.at>
7666
7667 * window.el (temp-buffer-window-setup-hook)
7668 (temp-buffer-window-show-hook): New hooks.
7669 (temp-buffer-window-setup, temp-buffer-window-show)
7670 (with-temp-buffer-window): New functions.
7671 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
7672 (special-display-popup-frame): Make sure the window used shows BUFFER.
7673
7674 * help.el (temp-buffer-resize-mode): Fix doc-string.
7675 (resize-temp-buffer-window): New optional argument WINDOW.
7676
7677 * files.el (recover-file, save-buffers-kill-emacs):
7678 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
7679
7680 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
7681
7682 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
7683 remote definition of `default-directory', ensure we can connect.
7684
7685 2012-09-02 Juri Linkov <juri@jurta.org>
7686
7687 Toggle whitespace matching mode with M-s SPC.
7688 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
7689
7690 * isearch.el (search-whitespace-regexp): Doc fix.
7691 Remove cons cell customization.
7692 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
7693 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
7694 New variables.
7695 (isearch-forward, isearch-forward-regexp): Doc fix.
7696 (isearch-toggle-lax-whitespace): New command.
7697 (search-forward-lax-whitespace, search-backward-lax-whitespace)
7698 (re-search-forward-lax-whitespace)
7699 (re-search-backward-lax-whitespace): New functions.
7700 (isearch-whitespace-regexp): Remove function.
7701 (isearch-query-replace): Let-bind replace-search-function and
7702 replace-re-search-function.
7703 (isearch-occur): Let-bind search-spaces-regexp according to the
7704 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
7705 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
7706 condition for C-q SPC.
7707 (isearch-search-fun-default): Use new functions mentioned above.
7708 (isearch-search-forward, isearch-search-backward): Remove functions.
7709 (isearch-search): Don't let-bind search-spaces-regexp.
7710 (isearch-lazy-highlight-space-regexp): Remove variable.
7711 (isearch-lazy-highlight-lax-whitespace)
7712 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
7713 (isearch-lazy-highlight-new-loop): Use them.
7714 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
7715
7716 2012-09-02 Chong Yidong <cyd@gnu.org>
7717
7718 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
7719
7720 2012-09-02 Glenn Morris <rgm@gnu.org>
7721
7722 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
7723
7724 2012-09-01 Glenn Morris <rgm@gnu.org>
7725
7726 * term.el: Tidy up menu definitions.
7727 (term-mode-map): Use easymenu for In/Out, Complete menus.
7728 (term-pager-break-map): Initialize in the defvar.
7729 (term-terminal-menu, term-signals-menu): Define with easymenu.
7730 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
7731 (term-pager-menu): New, extracted from term-process-pager.
7732 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
7733 (term-update-mode-line): Propertize line/char and page items.
7734 (term-process-pager): Move keymap initialization elsewhere.
7735
7736 2012-09-01 Martin Rudalics <rudalics@gmx.at>
7737
7738 * window.el (switch-to-prev-buffer): Handle additional values of
7739 BURY-OR-KILL argument. Don't switch in minibuffer window.
7740 (switch-to-next-buffer): Don't switch in minibuffer window.
7741 (quit-restore-window): New function based on quit-window.
7742 Handle additional values of former KILL argument.
7743 (quit-window): Call quit-restore-window with appropriate
7744 interpretation of KILL argument.
7745 (display-buffer-below-selected): New buffer display action
7746 function.
7747
7748 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
7749
7750 * minibuffer.el (completion-at-point-functions): Complete docstring
7751 (bug#12254).
7752
7753 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
7754
7755 Better seed support for (random).
7756 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
7757 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
7758 * play/mpuz.el, play/tetris.el, play/zone.el:
7759 * calc/calc-comb.el (math-init-random-base):
7760 * play/blackbox.el (bb-init-board):
7761 * play/life.el (life):
7762 * server.el (server-use-tcp):
7763 * type-break.el (type-break):
7764 Remove unnecessary call to (random t).
7765 * net/sasl.el (sasl-unique-id-function):
7766 Change (random t) to (random), now that the latter is more random.
7767 * play/life.el (life-initialized): Remove no-longer-needed var.
7768
7769 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
7770
7771 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
7772 Consider frame's buffer predicate when choosing the buffer.
7773 (Bug#12081)
7774
7775 2012-08-30 Richard Stallman <rms@gnu.org>
7776
7777 * simple.el (special-mode-map): Delete binding for `z'.
7778
7779 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
7780
7781 * progmodes/compile.el (compilation-always-kill): Doc fix.
7782
7783 2012-08-30 Chong Yidong <cyd@gnu.org>
7784
7785 * window.el (display-buffer-reuse-frames): Make the obsolescence
7786 message more informative.
7787
7788 2012-08-30 Glenn Morris <rgm@gnu.org>
7789
7790 * paren.el (show-paren-delay):
7791 Add a :set function. Doc fix. (Bug#12297)
7792
7793 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
7794
7795 * progmodes/compile.el (compilation-always-kill): New var.
7796 (compilation-start): Use it.
7797
7798 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7799
7800 * simple.el (read-only-mode): Move from files.el for bootstrapping.
7801 * files.el (read-only-mode): Move to simple.el.
7802
7803 * files.el (read-only-mode): New minor mode.
7804 (toggle-read-only): Use it and mark obsolete.
7805 (find-file--read-only):
7806 * vc/vc.el (vc-next-action, vc-checkout):
7807 * vc/vc-cvs.el (vc-cvs-checkout):
7808 * obsolete/vc-mcvs.el (vc-mcvs-update):
7809 * ffap.el (ffap--toggle-read-only): Update callers.
7810
7811 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
7812
7813 * eshell/esh-ext.el (eshell-external-command): Do not examine
7814 remote shell scripts.
7815 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
7816
7817 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
7818 "/usr/local/sbin".
7819
7820 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7821
7822 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
7823
7824 2012-08-28 Leo Liu <sdl.web@gmail.com>
7825
7826 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
7827 completion-at-point. (Bug#12220)
7828
7829 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
7830
7831 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
7832
7833 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7834
7835 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
7836 be buffer-local; add delete-trailing-whitespace (bug#12259).
7837
7838 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
7839
7840 * progmodes/hideif.el (hif-compress-define-list):
7841 Fix typo. (Bug#11951)
7842
7843 2012-08-28 Dan Nicolaescu <dann@gnu.org>
7844
7845 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
7846 buffer local setting.
7847
7848 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
7849 rcirc-encode-coding-system.
7850
7851 2012-08-28 Leo Liu <sdl.web@gmail.com>
7852
7853 * net/rcirc.el (rcirc-split-message): New function.
7854 (rcirc-send-message): Use it. (Bug#12051)
7855
7856 2012-08-28 Juri Linkov <juri@jurta.org>
7857
7858 * info.el (Info-fontify-node): Hide empty lines at the end of
7859 the node. (Bug#12272)
7860
7861 2012-08-27 Drew Adams <drew.adams@oracle.com>
7862
7863 * dired.el (dired-pop-to-buffer): Make window start at beginning
7864 of buffer (Bug#12281).
7865
7866 2012-08-26 Chong Yidong <cyd@gnu.org>
7867
7868 * window.el (special-display-regexps, special-display-frame-alist)
7869 (special-display-buffer-names, special-display-function)
7870 (display-buffer-reuse-frames): Mark as obsolete.
7871
7872 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
7873
7874 * help.el (help-print-return-message): Don't treat
7875 display-buffer-reuse-frames specially.
7876
7877 2012-08-26 Chong Yidong <cyd@gnu.org>
7878
7879 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
7880 New variable, replacing gdb-frame-parameters.
7881 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
7882 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
7883 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
7884 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
7885 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
7886 the functions directly with gdb-display-buffer-other-frame-action.
7887 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
7888 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
7889 (gdb-display-stack-buffer, gdb-display-locals-buffer)
7890 (gdb-display-registers-buffer): Define directly.
7891 (def-gdb-display-buffer): Macro deleted.
7892 (gdb-display-buffer): Remove second and third args, callers don't
7893 use them. Defer to the default display-buffer behavior, apart
7894 from making windows dedicated.
7895 (gdb-setup-windows): Don't call display-buffer unnecessarily.
7896
7897 * progmodes/gud.el (gud-display-line): Just use display-buffer.
7898
7899 * window.el (display-buffer-pop-up-frame): Handle a
7900 pop-up-frame-parameters alist entry.
7901 (display-buffer): Document it.
7902
7903 2012-08-26 Chong Yidong <cyd@gnu.org>
7904
7905 * isearch.el (search-whitespace-regexp): Make string and nil
7906 values apply to both ordinary and regexp search. Allow a cons
7907 cell value to distinguish between the two.
7908 (isearch-whitespace-regexp, isearch-search-forward)
7909 (isearch-search-backward): New functions.
7910 (isearch-occur, isearch-search-fun-default, isearch-search)
7911 (isearch-lazy-highlight-new-loop): Use them.
7912 (isearch-forward, isearch-forward-regexp): Doc fix.
7913
7914 2012-08-26 Chong Yidong <cyd@gnu.org>
7915
7916 * faces.el (help-argument-name): Always inherit from italic
7917 (Bug#12213).
7918
7919 2012-08-25 Martin Rudalics <rudalics@gmx.at>
7920
7921 * window.el (window--even-window-heights): Even heights when
7922 WINDOW and the selected window form a vertical combination.
7923 (display-buffer-use-some-window): Provide that window used gets
7924 sized back by quit-window. (Bug#11880) and (Bug#12091)
7925
7926 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
7927
7928 Fix file time stamp problem with bzr and CVS (Bug#12001).
7929 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
7930 in the file's time stamp, since the version control system loses
7931 that information.
7932
7933 2012-08-22 Juri Linkov <juri@jurta.org>
7934
7935 * info.el (Info-fontify-node): Hide the suffix of the
7936 Info file name in the header line. (Bug#12187)
7937
7938 2012-08-22 Glenn Morris <rgm@gnu.org>
7939
7940 * calendar/cal-tex.el (cal-tex-weekly-common):
7941 Restore leading blank page.
7942
7943 2012-08-22 Le Wang <l26wang@gmail.com>
7944
7945 * misc.el (forward-to-word, backward-to-word): Activate or extend
7946 the region under `shift-select-mode'. (Bug#12231)
7947
7948 2012-08-22 Bastien Guerry <bzg@gnu.org>
7949
7950 * progmodes/executable.el (executable-prefix): Set to "#!" instead
7951 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
7952 gives details on why the space is never needed.
7953
7954 2012-08-22 Martin Rudalics <rudalics@gmx.at>
7955
7956 * window.el (walk-window-tree, window-with-parameter):
7957 New optional argument MINIBUF to control whether these functions
7958 should run on the minibuffer window.
7959 (window-at-side-list): Don't operate on minibuffer window.
7960 (window-in-direction): Simplify and rewrite doc-string.
7961 (window--size-ignore): Rename to window--size-ignore-p.
7962 Update callers.
7963 (display-buffer-in-atom-window, window--major-non-side-window)
7964 (window--major-side-window, display-buffer-in-major-side-window)
7965 (delete-side-window, display-buffer-in-side-window):
7966 New functions.
7967 (window--side-check, window-deletable-p, delete-window)
7968 (delete-other-windows, split-window): Handle side windows and
7969 atomic windows appropriately.
7970 (window--display-buffer): Call display-buffer-record-window also
7971 when the window buffer did not change.
7972
7973 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
7974
7975 * help-fns.el (help-fns--key-bindings):
7976 Abbreviate non-symbol remap targets. (Bug#12174)
7977
7978 2012-08-22 Martin Rudalics <rudalics@gmx.at>
7979
7980 * dired.el (dired-mark-remembered): Don't clobber point.
7981 (Bug#11795)
7982
7983 2012-08-22 Glenn Morris <rgm@gnu.org>
7984
7985 * progmodes/bug-reference.el (bug-reference): New custom group.
7986 (bug-reference-bug-regexp): Make it a defcustom.
7987
7988 2012-08-22 Daiki Ueno <ueno@unixuser.org>
7989
7990 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
7991 (js-paren-indent-offset, js-square-indent-offset)
7992 (js-curly-indent-offset): Add :safe (Bug#12257).
7993
7994 2012-08-22 Edward O'Connor <hober0@gmail.com>
7995
7996 * json.el (json-key-format): Add error properties.
7997 (json-encode-key): New function.
7998 (json-encode-hash-table, json-encode-alist, json-encode-plist):
7999 Use json-encode-key.
8000
8001 2012-08-22 Glenn Morris <rgm@gnu.org>
8002
8003 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
8004 (cal-tex-leftday, cal-tex-rightday): Remove functions.
8005 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
8006 Update for above change.
8007
8008 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
8009
8010 * cus-face.el (custom-face-attributes): Fix customize type for the
8011 :underline attribute. (Bug#11805)
8012
8013 2012-08-21 Martin Rudalics <rudalics@gmx.at>
8014
8015 * window.el (window-point-1, set-window-point-1): Remove.
8016 (window-in-direction, record-window-buffer)
8017 (set-window-buffer-start-and-point, split-window-below)
8018 (window--state-get-1, display-buffer-record-window):
8019 Replace calls to window-point-1 and set-window-point-1 by calls to
8020 window-point and set-window-point respectively.
8021
8022 2012-08-21 Glenn Morris <rgm@gnu.org>
8023
8024 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
8025 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
8026 Use it.
8027
8028 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
8029 (cal-tex-shortday): New function.
8030 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
8031 (cal-tex-cursor-filofax-daily): Use the above.
8032
8033 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
8034 New functions.
8035 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
8036 (cal-tex-cursor-filofax-week): Use them.
8037
8038 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
8039 New constants.
8040 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
8041 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
8042
8043 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
8044 (cal-tex-end-document): Don't rely on buffer name.
8045
8046 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
8047 Use cal-tex-vspace.
8048 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
8049 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
8050 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
8051 Use cal-tex-arg.
8052
8053 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
8054 (cal-tex-cursor-week, cal-tex-cursor-week2)
8055 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
8056 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
8057 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
8058 (cal-tex-insert-preamble, cal-tex-b-document)
8059 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
8060 Improve cal-tex-cmd usage.
8061
8062 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
8063 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
8064 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
8065 (cal-tex-weekly-paper): New function.
8066 (cal-tex-cursor-week, cal-tex-cursor-week2)
8067 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
8068 (cal-tex-cursor-day): Use it.
8069
8070 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
8071 (cal-tex-cursor-filofax-week): Remove leading blank page.
8072
8073 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
8074 Add autoload cookie. For now at least, don't use color, since
8075 no other cal-tex function does.
8076
8077 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
8078 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
8079 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
8080
8081 2012-08-21 Juri Linkov <juri@jurta.org>
8082
8083 * info.el (Info-file-attributes): New variable.
8084 (info-insert-file-contents): Add file attributes to
8085 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
8086 `Info-toc-nodes' when previous modtime of the Info file is less
8087 than new modtime.
8088 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
8089 of info.el. (Bug#12230)
8090
8091 2012-08-20 Glenn Morris <rgm@gnu.org>
8092
8093 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
8094 * calendar/holidays.el (calendar-holiday-list):
8095 Report errors with display-warning rather than beep'n'sleep.
8096
8097 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
8098
8099 * net/tramp.el (tramp-accept-process-output): Accept only output
8100 from PROC. Otherwise, process filters and sentinels might be
8101 confused. (Bug#12145)
8102
8103 2012-08-20 Chong Yidong <cyd@gnu.org>
8104
8105 * descr-text.el (describe-text-properties-1): Use overlays-in to
8106 report on empty overlays (Bug#3322).
8107
8108 2012-08-20 Glenn Morris <rgm@gnu.org>
8109
8110 * mail/rmailout.el (rmail-output-read-file-name):
8111 Trap and report errors in rmail-output-file-alist elements.
8112
8113 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
8114 since most non-font-lock faces are not also variables).
8115
8116 2012-08-20 Edward Reingold <reingold@iit.edu>
8117
8118 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
8119 New function. (Bug12160)
8120
8121 2012-08-19 Glenn Morris <rgm@gnu.org>
8122
8123 * mail/rmailout.el (rmail-output-read-file-name):
8124 Fix previous change (when the alist is nil or does not match).
8125
8126 2012-08-19 Chong Yidong <cyd@gnu.org>
8127
8128 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
8129 (Bug#12228).
8130
8131 2012-08-18 Chong Yidong <cyd@gnu.org>
8132
8133 * simple.el (yank-handled-properties): New defcustom.
8134 (yank-excluded-properties): Add font-lock-face and category.
8135 (yank): Doc fix.
8136
8137 * subr.el (remove-yank-excluded-properties):
8138 Obey yank-handled-properties. The special handling of font-lock-face
8139 and category is now done this way, instead of being hard-coded.
8140 (insert-for-yank-1): Remove font-lock-face handling.
8141 (yank-handle-font-lock-face-property)
8142 (yank-handle-category-property): New function.
8143
8144 2012-08-17 Glenn Morris <rgm@gnu.org>
8145
8146 * mail/rmailout.el (rmail-output-read-file-name):
8147 Check rmail-output-file-alist against the full message body
8148 in the correct rmail buffer. (Bug#12214)
8149
8150 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
8151
8152 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
8153 Eliminate superfluous prompt. (Bug#12203)
8154
8155 2012-08-17 Chong Yidong <cyd@gnu.org>
8156
8157 * mouse.el (mouse-appearance-menu): If x-select-font returns a
8158 font spec, set the font directly (Bug#3228).
8159
8160 2012-08-17 Martin Rudalics <rudalics@gmx.at>
8161
8162 * window.el (delete-window): Fix last fix.
8163
8164 2012-08-16 Martin Rudalics <rudalics@gmx.at>
8165
8166 * window.el (window-valid-p): Move to window.c.
8167 (window-child, window-child-count, window-last-child)
8168 (window-normalize-window, window-combined-p)
8169 (window-combinations, window-atom-root, window-min-size)
8170 (window-sizable, window-sizable-p, window-size-fixed-p)
8171 (window-min-delta, window-max-delta, window--resizable)
8172 (window--resizable-p, window-resizable, window-total-size)
8173 (window-full-height-p, window-full-width-p, window-body-size)
8174 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
8175 (minimize-window, window-deletable-p, delete-window)
8176 (delete-other-windows, set-window-buffer-start-and-point)
8177 (next-buffer, previous-buffer, split-window, balance-windows-2)
8178 (set-window-text-height, window-buffer-height)
8179 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
8180 (truncated-partial-width-window-p): Minor code adjustments.
8181 In doc-strings state whether the argument window has to denote a
8182 live, valid or any window.
8183
8184 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
8185
8186 * progmodes/subword.el (subword-forward-function)
8187 (subword-backward-function, subword-forward-regexp)
8188 (subword-backward-regexp): New variables.
8189 (subword-forward, subword-forward-internal, subword-backward-internal):
8190 Use new variables, eg so that different "word" definitions
8191 can be easily used. (Bug#11411)
8192
8193 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8194
8195 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
8196 for composite selectors.
8197 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
8198 operation just because we can't find a previous revision.
8199
8200 2012-08-15 Chong Yidong <cyd@gnu.org>
8201
8202 * frame.el (set-frame-font): Accept font objects.
8203
8204 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8205
8206 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
8207
8208 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
8209
8210 * man.el (Man-overstrike-face, Man-underline-face)
8211 (Man-reverse-face): Remove variables.
8212 (Man-overstrike, Man-underline, Man-reverse): New faces.
8213 (Man-fontify-manpage): Use them instead of the variables.
8214 (Man-cleanup-manpage): Comment change.
8215 (Man-ansi-color-map): New variable.
8216 (Man-fontify-manpage): Use it.
8217 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
8218
8219 Implement ANSI SGR parameters 22-27 (bug#12146).
8220 * ansi-color.el (ansi-colors): Doc fix.
8221 (ansi-color-context, ansi-color-context-region): Doc fix.
8222 (ansi-color--find-face): New function.
8223 (ansi-color-apply, ansi-color-apply-on-region): Use it.
8224 Rename the local variable `face' to `codes' since it is now a list of
8225 ansi codes. Doc fix.
8226 (ansi-color-get-face): Remove.
8227 (ansi-color-parse-sequence): New function, derived from
8228 ansi-color-get-face.
8229 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
8230 codes 22-27.
8231
8232 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
8233
8234 * subr.el (read-passwd): Allow use from a minibuffer.
8235
8236 2012-08-14 Eli Zaretskii <eliz@gnu.org>
8237
8238 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
8239 inside comments and strings as identifiers.
8240
8241 * progmodes/gud.el (gud-tooltip-print-command): Quote the
8242 expression to evaluate. This allows to evaluate expressions with
8243 embedded whitespace.
8244 (gud-tooltip-tips): Add a blank before the newline in the
8245 message-box text, for the benefit of message-box emulation on
8246 MS-Windows.
8247
8248 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
8249 messages from GDB, pop them up in a tooltip to give feedback to
8250 user.
8251 (gdb-tooltip-print-1): Quote the expression to evaluate.
8252 This allows to evaluate expressions with embedded whitespace.
8253 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
8254 if the TTY name is nil or empty (which happens when communicating
8255 with the inferior via pipes, e.g. on MS-Windows).
8256 (gdb-internals): If GDB sends a "&\n" empty debugging message,
8257 don't send that to the GUD buffer.
8258
8259 2012-08-14 Glenn Morris <rgm@gnu.org>
8260
8261 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
8262 Optimize away setq-default with no args, as for setq. (Bug#12195)
8263
8264 2012-08-14 Chong Yidong <cyd@gnu.org>
8265
8266 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
8267
8268 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
8269 (Bug#12085).
8270
8271 2012-08-14 Glenn Morris <rgm@gnu.org>
8272
8273 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
8274
8275 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
8276
8277 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
8278 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8279 Use cached shell name.
8280
8281 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
8282
8283 * progmodes/python.el (python-shell-send-string):
8284 (python-shell-send-setup-code): Do not use `format' with `message'.
8285
8286 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
8287
8288 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
8289 (ruby-percent-literal-beg-re): New constant.
8290 (ruby-syntax-general-delimiters-goto-beg): Rename to
8291 `ruby-syntax-enclosing-percent-literal', improve literal type check.
8292 (ruby-syntax-propertize-general-delimiters): Rename to
8293 `ruby-syntax-propertize-percent-literal', it's a shorter and more
8294 popular term. Adjust comments everywhere.
8295 (ruby-syntax-propertize-percent-literal): Only propertize when not
8296 inside a simple string or comment. When the literal is unclosed,
8297 leave the text after it unpropertized.
8298 (ruby-syntax-methods-before-regexp): New constant.
8299 (ruby-syntax-propertize-function): Use it to recognize regexps.
8300 Don't look at the text after regexp, just use the whitelist.
8301
8302 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
8303
8304 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
8305 non-nil always load the compiled file if it exists. (Bug#12197)
8306
8307 2012-08-14 Chong Yidong <cyd@gnu.org>
8308
8309 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
8310 (hi-lock-set-pattern): When deciding whether to use font lock or
8311 overlays, look at font-lock-mode instead of font-lock-fontified
8312 (Bug#12168).
8313 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
8314 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
8315
8316 2012-08-14 Daiki Ueno <ueno@unixuser.org>
8317
8318 * subr.el (internal--after-with-selected-window): Fix typo
8319 (Bug#12193).
8320
8321 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
8322
8323 Use `completion-table-dynamic' for completion functions.
8324 * progmodes/python.el
8325 (python-shell-completion--do-completion-at-point)
8326 (python-shell-completion--get-completions):
8327 Remove functions.
8328 (python-shell-completion-complete-at-point): New function.
8329 (python-completion-complete-at-point): Use it.
8330
8331 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
8332
8333 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
8334 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
8335
8336 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
8337
8338 * subr.el (function-get): Refine `autoload' arg so it can also
8339 autoload functions for gv.el (bug#12191).
8340 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
8341 autoloads macros.
8342
8343 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
8344 Prefer pcase-let over destructuring-bind.
8345 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
8346 Also, remove whitespace as we go, rather than after accumulating the
8347 various places.
8348
8349 * subr.el (internal--before-with-selected-window)
8350 (internal--after-with-selected-window): Fix typo seleted->selected.
8351 (with-selected-window): Adjust callers.
8352 Reported by Dmitry Gutov <dgutov@yandex.ru>.
8353
8354 2012-08-13 Bastien Guerry <bzg@gnu.org>
8355
8356 * window.el (special-display-popup-frame): Minor docstring
8357 enhancement. (Bug#12172)
8358
8359 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
8360
8361 * tar-mode.el (tar-header-data-end): Only ignore size for files of
8362 type 1-6.
8363 (tar-header-block-summarize, tar-get-descriptor): Handle pax
8364 extended headers.
8365
8366 * files.el (hack-local-variables-filter): Remove useless eval.
8367
8368 2012-08-13 Martin Rudalics <rudalics@gmx.at>
8369
8370 * subr.el (with-selected-window): Fix last change.
8371
8372 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8373
8374 * subr.el (internal--before-with-seleted-window)
8375 (internal--after-with-seleted-window): New functions.
8376 (with-selected-window): Use them, to replace dependency on
8377 tty-top-frame.
8378
8379 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
8380
8381 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
8382 binding for `newline'.
8383 (ruby-move-to-block): When moving backward, stop at block opening,
8384 not indentation.
8385 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
8386 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
8387 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
8388 `ruby-toggle-block'.
8389
8390 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8391
8392 * ibuffer.el (ibuffer-do-toggle-read-only):
8393 * dired.el (dired-toggle-read-only):
8394 * buff-menu.el (Buffer-menu-toggle-read-only):
8395 * bindings.el (mode-line-toggle-read-only):
8396 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
8397
8398 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
8399
8400 * descr-text.el (describe-char): Put the overlays over the
8401 "displayed as" character.
8402
8403 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
8404
8405 * calc/calc-units.el (math-default-units-table): Give an
8406 initial value.
8407 (math-put-default-units): Add options to put composite units and
8408 unit systems in the default units table.
8409 (calc-convert-units): Send composite units to
8410 `math-put-default-units' when appropriate.
8411
8412 2012-08-11 Glenn Morris <rgm@gnu.org>
8413
8414 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
8415
8416 * tutorial.el (help-with-tutorial):
8417 * emacs-lisp/copyright.el (copyright-update-directory):
8418 * emacs-lisp/autoload.el (autoload-find-generated-file)
8419 (autoload-find-file): Disable local eval: (for insurance).
8420
8421 * files.el (hack-local-variables-filter): If an eval: form is not
8422 known to be safe, and enable-local-variables is :safe, then ignore
8423 the form totally, as is done for non-eval forms. (Bug#12155)
8424 This is CVE-2012-3479.
8425
8426 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8427
8428 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
8429 (rx-form): Simplify.
8430
8431 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
8432
8433 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
8434 ?, _, and : are symbol constituents, ! is not (but kinda should be).
8435 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
8436 (ruby-syntax-propertize-function): Adjust for changes in
8437 `ruby-syntax-propertize-heredoc'.
8438
8439 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
8440
8441 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
8442 binding (use `M-;' instead).
8443 (ruby-singleton-class-p): New function.
8444 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
8445
8446 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8447
8448 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
8449
8450 2012-08-10 Chong Yidong <cyd@gnu.org>
8451
8452 * progmodes/python.el (python-shell-get-process-name): Don't mess
8453 with same-window-buffer-names.
8454
8455 * eshell/eshell.el (eshell-add-to-window-buffer-names)
8456 (eshell-remove-from-window-buffer-names): Make obsolete.
8457 (eshell-buffer-name, eshell-unload-hook): Don't use them.
8458 (eshell): Just use pop-to-buffer-same-window instead.
8459
8460 2012-08-10 Chong Yidong <cyd@gnu.org>
8461
8462 * bindings.el: Bind M-= back to count-words-region.
8463
8464 * simple.el (count-words-region): Accept a prefix arg for acting
8465 on the entire buffer.
8466 (count-words--buffer-message): New helper function.
8467
8468 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8469
8470 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
8471 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
8472 (event-start, event-end): Use posn-at-point to return a more
8473 informative posn.
8474 (posnp): New function.
8475 * mouse.el (popup-menu-normalize-position): Use it.
8476
8477 2012-08-10 Masatake YAMATO <yamato@redhat.com>
8478
8479 * mouse.el (popup-menu-normalize-position): New function.
8480 (popup-menu): Use `popup-menu-normalize-position' to normalize
8481 the form for POSITION argument.
8482
8483 * term/x-win.el (x-menu-bar-open):
8484 Use the value returend from (posn-at-point) as position
8485 passed to `popup-menu'.
8486
8487 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
8488
8489 * calc/calccomp.el (math-compose-expr): Add extra argument
8490 indicating that parentheses should be put around products in
8491 denominators. Give multiplication precedence over division during
8492 composition.
8493
8494 2012-08-09 Chong Yidong <cyd@gnu.org>
8495
8496 * man.el (Man-switches, Man-sed-command, Man-awk-command)
8497 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
8498 (Man-untabify-command, manual-program): Convert to defcustom
8499 (Bug#10429).
8500
8501 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
8502
8503 * descr-text.el (describe-char): Don't insert extra newlines
8504 (Bug#10127).
8505
8506 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
8507 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
8508
8509 * align.el (align-region): Delete temporary markers (Bug#10047).
8510 Plus some code cleanups.
8511
8512 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
8513
8514 * progmodes/python.el (python-pdbtrack-tracked-buffer)
8515 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
8516 (python-shell-internal-last-output): Use make-local-variable
8517 instead of make-variable-buffer-local.
8518
8519 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
8520
8521 * progmodes/python.el: Enhancements to forward-sexp.
8522 (python-nav-forward-sexp): Rename from
8523 python-nav-forward-sexp-function.
8524 (python-nav--forward-sexp, python-nav--backward-sexp):
8525 New functions.
8526
8527 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
8528
8529 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
8530 modes and simplification modes.
8531
8532 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
8533
8534 * delsel.el (delete-selection-pre-hook): Don't propagate the
8535 file-supersession signals (bug#12161).
8536
8537 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8538
8539 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
8540 (cl-map-extents): Add compatibility aliases (bug#12135).
8541
8542 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
8543
8544 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
8545 tests by `ignore-error'.
8546 (tramp-find-shell): Open also a new shell, when cache is already
8547 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
8548
8549 2012-08-08 Juri Linkov <juri@jurta.org>
8550
8551 * bookmark.el: Add `defaults' property to the bookmark record.
8552 (bookmark-current-buffer): Doc fix.
8553 (bookmark-make-record): Add `defaults' property with default values
8554 to the bookmark record.
8555 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
8556 with `bookmark-insert-current-bookmark'.
8557 (bookmark-set): Get `defaults' property from the bookmark record
8558 and use it in `read-from-minibuffer'.
8559 (bookmark-insert-current-bookmark): Remove function.
8560
8561 * info.el (Info-bookmark-make-record): Add `defaults' property
8562 with values of canonical Info node name, the current Info file
8563 name and the current Info node name. (Bug#12107)
8564
8565 2012-08-08 Juri Linkov <juri@jurta.org>
8566
8567 * files.el (basic-save-buffer): Use `buffer-name' as the default
8568 of `read-file-name' when buffer is not visiting a file (bug#12128).
8569
8570 2012-08-08 Juri Linkov <juri@jurta.org>
8571
8572 * info.el (Info-isearch-search): Doc fix.
8573 (Info-search): Change search-failed message from "initial node" to
8574 "end of node" (bug#12078).
8575 (Info-isearch-search): Change `isearch-string-state' to
8576 `isearch--state-string'.
8577
8578 2012-08-08 Glenn Morris <rgm@gnu.org>
8579
8580 * language/persian.el: Remove file.
8581 * language/misc-lang.el: Move unique part of persian.el here.
8582 * loadup.el: Remove language/persian.
8583
8584 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
8585
8586 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
8587
8588 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
8589
8590 * progmodes/python.el: Fix defsubst warning.
8591 (python-syntax-context) Rename from python-info-ppss-context.
8592 (python-syntax-context-type): Rename from
8593 python-info-ppss-context-type.
8594 (python-syntax-comment-or-string-p): Rename from
8595 python-info-ppss-comment-or-string-p.
8596
8597 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
8598
8599 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
8600
8601 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
8602
8603 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
8604 a defcustom that is quoted with backquote.
8605
8606 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
8607 Fix handling of interactive spec when the body uses return.
8608 (math-do-arg-check, math-define-function-body): Use backquote forms.
8609 * calc/calc-ext.el (math-defcache): Likewise.
8610 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
8611 * allout.el (allout-new-exposure): Likewise.
8612 * calc/calcalg2.el (math-tracing-integral): Likewise.
8613 * info.el (Info-last-menu-item): Likewise.
8614 * emulation/vip.el (vip-loop): Likewise.
8615 * textmodes/artist.el (artist-funcall): Likewise.
8616 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
8617 Construct menu-item directly.
8618
8619 * progmodes/autoconf.el (font-lock-syntactic-keywords):
8620 Don't declare.
8621
8622 2012-08-07 Chong Yidong <cyd@gnu.org>
8623
8624 * simple.el (deactivate-mark): Preserve text properties when
8625 saving the primary selection (Bug#8384).
8626
8627 2012-08-07 Kevin Ryde <user42@zip.com.au>
8628
8629 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
8630 (woman-parse-numeric-value): On a bad .IP line, issue a warning
8631 and continue processing (Bug#12110).
8632
8633 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
8634
8635 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
8636 syntax-propertize-function (bug#10095).
8637
8638 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
8639
8640 * help-fns.el (help-fns--key-bindings, help-fns--signature)
8641 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
8642 describe-function-1.
8643 (describe-function-1): Use them. Move compiler macro after sig.
8644 (help-fns--compiler-macro): Use function-get. Assume we're already in
8645 standard-output. Adjust layout to new call order.
8646
8647 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
8648 re-binding a symbol that has a symbol-macro (bug#12119).
8649
8650 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
8651
8652 * language/persian.el: New file. (Bug#11812)
8653 * loadup.el: Add language/persian.el.
8654
8655 2012-08-06 Chong Yidong <cyd@gnu.org>
8656
8657 * window.el (window--maybe-raise-frame): New function.
8658 (window--display-buffer): Split off from here.
8659 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8660 (display-buffer-pop-up-window, display-buffer-use-some-window):
8661 Obey an inhibit-switch-frame action alist entry.
8662 (display-buffer): Update doc.
8663
8664 * replace.el (occur-after-change-function): Avoid losing focus by
8665 using the inhibit-switch-frame display parameter (Bug#12139).
8666
8667 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
8668
8669 Make internal shell process buffer names start with space.
8670 * progmodes/python.el (python-shell-make-comint): Add optional
8671 argument INTERNAL.
8672 (run-python-internal): Use it.
8673 (python-shell-internal-get-or-create-process): Check for new
8674 internal buffer names.
8675
8676 2012-08-06 Glenn Morris <rgm@gnu.org>
8677
8678 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
8679 Do less getting and setting of environment variables.
8680
8681 2012-08-05 Chong Yidong <cyd@gnu.org>
8682
8683 * proced.el (proced): Add substitution string to docstring to
8684 trigger autoloading of the proced library on C-h f (Bug#1768).
8685
8686 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
8687 Don't show defvars which have no second argument (Bug#8638).
8688
8689 * imenu.el (imenu-generic-expression): Move documentation here
8690 from imenu--generic-function.
8691 (imenu--generic-function): Refer to imenu-generic-expression.
8692
8693 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
8694
8695 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
8696 indentation declaration.
8697 (viper-loop): Add indentation declaration (Bug#7025).
8698
8699 2012-08-05 Chong Yidong <cyd@gnu.org>
8700
8701 * help-fns.el (describe-variable): Add hyperlink for
8702 directory-local variables files. Improve buffer-local and
8703 permanent-local reporting; suggested by MON KEY (Bug#6644).
8704
8705 * help-mode.el (help-dir-local-var-def): New button type.
8706
8707 * files.el (kill-buffer-hook): Provide a defvar.
8708
8709 2012-08-05 Glenn Morris <rgm@gnu.org>
8710
8711 * eshell/esh-ext.el (eshell/addpath):
8712 Also update eshell-path-env. (Bug#12013)
8713
8714 2012-08-05 Chong Yidong <cyd@gnu.org>
8715
8716 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
8717
8718 * fringe.el (fringe-styles): Add docstring.
8719 (fringe--check-mode): New function.
8720 (set-fringe-mode, set-fringe-style): Use it.
8721 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
8722
8723 * files.el (set-auto-mode): Fix invalid setq call.
8724
8725 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8726
8727 * isearch.el: Misc simplification; use defstruct.
8728 (isearch-mode-map): Dense maps now work like sparse ones.
8729 (isearch--state): New defstruct.
8730 (isearch-string-state, isearch-message-state, isearch-point-state)
8731 (isearch-success-state, isearch-forward-state)
8732 (isearch-other-end-state, isearch-word-state, isearch-error-state)
8733 (isearch-wrapped-state, isearch-barrier-state)
8734 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
8735 replaced by defstruct's accessors.
8736 (isearch--set-state): Rename from isearch-top-state and change
8737 calling convention.
8738 (isearch-push-state): Use new isearch--get-state.
8739 (isearch-toggle-word): Disable regexp when enabling word.
8740 (isearch-message-prefix): Remove unused arg _c-q-hack.
8741 (isearch-message-suffix): Remove unused arg _ellipsis.
8742
8743 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
8744
8745 * simple.el (list-processes--refresh): For a server use :host or
8746 :local as the address.
8747 (list-processes): Doc fix.
8748
8749 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
8750
8751 * lisp/mpc.el: Support password in host argument.
8752 (mpc--proc-connect): Parse and use new password element.
8753 Set mpc-proc variable instead of returning process.
8754 (mpc-proc): Adjust accordingly.
8755
8756 2012-08-03 Eli Zaretskii <eliz@gnu.org>
8757
8758 * whitespace.el (whitespace-display-mappings): Use Unicode
8759 codepoints, instead of emacs-mule codepoints. See
8760 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
8761 for the details.
8762
8763 * files.el (file-truename): Don't skip symlink-chasing part on
8764 windows-nt. Incorporate the resolution of 8+3 short aliases on
8765 Windows into the loop that recursively chases symlinks.
8766 Compare directory and its parent case-insensitively on MS-Windows and
8767 MS-DOS.
8768
8769 2012-08-03 Chong Yidong <cyd@gnu.org>
8770
8771 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
8772
8773 * sort.el (sort-regexp-fields): Doc fix.
8774
8775 2012-08-03 Tassilo Horn <tsdh@gnu.org>
8776
8777 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
8778 labels regex position point at the expected place.
8779
8780 2012-08-03 MON KEY <monkey@sandpframing.com>
8781
8782 * net/imap.el (imap-interactive-login, imap-authenticate)
8783 (imap-mailbox-lsub, imap-mailbox-list)
8784 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
8785 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
8786 (imap-parse-response): Doc fix.
8787
8788 2012-08-03 João Távora <joaotavora@gmail.com>
8789
8790 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
8791 if sexp scanning does not move point (Bug#5734).
8792
8793 2012-08-02 Tassilo Horn <tsdh@gnu.org>
8794
8795 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
8796 Add listings, minted, and ctable packages.
8797 (reftex-label-alist-builtin): Move listings, minted, and ctable
8798 entries before LaTeX.
8799 (reftex-label-alist): Docfix.
8800
8801 2012-08-02 Bastien Guerry <bzg@gnu.org>
8802
8803 * replace.el (occur): Fix docstring (bug#12122).
8804
8805 2012-08-02 Glenn Morris <rgm@gnu.org>
8806
8807 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
8808
8809 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
8810
8811 Obsolete alias inactivate-current-input-method-function (Bug#10150).
8812 * international/mule-cmds.el: Create
8813 inactivate-current-input-method-function as an obsolete alias for
8814 deactivate-current-input-method-function. See Katsumi Yamaoka in
8815 <http://bugs.gnu.org/10150#46>.
8816
8817 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
8818
8819 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
8820 of nested `if's.
8821
8822 2012-08-01 Glenn Morris <rgm@gnu.org>
8823
8824 * progmodes/autoconf.el (autoconf-definition-regexp):
8825 Add AH_TEMPLATE, adjust submatch numbering.
8826 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
8827 (autoconf-current-defun-function): Update for above change.
8828 (autoconf-current-defun-function): First skip to end of current word.
8829
8830 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
8831
8832 * calendar/cal-html.el (cal-html-insert-agenda-days):
8833 Fix typo. (Bug#12018)
8834
8835 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
8836
8837 Shell processes: enhancements to startup and CEDET compatibility.
8838 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
8839 (python-shell-make-comint): accept-process-output at startup.
8840 (run-python-internal): Set inferior-python-mode-hook to nil.
8841 (python-shell-internal-get-or-create-process): call sit-for.
8842 (python-preoutput-result): Add obsolete alias.
8843 (python-shell-internal-send-string): Use it.
8844 (python-shell-send-setup-code): Remove call to
8845 accept-process-output.
8846
8847 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
8848
8849 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
8850 (Bug#12108)
8851
8852 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
8853
8854 * calc-mode.el (calc-basic-simplification-mode): Rename from
8855 `calc-limited-simplification-mode'.
8856 (calc-alg-simplification-mode): New function.
8857 (calc-set-simplify-mode): Adjust message.
8858
8859 * calc.el (calc-set-mode-line): Adjust mode line display for
8860 basic simplification mode.
8861
8862 * calc-help.el (calc-m-prefix-help): Update help message.
8863
8864 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
8865 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
8866
8867 2012-07-31 Bastien Guerry <bzg@gnu.org>
8868
8869 * man.el (man): Fix comment. (bug#12101)
8870
8871 2012-07-31 Martin Rudalics <rudalics@gmx.at>
8872
8873 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
8874 Don't return a non-nil value when no suitable buffer was found.
8875
8876 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
8877
8878 * progmodes/python.el (run-python-internal): Disable font lock for
8879 internal shells.
8880
8881 2012-07-30 Stefan Merten <smerten@oekonux.de>
8882
8883 * textmodes/rst.el: Silence `checkdoc-ispell'.
8884 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
8885 (rst-official-version, rst-official-cvs-rev)
8886 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
8887 (rst-mode-map): New key binding.
8888
8889 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
8890
8891 Update .PHONY listings in makefiles.
8892 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
8893 autoloads, update-subdirs, updates, bzr-update, update-authors,
8894 compile-onefile, compile-calc, backup-compiled-files,
8895 compile-after-backup, compile-one-process, mh-autoloads,
8896 bootstrap-clean, distclean, maintainer-clean.
8897
8898 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
8899
8900 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
8901 (calc-set-mode-line): Don't display "AlgSimp ".
8902
8903 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
8904 (calc-lim-simplify-mode): New function.
8905 (calc-set-simplify-mode): Default to 'alg.
8906 (calc-default-simplify-mode): Make algebraic simplifications
8907 the default.
8908
8909 * calc/calc-ext.el (calc-init-extensions): Remove binding for
8910 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
8911
8912 * calc/calc-help.el (calc-m-prefix-help): Change messages to
8913 indicate new simplification modes.
8914
8915 * calc/README: Mention new default simplification mode.
8916
8917 * calc/calc.el (math-normalize-error): New variable.
8918 (math-normalize): Set `math-normalize-error' to t
8919 when there's an error.
8920
8921 * calc/calc-alg.el (math-simplify): Don't simplify when
8922 `math-normalize' returns an error.
8923
8924 2012-07-29 Eli Zaretskii <eliz@gnu.org>
8925
8926 * international/mule-cmds.el (set-locale-environment): Revert last
8927 change, since display-graphic-p returns nil when this function is
8928 called during startup. Instead...
8929
8930 * term/w32console.el (terminal-init-w32console): ...setup the
8931 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
8932
8933 2012-07-29 Juri Linkov <juri@jurta.org>
8934
8935 * simple.el (goto-line): Don't display default line number in the
8936 prompt because it should be displayed by `read-number' (bug#9952).
8937 Add the current line number to the defaults of `goto-line' to
8938 allow its easier modification by users with `M-n' (bug#9201).
8939
8940 * subr.el (read-number): Support multiple default values like in
8941 other minibuffer reading functions. Replace `read' with
8942 `string-to-number' for consistency with `number-to-string'.
8943
8944 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
8945
8946 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
8947 * emulation/viper-init.el (viper-deactivate-input-method-action):
8948 Rename from viper-inactivate-input-method-action.
8949 (viper-deactivate-input-method):
8950 Rename from viper-inactivate-input-method.
8951 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
8952 * international/mule-cmds.el (deactivate-input-method):
8953 Rename from inactivate-input-method.
8954 Also run input-method-deactivate-hook.
8955 (deactivate-current-input-method-function):
8956 Rename from inactivate-current-input-method-function.
8957 (input-method-deactivate-hook): New hook.
8958 (input-method-inactivate-hook): Mark obsolete.
8959 (inactivate-input-method): Mark obsolete.
8960
8961 * international/quail.el (quail-activate):
8962 Also run quail-deactivate-hook.
8963 (quail-deactivate): Rename from quail-inactivate.
8964 * international/robin.el (robin-activate):
8965 Also run robin-deactivate-hook.
8966 (robin-deactivate): Rename from robin-inactivate.
8967
8968 2012-07-29 Chong Yidong <cyd@gnu.org>
8969
8970 * simple.el (indicate-copied-region): New function.
8971 (kill-ring-save): Split off from here.
8972
8973 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
8974 (kill-rectangle): Set deactivate-mark to t on read-only error.
8975
8976 * register.el (copy-to-register, copy-rectangle-to-register):
8977 Deactivate the mark, and use indicate-copied-region (Bug#10056).
8978 (append-to-register, prepend-to-register): Call indicate-copied-region.
8979
8980 2012-07-29 Juri Linkov <juri@jurta.org>
8981
8982 * simple.el (async-shell-command-buffer): New defcustom.
8983 (shell-command): Use it. (Bug#4719)
8984
8985 2012-07-28 Eli Zaretskii <eliz@gnu.org>
8986
8987 * international/mule-cmds.el (set-locale-environment): In a
8988 console session on MS-Windows, set up keyboard and terminal
8989 encoding from the OEM codepage, not the ANSI codepage.
8990 (Bug#12055)
8991
8992 2012-07-28 Chong Yidong <cyd@gnu.org>
8993
8994 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
8995 gdb-get-location.
8996
8997 2012-07-28 Leo Liu <sdl.web@gmail.com>
8998
8999 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
9000 the alist (bug#12029).
9001
9002 2012-07-28 Eli Zaretskii <eliz@gnu.org>
9003
9004 * makefile.w32-in (custom-deps, finder-data, updates, compile)
9005 (compile-always, compile-first)
9006 ($(lisp)/calendar/cal-loaddefs.el)
9007 ($(lisp)/calendar/diary-loaddefs.el)
9008 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
9009 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
9010 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
9011 instead of on update-subdirs.
9012 (bootstrap-clean): Delete $(lisp)/subdirs.el.
9013
9014 2012-07-28 Chong Yidong <cyd@gnu.org>
9015
9016 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
9017 directory if vc-deduce-backend returns nil (Bug#7350).
9018
9019 * simple.el (delete-trailing-lines): New option.
9020 (delete-trailing-whitespace): Obey it (Bug#11879).
9021
9022 2012-07-28 David Engster <deng@randomsample.de>
9023
9024 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
9025 Explanation of new 'symbol-qnames feature in doc-strings.
9026 (xml-maybe-do-ns): Return expanded names as plain symbols if
9027 'symbol-qnames was provided in XML-NS argument (Bug#11916).
9028 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
9029
9030 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
9031
9032 Consistent completion in inferior python with emacs -nw.
9033 * progmodes/python.el (inferior-python-mode): replace "<tab>"
9034 binding in inferior-python-mode-map with "\t".
9035 (python-shell-completion-complete-at-point)
9036 (python-completion-complete-at-point): Remove interactive spec.
9037
9038 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
9039
9040 * calc/calccomp.el (math-compose-expr): Undo previous change.
9041
9042 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
9043
9044 * progmodes/python.el (python-mode-map): Add keybinding for
9045 run-python.
9046 (python-shell-make-comint): Fix pop-to-buffer call.
9047 (run-python): Autoload. New arg SHOW.
9048 (python-shell-get-or-create-process): Do not pop python process
9049 buffer.
9050
9051 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
9052
9053 * notifications.el (notifications-on-action-signal)
9054 (notifications-on-closed-signal): Use also the bus address for the map.
9055 (notifications-notify, notifications-close-notification)
9056 (notifications-get-capabilities): Add optional argument BUS.
9057
9058 2012-07-27 Tassilo Horn <tsdh@gnu.org>
9059
9060 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
9061 Add support for the lstlisting and minted environments, and for the
9062 ctable macro.
9063 * textmodes/reftex.el (reftex-compile-variables): Also recognize
9064 labels written in keyvals syntax.
9065
9066 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
9067
9068 * calc/calccomp.el (math-compose-expr): Use parentheses when
9069 there is a product in the denominator of a fraction.
9070
9071 2012-07-26 Eli Zaretskii <eliz@gnu.org>
9072
9073 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
9074 ($(lisp)/calendar/diary-loaddefs.el)
9075 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
9076 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
9077 Fixes failures in parallel bootstrap because subdirs.el is being
9078 rewritten while the autoload files are built at the same time,
9079 which needs to load subdirs.el.
9080
9081 2012-07-26 Martin Rudalics <rudalics@gmx.at>
9082
9083 * mouse.el (popup-menu): Fix doc-string and re-indent code.
9084 (mouse-drag-line): Don't exit tracking when a switch-frame or
9085 switch-window event occurs (Bug#12006).
9086
9087 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9088
9089 * mouse.el (popup-menu): Fix last change.
9090
9091 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9092
9093 Autoload from Lisp with more care. Follow aliases when looking for
9094 function properties.
9095 * subr.el (autoloadp): New function.
9096 (symbol-file): Use it.
9097 (function-get): New function.
9098 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
9099 autoload-do-load.
9100 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
9101 (lisp-indent-function):
9102 * emacs-lisp/gv.el (gv-get):
9103 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
9104 * emacs-lisp/byte-opt.el (byte-optimize-form):
9105 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
9106 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
9107 Use function-get.
9108 * emacs-lisp/cl.el: Don't propagate function properties any more.
9109
9110 * speedbar.el (speedbar-add-localized-speedbar-support):
9111 * emacs-lisp/disass.el (disassemble-internal):
9112 * desktop.el (desktop-load-file):
9113 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
9114 (describe-function-1):
9115 * emacs-lisp/find-func.el (find-function-noselect):
9116 * emacs-lisp/elp.el (elp-instrument-function):
9117 * emacs-lisp/advice.el (ad-has-proper-definition):
9118 * apropos.el (apropos-safe-documentation, apropos-macrop):
9119 * emacs-lisp/debug.el (debug-on-entry):
9120 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
9121 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
9122 * calc/calc.el (name): Use autoloadp & autoload-do-load.
9123
9124 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
9125
9126 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
9127 function, not an obsolete variable (Bug#12046).
9128
9129 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
9130
9131 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
9132
9133 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
9134
9135 * emacs-lisp/pp.el (pp-display-expression): Select old selected
9136 window only if it is still live (Bug#12034).
9137
9138 2012-07-25 Martin Rudalics <rudalics@gmx.at>
9139
9140 * subr.el (redirect-frame-focus): Add advertised calling
9141 convention (Bug#12030).
9142
9143 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
9144
9145 Prefer typical American spelling for "acknowledgment".
9146 * vc/add-log.el (change-log-acknowledgment): Rename from
9147 change-log-acknowledgement, with an alias for the old name.
9148
9149 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
9150
9151 * calc-alg.el (math-simplify-divide): Don't cross multiply
9152 in an equation when the lhs is a variable.
9153
9154 2012-07-24 Julien Danjou <julien@danjou.info>
9155
9156 * net/netrc.el (netrc-find-service-number, netrc-store-data):
9157 Remove, unused.
9158
9159 2012-07-23 Eli Zaretskii <eliz@gnu.org>
9160
9161 * startup.el (command-line): Don't display an empty user name in
9162 the error message about non-existent home directory, when
9163 init-file-user was set to an empty string. See
9164 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
9165 for the details and context.
9166
9167 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
9168
9169 * ses.el (ses-cell-formula-aset): New macro.
9170 (ses-cell-references-aset): New macro.
9171 (ses-cell-p): New function.
9172 (ses-rename-cell): Do no longer rely on complex operations like
9173 ses-cell-set-formula or ses-set-cell to change the cell and handle
9174 the undo at the same time, but rather use lower level new macros
9175 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
9176 the undo directly. Refresh the mode line.
9177
9178 2012-07-21 Leo Liu <sdl.web@gmail.com>
9179
9180 * progmodes/cc-cmds.el (c-defun-name):
9181 Use match-string-no-properties instead for consistency.
9182
9183 2012-07-20 Leo Liu <sdl.web@gmail.com>
9184
9185 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
9186 (Bug#7879)
9187
9188 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
9189
9190 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
9191
9192 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
9193 * progmodes/bug-reference.el, misearch.el: Provide themselves
9194 (bug#11915).
9195
9196 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
9197 of narrowed buffer (bug#11966).
9198
9199 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
9200
9201 * ses.el (ses-rename-cell): Set new name also in reference list of
9202 cells of which the renamed cell depends.
9203
9204 2012-07-20 Masatake YAMATO <yamato@redhat.com>
9205
9206 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
9207 to check whether menu-bar is shown or not. If not shown,
9208 show the menu-bar as a popup menu instead of using tmm.
9209 * mouse.el (popup-menu): Accept `point' as `position' argument.
9210
9211 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
9212
9213 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
9214 up inside string symbol literal (bug#11923).
9215
9216 2012-07-20 Eli Zaretskii <eliz@gnu.org>
9217
9218 * startup.el (fancy-startup-text): Read the whole tutorial, not
9219 just its first 256 bytes. Prevents gibberish in display of the
9220 tutorial title.
9221
9222 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
9223
9224 Drop idle buffer compaction due to an absence of the
9225 proved efficiency.
9226 * compact.el: Remove.
9227
9228 2012-07-19 Sam Steingold <sds@gnu.org>
9229
9230 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
9231 vc-bzr-pull & vc-bzr-merge-branch.
9232 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
9233 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
9234 for consistency with compilation-error-regexp-alist.
9235 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
9236 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
9237 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
9238 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
9239
9240 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
9241
9242 * emacs-lisp/chart.el: Use lexical-binding.
9243 (chart-emacs-storage): Don't hardcode the list of entries.
9244
9245 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
9246
9247 Next round of tweaks caused by Fgarbage_collect changes.
9248 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
9249
9250 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
9251
9252 Compact buffers when idle.
9253 * compact.el: New file.
9254
9255 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
9256
9257 * subr.el (eventp): Presume that if it looks vaguely like an event,
9258 it's an event (bug#10190).
9259
9260 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
9261
9262 Enhancements to ppss related code (thanks Stefan).
9263 * progmodes/python.el (python-indent-context)
9264 (python-indent-calculate-indentation, python-indent-dedent-line)
9265 (python-indent-electric-colon, python-nav-forward-block)
9266 (python-mode-abbrev-table)
9267 (python-info-assignment-continuation-line-p): Simplify checks
9268 for ppss context.
9269 (python-info-continuation-line-p): Cleanup.
9270 (python-info-ppss-context): Do not catch 'quote.
9271 (python-info-ppss-context-type)
9272 (python-info-ppss-comment-or-string-p): Simplify.
9273
9274 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
9275
9276 * progmodes/python.el: Enhancements to eldoc support.
9277 (python-info-current-symbol): New function.
9278 (python-eldoc-at-point): Use python-info-current-symbol.
9279 (python-info-current-defun): Fix cornercase on first defun scan.
9280 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
9281 and signal error when no inferior python process is available.
9282
9283 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
9284
9285 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
9286 assume it's always t.
9287 (vc-git-registered): Remove caching, the function is only called
9288 once.
9289 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
9290
9291 2012-07-18 Chong Yidong <cyd@gnu.org>
9292
9293 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
9294
9295 * simple.el (count-words): Report on narrowing (Bug#9959).
9296
9297 * bindings.el: Bind M-= to count-words.
9298
9299 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
9300
9301 2012-07-18 Masatake YAMATO <yamato@redhat.com>
9302
9303 * progmodes/sh-script.el (sh-imenu-generic-expression):
9304 Capture a function with `function' keyword and without parentheses
9305 like "function FOO" (bug#11856).
9306
9307 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
9308
9309 * window.el (split-window-sensibly): Make WINDOW argument
9310 optional.
9311
9312 2012-07-18 Chong Yidong <cyd@gnu.org>
9313
9314 * subr.el (keyboard-translate): Doc fix (Bug#7261).
9315
9316 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
9317 and make C-x 8 RET exit isearch (Bug#11439).
9318
9319 * international/iso-transl.el: Move isearch-mode-map key
9320 definitions to isearch.el.
9321
9322 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
9323
9324 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
9325 (eieio-defclass): Use gv-define-setter when possible.
9326
9327 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
9328
9329 Reflect recent changes in Fgarbage_collect.
9330 * emacs-lisp/chart.el (chart-emacs-storage): Change to
9331 reflect new format of data returned by Fgarbage_collect.
9332
9333 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9334
9335 New utility functions + python-info-ppss-context fix (Bug#11910).
9336 * progmodes/python.el (python-info-beginning-of-block-statement-p)
9337 (python-info-ppss-comment-or-string-p): New functions.
9338 (python-info-ppss-context): Small fix for string check.
9339
9340 2012-07-17 Juri Linkov <juri@jurta.org>
9341
9342 * dired-aux.el (dired-do-async-shell-command): Doc fix.
9343 (dired-do-async-shell-command): Don't add `*' at the end of the
9344 command (Bug#11815).
9345 (dired-do-shell-command): Doc fix.
9346 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
9347 Join the individual commands using either "&" or ";" as the
9348 separator depending on the values of these trailing characters.
9349 At the end re-add the trailing "&". (Bug#10598)
9350
9351 * simple.el (async-shell-command): Sync the interactive spec with
9352 `shell-command'. Doc fix.
9353 (shell-command): Doc fix.
9354
9355 2012-07-17 Juri Linkov <juri@jurta.org>
9356
9357 * descr-text.el (describe-char): Fix format args. (Bug#10129)
9358
9359 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9360
9361 Final renames and doc fixes for movement commands (bug#11899).
9362 * progmodes/python.el (python-nav-beginning-of-statement):
9363 Rename from python-nav-statement-start.
9364 (python-nav-end-of-statement): Rename from
9365 python-nav-statement-end.
9366 (python-nav-beginning-of-block): Rename from
9367 python-nav-block-start.
9368 (python-nav-end-of-block): Rename from python-nav-block-end.
9369
9370 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9371
9372 * progmodes/python.el (python-shell-send-string-no-output):
9373 Allow accept-process-output to quit, keeping shell process ready for
9374 future interactions (Bug#11868).
9375
9376 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
9377
9378 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
9379
9380 * emacs-lisp/elint.el (elint-find-args-in-code):
9381 Use help-function-arglist, so as to handle lexical byte-code.
9382
9383 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
9384 change (bug#11826).
9385
9386 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
9387
9388 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
9389 Avoid spuriously marking the buffer as modified because of c-is-sws.
9390
9391 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
9392 as not-a-comment (bug#11946).
9393
9394 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
9395 for uninterned vars.
9396
9397 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
9398 Use read-event since we don't really want to read chars but bytes.
9399
9400 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
9401 $$..$$ but also $..$ using regexps (bug#11953).
9402 Use tex-verbatim for \url and \path.
9403 (tex-font-lock-keywords): Define as defconst like the others.
9404 (tex-common-initialization): Don't use font-lock-syntax-table any more.
9405
9406 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
9407
9408 * international/mule-cmds.el (ucs-insert): Make it an obsolete
9409 alias for insert-char.
9410
9411 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
9412
9413 * progmodes/python.el: Simplified imenu implementation.
9414 (python-nav-jump-to-defun): Remove command.
9415 (python-mode-map): Use `imenu' instead.
9416 (python-nav-list-defun-positions-cache)
9417 (python-imenu-include-defun-type, python-imenu-make-tree)
9418 (python-imenu-subtree-root-label, python-imenu-index-alist):
9419 Remove vars.
9420 (python-nav-list-defun-positions, python-nav-read-defun)
9421 (python-imenu-tree-assoc, python-imenu-make-element-tree)
9422 (python-imenu-make-tree, python-imenu-create-index):
9423 Remove functions.
9424 (python-mode): Update to interact with imenu by setting
9425 `imenu-extract-index-name-function' only.
9426
9427 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
9428
9429 * progmodes/python.el: Enhancements to navigation commands.
9430 (python-nav-backward-sentence)
9431 (python-nav-forward-sentence): Remove.
9432 (python-nav-backward-statement, python-nav-forward-statement)
9433 (python-nav-statement-start, python-nav-statement-end)
9434 (python-nav-backward-block, python-nav-forward-block)
9435 (python-nav-block-start, python-nav-block-end)
9436 (python-nav-forward-sexp-function)
9437 (python-info-current-line-comment-p)
9438 (python-info-current-line-empty-p): New functions.
9439 (python-indent-context): Use `python-nav-statement-start'.
9440
9441 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
9442
9443 * eshell/em-ls.el (eshell/ls): Use `apply'.
9444
9445 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
9446 multi-hops, instead of Tramp internals.
9447
9448 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
9449
9450 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
9451 when F1 and F2 are located on different hosts.
9452
9453 2012-07-14 Chong Yidong <cyd@gnu.org>
9454
9455 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
9456 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
9457 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
9458 (xterm-mouse--read-event-sequence-1000)
9459 (xterm-mouse--read-event-sequence-1006): New functions. For old
9460 mouse protocol, handle M-mouse-X events correctly.
9461 (xterm-mouse-event): New arg specifying mouse protocol.
9462 (turn-on-xterm-mouse-tracking-on-terminal)
9463 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
9464 sequence to toggle extended coordinates on newer XTerms.
9465 This appears to be harmless on terminals which do not support this.
9466
9467 2012-07-14 Leo Liu <sdl.web@gmail.com>
9468
9469 Add fringe bitmap indicators for flymake. (Bug#11253)
9470 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
9471 (flymake-make-overlay): New arg BITMAP.
9472 (flymake-error-bitmap, flymake-warning-bitmap)
9473 (flymake-fringe-indicator-position): New user variables.
9474
9475 * fringe.el: New bitmap exclamation-mark.
9476
9477 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
9478
9479 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
9480 also (Bug#7879).
9481
9482 2012-07-14 Chong Yidong <cyd@gnu.org>
9483
9484 * electric.el (electric-pair-post-self-insert-function): Fix pair
9485 insertion in empty-region case (Bug#11520).
9486
9487 2012-07-14 Chong Yidong <cyd@gnu.org>
9488
9489 * bindings.el: Consolidate ctl-x-r-map bindings.
9490 Bind copy-rectangle-as-kill to C-x r w.
9491
9492 * rect.el, register.el: Move bindings to bindings.el.
9493
9494 2012-07-14 Reuben Thomas <rrt@sc3d.org>
9495
9496 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
9497
9498 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
9499
9500 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
9501
9502 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
9503
9504 * bindings.el (top): Use `mapc' instead of `mapcar'.
9505
9506 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
9507
9508 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
9509
9510 * progmodes/sql.el (sql-comint): Suppress the check for program on
9511 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
9512 (Bug#11908)
9513
9514 2012-07-13 Chong Yidong <cyd@gnu.org>
9515
9516 * bindings.el: Assign a non-nil permanent-local property to
9517 per-buffer variables which lack a default value (Bug#11930).
9518
9519 * help-fns.el (describe-variable): In the "automatically becomes
9520 local" notice, take note of permanent-local variables.
9521
9522 2012-07-13 Chong Yidong <cyd@gnu.org>
9523
9524 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
9525 to allow printing the message when called from Lisp.
9526
9527 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9528 Remove toggle-read-only.
9529
9530 * bs.el (bs-toggle-readonly):
9531 * buff-menu.el (Buffer-menu-toggle-read-only):
9532 Remove with-no-warnings around toggle-read-only.
9533
9534 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
9535 Remove with-no-warnings around toggle-read-only.
9536 (ffap-read-only, ffap-read-only-other-window)
9537 (ffap-read-only-other-frame): Callers changed.
9538
9539 * help-mode.el: Don't require view package.
9540 (help-mode-finish): Set buffer-read-only instead of calling
9541 toggle-read-only.
9542
9543 * bindings.el (mode-line-toggle-read-only):
9544 * dired.el (dired-toggle-read-only):
9545 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
9546 with non-nil second arg.
9547
9548 * emacs-lisp/eieio-custom.el (eieio-customize-object):
9549 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
9550 directly.
9551
9552 2012-07-12 Eli Zaretskii <eliz@gnu.org>
9553
9554 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
9555 not incf.
9556
9557 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
9558
9559 More CL cleanups and reduction of use of cl.el.
9560 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
9561 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
9562 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
9563 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
9564 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
9565 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
9566 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
9567 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
9568 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
9569 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
9570 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
9571 * eshell/em-cmpl.el, eshell/em-banner.el:
9572 * calendar/parse-time.el: Use cl-lib.
9573 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
9574 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
9575 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
9576 * term/ns-win.el, term.el, shell.el, ps-samp.el:
9577 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
9578 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
9579 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
9580 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
9581 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
9582 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
9583 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
9584 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
9585 `lambda' rather than with `quote'.
9586 (eshell-do-opt): Adjust accordingly.
9587 (eshell-process-option): Simplify.
9588 * eshell/esh-var.el:
9589 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
9590 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
9591 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
9592 to `pcase--dontcare'.
9593 * emacs-lisp/cl.el (labels): Mark obsolete.
9594 (cl--letf, letf): Move to cl-lib.
9595 (cl--letf*, letf*): Remove.
9596 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
9597 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
9598 (cl-progv): Rewrite.
9599 (cl--letf, cl-letf): Move from cl.el.
9600 (cl-letf*): New macro.
9601 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
9602
9603 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
9604
9605 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
9606
9607 2012-07-11 Chong Yidong <cyd@gnu.org>
9608
9609 * vc/log-edit.el (log-edit-vc-backend): New variable.
9610 (log-edit): Doc fix.
9611
9612 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
9613 argument of log-edit to set up all local variables.
9614 (vc-start-logentry): New optional arg specifying VC backend.
9615
9616 * vc/vc.el (vc-checkin): Use it.
9617 (vc-deduce-fileset): Handle Log Edit buffers.
9618 (vc-diff): Make first argument optional too.
9619
9620 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
9621
9622 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
9623
9624 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
9625 command, just in case. The function is not needed anymore.
9626 (eshell-external-command): Do not call `eshell-remote-command'.
9627
9628 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
9629
9630 Reduce use of (require 'cl).
9631 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
9632 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
9633 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
9634 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
9635 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
9636 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
9637 * battery.el, avoid.el, abbrev.el: Use cl-lib.
9638 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
9639 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
9640 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
9641 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
9642 * calculator.el, autorevert.el, apropos.el: Don't require CL.
9643 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
9644 (byte-compile-unfold-bcf, byte-compile-check-variable):
9645 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
9646 (byte-compile-nilconstp):
9647 * emacs-lisp/autoload.el (make-autoload): Use pcase.
9648 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
9649
9650 * emacs-lisp/gv.el (cond): Make it a valid place.
9651 (if): Simplify slightly.
9652
9653 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
9654 (pcase--self-quoting-p): New function.
9655 (pcase--u1): Use it.
9656
9657 2012-07-10 Glenn Morris <rgm@gnu.org>
9658
9659 * emacs-lisp/authors.el (authors-fixed-entries):
9660 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
9661
9662 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
9663
9664 Rename configure.in to configure.ac (Bug#11603).
9665 * emacs-lisp/authors.el (authors-canonical-file-name):
9666 * progmodes/autoconf.el (autoconf-mode):
9667 Prefer configure.ac to configure.in.
9668
9669 2012-07-08 Chong Yidong <cyd@gnu.org>
9670
9671 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
9672 Implement the mouse-1-click-follows-link handling properly.
9673
9674 * info.el (Info-link-keymap): Use follow-link mechanism for
9675 header-line links (Bug#374).
9676
9677 * simple.el (deactivate-mark): Do not set the primary selection
9678 if another program has acquired it (Bug#11772).
9679
9680 2012-07-07 Kevin Ryde <user42@zip.com.au>
9681
9682 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
9683 (woman-decode-region): Replace escaped-escapes without destroying
9684 bold or underline (Bug#11552).
9685 (woman2-process-escapes): Handle nofill regions (Bug#11591).
9686
9687 2012-07-07 Chong Yidong <cyd@gnu.org>
9688
9689 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
9690 (interprogram-cut-function, interprogram-paste-function):
9691 Mention that we typically mean the clipboard.
9692
9693 2012-07-06 Glenn Morris <rgm@gnu.org>
9694
9695 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
9696
9697 * files.el (toggle-read-only): Restrict message to interactive use.
9698
9699 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
9700
9701 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
9702
9703 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
9704
9705 2012-07-06 Glenn Morris <rgm@gnu.org>
9706
9707 * Makefile.in (compile-one-process): Rename from "recompile".
9708
9709 * Makefile.in (bzr-update): "compile" is the same as "recompile
9710 autoloads", but parallelizable, so use that instead.
9711
9712 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
9713
9714 * window.el (quit-window): Always restore window height when
9715 it's saved in quit-restore parameter (Bug#11810).
9716
9717 2012-07-06 Glenn Morris <rgm@gnu.org>
9718
9719 * simple.el (kill-whole-line): Doc tweak.
9720
9721 2012-07-06 Eli Zaretskii <eliz@gnu.org>
9722
9723 * files.el (file-relative-name): Compare file names
9724 case-insensitively if on MS-Windows or MS-DOS, or if
9725 read-file-name-completion-ignore-case is non-nil. Don't use
9726 case-fold-search for this purpose. (Bug#11827)
9727
9728 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
9729
9730 * calendar/cal-dst.el (calendar-current-time-zone):
9731 Return calendar-current-time-zone-cache if non-nil.
9732
9733 2012-07-17 Masatake YAMATO <yamato@redhat.com>
9734 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
9735
9736 * calendar/cal-dst.el (calendar-current-time-zone):
9737 Return calendar-current-time-zone-cache if non-nil.
9738
9739 2012-07-06 Glenn Morris <rgm@gnu.org>
9740
9741 * Makefile.in (cvs-update): Remove old alias.
9742
9743 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
9744
9745 Sync with Tramp 2.2.6-pre.
9746
9747 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
9748 compatible declaration.
9749
9750 * net/tramp-cmds.el (tramp-append-tramp-buffers):
9751 Protect `list-load-path-shadows' call.
9752
9753 * net/tramp-compat.el (top): Require packages, which aren't
9754 autoloaded anymore for XEmacs. Protect call of
9755 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
9756 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
9757 it hurts at least for SXEmacs.
9758 (tramp-compat-temporary-file-directory): In XEmacs, there is no
9759 standard-value for `temporary-file-directory'.
9760
9761 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
9762 Redirect stderr to /dev/null.
9763 (tramp-sh-handle-write-region): uid and gid can be floats.
9764 Reported by Russell Sim <russell.sim@gmail.com>.
9765 (tramp-sh-handle-vc-registered): Hide errors.
9766 (tramp-vc-file-name-handler): Use dummy results for `process-file'
9767 and `start-file-process'.
9768 (tramp-maybe-open-connection): Check also whether `non-essential'
9769 is bound.
9770
9771 2012-07-04 Chong Yidong <cyd@gnu.org>
9772
9773 * xml.el (xml--parse-buffer): Use xml-syntax-table.
9774 (xml-parse-tag): Likewise, and avoid changing entity tables.
9775 (xml-syntax-table): Define from scratch, making sure not to give
9776 x2000 and other Unicode spaces whitespace syntax, since those are
9777 not spaces in XML.
9778 (xml-parse-fragment): Delete unused function.
9779 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
9780 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
9781 (xml-entity-ref, xml-pe-reference-re)
9782 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
9783 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
9784 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
9785 (xml-entity-value-re): Use syntax references in regexps where
9786 possible; no need to define inside a let-binding.
9787 (xml-parse-dtd): Use xml-pe-reference-re.
9788 (xml-entity-or-char-ref-re): New defconst.
9789 (xml-parse-string, xml-substitute-special): Use it.
9790
9791 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9792
9793 * files.el (locate-dominating-file): Allow `name' to be a predicate.
9794 (find-file--read-only): New function.
9795 (find-file-read-only, find-file-read-only-other-window)
9796 (find-file-read-only-other-frame): Use it.
9797 (insert-file-contents-literally): Don't `fset'.
9798 (get-free-disk-space): Use locate-dominating-file.
9799
9800 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
9801 function is already compiled.
9802
9803 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
9804
9805 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
9806
9807 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
9808 files on the same host.
9809
9810 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
9811
9812 * help-fns.el (describe-function-1): Only call
9813 help-fns--autoloaded-p when we have a file name. (Bug#11848)
9814
9815 2012-07-03 Chong Yidong <cyd@gnu.org>
9816
9817 * xml.el: Protect parser against XML bombs.
9818 (xml-entity-expansion-limit): New variable.
9819 (xml-parse-string, xml-substitute-special): Use it.
9820 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
9821
9822 2012-07-03 Glenn Morris <rgm@gnu.org>
9823
9824 * progmodes/bug-reference.el (bug-reference-bug-regexp):
9825 Allow linking to specific messages in debbugs reports (eg 123#5).
9826
9827 2012-07-02 Chong Yidong <cyd@gnu.org>
9828
9829 * xml.el: Fix entity and character reference expansion, allowing
9830 them to expand into markup as per XML spec.
9831 (xml-default-ns): New variable.
9832 (xml-entity-alist): Use XML spec definitions for lt and amp.
9833 (xml-parse-region): Make first two arguments optional.
9834 Discard text properties.
9835 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
9836 All callers changed.
9837 (xml-parse-tag): Call xml-parse-tag-1. For backward
9838 compatibility, this function should not modify buffer contents.
9839 (xml-parse-tag-1): Fix opening-tag regexp.
9840 (xml-parse-string): Rewrite, handling entity and character
9841 references properly.
9842 (xml--entity-replacement-text): Signal an error if a parameter
9843 entity is undefined.
9844
9845 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
9846
9847 * comint.el (comint-output-filter): Filter out repeated prompts.
9848
9849 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
9850 and file-name-absolute-p.
9851 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
9852 internal calls.
9853
9854 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
9855
9856 Spelling fixes.
9857 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
9858 Rename from byte-compile--refiy-function. All uses changed.
9859
9860 2012-07-01 Chong Yidong <cyd@gnu.org>
9861
9862 * xml.el (xml--parse-buffer): New function. Move most of
9863 xml-parse-region here.
9864 (xml-parse-region): Copy region into a temporary buffer, since
9865 parameter entity substitution requires changing buffer contents.
9866 Use xml--parse-buffer.
9867 (xml-parse-file): Use xml--parse-buffer.
9868 (xml-parse-dtd): Make parameter entity substitution work right.
9869 Use proper regexps for ELEMENT declarations (Bug#7172).
9870
9871 2012-06-30 Glenn Morris <rgm@gnu.org>
9872
9873 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
9874
9875 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
9876 Remove outdated and unnecessary dbus declarations.
9877
9878 2012-06-30 Eli Zaretskii <eliz@gnu.org>
9879
9880 * emacs-lisp/timer.el (timer-until): Subtract results of
9881 float-time, instead of taking float-time of the result of
9882 time-subtract, since float-time signals an error for negative time
9883 arguments.
9884
9885 2012-06-30 Chong Yidong <cyd@gnu.org>
9886
9887 * xml.el (xml-*-re): Convert defvars into defconsts, and
9888 eval-and-compile them so eval-and-compile works on derivatives.
9889 (xml--entity-replacement-text): Use eval-and-comple.
9890
9891 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
9892
9893 * vc/vc-git.el (vc-git-registered): Use cache property
9894 `git-registered'.
9895 (vc-git-mode-line-string): Call `vc-working-revision' instead of
9896 `vc-git-working-revision' in order to benefit from the cache.
9897 (vc-git-root): Use cache property `git-root'. (Bug#11757)
9898
9899 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
9900
9901 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
9902 removed (likely outside Emacs). (Bug#11757)
9903
9904 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
9905
9906 * emacs-lisp/cl-lib.el: Require macroexp.
9907
9908 2012-06-30 Chong Yidong <cyd@gnu.org>
9909
9910 * xml.el: Implement XML parameter entities.
9911 (xml-parameter-entity-alist): New variable.
9912 (xml-parse-region, xml-parse-fragment): Preserve previous values
9913 of xml-entity-alist and xml-parameter-entity-alist, so that
9914 repeated calls on different documents do not change them.
9915 (xml-parse-tag): Fix doctype regexp.
9916 (xml--entity-replacement-text): New function.
9917 (xml-parse-dtd): Use it. Don't handle system entities; doing that
9918 properly requires url retrieval which is unimplemented.
9919 (xml-escape-string): Doc fix.
9920
9921 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
9922
9923 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
9924
9925 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
9926
9927 * fringe.el (fringe-mode): Doc fix.
9928
9929 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
9930
9931 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
9932 is non-nil.
9933 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
9934 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
9935
9936 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
9937
9938 * calendar/cal-dst.el (calendar-current-time-zone):
9939 Return calendar-current-time-zone-cache if non-nil.
9940
9941 2012-06-29 Masatake YAMATO <yamato@redhat.com>
9942
9943 * progmodes/which-func.el (which-func-format):
9944 Add mouse-face. (Bug#11698)
9945
9946 2012-06-29 Leo Liu <sdl.web@gmail.com>
9947
9948 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
9949
9950 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
9951
9952 * minibuffer.el (minibuffer-confirm-exit-commands):
9953 Add completion-at-point (bug#11725).
9954
9955 2012-06-29 Glenn Morris <rgm@gnu.org>
9956
9957 * progmodes/f90.el (f90-font-lock-keywords-2):
9958 Add some preprocessor elements. (Bug#10499)
9959
9960 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
9961
9962 * progmodes/cperl-mode.el (cperl-update-syntaxification):
9963 Use syntax-propertize (bug#11739).
9964
9965 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
9966
9967 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
9968
9969 2012-06-28 Julien Danjou <julien@danjou.info>
9970
9971 * term.el (term-handle-colors-array): Use a set of new faces to
9972 color the terminal. Also uses :inverse-video property.
9973 (term-default-fg-color): Set to nil by default, deprecate in favor
9974 of `term-face'.
9975 (term-default-bg-color): Set to nil by default, deprecate in favor
9976 of `term-face'.
9977 (term-current-face): Use `term-face' by default.
9978 (term-bold-attribute): Variable deleted.
9979
9980 2012-06-28 Glenn Morris <rgm@gnu.org>
9981
9982 * simple.el (completion-list-mode-finish):
9983 Don't use toggle-read-only. (Since completion-list-mode has
9984 a special mode-class, it wasn't doing anything extra anyway.)
9985
9986 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
9987
9988 Make inlining of other-mode interpreted functions work (bug#11799).
9989 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
9990 (byte-compile): Use it to fix compilation of lexical-binding closures.
9991 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
9992 function, if needed.
9993
9994 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9995
9996 * help-mode.el (help-make-xrefs): Don't just withstand
9997 cyclic-variable-indirection but any error in documentation-property.
9998
9999 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
10000 memory use.
10001 * bindings.el (bindings--define-key): New function.
10002 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
10003 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
10004 * bindings.el: Use it to purecopy define-key bindings.
10005
10006 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
10007
10008 * emacs-lisp/cl.el (flet): Mark obsolete.
10009 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
10010 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
10011 * progmodes/js.el (js-c-fill-paragraph):
10012 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
10013 (ebrowse-switch-member-buffer-to-derived-class):
10014 * play/5x5.el (5x5-solver): Use cl-flet.
10015
10016 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
10017 (cl--symbol-function): New macro.
10018 (cl--letf, cl--letf*): Use it.
10019
10020 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
10021 Strip "toggle-" if any.
10022
10023 2012-06-27 Glenn Morris <rgm@gnu.org>
10024
10025 * info.el (Info-default-directory-list): Move here from paths.el.
10026 * paths.el: Remove file, which is now empty.
10027 * loadup.el: No longer load "paths".
10028
10029 * custom.el (custom-initialize-delay): Doc fix.
10030
10031 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10032 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
10033 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
10034 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
10035 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
10036 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
10037 * eshell/eshell.el (eshell-defgroup): Remove alias.
10038
10039 2012-06-27 Chong Yidong <cyd@gnu.org>
10040
10041 * help.el (help-enable-auto-load): New variable.
10042
10043 * help-fns.el (help-fns--autoloaded-p): New function.
10044 (describe-function-1): Refer to a function as "autoloaded" if it
10045 was autoloaded at any time in the past. Perform autoloading if
10046 help-enable-auto-load is non-nil.
10047
10048 2012-06-26 Eli Zaretskii <eliz@gnu.org>
10049
10050 * makefile.w32-in (compile, compile-always): Depend on
10051 update-subdirs, not on subdirs.el. Otherwise, several different
10052 sub-targets of 'bootstrap' running in parallel could
10053 simultaneously write to subdirs.el, producing a garbled file.
10054
10055 2012-06-26 Sam Steingold <sds@gnu.org>
10056
10057 * files.el (file-name-base): New convenience function.
10058 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
10059 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
10060 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
10061 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
10062 * textmodes/ispell.el, textmodes/reftex-ref.el:
10063 * textmodes/tex-mode.el: Use it.
10064 Did not touch cedet and org because they are maintained elsewhere.
10065
10066 2012-06-26 Martin Rudalics <rudalics@gmx.at>
10067
10068 * calendar/calendar.el (calendar-exit): Don't try to delete or
10069 iconify last frame. See:
10070 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
10071
10072 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
10073
10074 * server.el (server-process-filter): Remember dir in the
10075 process's `server-client-directory' properties.
10076
10077 2012-06-24 Chong Yidong <cyd@gnu.org>
10078
10079 * xml.el (xml-parse-tag): Correctly handle comment embedded in
10080 non-tag text.
10081
10082 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
10083
10084 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
10085
10086 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10087
10088 * help-fns.el (describe-variable): Don't croak when doc is not found.
10089 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
10090 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
10091 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
10092 * emacs-lisp/smie.el (smie-next-sexp): CSE.
10093 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
10094 ((lambda ..) ..).
10095 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
10096
10097 2012-06-23 Chong Yidong <cyd@gnu.org>
10098
10099 * info.el (Info-mouse-follow-link): Accept symbol values of
10100 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
10101 (Info-fontify-node): Use Info-link-keymap for all navigation
10102 buttons, with link-args property to perform the desired action.
10103 (Info-link-keymap): Doc fix.
10104 (Info-next-link-keymap, Info-prev-link-keymap)
10105 (Info-up-link-keymap): Delete now-unused keymaps.
10106
10107 2012-06-23 Chong Yidong <cyd@gnu.org>
10108
10109 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
10110
10111 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
10112 system abbrevs.
10113
10114 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
10115
10116 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10117
10118 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
10119 (bug#11719).
10120
10121 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
10122 the requote function doesn't work properly (bug#11714).
10123
10124 2012-06-23 Glenn Morris <rgm@gnu.org>
10125
10126 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
10127
10128 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10129
10130 Further GV/CL cleanups.
10131 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
10132 gv-expander.
10133 (gv--defun-declaration): New function.
10134 (defun-declarations-alist): Use it.
10135 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
10136 (gv-place): Autoload.
10137 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
10138 original definition of dotimes and dolist.
10139 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
10140 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
10141 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
10142 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
10143 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
10144 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
10145 to the function's definition.
10146 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
10147 * window.el:
10148 * files.el:
10149 * faces.el:
10150 * env.el: Don't use CL.
10151
10152 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
10153
10154 Support higher-resolution time stamps (Bug#9000).
10155
10156 * calendar/time-date.el (with-decoded-time-value): New arg
10157 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
10158 (encode-time-value): New optional arg PICO. New type 3.
10159 (time-to-seconds) [!float-time]: Support the new picoseconds
10160 component if it's used.
10161 (seconds-to-time, time-subtract, time-add):
10162 Support ps-resolution time stamps as well.
10163
10164 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
10165 (timerp): Timer vectors now have length 9, not 8.
10166 (timer--time): Support new-style (4-part) time stamps.
10167 (timer-next-integral-multiple-of-time): Time stamps now have
10168 picosecond resolution, so take a bit more care about rounding.
10169 (timer-relative-time, timer-inc-time): New optional arg psecs.
10170 (timer-set-time-with-usecs): Set psecs to 0.
10171 (timer--activate): Check psecs component, too.
10172
10173 * proced.el (proced-time-lessp): Support ps-resolution stamps.
10174
10175 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10176
10177 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
10178 Move the non-essential binding to the post/pre-command-hook where it is
10179 more obviously correct.
10180
10181 * subr.el (read-passwd): Don't use a history at all.
10182 * savehist.el (savehist-save): Remove password saved accidentally
10183 because of the above bug.
10184
10185 2012-06-22 Bastien Guerry <bzg@gnu.org>
10186
10187 * files.el (toggle-read-only): Display a message telling whether
10188 the buffer is read-only or not (bug#11726).
10189
10190 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10191
10192 * emacs-lisp/gv.el: New file.
10193 * subr.el (push, pop): Extend to generalized variables.
10194 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
10195 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
10196 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
10197 gv-define-simple-setter, and gv-define-expander.
10198 Remove setf-methods defined in gv. Rename cl-setf -> setf.
10199 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
10200 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
10201 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
10202 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
10203 gv-letplace.
10204 (cl-defstruct): Don't define setf-method any more.
10205 * emacs-lisp/cl.el (flet): Don't autoload.
10206 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
10207 (define-setf-expander, defsetf, define-modify-macro)
10208 (cl-struct-setf-expander): Move from cl-lib.el.
10209 * emacs-lisp/syntax.el:
10210 * emacs-lisp/ewoc.el:
10211 * emacs-lisp/smie.el:
10212 * emacs-lisp/cconv.el:
10213 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
10214 (timer--time): Use gv-define-simple-setter.
10215 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
10216 to avoid coding-system problems in subr.el. Adjust all users.
10217 (macroexp--maxsize, macroexp-small-p): New functions.
10218 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
10219 * scroll-bar.el (scroll-bar-mode):
10220 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
10221 (normal-erase-is-backspace-mode): Don't use the `eq' place.
10222 * winner.el (winner-configuration, winner-make-point-alist)
10223 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
10224 * files.el (locate-file-completion-table): Avoid list*.
10225
10226 2012-06-22 Chong Yidong <cyd@gnu.org>
10227
10228 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
10229 (dired-create-files): Doc fix (Bug#11329).
10230 (dired-do-copy): Doc fix (Bug#11334).
10231 (dired-mark-read-string): Doc fix (Bug#11553).
10232
10233 * dired.el (dired-recursive-copies, dired-recursive-deletes):
10234 Doc fix (Bug#11326).
10235 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
10236 (dired-dwim-target): Doc fix.
10237
10238 * wdired.el (wdired-mode): Doc fix.
10239
10240 2012-06-22 Glenn Morris <rgm@gnu.org>
10241
10242 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
10243 (pcmpl-rpm-cache-stamp-file): New constant.
10244 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
10245 (pcmpl-rpm-packages): Optionally cache list of packages.
10246
10247 * pcmpl-rpm.el (pcmpl-rpm): New group.
10248 (pcmpl-rpm-query-options): New option.
10249 (pcmpl-rpm-packages): No need to inline it.
10250 Use pcmpl-rpm-query-options.
10251
10252 * calendar/calendar.el (calendar-in-read-only-buffer):
10253 Avoid some needless mode changes.
10254
10255 2012-06-21 Chong Yidong <cyd@gnu.org>
10256
10257 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
10258 (desktop-path): Remove . from the default value (Bug#10977).
10259 (desktop-read): Use user-emacs-directory if desktop-path is nil.
10260
10261 2012-06-20 Chong Yidong <cyd@gnu.org>
10262
10263 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
10264
10265 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
10266
10267 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
10268 (bug#11201).
10269
10270 2012-06-20 Chong Yidong <cyd@gnu.org>
10271
10272 * term.el (term-window-width): Handle the case of a missing right
10273 fringe (Bug#8837).
10274 (term-check-size): Use window-text-height (Bug#5445).
10275 (term-mode): Use define-derived-mode. Minor cleanups.
10276 Set font-lock-defaults (Bug#7692).
10277 (term-move-columns, term-insert-char, term-emulate-terminal)
10278 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
10279
10280 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
10281
10282 * net/ange-ftp.el (ange-ftp-get-passwd):
10283 Bind `enable-recursive-minibuffers'.
10284 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
10285
10286 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
10287
10288 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
10289
10290 2012-06-19 Glenn Morris <rgm@gnu.org>
10291
10292 * progmodes/python.el (python-mode): Derive from prog-mode.
10293
10294 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
10295
10296 * emulation/edt.el (edt-default-menu-bar-update-buffers)
10297 (edt-user-menu-bar-update-buffers): New functions.
10298 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
10299
10300 2012-06-19 Chong Yidong <cyd@gnu.org>
10301
10302 * subr.el (with-selected-window): Preserve the selected window's
10303 terminal's top-frame (Bug#4702).
10304
10305 * window.el (save-selected-window): Likewise.
10306
10307 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10308
10309 * progmodes/python.el (python-rx-constituents): Move backquote.
10310 (python-skeleton-define, python-define-auxiliary-skeleton):
10311 Use `declare'.
10312
10313 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
10314
10315 * minibuffer.el (read-file-name-default): Revert the patch from
10316 2012-06-17.
10317
10318 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10319
10320 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
10321 (pcase--u1, pcase--q1): Don't use apply-partially.
10322
10323 2012-06-18 Glenn Morris <rgm@gnu.org>
10324
10325 * progmodes/python.el (python-proc, python-buffer)
10326 (python-send-receive, python-send-string): Fix obsolete versions.
10327
10328 2012-06-18 Martin Rudalics <rudalics@gmx.at>
10329
10330 * window.el (special-display-p): Completely remove stringp
10331 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
10332
10333 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
10334
10335 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
10336
10337 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
10338
10339 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
10340 * net/tramp-sh.el (tramp-maybe-open-connection):
10341 Throw if `non-essential' is non-nil.
10342
10343 2012-06-17 Martin Rudalics <rudalics@gmx.at>
10344
10345 * window.el (special-display-p): Signal an error if BUFFER-NAME
10346 is not a string (Bug#11713).
10347
10348 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
10349
10350 * progmodes/python.el (python-info-beginning-of-backslash):
10351 Rename from python-info-beginning-of-backlash, as a spelling fix.
10352
10353 2012-06-17 Chong Yidong <cyd@gnu.org>
10354
10355 * term.el (term-emulate-terminal): If term-check-size is called,
10356 move point to the process mark without resetting point (Bug#4635).
10357
10358 2012-06-17 Glenn Morris <rgm@gnu.org>
10359
10360 * international/mule-cmds.el (mule-menu-keymap)
10361 (set-language-environment, set-locale-environment): Doc tweaks.
10362
10363 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
10364
10365 * cus-face.el (custom-face-attributes): Add wave-style underline
10366 attribute.
10367 * faces.el (set-face-attribute): Update docstring to describe
10368 wave-style underline attribute.
10369
10370 2012-06-16 Chong Yidong <cyd@gnu.org>
10371
10372 * term/xterm.el (terminal-init-xterm): Discard input before
10373 querying background mode (Bug#10959).
10374
10375 2012-06-16 Stefan Merten <smerten@oekonux.de>
10376
10377 * textmodes/rst.el: Added and corrected some comments.
10378 (rst-re-alist-def): Improve symbol syntax.
10379 (rst-mode-syntax-table): Correct syntax entries.
10380 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
10381 (rst-official-version, rst-official-cvs-rev): Update version
10382 information.
10383
10384 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
10385
10386 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
10387 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
10388
10389 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
10390
10391 * progmodes/python.el: New python.el merge.
10392 (python-guess-indent): Obsolete var.
10393 (python-indent-guess-indent-offset): New defcustom.
10394 (python-indent): Obsolete var.
10395 (python-indent-offset): New defcustom.
10396 (python-python-command, python-jython-command): Delete var.
10397 (python-shell-interpreter): New defcustom.
10398 (python-pdbtrack-do-tracking-p): Delete var.
10399 (python-pdbtrack-activate): New defcustom.
10400 (python-use-skeletons): Obsolete var.
10401 (python-skeleton-autoinsert): New defcustom.
10402 (inferior-python-filter-regexp, python-continuation-offset)
10403 (python-honour-comment-indentation, python-indent-string-contents)
10404 (python-jython-packages, python-mode-hook)
10405 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
10406 (python-shell-prompt-alist)
10407 (python-source-modes): Delete defcustoms.
10408 (python-check-buffer-name, python-eldoc-setup-code)
10409 (python-eldoc-string-code, python-ffap-setup-code)
10410 (python-ffap-string-code, python-fill-comment-function)
10411 (python-fill-decorator-function, python-fill-paren-function)
10412 (python-fill-string-function, python-imenu-include-defun-type)
10413 (python-imenu-make-tree, python-imenu-subtree-root-label)
10414 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
10415 (python-shell-compilation-regexp-alist)
10416 (python-shell-completion-module-string-code)
10417 (python-shell-completion-pdb-string-code)
10418 (python-shell-completion-setup-code)
10419 (python-shell-completion-string-code)
10420 (python-shell-enable-font-lock, python-shell-exec-path)
10421 (python-shell-extra-pythonpaths)
10422 (python-shell-internal-buffer-name, python-shell-interpreter-args)
10423 (python-shell-process-environment)
10424 (python-shell-prompt-block-regexp)
10425 (python-shell-prompt-output-regexp)
10426 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
10427 (python-shell-send-setup-max-wait, python-shell-setup-codes)
10428 (python-shell-virtualenv-path): New defcustoms.
10429 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
10430 (inferior-python-mode-syntax-table, python--prompt-regexp)
10431 (python-buffer, python-command python-python-command)
10432 (python-default-template, python-imports, python-indent-index)
10433 (python-indent-list, python-indent-list-length)
10434 (python-mode-running, python-pdbtrack-is-tracking-p)
10435 (python-preoutput-continuation, python-preoutput-leftover)
10436 (python-preoutput-result, python-preoutput-skip-next-prompt)
10437 (python-prev-dir/file, python-recursing)
10438 (python-saved-check-command, python-version-checked)
10439 (python-which-func-length-limit)
10440 (view-return-to-alist): Delete vars.
10441 (python-check-custom-command, python-dotty-syntax-table)
10442 (python-imenu-index-alist, python-indent-current-level)
10443 (python-indent-dedenters, python-indent-levels)
10444 (python-nav-beginning-of-defun-regexp)
10445 (python-nav-list-defun-positions-cache)
10446 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
10447 (python-shell-internal-buffer)
10448 (python-skeleton-available): New vars.
10449 (def-python-skeleton): Delete macro.
10450 (python-skeleton-define): New macro.
10451 (python-define-auxiliary-skeleton, python-rx): New macros.
10452 (python-insert-class): Delete command.
10453 (python-skeleton-class): New command.
10454 (python-insert-def): Delete command.
10455 (python-skeleton-def): New command.
10456 (python-insert-for): Delete command.
10457 (python-skeleton-for): New command.
10458 (python-insert-if): Delete command.
10459 (python-skeleton-if): New command.
10460 (python-insert-try/except, python-insert-try/finally): Delete commands.
10461 (python-skeleton-try): New command.
10462 (python-insert-while): Delete command.
10463 (python-skeleton-while): New command.
10464 (python-backspace): Delete command.
10465 (python-indent-dedent-line-backspace): New command.
10466 (python-electric-colon): Delete command.
10467 (python-indent-electric-colon): New command.
10468 (python-guess-indent): Delete command.
10469 (python-indent-guess-indent-offset): New command.
10470 (python-shift-left): Delete command.
10471 (python-indent-shift-left): New command.
10472 (python-shift-right): Delete command.
10473 (python-indent-shift-right): New command.
10474 (python-find-function): Delete command.
10475 (python-nav-jump-to-defun): New command.
10476 (python-next-statement): Delete command.
10477 (python-nav-forward-sentence): New command.
10478 (python-previous-statement): Delete command.
10479 (python-nav-backward-sentence): New command.
10480 (python-fill-paragraph): Delete command.
10481 (python-fill-paragraph-function): New command.
10482 (python-send-buffer): Delete command.
10483 (python-shell-send-buffer): New command.
10484 (python-send-defun): Delete command.
10485 (python-shell-send-defun): New command.
10486 (python-send-region, python-send-region-and-go): Delete commands.
10487 (python-shell-send-region)
10488 (python-shell-switch-to-shell): New commands.
10489 (python-send-string): Delete command.
10490 (python-shell-send-string): New command.
10491 (python-switch-to-python): Delete command.
10492 (python-shell-switch-to-shell): New command.
10493 (python-describe-symbol): Delete command.
10494 (python-eldoc-at-point): New command.
10495 (python--set-prompt-regexp, python-args-to-list)
10496 (python-after-info-look, python-check-version)
10497 (python-check-comint-prompt, python-find-imports)
10498 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
10499 (python-unload-function, python-expand-template)
10500 (python-maybe-jython, python-preoutput-filter)
10501 (python-pdbtrack-get-source-buffer)
10502 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
10503 (python-pdbtrack-toggle-stack-tracking)
10504 (python-pdbtrack-track-stack-file, python-initial-text)
10505 (python-first-word, python-comment-line-p, python-send-command)
10506 (python-setup-brm, python-sentinel, python-set-proc)
10507 (python-skip-out, python-input-filter, python-outdent-p)
10508 (python-outline-level, python-backslash-continuation-line-p)
10509 (python-end-of-block, python-end-of-statement, python-mark-block)
10510 (python-beginning-of-block, python-beginning-of-statement)
10511 (python-blank-line-p, python-beginning-of-string)
10512 (python-open-block-statement-p): Delete functions.
10513 (python-indent-line, python-indent-line-1): Delete functions.
10514 (python-indent-line): New function.
10515 (python-indentation-levels): Delete function.
10516 (python-indent-calculate-levels): New function.
10517 (python-proc): Delete function.
10518 (python-shell-get-process): New function.
10519 (python-send-receive): Delete function.
10520 (python-shell-send-string-no-output): New function.
10521 (python-module-path): Delete function.
10522 (python-ffap-module-path): New function.
10523 (python-completion-at-point)
10524 (python-symbol-completions): Delete functions.
10525 (python-completion-complete-at-point): New function.
10526 (python-load-file): Delete function.
10527 (python-shell-send-file): New function.
10528 (python-calculate-indentation): Delete function.
10529 (python-indent-calculate-indentation): New function.
10530 (python-skip-comments/blanks): Delete function.
10531 (python-util-forward-comment): New function.
10532 (python-continuation-line-p): Delete function.
10533 (python-info-continuation-line-p): New function.
10534 (python-which-func, python-current-defun): Delete function.
10535 (python-info-current-defun): New function.
10536 (python-beginning-of-defun): Delete function.
10537 (python-nav-beginning-of-defun): New function.
10538 (python-close-block-statement-p)
10539 (python-block-end-p): Delete function.
10540 (python-info-closing-block): New function.
10541 (python-comint-output-filter-function)
10542 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
10543 (python-fill-comment, python-fill-decorator, python-fill-paren)
10544 (python-fill-string, python-imenu-make-element-tree)
10545 (python-imenu-make-tree, python-imenu-tree-assoc)
10546 (python-indent-context, python-indent-dedent-line)
10547 (python-indent-line-function)
10548 (python-indent-post-self-insert-function)
10549 (python-indent-toggle-levels)
10550 (python-info-assignment-continuation-line-p)
10551 (python-info-beginning-of-backlash)
10552 (python-info-block-continuation-line-p)
10553 (python-info-closing-block-message)
10554 (python-info-line-ends-backslash-p)
10555 (python-info-looking-at-beginning-of-defun)
10556 (python-info-ppss-context, python-info-ppss-context-type)
10557 (python-nav-list-defun-positions, python-nav-read-defun)
10558 (python-nav-sentence-end, python-nav-sentence-start)
10559 (python-pdbtrack-comint-output-filter-function)
10560 (python-pdbtrack-set-tracked-buffer)
10561 (python-shell-calculate-exec-path)
10562 (python-shell-calculate-process-environment)
10563 (python-shell-completion--do-completion-at-point)
10564 (python-shell-completion--get-completions)
10565 (python-shell-completion-complete-at-point)
10566 (python-shell-completion-complete-or-indent)
10567 (python-shell-get-or-create-process)
10568 (python-shell-get-process-name)
10569 (python-shell-internal-get-or-create-process)
10570 (python-shell-internal-get-process-name)
10571 (python-shell-internal-send-string, python-shell-make-comint)
10572 (python-shell-parse-command, python-shell-send-setup-code)
10573 (python-skeleton-add-menu-items)
10574 (python-util-clone-local-variables, python-util-position)
10575 (run-python-internal, python-indentation-levels)
10576 (python-nav-beginning-of-defun)
10577 (python-completion-complete-at-point): New functions.
10578 (run-python): Change arguments. New API requirements.
10579
10580 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10581
10582 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
10583 (bug#11649).
10584
10585 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
10586 (macroexp--expand-all): Use it.
10587
10588 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
10589 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
10590 Use `cl-function' instead.
10591
10592 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
10593
10594 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
10595 Suggested by Stefan Monnier while discussing bug#11657.
10596
10597 2012-06-14 Sam Steingold <sds@gnu.org>
10598
10599 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
10600
10601 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
10602
10603 * play/doctor.el (doctor-doc): Remove parameter and use
10604 doctor-sent instead of sent.
10605 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
10606
10607 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10608
10609 * files.el: Require cl-lib.
10610 (file-name-non-special): Replace case -> cl-case.
10611
10612 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
10613
10614 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
10615 mapping from #' to function*.
10616
10617 2012-06-13 Chong Yidong <cyd@gnu.org>
10618
10619 * mouse.el (mouse-drag-track): Do not set the mark if the user
10620 releases the mouse without selecting anything (Bug#11588).
10621
10622 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10623
10624 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
10625 as well (bug#11646).
10626
10627 * loadup.el: Count byte-code functions as well.
10628
10629 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
10630 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
10631
10632 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
10633 (bug#11649). Add cl-defun and cl-defmacro.
10634
10635 2012-06-13 Drew Adams <drew.adams@oracle.com>
10636
10637 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
10638 Fix last change.
10639
10640 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
10641
10642 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
10643 Otherwise, it blocks in batch mode.
10644
10645 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
10646
10647 * help-mode.el (bookmark-make-record-default): Declare.
10648
10649 2012-06-13 Chong Yidong <cyd@gnu.org>
10650
10651 * emacs-lisp/package.el (list-packages): Compute a list of
10652 packages that are newly-available since the last list-packages
10653 invocation.
10654 (package-menu--new-package-list): New var.
10655 (package-menu--generate, package-menu--print-info)
10656 (package-menu--status-predicate, package-menu-mark-install):
10657 Handle new status label "new".
10658
10659 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10660
10661 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
10662 conversion to backquotes.
10663
10664 2012-06-12 Chong Yidong <cyd@gnu.org>
10665
10666 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
10667 Rename from gud-inhibit-global-bindings.
10668
10669 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
10670
10671 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
10672 hook from nxml-glyph-set-hook.
10673
10674 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
10675 declaration.
10676
10677 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
10678
10679 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
10680 Convert to defcustom.
10681
10682 2012-06-12 Drew Adams <drew.adams@oracle.com>
10683
10684 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
10685 New functions.
10686 (help-mode): Use them.
10687
10688 2012-06-11 Glenn Morris <rgm@gnu.org>
10689
10690 * progmodes/fortran.el (fortran-font-lock-keywords-3):
10691 Use preprocessor face for directives.
10692 (fortran-directive-re): Doc fix.
10693
10694 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10695
10696 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
10697 conversion to backquotes (bug#11652).
10698
10699 Fix compiler-expansion of CL's cXXr functions (bug#11673).
10700 * emacs-lisp/cl-lib.el (cl--defalias): New function.
10701 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
10702 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
10703 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
10704 (cl-ninth, cl-tenth): Mark them as inlinable.
10705 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
10706 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
10707 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
10708 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
10709 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
10710 (cl-list*, cl-adjoin): Don't put an autoload manually.
10711 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
10712 (cl--compiler-macro-list*): Add autoload cookie.
10713 (cl--compiler-macro-cXXr): New function.
10714
10715 * help-fns.el (help-fns--compiler-macro): New function extracted from
10716 describe-function-1; follow aliases and use `compiler-macro' property.
10717 (describe-function-1): Use it.
10718
10719 2012-06-11 Chong Yidong <cyd@gnu.org>
10720
10721 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
10722 is uninstalled, if imagemagick is installed.
10723
10724 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10725
10726 * emacs-lisp/cl-lib.el: Use lexical-binding.
10727 (cl-map-extents, cl-maclisp-member): Remove.
10728 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
10729 (cl--set-substring, cl--block-wrapper, cl--block-throw)
10730 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
10731 * emacs-lisp/cl-extra.el: Use lexical-binding.
10732 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
10733 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
10734 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
10735 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
10736 * emacs-lisp/cl-seq.el: Use lexical-binding.
10737 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
10738 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
10739 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
10740 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
10741 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
10742 CL's internals.
10743
10744 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
10745
10746 Sync with Tramp 2.2.6-pre.
10747
10748 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
10749 `print-length' and `print-level' to nil, in order to avoid
10750 truncation. Reported by Christopher Schmidt
10751 <christopher@ristopher.com>.
10752
10753 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
10754
10755 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
10756 New defmacro.
10757 (tramp-compat-copy-directory): Add optional argument
10758 COPY-CONTENTS. It is not handled yet.
10759
10760 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
10761 (tramp-ftp-file-name-p): Simplify.
10762
10763 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
10764 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
10765 connection vector.
10766
10767 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
10768 (tramp-methods): Do not use `tramp-password-end-of-line'.
10769 (tramp-completion-function-alist-putty): Handle UNIX case.
10770 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
10771 (tramp-do-file-attributes-with-stat)
10772 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
10773 gid as real numbers. They could run out of integer range on cygwin.
10774 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
10775 (tramp-sh-handle-expand-file-name): Handle hops.
10776 (tramp-open-connection-setup-interactive-shell):
10777 Use `tramp-cleanup'. Move check for busyboxes ...
10778 (tramp-find-shell): ... here. Simplify implementation.
10779 Set "remote-shell" property also for alternative shells.
10780 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
10781 If failing, a regular file would be written otherwise.
10782 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
10783 (tramp-find-inline-encoding): Cache the coding commands in the
10784 process cache. Apply test command on the remote side, if defined.
10785 (tramp-find-inline-compress): Cache the compress commands in the
10786 process cache.
10787 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
10788 when requested. Handle hops.
10789 (tramp-current-connection): New defvar.
10790 (tramp-maybe-open-connection): Use `tramp-cleanup'.
10791 Throw `suppress', if there was a failed connection shortly before.
10792 Handle user interrupt. (Bug#10187)
10793 (tramp-get-inline-compress, tramp-get-inline-coding):
10794 Read connection properties from the process cache.
10795
10796 * net/tramp-smb.el (tramp-smb-server-version)
10797 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
10798 New defconsts.
10799 (tramp-smb-prompt): Extend for powershell prompt.
10800 (tramp-smb-file-name-handler-alist): Add handlers for
10801 `process-file', `shell-command' and `start-file-process'.
10802 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
10803 (tramp-smb-winexe-shell-command-switch): New defcustoms.
10804 (tramp-smb-file-name-p): Simplify.
10805 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
10806 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
10807 (tramp-smb-shell-quote-argument): New defuns.
10808 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
10809 Implement using "tar". By this, time-stamps are preserved.
10810 (tramp-smb-handle-copy-file): Handle also the case of directories.
10811 (tramp-smb-do-file-attributes-with-stat)
10812 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
10813 Use `tramp-get-connection-buffer').
10814 (tramp-smb-handle-rename-file): Use "rename", when source and
10815 target are on the same share.
10816 (tramp-smb-maybe-open-connection): Handle wrong passwords.
10817 Use `tramp-smb-server-version'.
10818 (tramp-smb-wait-for-output): Remove prompt.
10819
10820 * net/tramp.el (top): Require 'cl.
10821 (tramp-methods, tramp-rsh-end-of-line):
10822 Remove `tramp-password-end-of-line' from docstring.
10823 (tramp-save-ad-hoc-proxies): New defcustom.
10824 (tramp-completion-function-alist): Adapt docstring.
10825 (tramp-default-password-end-of-line): Remove defcustom.
10826 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
10827 (tramp-user-regexp, tramp-file-name-regexp-unified)
10828 (tramp-file-name-regexp-url): Extend regexp by hop separator.
10829 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
10830 (tramp-remote-file-name-spec-regexp): New defconst.
10831 (tramp-file-name-structure): Extend structure for hops.
10832 (tramp-get-method-parameter): Move up.
10833 (tramp-file-name-p, tramp-dissect-file-name)
10834 (with-parsed-tramp-file-name): Handle hops.
10835 (tramp-file-name-hop): New defun.
10836 (tramp-make-tramp-file-name): New optional arg HOP.
10837 (tramp-message-show-progress-reporter-message): New defvar.
10838 (tramp-with-progress-reporter): Use it. We cannot use
10839 `tramp-message-show-message' here, because this suppresses also
10840 error buffers.
10841 (tramp-error-with-buffer): Suppress buffer view, if
10842 `tramp-message-show-message' is nil.
10843 Use `tramp-get-connection-buffer'.
10844 (tramp-cleanup): New defun.
10845 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
10846 (tramp-file-name-handler): If `debug-on-error' is set, propagate
10847 an error unchanged.
10848 (tramp-completion-handle-file-name-all-completions): Handle hops.
10849 Fix an error when called from ido.
10850 (tramp-completion-dissect-file-name): Use better local variable
10851 name. Add hop to the vector.
10852 (tramp-handle-insert-file-contents): Use progress-reporter for the
10853 whole scenario.
10854 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
10855 to `t'.
10856 (tramp-check-for-regexp): Simplify search.
10857 (tramp-enter-password): Remove it. Move implementation ...
10858 (tramp-action-password): ... here.
10859 (tramp-mode-string-to-int, tramp-local-host-p)
10860 (tramp-make-tramp-temp-file, tramp-read-passwd)
10861 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
10862 Set tramp-autoload cookie.
10863
10864 * net/trampver.el: Update release number.
10865
10866 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10867 Michael Albinus <michael.albinus@gmx.de>
10868
10869 * net/tramp.el (tramp-set-completion-function): Fix docstring.
10870 (tramp-parse-group, tramp-parse-file)
10871 (tramp-parse-shostkeys-sknownhosts): New defuns.
10872 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
10873 (tramp-parse-shosts-group, tramp-parse-sconfig)
10874 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
10875 (tramp-parse-sknownhosts, tramp-parse-hosts)
10876 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
10877 Use them.
10878 (tramp-parse-passwd-group, tramp-parse-netrc-group)
10879 (tramp-parse-putty-group): Don't narrow.
10880 (tramp-parse-putty): Make a loop.
10881 (tramp-file-name-handler): Catch the `suppress' signal.
10882
10883 2012-06-11 Chong Yidong <cyd@gnu.org>
10884
10885 * image.el (imagemagick-register-types): Put the ImageMagick entry
10886 at the end of image-type-file-name-regexps.
10887
10888 2012-06-11 Johan Bockgård <bojohan@gnu.org>
10889
10890 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
10891 (pcase, pcase-let*, pcase-dolist): Use them.
10892
10893 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10894
10895 * emacs-lisp/pcase.el (pcase--let*): New function.
10896 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
10897 (pcase--expand): Use macroexp-let².
10898
10899 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
10900
10901 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
10902 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
10903 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
10904 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
10905 * emacs-lisp/derived.el: Use pcase instead of `cl'.
10906 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
10907
10908 2012-06-10 Glenn Morris <rgm@gnu.org>
10909
10910 * mail/rmail.el (rmail-yank-current-message): Leave point at
10911 correct position. (Bug#11660)
10912
10913 2012-06-10 Chong Yidong <cyd@gnu.org>
10914
10915 * allout-widgets.el: Fix code header.
10916
10917 2012-06-10 Chong Yidong <cyd@gnu.org>
10918
10919 * cus-edit.el (customize-changed-options-previous-release):
10920 Bump to 24.1.
10921
10922 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
10923
10924 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
10925
10926 2012-06-09 Chong Yidong <cyd@gnu.org>
10927
10928 * ebuff-menu.el (electric-buffer-list): Preserve header line.
10929
10930 2012-06-09 Martin Rudalics <rudalics@gmx.at>
10931
10932 * window.el (special-display-popup-frame): Don't use
10933 window--display-buffer (Bug#11651).
10934
10935 2012-06-09 Eli Zaretskii <eliz@gnu.org>
10936
10937 Fix parallel builds: make sure loaddefs.el is not being written
10938 while Lisp files are compiled.
10939 (compile): Don't depend on 'mh-autoloads'.
10940 (compile-CMD, compile-SH): Depend on 'autoloads'.
10941 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
10942
10943 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
10944
10945 2012-06-09 Chong Yidong <cyd@gnu.org>
10946
10947 * face-remap.el (face-remap-add-relative, face-remap-set-base)
10948 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
10949 Doc fixes (Bug#11225).
10950
10951 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
10952
10953 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
10954 a function if there's a clear indication that it has a compiler-macro.
10955 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
10956 (macro-declarations-alist): Add arglist to declaration functions.
10957 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
10958 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
10959 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
10960 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
10961 Also add autoload to find the compiler macro.
10962 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
10963 (cl--compiler-macro-member, cl--compiler-macro-assoc)
10964 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
10965 (cl--compiler-macro-get): New functions, replacing calls to
10966 cl-define-compiler-macro.
10967 (cl-typep) [compiler-macro]: Use macroexp-let².
10968
10969 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
10970
10971 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
10972 string properly, fixes Bug#11473.
10973
10974 2012-06-08 Chong Yidong <cyd@gnu.org>
10975
10976 * faces.el (set-face-attribute): Doc fix.
10977 (modify-face): Don't use :bold and :italic.
10978 (error, warning, success): Tweak definitions.
10979
10980 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
10981 (custom-modified, custom-set, custom-changed, custom-themed)
10982 (custom-saved, custom-button, custom-button-mouse)
10983 (custom-button-pressed, custom-state, custom-comment-tag)
10984 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
10985 (custom-group-subtitle): Use new-style face specs.
10986 (custom-invalid-face, custom-rogue-face, custom-modified-face)
10987 (custom-set-face, custom-changed-face, custom-saved-face)
10988 (custom-button-face, custom-button-pressed-face)
10989 (custom-documentation-face, custom-state-face)
10990 (custom-comment-face, custom-comment-tag-face)
10991 (custom-variable-tag-face, custom-variable-button-face)
10992 (custom-face-tag-face, custom-group-tag-face-1)
10993 (custom-group-tag-face): Remove obsolete face alias.
10994
10995 * epa.el (epa-validity-high, epa-validity-medium)
10996 (epa-validity-low, epa-mark, epa-field-name, epa-string)
10997 (epa-field-name, epa-field-body):
10998 * font-lock.el (font-lock-comment-face, font-lock-string-face)
10999 (font-lock-keyword-face, font-lock-builtin-face)
11000 (font-lock-function-name-face, font-lock-variable-name-face)
11001 (font-lock-type-face, font-lock-constant-face):
11002 * ido.el (ido-first-match, ido-only-match, ido-subdir)
11003 (ido-virtual, ido-indicator, ido-incomplete-regexp):
11004 * speedbar.el (speedbar-button-face, speedbar-file-face)
11005 (speedbar-directory-face, speedbar-tag-face)
11006 (speedbar-selected-face, speedbar-highlight-face)
11007 (speedbar-separator-face):
11008 * whitespace.el (whitespace-newline, whitespace-space)
11009 (whitespace-hspace, whitespace-tab, whitespace-trailing)
11010 (whitespace-line, whitespace-space-before-tab)
11011 (whitespace-space-after-tab, whitespace-indentation)
11012 (whitespace-empty):
11013 * emulation/cua-base.el (cua-global-mark):
11014 * eshell/em-prompt.el (eshell-prompt):
11015 * net/newst-plainview.el (newsticker-new-item-face)
11016 (newsticker-old-item-face, newsticker-immortal-item-face)
11017 (newsticker-obsolete-item-face, newsticker-date-face)
11018 (newsticker-statistics-face, newsticker-default-face):
11019 * net/newst-reader.el (newsticker-feed-face)
11020 (newsticker-extra-face, newsticker-enclosure-face):
11021 * net/newst-treeview.el (newsticker-treeview-face)
11022 (newsticker-treeview-new-face, newsticker-treeview-old-face)
11023 (newsticker-treeview-immortal-face)
11024 (newsticker-treeview-obsolete-face)
11025 (newsticker-treeview-selection-face):
11026 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
11027 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
11028 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
11029 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
11030 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
11031 (nxml-outline-active-indicator, nxml-outline-ellipsis):
11032 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
11033 (mpuz-text):
11034 * progmodes/vera-mode.el (vera-font-lock-number)
11035 (vera-font-lock-function, vera-font-lock-interface):
11036 * textmodes/table.el (table-cell): Use new-style face specs, and
11037 don't use the old :bold and :italic attributes.
11038
11039 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
11040 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
11041 (ebrowse-member-class, ebrowse-progress): Likewise.
11042 (ebrowse-tree-mark-face, ebrowse-root-class-face)
11043 (ebrowse-file-name-face, ebrowse-default-face)
11044 (ebrowse-member-attribute-face, ebrowse-member-class-face)
11045 (ebrowse-progress-face): Remove obsolete faces.
11046
11047 * progmodes/flymake.el (flymake-errline, flymake-warnline):
11048 Inherit from error and warning faces respectively.
11049
11050 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
11051 Likewise.
11052 (flyspell-incorrect-face, flyspell-duplicate-face):
11053 Remove obsolete aliases.
11054
11055 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
11056
11057 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
11058 Avoid infloop.
11059
11060 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
11061
11062 * startup.el (argv, argi): Make lexically scoped.
11063 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
11064 * emacs-lisp/cl-macs.el: Use lexical-binding.
11065 Rename cl-bind-* to cl--bind-*.
11066 * files.el: Don't require `cl' since it doesn't use it.
11067 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
11068
11069 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
11070
11071 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
11072 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
11073 instead of calling external sort utility.
11074 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
11075
11076 2012-06-08 Eli Zaretskii <eliz@gnu.org>
11077
11078 * descr-text.el (describe-char): Mention how to insert the
11079 character, if the current input method doesn't support it.
11080 See the discussion in this thread for the details:
11081 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
11082
11083 2012-06-08 Sam Steingold <sds@gnu.org>
11084
11085 * bindings.el (global-map): Bind XF86Forward to next-buffer and
11086 XF86Back to previous-buffer.
11087 (minibuffer-local-map): Bind them to next-history-element and
11088 previous-history-element respectively.
11089 * help-mode.el (help-mode-map): Bind them to help-go-forward and
11090 help-go-back respectively.
11091 * info.el (Info-mode-map): Bind them to Info-history-forward and
11092 Info-history-back respectively.
11093 These are the keys next to Up on the ThinkPad keyboard.
11094
11095 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
11096
11097 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
11098 * emacs-lisp/cl-macs.el: Provide itself.
11099 (cl--labels-convert-cache): New var.
11100 (cl--labels-convert): New function.
11101 (cl-flet, cl-labels): New implementation with new semantics, relying on
11102 lexical-binding.
11103 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
11104 (cl-closure-vars, cl--function-convert-cache)
11105 (cl--function-convert): Move from cl-macs.el.
11106 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
11107 rename by removing the "cl-" prefix.
11108 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
11109
11110 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11111
11112 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
11113 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
11114 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
11115 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
11116 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
11117 (cl-hash-table-count): Add old compatibility aliases.
11118
11119 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
11120 Use macroexpand-all-environment instead.
11121 (cl--old-macroexpand): New var.
11122 (cl--sm-macroexpand): New function.
11123 (cl-symbol-macrolet): Use it during macro expansion.
11124 (cl--function-convert-cache): New var.
11125 (cl--function-convert): New function, extracted from
11126 cl-macroexpand-all.
11127 (cl-lexical-let): Use it.
11128
11129 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
11130 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
11131 (cl-member): Remove old alias.
11132
11133 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
11134 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
11135 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
11136 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
11137 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
11138 (cl-macroexpand-cmacs): Remove var.
11139 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
11140 Use macroexpand-all instead.
11141
11142 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11143
11144 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
11145 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
11146 (macroexp-copyable-p): New functions and macros.
11147 * emacs-lisp/edebug.el (edebug-unwrap):
11148 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
11149 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
11150 (pcase--let*): Remove.
11151 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
11152 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
11153 macroexp-const-p instead.
11154 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
11155
11156 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
11157 instead of "cl-" for internal definitions. Use macroexp-const-p.
11158 (cl-old-bc-file-form): Remove var.
11159 (cl-const-exprs-p): Remove fun.
11160 (cl-labels, cl-macrolet): Use backquote.
11161 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
11162 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
11163 (cl-define-setf-expander): Rename from cl-define-setf-method.
11164 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
11165
11166 * international/mule-cmds.el: Don't require CL.
11167 (view-hello-file): Don't use `letf'.
11168
11169 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11170
11171 * tmm.el (tmm-prompt): Use string-prefix-p.
11172 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
11173 (tmm-add-prompt): Use minibuffer-completion-help.
11174 (tmm-delete-map): Remove.
11175
11176 * subr.el (kbd): Make it its own function.
11177
11178 2012-06-07 Stefan Merten <smerten@oekonux.de>
11179
11180 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
11181 Silence compiler warnings. Fix versions.
11182 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
11183 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
11184 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
11185 (rst-package-emacs-version-alist): Correct Emacs version to
11186 represent major merge with upstream.
11187 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
11188
11189 2012-06-06 Glenn Morris <rgm@gnu.org>
11190
11191 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
11192 Only print environment variables if set.
11193
11194 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
11195
11196 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
11197 (macroexp--cons): Rename from maybe-cons.
11198 (macroexp--accumulate): Rename from macroexp-accumulate.
11199 (macroexp--all-forms): Rename from macroexpand-all-forms.
11200 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
11201 (macroexp--expand-all): Rename from macroexpand-all-1.
11202
11203 2012-06-06 Sam Steingold <sds@gnu.org>
11204
11205 * calendar/calendar.el (calendar-in-read-only-buffer):
11206 Call `special-mode' to enable the standard read-only keybindings.
11207
11208 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
11209
11210 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
11211 with "loading" messages (bug#11635).
11212
11213 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
11214
11215 * files.el (enable-remote-dir-locals): New option.
11216 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
11217
11218 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
11219 Ensure, that the temp directory is local.
11220
11221 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
11222 `temporary-file-directory'.
11223
11224 * progmodes/python.el (python-send-region): Ensure, that the
11225 temporary file is created also in the remote case.
11226
11227 2012-06-06 Glenn Morris <rgm@gnu.org>
11228
11229 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
11230 (vc-rcs-update-changelog): Use it.
11231
11232 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
11233
11234 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
11235 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
11236 (vc-sccs-diff): Replace use of the external vcdiff script.
11237
11238 2012-06-05 Glenn Morris <rgm@gnu.org>
11239
11240 * ledit.el: Move to obsolete/.
11241
11242 2012-06-05 Sam Steingold <sds@gnu.org>
11243
11244 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
11245 patch (Bug#11140).
11246
11247 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11248
11249 * emacs-lisp/cust-print.el: Move to obsolete.
11250
11251 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
11252 compiler-macro expansion.
11253
11254 Add native compiler-macro support.
11255 * emacs-lisp/macroexp.el (macroexpand-all-1):
11256 Support compiler-macros directly. Properly follow aliases and apply
11257 the compiler macros more thoroughly.
11258 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
11259 macroexpand now properly follows aliases.
11260 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
11261 (cl-compiler-macroexpand): Use new prop.
11262 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
11263
11264 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
11265
11266 2012-06-05 Martin Rudalics <rudalics@gmx.at>
11267
11268 * window.el (get-lru-window, get-mru-window, get-largest-window):
11269 New argument NOT-SELECTED to avoid picking the selected window.
11270 (window--display-buffer-1, window--display-buffer-2): Replace by
11271 new function window--display-buffer
11272 (display-buffer-same-window, display-buffer-reuse-window)
11273 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11274 Use window--display-buffer.
11275 (display-buffer-use-some-window): Remove temporary dedication
11276 hack by calling get-lru-window and get-largest-window with
11277 NOT-SELECTED argument non-nil. Call window--display-buffer.
11278
11279 2012-06-05 Glenn Morris <rgm@gnu.org>
11280
11281 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
11282 Replace external vcdiff script.
11283
11284 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11285
11286 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
11287
11288 2012-06-04 Chong Yidong <cyd@gnu.org>
11289
11290 * image.el (imagemagick-types-inhibit): Revert last change.
11291 Add INFO and M.
11292 (imagemagick-enabled-types): Remove CIN and EPS*.
11293
11294 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11295
11296 * emacs-lisp/cl-lib.el: Rename from cl.el.
11297 * emacs-lisp/cl.el: New compatibility file.
11298 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
11299 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
11300 to obey the "cl-" prefix.
11301 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
11302
11303 2012-06-03 Glenn Morris <rgm@gnu.org>
11304
11305 * emacs-lisp/authors.el (authors-aliases): Addition.
11306
11307 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
11308 Fix :version.
11309
11310 2012-06-03 Stefan Merten <smerten@oekonux.de>
11311
11312 * textmodes/rst.el: Add comments.
11313 (rst-transition, rst-adornment): New faces.
11314 (rst-adornment-faces-alist): Make default safe to reevaluate.
11315 Fixes
11316 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
11317 Improve customization tags.
11318 (rst-define-level-faces): Clarify meaning.
11319
11320 2012-06-03 Chong Yidong <cyd@gnu.org>
11321
11322 * progmodes/compile.el (compilation-mode-line-fail)
11323 (compilation-mode-line-run, compilation-mode-line-exit):
11324 New faces.
11325 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
11326
11327 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
11328
11329 * progmodes/which-func.el (which-func-update-ediff-windows):
11330 New function. Use it in ediff-select-hook (Bug#11478).
11331
11332 2012-06-03 Chong Yidong <cyd@gnu.org>
11333
11334 * bindings.el: Remove explicit help text from format-mode-line.
11335 It is now supplied by mode-line-default-help-echo.
11336 (mode-line-front-space, mode-line-end-spaces)
11337 (mode-line-misc-info): New variables.
11338 (mode-line-modes, mode-line-position): Move the default value to
11339 the variable definition.
11340 (mode-line-default-help-echo): New defcustom.
11341 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
11342 (mode-line-modified-help-echo): New functions.
11343 (mode-line-mule-info, mode-line-modified): Use them.
11344 (mode-line-eol-desc, propertized-buffer-identification):
11345 Consistency fixes for help text.
11346 (mode-line-coding-system-map): Allow using mouse-3 to invoke
11347 set-buffer-file-coding-system (Bug#289).
11348 (mode-line-mule-info-help-echo): Update help text.
11349
11350 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11351
11352 * simple.el (execute-extended-command): Set real-this-command
11353 (bug#11506).
11354
11355 2012-06-02 Chong Yidong <cyd@gnu.org>
11356
11357 Remove incorrect uses of "modeline" in comments, docstrings, and
11358 function/variable names (Bug#10329).
11359
11360 * cus-edit.el (mode-line):
11361 * dframe.el (dframe-mouse-hscroll):
11362 * emacs-lisp/re-builder.el:
11363 * emacs-lisp/easy-mmode.el (define-minor-mode):
11364 * frame.el (set-frame-name):
11365 * help.el (lookup-minor-mode-from-indicator):
11366 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
11367 * progmodes/cc-cmds.el (c-toggle-auto-newline)
11368 (c-toggle-hungry-state):
11369 * progmodes/antlr-mode.el (antlr-language-alist):
11370 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
11371 * progmodes/vhdl-mode.el (vhdl-mode):
11372 * progmodes/which-func.el (which-func, which-func-cleanup-function):
11373 * term/ns-win.el (ns-face-at-pos):
11374 * term/sup-mouse.el (sup-mouse-report):
11375 * textmodes/flyspell.el (flyspell-mode-line-string):
11376 * textmodes/ispell.el (ispell-highlight-face):
11377 * textmodes/reftex-global.el:
11378 * vc/vc-arch.el (vc-arch-mode-line-string):
11379 * vc/vc-cvs.el (vc-cvs-mode-line-string):
11380 * vc/vc-git.el (vc-git-mode-line-string):
11381 * vc/vc-hooks.el (vc-display-status)
11382 (vc-default-mode-line-string):
11383 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
11384
11385 * ansi-color.el (ansi-color-faces-vector): Change default faces.
11386
11387 * dired.el (dired-sort-set-mode-line): Rename from
11388 dired-sort-set-modeline. All callers changed.
11389
11390 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
11391 eshell-status-in-modeline.
11392
11393 * foldout.el (foldout-mode-line-string): Rename from
11394 foldout-modeline-string. All callers changed.
11395 (foldout-update-mode-line): Rename from foldout-update-modeline.
11396
11397 * subr.el (redraw-modeline): Make into obsolete alias.
11398
11399 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
11400 timeclock-modeline-display. Make old name an alias.
11401 (timeclock-update-mode-line): Likewise. All callers changed.
11402 (timeclock-mode-line-display): No need to check before using
11403 add-hook.
11404 (timeclock-relative, timeclock-day-over-hook)
11405 (timeclock-use-elapsed, timeclock-mode-string)
11406 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
11407
11408 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
11409 crisp-mode-modeline-string.
11410
11411 * play/solitaire.el (solitaire-build-mode-line): Rename from
11412 solitaire-build-modeline. All callers changed.
11413
11414 * play/zone.el (zone-hiding-mode-line): Rename from
11415 zone-hiding-modeline. All callers changed.
11416 (zone): Remove unusued `modeline-hidden-level' property.
11417
11418 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
11419 xscheme-modeline-initialize. All callers changed.
11420
11421 * strokes.el (strokes-lighter): Rename from
11422 strokes-modeline-string.
11423
11424 * textmodes/sgml-mode.el (html-face-tag-alist)
11425 (html-tag-face-alist): Use mode-line face instead of obsolete
11426 alias modeline.
11427
11428 2012-06-02 Stefan Merten <smerten@oekonux.de>
11429
11430 * textmodes/rst.el: Always require `cl'.
11431 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
11432
11433 2012-06-02 Chong Yidong <cyd@gnu.org>
11434
11435 * image.el (imagemagick-enabled-types): Rename from
11436 imagemagick-types-enable. Add many more types.
11437 (imagemagick-types-inhibit): Change default to nil.
11438 (imagemagick-filter-types): Caller changed.
11439
11440 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11441
11442 * emacs-lisp/cl-macs.el: Use backquotes.
11443 (cl-transform-function-property): Use eval-and-compile rather than
11444 abusing `require'.
11445 (defstruct): Use declare-function instead of with-no-warnings.
11446
11447 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
11448 (byte-compile-output-docform): Re-add the print-circle bindings.
11449 (byte-compile-fix-header): Use #$ just because it's shorter.
11450 (byte-compile-output-file-form): Remove defun/defmacro.
11451
11452 2012-06-01 Martin Rudalics <rudalics@gmx.at>
11453
11454 * simple.el (choose-completion): Remove now obsolete binding for
11455 owindow.
11456
11457 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
11458
11459 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
11460 in order to avoid "Stack overflow in regexp matcher".
11461
11462 2012-05-31 Glenn Morris <rgm@gnu.org>
11463
11464 * image.el: For clarity, call imagemagick-register-types at
11465 top-level, rather than relying on a custom :initialize.
11466 (imagemagick-types-enable): New option. (Bug#11557)
11467 (imagemagick-filter-types): New function. (Bug#7406)
11468 (imagemagick-register-types): Use imagemagick-filter-types.
11469 If disabling support, remove elements altogether rather
11470 than using an impossible regexp.
11471 (imagemagick-types-inhibit): Give it the default init function.
11472
11473 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11474
11475 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
11476 Handle arbitrary file name lengths (Bug#11585).
11477
11478 2012-05-31 Martin Rudalics <rudalics@gmx.at>
11479
11480 * desktop.el (desktop-read): Clear previous and next buffers for
11481 all windows and bury *Messages* buffer (bug#11556).
11482
11483 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11484
11485 Add `declare' for `defun'. Align `defmacro's with it.
11486 * emacs-lisp/easy-mmode.el (define-minor-mode)
11487 (define-globalized-minor-mode): Don't autoload the var definitions.
11488 * emacs-lisp/byte-run.el: Use lexical-binding.
11489 (defun-declarations-alist, macro-declarations-alist): New vars.
11490 (defmacro, defun): Use them.
11491 (make-obsolete, define-obsolete-function-alias)
11492 (make-obsolete-variable, define-obsolete-variable-alias):
11493 Use `declare'.
11494 (macro-declaration-function): Mark obsolete.
11495 * emacs-lisp/autoload.el: Use lexical-binding.
11496 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
11497
11498 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11499
11500 * textmodes/ispell.el (ispell-with-no-warnings):
11501 Define as a macro.
11502 (ispell-kill-ispell, ispell-change-dictionary):
11503 Use `called-interactively-p' for Emacs instead of obsolete
11504 `interactive-p'.
11505
11506 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11507
11508 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
11509 (macro-declaration-function): Move var from C code.
11510 (macro-declaration-function): Define function with defalias.
11511 * emacs-lisp/macroexp.el (macroexpand-all-1):
11512 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
11513 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
11514 defun/defmacro any more.
11515 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
11516 Provide fallback for unknown arglist.
11517 (byte-compile-arglist-warn): Change calling convention.
11518 (byte-compile-output-file-form): Move print-vars binding.
11519 (byte-compile-output-docform): Simplify accordingly.
11520 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
11521 (byte-compile-defmacro-declaration): Remove.
11522 (byte-compile-file-form-defmumble): Generalize to defalias.
11523 (byte-compile-output-as-comment): Return byte-positions.
11524 Simplify callers accordingly.
11525 (byte-compile-lambda): Use `assert'.
11526 (byte-compile-defun, byte-compile-defmacro): Remove.
11527 (byte-compile-file-form-defalias):
11528 Use byte-compile-file-form-defmumble.
11529 (byte-compile-defalias-warn): Remove.
11530
11531 2012-05-29 Stefan Merten <smerten@oekonux.de>
11532
11533 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
11534 possible. Fix authors. Improve comments. Improve loading of `cl'.
11535
11536 (rst-mode-abbrev-table): Merge definition.
11537 (rst-mode): Make sure `font-lock-defaults' is buffer local.
11538 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
11539
11540 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
11541
11542 * calendar/icalendar.el
11543 (icalendar-export-region): Export UID properly.
11544
11545 2012-05-29 Leo Liu <sdl.web@gmail.com>
11546 * calendar/icalendar.el (icalendar-import-format):
11547 Add `icalendar-import-format-uid' (Bug#11525).
11548 (icalendar-import-format-uid): New.
11549 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
11550 Export UID.
11551
11552 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
11553
11554 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
11555 different alternative patterns.
11556 (pcase-codegen): Be more careful to preserve identity.
11557 (pcase--u1): Don't forget to mark vars as used.
11558
11559 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
11560 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
11561 (byte-compile-from-buffer): ...rather than here.
11562
11563 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
11564 functions from byte-compile-function-environment.
11565
11566 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
11567
11568 * window.el (window-deletable-p): Avoid deleting the root window
11569 of a frame with an active minibuffer.
11570
11571 2012-05-29 Martin Rudalics <rudalics@gmx.at>
11572
11573 * simple.el (choose-completion): Use quit-window (Bug#11567).
11574
11575 2012-05-29 Chong Yidong <cyd@gnu.org>
11576
11577 * whitespace.el (whitespace-cleanup): Fix usage of
11578 whitespace-empty-at-bob-regexp (Bug#11492).
11579
11580 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11581
11582 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
11583 revert (Bug#11488).
11584
11585 2012-05-29 Juri Linkov <juri@jurta.org>
11586
11587 * isearch.el (isearch-mode-map): Bind `M-s _' to
11588 `isearch-toggle-symbol'. Bind `M-s c' to
11589 `isearch-toggle-case-fold'.
11590 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
11591 (isearch-forward): Add `M-s _' to the docstring.
11592 (isearch-forward-symbol, isearch-toggle-case-fold)
11593 (isearch-symbol-regexp): New functions. (Bug#11381)
11594
11595 2012-05-29 Juri Linkov <juri@jurta.org>
11596
11597 * isearch.el (isearch-word): Add docstring. (Bug#11381)
11598 (isearch-occur, isearch-search-and-update): If `isearch-word' is
11599 a function, call it to get the regexp.
11600 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
11601 property `isearch-message-prefix' instead of the string "word ".
11602 (isearch-search-fun-default): For the case of `isearch-word',
11603 return a lambda that calls re-search-forward/re-search-backward
11604 with a regexp returned by `word-search-regexp' or by the function
11605 in `isearch-word'.
11606
11607 2012-05-29 Juri Linkov <juri@jurta.org>
11608
11609 * isearch.el (isearch-search-fun-default): New function.
11610 (isearch-search-fun): Move default part to the new function
11611 `isearch-search-fun-default'.
11612 (isearch-search-fun-function): Set the default value to
11613 `isearch-search-fun-default'. (Bug#11381)
11614
11615 * comint.el (comint-history-isearch-end):
11616 Use `isearch-search-fun-default'.
11617 (comint-history-isearch-search): Use `isearch-search-fun-default'
11618 and remove spacial case for `isearch-word'.
11619 (comint-history-isearch-wrap): Remove spacial case for
11620 `isearch-word'.
11621
11622 * hexl.el (hexl-isearch-search-function):
11623 Use `isearch-search-fun-default'.
11624
11625 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
11626 Use `word-search-regexp' for `isearch-word'.
11627
11628 * misearch.el (multi-isearch-search-fun):
11629 Use `isearch-search-fun-default'.
11630
11631 * simple.el (minibuffer-history-isearch-search):
11632 Use `isearch-search-fun-default' and remove spacial case for
11633 `isearch-word'.
11634 (minibuffer-history-isearch-wrap): Remove spacial case for
11635 `isearch-word'.
11636
11637 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
11638 Remove spacial case for `isearch-word'.
11639 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
11640
11641 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11642
11643 Decrease XEmacs incompatibilities.
11644 * textmodes/flyspell.el (flyspell-check-pre-word-p):
11645 Use `string-match'.
11646 (flyspell-delete-region-overlays): Use alternative definition for
11647 XEmacs.
11648 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
11649 (flyspell-word): Use `process-kill-without-query' if XEmacs.
11650 (flyspell-mode-on): Use `interactive-p' if XEmacs.
11651 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
11652 `define-obsolete-face-alias' under XEmacs, but old method.
11653
11654 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
11655 `with-no-warnings' definition or Emacs alias.
11656 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
11657 (ispell-word): Do not use `region-p' if XEmacs.
11658
11659 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11660
11661 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
11662 Check for `ispell-dictionary-base-alist' instead of full
11663 `ispell-dictionary-alist'.
11664 (ispell-init-process): Show spellchecker when starting new Ispell
11665 process.
11666
11667 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
11668
11669 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
11670 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
11671
11672 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
11673
11674 * version.el (motif-version-string, gtk-version-string)
11675 (ns-version-string): Declare.
11676
11677 2012-05-27 Juri Linkov <juri@jurta.org>
11678
11679 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
11680 after the `eval-defun-1' specialcaseing
11681 like in `edebug-eval-defun' (bug#10181).
11682
11683 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
11684 like in `eval-defun-1'.
11685
11686 2012-05-27 Eli Zaretskii <eliz@gnu.org>
11687
11688 * mail/sendmail.el (mail-yank-region):
11689 Recognize rmail-yank-current-message in addition to insert-buffer.
11690 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
11691 a *mail* buffer created through rmail-start-mail with sendmail as
11692 mail-user-agent.
11693
11694 2012-05-27 Chong Yidong <cyd@gnu.org>
11695
11696 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
11697 Default to 256 (Bug#11267).
11698
11699 * help.el (describe-mode): Doc fix.
11700
11701 2012-05-26 Glenn Morris <rgm@gnu.org>
11702
11703 * w32-fns.el (w32-init-info): Remove.
11704 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
11705
11706 * info.el (info-initialize): For self-contained NS builds, put the
11707 included info/ directory at the front. (Bug#2791)
11708
11709 * paths.el (Info-default-directory-list): Make it a defcustom,
11710 mainly so that we can use custom-initialize-delay.
11711
11712 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
11713
11714 * subr.el (buffer-has-markers-at): Mark obsolete.
11715
11716 * subr.el (lambda): Use declare.
11717
11718 * emacs-lisp/lisp-mode.el (lambda):
11719 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
11720
11721 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11722
11723 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
11724
11725 2012-05-26 Glenn Morris <rgm@gnu.org>
11726
11727 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
11728
11729 2012-05-25 Glenn Morris <rgm@gnu.org>
11730
11731 * paths.el: Remove no-byte-compile.
11732 * loadup.el: No need to load paths.el uncompiled.
11733
11734 * image.el (imagemagick-types-inhibit): Doc fix.
11735
11736 * version.el: Remove no-byte-compile and associated formatting.
11737 * loadup.el: No need to load version.el uncompiled. AFAICS, this
11738 is ancient code from when there was an "inc-vers.el".
11739
11740 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11741
11742 * progmodes/gdb-mi.el: Minor style changes.
11743 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
11744 Turn into minor modes.
11745 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
11746 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
11747 (gdb-shell): Remove unneeded let-binding.
11748 (gdb-get-many-fields): Eliminate O(n²) behavior.
11749
11750 2012-05-25 Eli Zaretskii <eliz@gnu.org>
11751
11752 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
11753 platforms that don't link in fontset.c.
11754
11755 2012-05-25 Juri Linkov <juri@jurta.org>
11756
11757 Use the same diff color scheme as in modern VCSes (bug#10181).
11758
11759 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
11760 to avoid confusion with `diff-added' that now uses green colors.
11761 (diff-removed): Use shades of red.
11762 (diff-added): Use shades of green.
11763 (diff-changed): Leave just the yellow color.
11764 (diff-use-changed-face): New variable.
11765 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
11766 how to highlight context diff changes.
11767 (diff-refine-change): Use shades of yellow.
11768 (diff-refine-removed): New face that uses shades of red.
11769 (diff-refine-added): New face that uses shades of green.
11770 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
11771 `diff-refine-removed' in the call to `smerge-refine-subst'
11772 depending on the value of `diff-use-changed-face'.
11773
11774 * vc/smerge-mode.el (smerge-mine): Use shades of red.
11775 (smerge-other): Use shades of green.
11776 (smerge-base): Use shades of yellow.
11777 (smerge-refined-change): Empty face.
11778 (smerge-refined-removed): New face that uses shades of red.
11779 (smerge-refined-added): New face that uses shades of green.
11780 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
11781 args `props-r' and `props-a', and use them. Doc fix.
11782 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
11783 on its value use different faces `smerge-refined-change',
11784 `smerge-refined-removed', `smerge-refined-added' in the call to
11785 `smerge-refine-subst'.
11786
11787 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
11788 Add face condition `min-colors 88' with shades of red.
11789 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
11790 `min-colors 88' with shades of green.
11791 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
11792 `min-colors 88' with shades of yellow.
11793
11794 2012-05-24 Glenn Morris <rgm@gnu.org>
11795
11796 * paths.el (prune-directory-list, remote-shell-program): Move to...
11797 * files.el (prune-directory-list, remote-shell-program): ...here.
11798 For the latter, delay initialization, prefer ssh, just search PATH.
11799
11800 * paths.el (term-file-prefix): Move to faces.el (the only user).
11801 * faces.el (term-file-prefix): Move here, make it a defcustom.
11802
11803 * paths.el (news-directory, news-path, news-inews-program):
11804 Move to gnus/nnspool.el.
11805
11806 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
11807
11808 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
11809 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
11810 Make the latter a defcustom, with a delayed initialization.
11811
11812 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
11813 These were deleted from Gnus itself late 2010.
11814
11815 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
11816
11817 * progmodes/which-func.el (which-func-ff-hook):
11818 Check against user-error, not error.
11819
11820 * emacs-lisp/edebug.el (top): Do not load or set up loading of
11821 cl-specs.el, which no longer exists.
11822
11823 2012-05-22 Glenn Morris <rgm@gnu.org>
11824
11825 * info.el (info-emacs-bug): New command.
11826 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
11827 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
11828
11829 2012-05-21 Glenn Morris <rgm@gnu.org>
11830
11831 * makefile.w32-in (update-subdirs-SH):
11832 * Makefile.in (update-subdirs): Update for moved update-subdirs.
11833
11834 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
11835
11836 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
11837
11838 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11839 Simplify Maven regexp, and make sure the file can't start with a space
11840 (bug#11517).
11841
11842 2012-05-21 Glenn Morris <rgm@gnu.org>
11843
11844 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
11845 Scrap superfluous subshells.
11846
11847 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
11848
11849 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
11850 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
11851
11852 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
11853
11854 * calc/calc.el (calc-ensure-consistent-units): New variable.
11855
11856 * calc/calc-units.el (math-consistent-units-p)
11857 (math-check-unit-consistency): New functions.
11858 (calc-quick-units, calc-convert-units):
11859 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
11860 is non-nil.
11861 (calc-extract-units): Fix typo.
11862
11863 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11864
11865 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
11866
11867 * textmodes/flyspell.el: Commenting style, plus code simplifications.
11868 (flyspell-default-deplacement-commands): Don't spell check after
11869 repeated window/frame switches (e.g. triggered by mouse-movement).
11870 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
11871 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
11872 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
11873 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
11874 Remove unused vars.
11875 (flyspell-get-casechars, flyspell-get-not-casechars):
11876 Simplify; Don't bother removing a ] just to add it back.
11877 * textmodes/ispell.el (ispell-program-name): Use executable-find.
11878
11879 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11880
11881 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
11882 New functions.
11883 (math-function-table): Add support for more C functions.
11884
11885 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11886
11887 * textmodes/flyspell.el (flyspell-check-pre-word-p)
11888 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
11889 Protect delay handling for otherchars against empty otherchars.
11890
11891 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11892
11893 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
11894 their respective macro declarations.
11895 * skeleton.el (define-skeleton):
11896 * progmodes/compile.el (define-compilation-mode):
11897 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
11898 (define-ibuffer-filter):
11899 * emacs-lisp/generic.el (define-generic-mode):
11900 * emacs-lisp/easy-mmode.el (define-minor-mode)
11901 (define-globalized-minor-mode):
11902 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
11903 * emacs-lisp/byte-run.el (defsubst):
11904 * custom.el (deftheme): Add doc-string metadata.
11905
11906 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11907
11908 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
11909
11910 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11911
11912 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
11913
11914 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
11915 * emacs-lisp/cl-macs.el: Idem.
11916 * emacs-lisp/cl-specs.el: Remove.
11917
11918 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11919
11920 Minor renaming of internal CL functions and variables.
11921 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
11922 (cl--position): Rename from cl-position.
11923 (cl--delete-duplicates): Rename from cl-delete-duplicates.
11924 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
11925 (cl--random-state): Rename from *random-state*.
11926
11927 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11928
11929 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
11930 parens around the arg list (bug#11499).
11931
11932 2012-05-17 Juri Linkov <juri@jurta.org>
11933
11934 * isearch.el (word-search-regexp, word-search-backward)
11935 (word-search-forward, word-search-backward-lax)
11936 (word-search-forward-lax): Move functions from search.c
11937 (bug#10145, bug#11381).
11938
11939 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11940
11941 * textmodes/flyspell.el (flyspell-check-pre-word-p)
11942 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
11943 Delay for otherchars as for normal word components.
11944
11945 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
11946
11947 * minibuffer.el (completion--sifn-requote): Fix last change.
11948 (minibuffer-local-must-match-filename-map):
11949 Move define-obsolete-variable-alias before its var.
11950
11951 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11952
11953 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
11954
11955 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
11956 behavior.
11957 (completion--string-equal-p): New function.
11958 (completion--twq-all): Use it to get better assertion failure data.
11959
11960 Only handle ".." and '..' quoting in shell-mode (bug#11466).
11961 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
11962 (shell--requote-argument): New functions.
11963 (shell-completion-vars): Use them.
11964 (shell--parse-pcomplete-arguments): Rename from
11965 shell-parse-pcomplete-arguments.
11966 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
11967 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
11968 Obey comint-file-name-quote-list.
11969
11970 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
11971 (smie-indent-keyword): Use it.
11972
11973 2012-05-14 Stefan Merten <smerten@oekonux.de>
11974
11975 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
11976
11977 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
11978
11979 * net/rlogin.el (rlogin-mode-map): Fix last change.
11980
11981 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
11982
11983 * mail/smtpmail.el (smtpmail-send-command): Send the command and
11984 the following \r\n using a single `process-send-string', since the
11985 Lotus SMTP server refuses to accept any commands if they are sent
11986 with two `process-send-string's (Bug#11444).
11987
11988 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
11989
11990 * shell.el (shell-parse-pcomplete-arguments):
11991 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
11992
11993 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
11994
11995 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
11996 (image-transform-scale, image-transform-right-angle-fudge): New vars.
11997 (image-transform-width, image-transform-fit-width): New functions.
11998 (image-transform-properties): Use them.
11999 (image-transform-check-size): New function.
12000 (image-toggle-display-image): Use it (for testing).
12001 (image-transform-set-rotation): Reduce angle mod 360.
12002 Delete obsolete comment.
12003
12004 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
12005
12006 * image-mode.el: Fix scaling (bug#11399).
12007 (image-transform-resize): Doc fix.
12008 (image-transform-properties): Default scale is 1 and height should
12009 be an integer.
12010
12011 2012-05-13 Johan Bockgård <bojohan@gnu.org>
12012
12013 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
12014 than hard-coding `car', to fix misbehavior when moving forward.
12015
12016 2012-05-13 Chong Yidong <cyd@gnu.org>
12017
12018 * emacs-lisp/tabulated-list.el (tabulated-list-format)
12019 (tabulated-list-entries, tabulated-list-padding)
12020 (tabulated-list-sort-key): Make permanent-local.
12021
12022 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
12023 (electric-buffer-list): Put electric buffer menu
12024 command descriptions in this docstring, instead of the docstring
12025 of electric-buffer-menu-mode. Code cleanups.
12026 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
12027 Electric-buffer-menu-mode.
12028 (electric-buffer-update-highlight): Minor code cleanup.
12029
12030 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
12031
12032 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
12033 (Bug#11447)
12034
12035 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
12036
12037 Move define-obsolete-variable-alias before the var's definition.
12038 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
12039 * tooltip.el (tooltip-hook):
12040 * textmodes/reftex-toc.el (reftex-toc-map):
12041 * textmodes/reftex-sel.el (reftex-select-label-map)
12042 (reftex-select-bib-map):
12043 * textmodes/reftex-index.el (reftex-index-map)
12044 (reftex-index-phrases-map):
12045 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
12046 * progmodes/meta-mode.el (meta-mode-map):
12047 * novice.el (disabled-command-hook):
12048 * loadhist.el (unload-hook-features-list):
12049 * frame.el (blink-cursor):
12050 * files.el (find-file-not-found-hooks, write-file-hooks)
12051 (write-contents-hooks):
12052 * emulation/tpu-edt.el (GOLD-map):
12053 * emacs-lock.el (emacs-lock-from-exiting):
12054 * emacs-lisp/generic.el (generic-font-lock-defaults):
12055 * emacs-lisp/chart.el (chart-map):
12056 * dos-fns.el (register-name-alist):
12057 * dired-x.el (dired-omit-files-p):
12058 * desktop.el (desktop-enable):
12059 * cus-edit.el (custom-mode-hook):
12060 * buff-menu.el (buffer-menu-mode-hook):
12061 * bookmark.el (bookmark-read-annotation-text-func)
12062 (bookmark-exit-hooks):
12063 * allout.el (allout-mode-deactivate-hook)
12064 (allout-exposure-change-hook, allout-structure-added-hook)
12065 (allout-structure-deleted-hook, allout-structure-shifted-hook):
12066 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
12067 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
12068 comes before the corresponding variable's definition.
12069
12070 2012-05-12 Chong Yidong <cyd@gnu.org>
12071
12072 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
12073 (Buffer-menu-mouse-select): Restore function (Bug#11459).
12074 (Buffer-menu-mode-map): Bind it.
12075 (Buffer-menu--pretty-name): Add a mouse-face property.
12076
12077 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
12078
12079 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
12080 (prolog-upper-case-string, prolog-lower-case-string)
12081 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
12082 (prolog-use-smie, prolog-smie-grammar): New vars.
12083 (prolog-smie-forward-token, prolog-smie-backward-token)
12084 (prolog-smie-rules): New funs.
12085 (prolog-comment-indent): Remove.
12086 (prolog-mode-variables): Use default comment indentation instead.
12087 Setup SMIE.
12088 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
12089 (prolog-mode): Don't call them any more.
12090 (prolog-electric-colon, prolog-electric-dash)
12091 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
12092
12093 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
12094
12095 * minibuffer.el (completion--twq-all): Again, allow case differences.
12096
12097 * term.el: Move keymap initialization code to be more idiomatic.
12098 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
12099 (term-terminal-menu): Move initialization into declaration.
12100 (term-escape-char): Let the user set it in her .emacs.
12101
12102 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
12103 Provide SMIE-based indentation (not enabled by default yet).
12104 (sh-mode-map): Don't bind electric keys.
12105 Use electric-pair-mode instead of skeleton-pair.
12106 (sh-assignment-regexp): Fit within 80 columns.
12107 (sh-indent-supported): Specify actual shell name instead of boolean.
12108 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
12109 (sh-maybe-here-document): Use it. Make obsolete.
12110 (sh-electric-here-document-mode) New minor mode.
12111 (sh-mode): Use it. Don't set sh-indent-supported-here here.
12112 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
12113 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
12114 (sh-smie-rc-grammar, sh-use-smie): New vars.
12115 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
12116 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
12117 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
12118 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
12119 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
12120 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
12121 (sh-set-shell): Use smie-setup if requested.
12122
12123 * term.el (term-set-escape-char): Properly set term-escape-char.
12124 See http://stackoverflow.com/questions/10524656.
12125
12126 2012-05-10 Chong Yidong <cyd@gnu.org>
12127
12128 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
12129 Use url-generic-parse-url, and handle host names and Windows
12130 filenames properly.
12131 (ffap-url-unwrap-remote): Use url-generic-parse-url.
12132 (ffap-url-unwrap-remote): Accept list values, specifying a list of
12133 URL schemes to work on.
12134 (ffap--toggle-read-only): New function.
12135 (ffap-read-only, ffap-read-only-other-window)
12136 (ffap-read-only-other-frame): Use it.
12137 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
12138 necessary for ffap-url-unwrap-remote.
12139
12140 2012-05-10 Dave Abrahams <dave@boostpro.com>
12141
12142 * cus-start.el (create-lockfiles): Add it.
12143
12144 2012-05-09 Chong Yidong <cyd@gnu.org>
12145
12146 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
12147 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
12148
12149 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12150
12151 * shell.el (shell-completion-vars): Fix last change (bug#11348).
12152
12153 2012-05-09 Chong Yidong <cyd@gnu.org>
12154
12155 * ansi-color.el (ansi-color-process-output): Check for validity of
12156 comint-last-output-start before using it. This avoids a bad
12157 interaction with gdb-mi's input/output buffer.
12158
12159 2012-05-09 Glenn Morris <rgm@gnu.org>
12160
12161 * files.el (dir-locals-read-from-file):
12162 Mention dir-locals in any error message.
12163
12164 2012-05-09 Chong Yidong <cyd@gnu.org>
12165
12166 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
12167 package (Bug#11410).
12168
12169 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
12170 variables into description.
12171
12172 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12173
12174 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
12175 shell-delimiter-argument-list (bug#11348).
12176 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
12177
12178 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
12179
12180 * textmodes/rst.el: Silence byte-compiler warnings.
12181 (rst-re-alist, rst-reset-section-caches): Move around.
12182 (rst-re): Use `characterp', not `char-valid-p'.
12183 (font-lock-beg, font-lock-end): Declare.
12184
12185 * progmodes/idlw-shell.el (specs): Remove reference to deleted
12186 variable `idlwave-shell-activate-alt-keybindings' and simplify.
12187
12188 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
12189
12190 2012-05-08 Glenn Morris <rgm@gnu.org>
12191
12192 * files.el (auto-mode-alist): Treat ".make" like ".mk".
12193
12194 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12195
12196 * vc/log-edit.el: Add GNU coding standards highlighting.
12197 (log-edit-font-lock-gnu-style)
12198 (log-edit-font-lock-gnu-keywords): New vars.
12199 (log-edit-font-lock-keywords): New fun.
12200 (log-edit-mode): Don't fold case in font-lock.
12201 (log-edit-font-lock-keywords): Do not assume case-folding.
12202
12203 * imenu.el: Misc cleanup. Make docstrings out of comments.
12204 Use lexical-binding.
12205 (imenu--index-alist, imenu--last-menubar-index-alist)
12206 (imenu-menubar-modified-tick): Use defvar-local.
12207 (imenu--split-menu): Remove unused var.
12208 (imenu--cleanup-seen): Declare as global.
12209 (imenu--cleanup): Use dolist.
12210
12211 * subr.el (defvar-local): Add debug spec and doc-string position.
12212
12213 2012-05-08 Glenn Morris <rgm@gnu.org>
12214
12215 * language/burmese.el, language/cham.el, language/czech.el:
12216 * language/english.el, language/georgian.el, language/greek.el:
12217 * language/japanese.el, language/khmer.el, language/korean.el:
12218 * language/lao.el, language/misc-lang.el, language/romanian.el:
12219 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
12220 * language/thai.el, language/utf-8-lang.el:
12221 Remove no-byte-compile setting.
12222
12223 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
12224
12225 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12226
12227 * progmodes/make-mode.el (makefile-browse):
12228 Remove unnecessary interactive. (Bug#11324)
12229
12230 2012-05-07 Glenn Morris <rgm@gnu.org>
12231
12232 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
12233
12234 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
12235
12236 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12237
12238 * loadup.el: Preload newcomment.el.
12239 * newcomment.el: Move autoload-only code to toplevel.
12240
12241 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
12242 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12243 Handle new :right-align column property.
12244 (tabulated-list-print-col): Idem, plus use `display' text-property to
12245 try and preserve alignment for variable pitch fonts.
12246
12247 2012-05-07 Chong Yidong <cyd@gnu.org>
12248
12249 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
12250 (tabulated-list-use-header-line): New var.
12251 (tabulated-list-init-header): Use it.
12252 (tabulated-list-print-fake-header): New function.
12253 (tabulated-list-print): Use it.
12254 (tabulated-list-sort-button-map): Add non-header-line commands.
12255 (tabulated-list-init-header): Add column name property to basic
12256 labels as well.
12257 (tabulated-list-col-sort): Handle non-header-line button case.
12258 (tabulated-list--sort-by-column-name): Fix a corner case.
12259
12260 * buff-menu.el (list-buffers--refresh):
12261 Handle Buffer-menu-use-header-line.
12262
12263 2012-05-06 Chong Yidong <cyd@gnu.org>
12264
12265 * buff-menu.el: Convert to Tabulated List mode.
12266 (Buffer-menu-buffer+size-width): Make obsolete.
12267 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
12268 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
12269 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
12270 documentation into docstring of buffer-menu.
12271 (Buffer-menu-toggle-files-only): Add an informative message.
12272 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
12273 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
12274 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
12275 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
12276 (Buffer-menu-execute, Buffer-menu-select)
12277 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
12278 (Buffer-menu-bury): Use Tabulated List machinery.
12279 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
12280 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
12281 Delete.
12282 (list-buffers--refresh): New function.
12283 (list-buffers-noselect): Use it.
12284 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
12285 (Buffer-menu--pretty-file-name): New helper functions.
12286
12287 * loadup.el: Preload tabulated-list.
12288
12289 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
12290 tabulated-list-sort-column.
12291 (tabulated-list-init-header): Add the initial aligning space even
12292 if tabulated-list-padding is zero.
12293
12294 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
12295
12296 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
12297 whose cdr is not a cons cell correctly (bug#11038).
12298
12299 2012-05-06 Chong Yidong <cyd@gnu.org>
12300
12301 * emacs-lisp/tabulated-list.el (tabulated-list-format):
12302 Accept additional plist in column descriptors.
12303 (tabulated-list-init-header): Obey it.
12304 (tabulated-list-get-entry): New function.
12305 (tabulated-list-put-tag): Use it. Use string-width instead of
12306 length.
12307 (tabulated-list--column-number): New function.
12308 (tabulated-list-print): Use it.
12309 (tabulated-list-print-col): New function.
12310 Set `tabulated-list-column-name' property on each column's text.
12311 (tabulated-list-print-entry): Use it.
12312 (tabulated-list-delete-entry, tabulated-list-set-col):
12313 New functions.
12314 (tabulated-list-sort-column): New command (Bug#11337).
12315
12316 * buff-menu.el (list-buffers): Move C-x C-b binding from
12317 buff-menu.el to bindings.el.
12318
12319 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
12320 :advertised-binding feature.
12321
12322 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
12323
12324 * progmodes/compile.el (compilation-internal-error-properties):
12325 Calculate start position correctly when end-col is set but
12326 end-line is not (Bug#11382).
12327
12328 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
12329
12330 * man.el (Man-unindent): Use text-property-default-nonsticky to
12331 prevent untabify from inheriting face properties (Bug#11408).
12332
12333 2012-05-05 Stefan Merten <smerten@oekonux.de>
12334
12335 * textmodes/rst.el: Major merge with upstream development up to
12336 Docutils SVN r7399 / rst.el V1.2.1.
12337
12338 Clarify maintainership and authors.
12339
12340 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
12341 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
12342 (rst-official-version, rst-official-cvs-rev, rst-version)
12343 (rst-package-emacs-version-alist): New functions and variables
12344 for version information.
12345
12346 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
12347 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
12348 (rst-mode-syntax-table, rst-mode): New and corrected functions
12349 and variables representing reStructuredText features.
12350
12351 (rst-re): New function for reStructuredText regexes. Use in
12352 many places.
12353
12354 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
12355 (rst-mode-map): Rebind keys.
12356
12357 (rst-mode-lazy, rst-font-lock-keywords)
12358 (rst-font-lock-extend-region)
12359 (rst-font-lock-extend-region-internal)
12360 (rst-font-lock-extend-region-extend)
12361 (rst-font-lock-find-unindented-line-limit)
12362 (rst-font-lock-find-unindented-line-match)
12363 (rst-adornment-level, rst-font-lock-adornment-level)
12364 (rst-font-lock-adornment-match)
12365 (rst-font-lock-handle-adornment-pre-match-form)
12366 (rst-font-lock-handle-adornment-matcher): Major revision of
12367 font-locking. Integrate with other code. Use `jit-lock-mode'.
12368
12369 (rst-preferred-adornments, rst-adjust-hook)
12370 (rst-new-adornment-down, rst-preferred-bullets)
12371 (rst-preferred-bullets, rst-indent, rst-indent-width)
12372 (rst-indent-field, rst-indent-literal-normal)
12373 (rst-indent-literal-minimized, rst-indent-comment): Change,
12374 extend and improve customization.
12375
12376 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
12377 (rst-normalize-cursor-position, rst-get-decoration)
12378 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
12379 (rst-rstrip, rst-toc-insert-find-delete-contents)
12380 (rst-shift-fill-region, rst-compute-bullet-tabs)
12381 (rst-debug-print-tabs, rst-debug-mark-found)
12382 (rst-shift-region-guts, rst-shift-region-right)
12383 (rst-shift-region-left, rst-use-char-classes)
12384 (rst-font-lock-keywords-function)
12385 (rst-font-lock-indentation-point)
12386 (rst-font-lock-find-unindented-line-begin)
12387 (rst-font-lock-find-unindented-line-end)
12388 (rst-font-lock-find-unindented-line)
12389 (rst-font-lock-adornment-point, rst-font-lock-level)
12390 (rst-adornment-level-alist): Remove functions and variables.
12391
12392 (rst-compare-adornments, rst-get-adornment-match)
12393 (rst-suggest-new-adornment, rst-get-adornments-around)
12394 (rst-adornment-complete-p, rst-get-next-adornment)
12395 (rst-adjust-adornment, rst-display-adornments-hierarchy)
12396 (rst-straighten-adornments): Standardize function names to
12397 use "adornment" instead of "decoration". Correct callers.
12398 Similar standardizing in many places.
12399
12400 (rst-update-section, rst-adjust, rst-promote-region)
12401 (rst-enumerate-region, rst-bullet-list-region)
12402 (rst-repeat-last-character): Correct use of `interactive'.
12403
12404 (rst-classify-adornment, rst-find-all-adornments)
12405 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
12406 (rst-find-leftmost-column, rst-repeat-last-character):
12407 Refactor functions.
12408
12409 (rst-find-title-line, rst-reset-section-caches)
12410 (rst-get-adornments-around, rst-adjust-adornment-work)
12411 (rst-arabic-to-roman, rst-roman-to-arabic)
12412 (rst-insert-list-pos, rst-insert-list-new-item)
12413 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
12414 New functions.
12415
12416 (rst-all-sections, rst-section-hierarchy)
12417 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
12418 New variables.
12419
12420 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
12421 configuration instead of only buffer. Change where necessary.
12422
12423 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
12424 (rst-shift-region, rst-adaptive-fill): New functions for
12425 indentation and filling.
12426
12427 (rst-comment-line-break, rst-comment-indent)
12428 (rst-comment-insert-comment, rst-comment-region)
12429 (rst-uncomment-region): New functions for handling comments.
12430
12431 (rst-compile): Quote shell arguments.
12432
12433 (rst-compile-pdf-preview, rst-compile-slides-preview):
12434 Delete temporary files after use.
12435
12436 2012-05-05 Glenn Morris <rgm@gnu.org>
12437
12438 * calendar/cal-html.el: Optionally include holidays in the output.
12439 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
12440 (cal-html-holidays): New option.
12441 (cal-html-css-default): Add holiday entry.
12442 (holiday-in-range): Autoload it.
12443 (cal-html-htmlify-entry): Add optional class argument.
12444 (cal-html-htmlify-list): Add optional holidays argument.
12445 (cal-html-insert-agenda-days): Include holidays in the output.
12446 (cal-html-one-month): Maybe include holidays.
12447
12448 * calendar/holidays.el (holiday-in-range):
12449 Move here from cal-tex-list-holidays.
12450 * calendar/cal-tex.el (cal-tex-list-holidays):
12451 Make it an obsolete alias for holiday-in-range. Update all callers.
12452
12453 2012-05-05 Chong Yidong <cyd@gnu.org>
12454
12455 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
12456 Nextstep.
12457
12458 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
12459
12460 * files.el (file-auto-mode-skip): New var.
12461 (set-auto-mode-1): Use it.
12462
12463 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12464
12465 * repeat.el: Use lexical-binding.
12466 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
12467 (repeat-undo-count): Remove.
12468 (repeat):
12469 * progmodes/octave-mod.el (octave-abbrev-start):
12470 * progmodes/f90.el (f90-abbrev-start):
12471 * face-remap.el (text-scale-adjust):
12472 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
12473
12474 * emacs-lisp/pcase.el (pcase--let*): New function.
12475 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
12476 a bit more.
12477 (pcase--split-pred): Be more clever about ruling out overlap between
12478 a predicate and some constant pattern.
12479 (pcase--q1): Use `null' instead of (eq foo nil).
12480
12481 * subr.el (setq-local, defvar-local): New macros.
12482 (kbd): Redefine as an alias.
12483 (with-selected-window): Leave unrelated frames alone.
12484 (set-temporary-overlay-map): New function.
12485
12486 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12487
12488 * subr.el (user-error): New function.
12489 * window.el (switch-to-buffer):
12490 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
12491 (smerge-match-conflict):
12492 * simple.el (previous-matching-history-element)
12493 (next-matching-history-element, goto-history-element, undo-more)
12494 (undo-start):
12495 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
12496 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
12497 (next-file, tags-loop-scan, list-tags, complete-tag):
12498 * progmodes/compile.el (compilation-loop):
12499 * mouse.el (mouse-minibuffer-check):
12500 * man.el (Man-bgproc-sentinel, Man-goto-page):
12501 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
12502 (Info-history-forward, Info-follow-reference, Info-menu)
12503 (Info-extract-menu-item, Info-extract-menu-counting)
12504 (Info-forward-node, Info-backward-node, Info-next-menu-item)
12505 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
12506 (Info-next-reference, Info-prev-reference, Info-index)
12507 (Info-index-next, Info-follow-nearest-node)
12508 (Info-copy-current-node-name):
12509 * imenu.el (imenu--make-index-alist)
12510 (imenu-default-create-index-function, imenu-add-to-menubar):
12511 * files.el (basic-save-buffer, recover-file):
12512 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
12513 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
12514 (checkdoc-message-text, checkdoc-defun):
12515 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
12516 * cus-edit.el (customize-changed-options, customize-rogue)
12517 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
12518 (custom-variable-mark-to-reset-standard)
12519 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
12520 (custom-file):
12521 * completion.el (check-completion-length):
12522 * comint.el (comint-search-arg)
12523 (comint-previous-matching-input-string-position)
12524 (comint-previous-matching-input)
12525 (comint-replace-by-expanded-history-before-point, comint-send-input)
12526 (comint-copy-old-input, comint-backward-matching-input)
12527 (comint-goto-process-mark, comint-set-process-mark):
12528 * calendar/calendar.el (calendar-cursor-to-date): Use it.
12529 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
12530
12531 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12532
12533 * dabbrev.el (dabbrev--ignore-case-p): New function.
12534 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
12535 Use it.
12536
12537 * files.el (automount-dir-prefix): Mark as obsolete.
12538
12539 2012-05-04 Glenn Morris <rgm@gnu.org>
12540
12541 * patcomp.el, play/bruce.el: Move to obsolete/.
12542
12543 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
12544
12545 Fix minor Y10k bugs.
12546 * arc-mode.el (archive-unixdate):
12547 * autoinsert.el (auto-insert-alist):
12548 * calc/calc-forms.el (math-this-year):
12549 * emacs-lisp/copyright.el (copyright-current-year)
12550 (copyright-update-year, copyright):
12551 * tar-mode.el (tar-clip-time-string):
12552 * time.el (display-time-update):
12553 Don't assume years have 4 digits.
12554
12555 2012-05-04 Chong Yidong <cyd@gnu.org>
12556
12557 * dos-w32.el (file-name-buffer-file-type-alist)
12558 (direct-print-region-use-command-dot-com):
12559 * ffap.el (ffap-menu-regexp):
12560 * find-file.el (ff-special-constructs):
12561 * follow.el (follow-debug):
12562 * forms.el (forms--debug):
12563 * iswitchb.el (iswitchb-all-frames):
12564 * ido.el (ido-all-frames):
12565 * emacs-lisp/timer.el (timer-max-repeats):
12566 * mail/feedmail.el (feedmail-mail-send-hook)
12567 (feedmail-mail-send-hook-queued):
12568 * mail/footnote.el (footnote-signature-separator):
12569 * mail/mailabbrev.el (mail-alias-separator-string)
12570 (mail-abbrev-mode-regexp):
12571 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
12572 * progmodes/idlwave.el (idlwave-libinfo-file)
12573 (idlwave-default-completion-case-is-down)
12574 (idlwave-library-routines): Convert defvars to defcustoms.
12575
12576 * mail/rmail.el (rmail-decode-mime-charset):
12577 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
12578 (idlwave-shell-fix-inserted-breaks)
12579 (idlwave-shell-activate-alt-keybindings)
12580 (idlwave-shell-use-breakpoint-glyph):
12581 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
12582
12583 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12584
12585 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
12586
12587 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
12588
12589 * progmodes/verilog-mode.el (font-lock-keywords):
12590 Fix mis-highligting auto. Reported by Craig Barner.
12591 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
12592 defines from global name space. Reported by Dan Dever.
12593 (verilog-auto-reset, verilog-auto-reset-widths)
12594 (verilog-auto-tieoff): Support using unbased numbers for
12595 AUTORESET and AUTOTIEOFF.
12596 (verilog-submit-bug-report): Update variable list.
12597 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
12598 parenthesis from not matching. Reported by Michael Rytting.
12599 (verilog-auto-template-lint): Fix hash error when linting modules
12600 with no used templates.
12601 (verilog-warn, verilog-warn-error)
12602 (verilog-warn-fatal): When non-interactive report multiple
12603 warnings before exiting. Suggested by Brad Dobbie.
12604 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
12605 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
12606 to report unused template errors. Reported by Brad Dobbie.
12607 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
12608 nets, bug438. Reported by Vns Blore.
12609 (verilog-auto-inout-module, verilog-auto-reg)
12610 (verilog-read-decls, verilog-read-sub-decls-sig)
12611 (verilog-signals-edit-wire-reg, verilog-signals-with):
12612 Fix passing of Verilog data types in ANSI input/output ports
12613 such as "output logic" into the AUTOs. Special case "wire" and
12614 "reg" for backwards compatibility presuming Verilog 2001.
12615 (verilog-auto-ascii-enum): Add "auto enum" as alias.
12616 (verilog-preprocess): Fix replication of preprocess output.
12617 Reported by Brad Dobbie.
12618 (verilog-auto-inst-interfaced-ports):
12619 Create verilog-auto-inst-interfaced-ports, bug429.
12620 Reported by Julian Gorfajn.
12621 (verilog-after-save-font-hook)
12622 (verilog-before-save-font-hook): New variable.
12623 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
12624 (verilog-save-font-mods): Wrap disabling fontification, reported
12625 by David Rogoff.
12626 (verilog-do-indent, verilog-pretty-declarations-auto)
12627 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
12628 Reported by Pierre-David Pfister.
12629 (verilog-set-auto-endcomments): Fix endtask auto comments outside
12630 of class declarations, bug292. Reported by Kevin Heilman.
12631 (verilog-read-decls): Fix 'parameter type' not appearing in
12632 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
12633 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
12634 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
12635 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
12636 Reported by David Kravitz.
12637
12638 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
12639
12640 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
12641 assignment with tests in ifs and for loops.
12642 (verilog-extended-complete-re, verilog-complete-reg): Change so
12643 that DPI inport functions don't look like fuction declarations.
12644 (verilog-pretty-expr): Don't line up assignment
12645 operations to the test and increment in if and for loops
12646 (verilog-extended-complete-re, verilog-complete-reg): Change so
12647 that DPI inport functions don't look like fuction declarations.
12648
12649 2012-05-03 Kenichi Handa <handa@m17n.org>
12650
12651 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
12652 decoding, and show a warning message without signaling an error
12653 (Bug#11282).
12654
12655 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12656
12657 * emacs-lisp/bytecomp.el
12658 (byte-compile-file-form-custom-declare-variable): Compile all elements,
12659 since cconv.el might have introduced :fun-body, internal-make-closure,
12660 and friends for bytecomp to handle (bug#11391).
12661 * custom.el (defcustom): Avoid ((λ ..) ..).
12662
12663 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
12664
12665 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
12666
12667 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
12668
12669 * notifications.el (dbus-debug):
12670 * term/linux.el (gpm-mouse-enable):
12671 * term/screen.el (xterm-register-default-colors): Declare.
12672
12673 2012-05-02 Chong Yidong <cyd@gnu.org>
12674
12675 * cus-start.el (gc-cons-percentage, exec-suffixes)
12676 (dos-display-scancodes, dos-hyper-key, dos-super-key)
12677 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
12678 (make-cursor-line-fully-visible, void-text-area-pointer)
12679 (font-list-limit): Add customization data.
12680
12681 * allout.el (allout-exposure-change-functions)
12682 (allout-structure-added-functions)
12683 (allout-structure-deleted-functions)
12684 (allout-structure-shifted-functions): Rename abnormal hooks from
12685 *-hook, and convert to defcustoms.
12686 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
12687 Convert to defcustoms.
12688 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
12689
12690 * allout-widgets.el: Hook callers changed.
12691
12692 2012-05-02 Eli Zaretskii <eliz@gnu.org>
12693
12694 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
12695 the yanked message in preference to the default value of
12696 buffer-file-coding-system.
12697
12698 2012-05-02 Martin Rudalics <rudalics@gmx.at>
12699
12700 * window.el (display-buffer--action-function-custom-type):
12701 Fix entry.
12702
12703 2012-05-02 Alan Mackenzie <acm@muc.de>
12704
12705 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
12706
12707 2012-05-01 Glenn Morris <rgm@gnu.org>
12708
12709 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
12710
12711 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
12712
12713 * cus-edit.el (custom-variable-documentation): Simplify with format.
12714
12715 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12716 Stefan Monnier <monnier@iro.umontreal.ca>
12717
12718 * simple.el (suggest-key-bindings, execute-extended-command):
12719 Move from keyboard.c.
12720
12721 2012-05-01 Chong Yidong <cyd@gnu.org>
12722
12723 * follow.el: Eliminate advice.
12724 (set-process-filter, process-filter, sit-for): Advice deleted.
12725 (follow-mode-off-hook): Obsolete hook removed.
12726 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
12727 Vars deleted.
12728 (follow-auto): Use a :set function.
12729 (follow-mode): Rewritten. Don't advise process filters.
12730 (follow-switch-to-current-buffer-all, follow-scroll-up)
12731 (follow-scroll-down): Assume follow-mode is bound.
12732 (follow-comint-scroll-to-bottom)
12733 (follow-align-compilation-windows): New functions.
12734 (follow--window-sorter): New function.
12735 (follow-all-followers): Use it to explicitly sort windows by their
12736 positions; don't make assumptions about next-window order.
12737 (follow-windows-start-end, follow-delete-other-windows-and-split)
12738 (follow-calc-win-start): Doc fix.
12739 (follow-windows-aligned-p, follow-select-if-visible): Don't call
12740 vertical-motion unnecessarily.
12741 (follow-adjust-window): New function.
12742 (follow-post-command-hook): Use it.
12743 (follow-call-set-process-filter, follow-call-process-filter)
12744 (follow-intercept-process-output, follow-tidy-process-filter-alist)
12745 (follow-stop-intercept-process-output, follow-generic-filter):
12746 Functions deleted.
12747 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
12748 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
12749 New functions, replacing advice on scroll-bar-* commands.
12750 (follow-mwheel-scroll): New function (Bug#4112).
12751
12752 * comint.el (comint-adjust-point): New function.
12753 (comint-postoutput-scroll-to-bottom): Use it.
12754 Call follow-comint-scroll-to-bottom for Follow mode buffers.
12755
12756 2012-05-01 Glenn Morris <rgm@gnu.org>
12757
12758 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
12759 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
12760 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
12761 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
12762 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
12763 Remove no-byte-compile setting.
12764
12765 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
12766
12767 * minibuffer.el (completion-table-with-quoting): Fix compatibility
12768 all-completions code to not return a number in the last cdr.
12769
12770 2012-04-30 Leo Liu <sdl.web@gmail.com>
12771
12772 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
12773 read-only error.
12774
12775 2012-04-29 Chong Yidong <cyd@gnu.org>
12776
12777 * follow.el (follow-calc-win-end): Rewrite to handle partial
12778 screen lines correctly (Bug#8390).
12779 (follow-avoid-tail-recenter): Minor cleanup.
12780
12781 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12782
12783 Avoid the obsolete `assoc' package.
12784 * speedbar.el (speedbar-refresh): Avoid adelete.
12785 (speedbar-file-lists): Simplify and avoid aput.
12786 * man.el (Man--sections, Man--refpages): New vars, replacing
12787 Man-sections-alist and Man-refpages-alist.
12788 (Man-build-section-alist, Man-build-references-alist):
12789 Use them; avoid aput.
12790 (Man--last-section, Man--last-refpage): New vars.
12791 (Man-follow-manual-reference): Use them.
12792 Use the `default' arg of completing-read.
12793 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
12794
12795 2012-04-27 Chong Yidong <cyd@gnu.org>
12796
12797 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
12798
12799 * startup.el (x-apply-session-resources): New function.
12800
12801 * term/ns-win.el (ns-initialize-window-system):
12802 * term/w32-win.el (w32-initialize-window-system):
12803 * term/x-win.el (x-initialize-window-system): Use it to properly
12804 set menu-bar-mode and other vars from X resources, even if the
12805 initial frame is not a window-system frame (Bug#2299).
12806
12807 * subr.el (read-key): Avoid running filter function when setting
12808 up temporary tool bar entries (Bug#9922).
12809
12810 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
12811
12812 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
12813 (Bug#11344)
12814
12815 2012-04-27 Chong Yidong <cyd@gnu.org>
12816
12817 * select.el (xselect--encode-string): New function, split from
12818 xselect-convert-to-string.
12819 (xselect-convert-to-string): Use it.
12820 (xselect-convert-to-filename, xselect-convert-to-os)
12821 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
12822 returned strings are properly encoded (Bug#11315).
12823
12824 2012-04-27 Chong Yidong <cyd@gnu.org>
12825
12826 * simple.el (delete-active-region): Move to killing custom group.
12827
12828 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
12829
12830 * progmodes/which-func.el (which-func-current): Quote %
12831 characters for mode-line processing.
12832
12833 2012-04-27 Chong Yidong <cyd@gnu.org>
12834
12835 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
12836 reaching eob (Bug#11286).
12837
12838 2012-04-27 Eli Zaretskii <eliz@gnu.org>
12839
12840 * progmodes/gdb-mi.el (gdb-control-level): New variable.
12841 (gdb): Make it buffer-local and init to zero.
12842 (gdb-control-commands-regexp): New variable.
12843 (gdb-send): Don't wrap in "-interpreter-exec console" if
12844 gdb-control-level is positive. Increment gdb-control-level
12845 whenever the command matches gdb-control-commands-regexp, and
12846 decrement it each time the command is "end". (Bug#11279)
12847
12848 2012-04-27 Martin Rudalics <rudalics@gmx.at>
12849
12850 * window.el (adjust-window-trailing-edge, enlarge-window)
12851 (shrink-window, window-resize):
12852 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
12853 windows (Bug#11276).
12854
12855 2012-04-27 Chong Yidong <cyd@gnu.org>
12856
12857 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
12858 fix "missing prefix" warning. All callers changed.
12859
12860 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
12861
12862 * emacs-lisp/assoc.el: Move to obsolete/.
12863
12864 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12865
12866 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
12867
12868 * term/ns-win.el (ns-define-service):
12869 * progmodes/pascal.el (pascal-goto-defun):
12870 * progmodes/js.el (js--read-tab):
12871 * progmodes/etags.el (tags-lazy-completion-table):
12872 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
12873 * emacs-lisp/ewoc.el (ewoc--wrap):
12874 * emacs-lisp/assoc.el (aput, adelete, amake):
12875 * doc-view.el (doc-view-convert-current-doc):
12876 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
12877
12878 2012-04-26 Chong Yidong <cyd@gnu.org>
12879
12880 * image.el (image-type-from-buffer): Only return supported image
12881 type (Bug#9045).
12882
12883 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
12884 value, for symmetry with diff-end-of-hunk.
12885 (diff-split-hunk, diff-find-source-location)
12886 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
12887 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
12888 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
12889 compute the relevant hunk or file properly (Bug#6005).
12890 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
12891
12892 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12893
12894 * vc/vc-mtn.el:
12895 * vc/vc-hg.el:
12896 * vc/vc-git.el:
12897 * vc/vc-dir.el:
12898 * vc/vc-cvs.el:
12899 * vc/vc-bzr.el:
12900 * vc/vc-arch.el:
12901 * vc/vc.el: Replace lexical-let by lexical-binding.
12902 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
12903 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
12904 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
12905
12906 2012-04-26 Chong Yidong <cyd@gnu.org>
12907
12908 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
12909 (diff-mode-shared-map): Bind it to / and [remap undo].
12910
12911 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
12912 (ediff-window-setup-function): Use it as the default, to set up
12913 windows based on whether the current frame is graphical (Bug#2138).
12914 (ediff-choose-window-setup-function-automatically): Make obsolete.
12915
12916 * vc/ediff-init.el: Always define ediff-pixel-width/height.
12917
12918 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12919
12920 * ffap.el: Remove old code for obsolete package.
12921 (ffap-complete-as-file-p): Remove.
12922
12923 Use completion-table-with-quoting for comint and pcomplete.
12924 * comint.el (comint--unquote&requote-argument)
12925 (comint--unquote-argument, comint--requote-argument): New functions.
12926 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
12927 (comint-quote-filename): Use regexp-opt-charset.
12928 (comint--common-suffix, comint--common-quoted-suffix)
12929 (comint--table-subvert): Remove.
12930 (comint-unquote-function, comint-requote-function): New vars.
12931 (comint--complete-file-name-data): Use them with
12932 completion-table-with-quoting.
12933 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
12934 * pcomplete.el (pcomplete-arg-quote-list)
12935 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
12936 (pcomplete-unquote-argument-function): Default to non-nil.
12937 (pcomplete-unquote-argument): Simplify.
12938 (pcomplete--common-quoted-suffix): Remove.
12939 (pcomplete-requote-argument-function): New var.
12940 (pcomplete--common-suffix): New function.
12941 (pcomplete-completions-at-point): Use completion-table-with-quoting
12942 and completion-table-subvert.
12943
12944 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
12945 (minibuffer--double-dollars): Preserve properties.
12946 (completion--sifn-requote): New function.
12947 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
12948
12949 * minibuffer.el: Add support for completion of quoted/escaped data.
12950 (completion-table-with-quoting, completion-table-subvert): New funs.
12951 (completion--twq-try, completion--twq-all): New functions.
12952 (completion--nth-completion): New function.
12953 (completion-try-completion, completion-all-completions): Use it.
12954
12955 2012-04-25 Leo Liu <sdl.web@gmail.com>
12956
12957 * progmodes/python.el (python-pdbtrack-get-source-buffer):
12958 Use compilation-message if available to find real filename.
12959
12960 2012-04-25 Chong Yidong <cyd@gnu.org>
12961
12962 * vc/diff-mode.el (diff-setup-whitespace): New function.
12963 (diff-mode): Use it.
12964
12965 * vc/diff.el (diff-sentinel):
12966 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
12967 Whitespace mode variables based on diff style (Bug#8612).
12968
12969 2012-04-25 Leo Liu <sdl.web@gmail.com>
12970
12971 * progmodes/python.el (python-send-region): Add suffix .py to the
12972 temp file.
12973
12974 * files.el (auto-mode-alist): Use javascript-mode instead.
12975
12976 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
12977
12978 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
12979
12980 * net/soap-client.el (soap-resolve-references-for-sequence-type)
12981 (soap-resolve-references-for-array-type): Hack to prevent self
12982 references, see Bug#9.
12983 (soap-parse-envelope): Report the contents of the 'detail' node
12984 when receiving a fault reply.
12985 (soap-parse-envelope): Report the contents of the entire 'detail' node.
12986
12987 * net/soap-inspect.el (soap-sample-value-for-simple-type)
12988 (soap-inspect-simple-type): New function.
12989
12990 * net/soap-client.el (soap-simple-type): New struct.
12991 (soap-default-xsd-types, soap-default-soapenc-types)
12992 (soap-decode-basic-type, soap-encode-basic-type):
12993 support unsignedInt and double basic types.
12994 (soap-resolve-references-for-simple-type)
12995 (soap-parse-simple-type, soap-encode-simple-type): New function.
12996 (soap-parse-schema): Parse xsd:simpleType declarations.
12997
12998 * net/soap-client.el (soap-default-xsd-types)
12999 (soap-default-soapenc-types): Add integer, byte and anyURI types.
13000 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
13001 the local name of "soapenc:Array".
13002 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
13003 decoding integer, byte and anyURI xsd types.
13004
13005 2012-04-25 Chong Yidong <cyd@gnu.org>
13006
13007 * cus-edit.el (custom-buffer-create-internal): Update header text.
13008
13009 2012-04-25 Eli Zaretskii <eliz@gnu.org>
13010
13011 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
13012 settings on 'system-type', not on 'window-system'. On MS-Windows,
13013 set interactive-mode on in GDB.
13014
13015 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13016
13017 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
13018 (ruby-syntax-propertize-regexp): Remove.
13019 (ruby-syntax-propertize-function): Split regexp into chunks.
13020 Match following code directly.
13021
13022 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
13023
13024 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
13025 (ruby-syntax-propertize-regexp): New function.
13026 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
13027 by a special keyword.
13028
13029 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
13030 (ruby-syntax-general-delimiters-goto-beg)
13031 (ruby-syntax-propertize-general-delimiters): New functions.
13032 (ruby-syntax-propertize-function): Use them to handle GDL.
13033 (ruby-font-lock-keywords): Move old handling of GDL...
13034 (ruby-font-lock-syntactic-keywords): .. to here.
13035 (ruby-calculate-indent): Adjust indentation for GDL.
13036
13037 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
13038
13039 * notifications.el (top): Remove unneeded declarations.
13040 (notifications-specification-version): Change to "1.2".
13041 (notifications-interface, notifications-notify-method)
13042 (notifications-close-notification-method): Fix docstring.
13043 (notifications-get-capabilities-method): New defconst.
13044 (notifications-notify): Add :action-items, :resident and
13045 :transient hints. Change "image_data" to "image-data" and
13046 "image_path" to "image-path".
13047 (notifications-get-capabilities): New defun.
13048
13049 2012-04-24 Leo Liu <sdl.web@gmail.com>
13050
13051 * progmodes/python.el: Move hideshow setup to the end.
13052
13053 2012-04-24 Martin Rudalics <rudalics@gmx.at>
13054
13055 * window.el (handle-select-window): Clear echo area since this is
13056 no more done by read_char (Bug#11304).
13057
13058 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13059
13060 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
13061 and `/ M' to filter-derived-mode.
13062 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
13063 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
13064 (ibuffer-mark-by-mode): Use default rather than initial-input.
13065 (ibuffer-filter-by-derived-mode): Autoload and require-match.
13066
13067 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
13068
13069 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
13070 (ibuffer-filter-by-derived-mode): New filter.
13071 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
13072
13073 2012-04-23 Andreas Politz <politza@fh-trier.de>
13074
13075 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
13076
13077 2012-04-23 Chong Yidong <cyd@gnu.org>
13078
13079 * cus-edit.el (customize-apropos, customize-apropos-options):
13080 Disable matching of non-option variables (Bug#11176).
13081 (customize-option, customize-option-other-window)
13082 (customize-changed-options): Doc fix.
13083 (customize-apropos-options, customize-apropos-faces)
13084 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
13085
13086 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
13087 Fix word list splitting (Bug#11132).
13088 (apropos-symbol, apropos-keybinding, apropos-label)
13089 (apropos-property, apropos-function-button)
13090 (apropos-variable-button, apropos-misc-button): New faces.
13091 (apropos-symbol-face, apropos-keybinding-face)
13092 (apropos-label-face, apropos-property-face, apropos-match-face):
13093 Variables removed (Bug#8396).
13094 (apropos-library-button, apropos-format-plist, apropos-print)
13095 (apropos-print-doc, apropos-describe-plist): Callers changed.
13096
13097 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
13098
13099 * net/xesam.el (xesam-mode-map): Use let-bound map in
13100 initialization. (Bug#11292)
13101
13102 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13103
13104 Preserve ispell session localwords when switching back to
13105 original buffer.
13106
13107 * textmodes/ispell.el (ispell-buffer-session-localwords):
13108 New buffer-local variable to hold buffer session localwords.
13109 (ispell-kill-ispell): Add option 'clear to delete session
13110 localwords.
13111 (ispell-command-loop, ispell-change-dictionary)
13112 (ispell-buffer-local-words): Preserve session localwords when
13113 needed.
13114
13115 * textmodes/flyspell.el (flyspell-process-localwords)
13116 (flyspell-do-correct): Preserve session localwords when needed.
13117
13118 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13119
13120 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
13121 using obsolete `translation-table-for-input'.
13122 (ispell-word, ispell-process-line, ispell-complete-word):
13123 Use plain `insert' instead of removed `ispell-insert-word'.
13124
13125 2012-04-22 Chong Yidong <cyd@gnu.org>
13126
13127 * cus-edit.el (custom-variable-menu)
13128 (custom-variable-reset-saved, custom-face-menu)
13129 (custom-face-reset-saved): If there is no saved value, make the
13130 "reset-saved" operation bring back the default (Bug#9509).
13131 (custom-face-state): Properly detect themed faces.
13132
13133 * faces.el (face-spec-set): Stop supporting deprecated form of
13134 third arg.
13135
13136 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
13137
13138 Move functions from C to Lisp. Make non-blocking method calls
13139 the default. Implement further D-Bus standard interfaces.
13140
13141 * net/dbus.el (dbus-message-internal): Declare function.
13142 Remove unneeded function declarations.
13143 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
13144 (dbus-message-type-method-return, dbus-message-type-error)
13145 (dbus-message-type-signal): Declare variables. Remove local
13146 definitions.
13147 (dbus-interface-dbus, dbus-interface-peer)
13148 (dbus-interface-introspectable, dbus-interface-properties)
13149 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
13150 Adapt docstring.
13151 (dbus-interface-objectmanager): New defconst.
13152 (dbus-call-method, dbus-call-method-asynchronously)
13153 (dbus-send-signal, dbus-method-return-internal)
13154 (dbus-method-error-internal, dbus-register-service)
13155 (dbus-register-signal, dbus-register-method): New defuns, moved
13156 from dbusbind.c
13157 (dbus-call-method-handler, dbus-setenv)
13158 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
13159 New defuns.
13160 (dbus-call-method-non-blocking): Make it an obsolete function.
13161 (dbus-unregister-object, dbus-unregister-service)
13162 (dbus-handle-event, dbus-register-property)
13163 (dbus-property-handler): Obey the new structure of
13164 `bus-registered-objects'.
13165 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
13166 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
13167 Use `dbus-call-method'.
13168
13169 2012-04-22 Chong Yidong <cyd@gnu.org>
13170
13171 * cus-edit.el (custom-commands, custom-reset-menu)
13172 (Custom-reset-standard): Tweak labels.
13173 (custom-reset-button-menu): Change default to t.
13174 (custom-buffer-create-internal): For the custom-reset-button-menu
13175 case, put the revert button first.
13176 (custom-group-subtitle): New face.
13177 (custom-group-value-create): Align docstring to a specific column.
13178
13179 * wid-edit.el (widget-documentation-link-add): Don't handle
13180 indentation in this function.
13181 (widget-documentation-string-indent-to): New function.
13182 (widget-documentation-string-value-create): Use it.
13183
13184 * autorevert.el (auto-revert):
13185 * epg-config.el (epg):
13186 * ibuffer.el (ibuffer):
13187 * mpc.el (mpc):
13188 * ses.el (ses):
13189 * eshell/eshell.el (eshell):
13190 * net/ange-ftp.el (ange-ftp):
13191 * progmodes/ebnf2ps.el (postscript):
13192 * progmodes/flymake.el (flymake):
13193 * progmodes/prolog.el (prolog):
13194 * progmodes/verilog-mode.el (verilog-mode):
13195 * progmodes/which-func.el (which-func):
13196 * term/xterm.el (xterm):
13197 * textmodes/picture.el (picture):
13198 * textmodes/tildify.el (tildify):
13199 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
13200 customization buffers.
13201
13202 2012-04-22 Alan Mackenzie <acm@muc.de>
13203
13204 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
13205 Adding a ) can hide the resulting (..) from searches. Fix it.
13206 Bound the backward search to the position of the existing (.
13207
13208 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
13209
13210 * progmodes/verilog-mode.el (verilog-mode): Check whether
13211 which-func-modes is t before adding verilog-mode.
13212 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
13213
13214 2012-04-21 Leo Liu <sdl.web@gmail.com>
13215
13216 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
13217
13218 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
13219
13220 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
13221 filling of the last column of a table (Bug#5635).
13222 (woman-find-next-control-line): New arg, specifying an additional
13223 regexp component for the control line.
13224 (woman2-roff-buffer): Use it.
13225 (woman-break-table): New function.
13226 (woman2-TS): Use it.
13227
13228 2012-04-21 Chong Yidong <cyd@gnu.org>
13229
13230 * woman.el (woman-set-buffer-display-table, woman-decode-region)
13231 (woman-horizontal-escapes, woman-negative-vertical-space)
13232 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
13233 (WoMan-warn-ignored): Use ?\s instead of ?\ .
13234
13235 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13236
13237 * minibuffer.el (completion-file-name-table): Complete user names.
13238
13239 2012-04-20 Leo Liu <sdl.web@gmail.com>
13240
13241 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
13242 and pcase-let*.
13243
13244 2012-04-20 Chong Yidong <cyd@gnu.org>
13245
13246 * server.el (server-execute): Respect initial-buffer-choice if it
13247 is a string and there are no files to open (Bug#2825).
13248 (server-create-window-system-frame, server-create-tty-frame):
13249 Don't switch buffers here.
13250 (server-process-filter): Only try to open a window system frame if
13251 compiled with graphical support (Bug#8314).
13252
13253 2012-04-20 Dan Nicolaescu <dann@gnu.org>
13254
13255 * battery.el (battery-echo-area-format): Display remaining time
13256 for sysfs backend too (Bug#11269).
13257 (battery-linux-sysfs): Fix conditional for the charge.
13258
13259 2012-04-20 Chong Yidong <cyd@gnu.org>
13260
13261 * progmodes/gdb-mi.el (gdb): Revert previous change.
13262 (gdb-inferior-io--init-proc): New function.
13263 (gdb-init-1): Use it.
13264 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
13265 responsible for allocating a new pty and hooking it to gdb when
13266 the old pty gets an EIO due to process exit.
13267 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
13268 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
13269 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
13270
13271 2012-04-20 Eli Zaretskii <eliz@gnu.org>
13272
13273 * window.el (window-min-size, window-sizable, window-min-delta)
13274 (window-max-delta, window--resizable, window-resizable)
13275 (window-total-size, window-full-height-p, window-full-width-p)
13276 (window-in-direction, window--resize-mini-window, window-resize)
13277 (window--resize-child-windows-normal)
13278 (window--resize-child-windows, window--resize-siblings)
13279 (window--resize-this-window, adjust-window-trailing-edge)
13280 (enlarge-window, shrink-window): Doc fixes.
13281
13282 2012-04-20 Chong Yidong <cyd@gnu.org>
13283
13284 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
13285 New function to call delete-process on the gdb-inferior buffer's pty.
13286 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
13287 pty process (Bug#11273).
13288 (gdb-update): New arg to suppress talking to the gdb process.
13289 (gdb-done-or-error): Use it.
13290 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
13291 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
13292 sentinel not being called.
13293
13294 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
13295
13296 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
13297
13298 2012-04-20 Glenn Morris <rgm@gnu.org>
13299
13300 * net/network-stream.el (open-network-stream): Doc fix.
13301
13302 2012-04-20 Chong Yidong <cyd@gnu.org>
13303
13304 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
13305
13306 2012-04-20 Alan Mackenzie <acm@muc.de>
13307
13308 Ensure searching for keywords is case sensitive.
13309
13310 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
13311 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
13312 (c-defun-name, c-mark-function, c-cpp-define-name)
13313 (c-comment-indent, c-scan-conditionals, c-indent-defun)
13314 (c-context-line-break): Bind case-fold-search to nil.
13315
13316 * progmodes/cc-mode.el (c-font-lock-fontify-region):
13317 Bind case-fold-search to nil.
13318
13319 2012-04-20 Chong Yidong <cyd@gnu.org>
13320
13321 * mail/sendmail.el (mail-bury): Call return action with the right
13322 Rmail buffer (Bug#11242).
13323
13324 * server.el (server-process-filter): Handle corner case where both
13325 tty and nowait options are present (Bug#11102).
13326
13327 2012-04-20 Eli Zaretskii <eliz@gnu.org>
13328
13329 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
13330 (top level): Put into the executable the ident-style '$Id:' tag on
13331 windows-nt as well.
13332
13333 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13334
13335 * electric.el (electric-indent-post-self-insert-function): Check that
13336 electric-indent-mode is enabled in current buffer.
13337
13338 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
13339
13340 * imenu.el (imenu-progress-message): Restore; it is "used" in
13341 erc/erc-imenu.el and net/snmp-mode.el.
13342
13343 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
13344
13345 * avoid.el (mouse-avoidance-mode): Mark unused arg.
13346 (mouse-avoidance-nudge-mouse): Remove unused binding.
13347
13348 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
13349
13350 * descr-text.el (describe-char):
13351 * progmodes/python.el (python-describe-symbol):
13352 Don't call `toggle-read-only', set `buffer-read-only'.
13353
13354 * imenu.el (imenu-default-goto-function): Mark unused args.
13355 (imenu-progress-message): Remove obsolete macro; all callers changed.
13356
13357 * subr.el (keymap-canonicalize): Remove unused binding.
13358 (read-passwd): Mark unused arg.
13359
13360 * tutorial.el (tutorial--display-changes): Remove unused binding.
13361 (tutorial--save-tutorial-to): Remove unused variable.
13362
13363 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
13364 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
13365 (package-generate-autoloads, package-menu--generate)
13366 (package-menu--find-upgrades): Remove unused bindings.
13367
13368 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
13369 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
13370 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
13371 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
13372 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
13373 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
13374 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
13375 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
13376 (cua-delete-char-rectangle): Mark unused args.
13377 (cua-align-rectangle): Remove unused binding.
13378
13379 * mail/rmail.el (compilation--message->loc)
13380 (epa--find-coding-system-for-mime-charset): Declare.
13381
13382 * net/dbus.el (dbus-register-service): Declare.
13383 (dbus-name-owner-changed-handler): Remove unused binding.
13384
13385 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
13386 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
13387 (nxml-scan-backward-within): Mark unused arg.
13388 (nxml-dynamic-markup-word): Remove unused binding.
13389
13390 * mouse.el (mouse-menu-major-mode-map):
13391 * emacs-lisp/authors.el (authors-scan-change-log)
13392 (authors-add-to-author-list):
13393 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
13394 * emacs-lisp/smie.el (smie-auto-fill):
13395 * mail/sendmail.el (mail-bury):
13396 * mail/unrmail.el (unrmail):
13397 * net/tls.el (open-tls-stream):
13398 * textmodes/picture.el (picture-mouse-set-point):
13399 Remove unused bindings.
13400
13401 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
13402
13403 * net/tramp.el (tramp-action-password): Let-bind
13404 `enable-recursive-minibuffers' to t.
13405
13406 2012-04-18 Sam Steingold <sds@gnu.org>
13407
13408 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
13409 instead of 'string to accommodate values like [f11].
13410 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
13411 * progmodes/gdb-mi.el: Likewise.
13412
13413 2012-04-18 Leo Liu <sdl.web@gmail.com>
13414
13415 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
13416 current buffer.
13417 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
13418 LOCAL is nil.
13419
13420 2012-04-18 Chong Yidong <cyd@gnu.org>
13421
13422 * simple.el (line-move): Use forward-line if in batch mode
13423 (Bug#11053).
13424
13425 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
13426
13427 * files.el (after-find-file): Do not try to add a final newline if
13428 the buffer is read-only (Bug#11156).
13429
13430 2012-04-17 Richard Stallman <rms@gnu.org>
13431
13432 * mail/rmail.el (rmail-start-mail):
13433 Pass (rmail-mail-return...) for the return-action.
13434 Pass (rmail-yank-current-message...) for the yank-action.
13435 (rmail-yank-current-message): New function.
13436 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
13437 (rmail-reply): Likewise.
13438 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
13439
13440 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
13441 buffer, not the last. Reject temp buffers. Use the rmail-mode
13442 buffer, not newbuf.
13443
13444 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
13445
13446 * server.el (server-ensure-safe-dir): Simplify.
13447
13448 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13449
13450 * emacs-lisp/smie.el: Provide smarter auto-filling.
13451 (smie-auto-fill): New function.
13452 (smie-setup): Use it.
13453
13454 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
13455
13456 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
13457
13458 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
13459 (comment-indent): Use it.
13460
13461 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
13462
13463 * ses.el: The overall change is to add cell renaming, that is
13464 setting fancy names for cell symbols other than name matching
13465 "\\`[A-Z]+[0-9]+\\'" regexp .
13466 (ses-localvars): Add ses--renamed-cell-symb-list.
13467 (ses-create-cell-variable): New defun.
13468 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
13469 (ses-relocate-formula): Relocate formulas only for cells the
13470 symbols of which are not renamed, i.e. symbols whose names do not
13471 match regexp "\\`[A-Z]+[0-9]+\\'".
13472 (ses-relocate-all): Relocate values only for cells the symbols of
13473 which are not renamed.
13474 (ses-load): Create cells variables as the (ses-cell ...) are read,
13475 in order to check row col consistency with cell symbol name only
13476 for cells that are not renamed.
13477 (ses-replace-name-in-formula): New defun.
13478 (ses-rename-cell): New defun.
13479
13480 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
13481
13482 * progmodes/perl-mode.el (perl-indent-parens-as-block):
13483 New option (bug#11118).
13484 (perl-calculate-indent): Respect it.
13485
13486 2012-04-17 Glenn Morris <rgm@gnu.org>
13487
13488 * dired-aux.el (dired-mark-read-string): Doc fix.
13489
13490 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
13491
13492 * dired-aux.el (dired-mark-read-string): Offer optional completion.
13493 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
13494
13495 2012-04-17 Glenn Morris <rgm@gnu.org>
13496
13497 * mouse.el (mouse-drag-track):
13498 * speedbar.el (speedbar-frame-mode):
13499 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
13500
13501 2012-04-16 Leo Liu <sdl.web@gmail.com>
13502
13503 * progmodes/python.el: Trivial cleanup.
13504
13505 2012-04-16 Glenn Morris <rgm@gnu.org>
13506
13507 * vc/vc.el (vc-string-prefix-p):
13508 * vc/pcvs-util.el (cvs-string-prefix-p):
13509 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
13510 * mpc.el (mpc-string-prefix-p):
13511 Make all of these into obsolete aliases for string-prefix-p.
13512 Update callers.
13513 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
13514
13515 * textmodes/two-column.el: Move custom options to the start.
13516 (frame-width): Remove compat definition.
13517 (2C-associate-buffer, 2C-dissociate):
13518 Use with-current-buffer rather than save-excursion.
13519 (2C-dissociate): Force a mode-line update.
13520 (2C-autoscroll): Use ignore-errors.
13521
13522 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
13523 Autoload trivia.
13524
13525 * emacs-lisp/cl-extra.el (*random-state*):
13526 Remove unnecessary declaration.
13527
13528 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
13529
13530 * play/cookie1.el (cookie-snarf):
13531 Give an explicit error if input file cannot be read.
13532
13533 * play/yow.el (yow-file): Use expand-file-name rather than concat.
13534
13535 * progmodes/perl-mode.el (c-macro-expand):
13536 Remove unnecessary autoload (it is in loaddefs.el).
13537
13538 * textmodes/picture.el (picture-desired-column)
13539 (picture-update-desired-column): Convert comments to doc-strings.
13540 (picture-substitute): Remove function.
13541 (picture-mode-map): Initialize in the defvar.
13542
13543 * woman.el: Remove eval-after-load for tar-mode.
13544 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
13545 (woman-tar-extract-file): Autoload it.
13546
13547 * frame.el (automatic-hscrolling): Make this alias obsolete.
13548
13549 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13550
13551 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
13552 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
13553 (ispell-dictionary-base-alist): Revert to original XEmacs
13554 friendly version for default. [:alpha:] will be added in
13555 `ispell-set-spellchecker-params' if needed.
13556
13557 2012-04-16 Chong Yidong <cyd@gnu.org>
13558
13559 * image.el (imagemagick--file-regexp): New variable.
13560 (imagemagick-register-types): Use it.
13561 (imagemagick-types-inhibit): Add :set function. Allow new value
13562 of t to inhibit all types.
13563
13564 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
13565 so we can preload it.
13566
13567 * loadup.el (fboundp): Preload regexp-opt, needed by
13568 imagemagick-register-types.
13569
13570 2012-04-15 Chong Yidong <cyd@gnu.org>
13571
13572 * frame.el (scrolling): Remove nearly unused customization group.
13573
13574 * scroll-all.el (scroll-all-mode): Move to windows group.
13575
13576 2012-04-15 Chong Yidong <cyd@gnu.org>
13577
13578 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
13579
13580 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13581
13582 Avoid the use of ((lambda ...) ...) in lexical-binding code.
13583 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
13584
13585 2012-04-15 Glenn Morris <rgm@gnu.org>
13586
13587 * simple.el (process-file-side-effects): Doc fix.
13588
13589 2012-04-15 Glenn Morris <rgm@gnu.org>
13590
13591 * international/mule-cmds.el (set-language-environment): Doc fix.
13592
13593 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
13594
13595 * server.el (server-auth-key, server-generate-key): Doc fixes.
13596 (server-get-auth-key): Doc fix. Use `string-match-p'.
13597 (server-start): Reflow docstring.
13598
13599 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
13600
13601 * server.el (server-generate-key): `called-interactively-p'
13602 requires a parameter.
13603
13604 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
13605
13606 * server.el (server-auth-key): New variable.
13607 (server-generate-key, server-get-auth-key): New function.
13608 (server-start): Use the new variable and functions to allow
13609 setting a permanent server key (bug#9423).
13610
13611 2012-04-14 Leo Liu <sdl.web@gmail.com>
13612
13613 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
13614
13615 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
13616
13617 Spelling fixes.
13618 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
13619 Emacs uses American spelling.
13620
13621 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
13622
13623 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
13624 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
13625 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
13626 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
13627
13628 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13629
13630 * progmodes/which-func.el (which-func-modes): Change default.
13631
13632 2012-04-14 Kim F. Storm <storm@cua.dk>
13633
13634 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
13635 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
13636
13637 2012-04-14 Chong Yidong <cyd@gnu.org>
13638
13639 * custom.el (custom-theme-set-variables): Doc fix.
13640
13641 2012-04-14 Glenn Morris <rgm@gnu.org>
13642
13643 * international/mule.el (set-auto-coding-for-load): Doc fix.
13644
13645 2012-04-14 Alan Mackenzie <acm@muc.de>
13646
13647 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
13648 imenu work again for Objective C Mode. Correct the *-index values,
13649 these having been disturbed by a previous change in 2011-08.
13650
13651 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
13652 Correct two search limits.
13653
13654 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13655
13656 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
13657
13658 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
13659
13660 * international/characters.el: Fix sorting.
13661
13662 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13663
13664 * international/characters.el: Add more missing Latin case pairs.
13665
13666 2012-04-14 Glenn Morris <rgm@gnu.org>
13667
13668 * files.el (dir-locals-set-class-variables): Doc fix.
13669
13670 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13671
13672 * international/characters.el: Add set-case-syntax-pair call for
13673 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
13674 counterpart. (Bug#11209)
13675
13676 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
13677
13678 2012-04-14 Glenn Morris <rgm@gnu.org>
13679
13680 * calendar/holidays.el (calendar-check-holidays): Doc fix.
13681
13682 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13683
13684 * textmodes/ispell.el (ispell-dictionary-base-alist):
13685 Add data for Hebrew.
13686
13687 2012-04-14 Chong Yidong <cyd@gnu.org>
13688
13689 * net/rcirc.el (rcirc-cmd-quit):
13690 Revert 2012-03-18 change (Bug#11192).
13691
13692 2012-04-14 Glenn Morris <rgm@gnu.org>
13693
13694 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
13695
13696 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13697
13698 * minibuffer.el (completion-in-region-mode-map):
13699 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
13700
13701 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
13702
13703 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
13704
13705 2012-04-13 Masatake YAMATO <yamato@redhat.com>
13706
13707 * minibuffer.el (minibuffer-local-filename-syntax): New variable
13708 to allow `C-M-f' and `C-M-b' to move to the nearest path
13709 separator (bug#9511).
13710
13711 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
13712
13713 * avoid.el: Require cl when compiling. And also move the
13714 `provide' to the end.
13715
13716 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13717
13718 * avoid.el (mouse-avoidance-banish-position): New variable.
13719 (mouse-avoidance-banish-destination): Use it (bug#10165).
13720
13721 2012-04-13 Leo Liu <sdl.web@gmail.com>
13722
13723 * progmodes/which-func.el (which-func-modes): Add objc-mode.
13724
13725 2012-04-13 Ken Brown <kbrown@cornell.edu>
13726
13727 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
13728 this is no longer needed now that cygstart understands file:// URLs.
13729 (browse-url-filename-alist): For the same reason, don't modify
13730 file:// URLs on Cygwin.
13731
13732 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
13733
13734 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
13735 the region on shift if the binding is already shifted (bug#11221).
13736
13737 2012-04-12 Glenn Morris <rgm@gnu.org>
13738
13739 * mail/mailpost.el: Move to obsolete/.
13740
13741 2012-04-12 Drew Adams <drew.adams@oracle.com>
13742
13743 * imenu.el (imenu--generic-function): Ignore invisible definitions
13744 (bug#10123).
13745
13746 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
13747
13748 * hexl.el (hexl-bits): New variable.
13749 (hexl-options): Mention the variable in the doc string.
13750 (hexl-rulerise, hexl-line-displen): New functions.
13751 (hexl-mode): Mention the new variable.
13752 (hexl-mode, hexl-current-address, hexl-current-address):
13753 Use the displen.
13754 (hexl-ascii-start-column): New function.
13755 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
13756 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
13757
13758 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13759
13760 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
13761 '("-i" ENCODING), in 2 separate command-line arguments, to specify
13762 the encoding, as expected by hunspell.
13763
13764 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
13765
13766 * battery.el (battery--linux-sysfs-regexp): New const.
13767 (battery-status-function): Use it. Remove yeeloong special case.
13768 (battery-yeeloong-sysfs): Remove.
13769 (battery-echo-area-format): Remove yeeloong special case.
13770
13771 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13772
13773 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
13774 Reported by Noah Friedman.
13775
13776 * subr.el (read-passwd): Use read-string.
13777
13778 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13779
13780 * vcursor.el (vcursor-move): Increase the priority of the overlay
13781 (bug#9663).
13782
13783 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
13784
13785 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
13786 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
13787
13788 2012-04-11 William Stevenson <yhvh2000@gmail.com>
13789
13790 * textmodes/artist.el (artist-mode): Convert artist-mode to use
13791 define-minor-mode (bug#10760).
13792
13793 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
13794
13795 * progmodes/grep.el (rgrep): Tweak the find command line so
13796 that directories matching `grep-find-ignored-files' won't be
13797 pruned (bug#10351).
13798
13799 2012-04-11 Chong Yidong <cyd@gnu.org>
13800
13801 * startup.el (command-line): Remove support for long-obsolete
13802 variable font-lock-face-attributes.
13803
13804 2012-04-11 Glenn Morris <rgm@gnu.org>
13805
13806 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
13807
13808 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13809
13810 * window.el (window--state-get-1): Obey window-point-insertion-type.
13811
13812 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
13813
13814 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
13815 to previous function when point is on the first character of a
13816 function. Take care of that in `narrow-to-defun' (bug#6157).
13817
13818 2012-04-11 Glenn Morris <rgm@gnu.org>
13819
13820 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
13821 not just file-errors.
13822
13823 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
13824 (vc-bzr-sha1): Use internal sha1.
13825
13826 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13827
13828 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
13829
13830 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
13831
13832 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
13833 that start in the middle of the line (bug#10496).
13834
13835 2012-04-10 Dan Nicolaescu <dann@gnu.org>
13836
13837 * battery.el (battery-linux-proc-acpi): Only one battery is
13838 discharged at a time, but that seems to confuse battery.el when
13839 computing `rate-type' for the battery not being discharged
13840 (bug#10332).
13841
13842 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
13843
13844 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
13845
13846 * international/quail.el: Use dolist and simplify.
13847 (quail-define-package, quail-update-keyboard-layout)
13848 (quail-define-rules): Use dolist.
13849 (quail-insert-kbd-layout, quail-get-translation): CSE.
13850
13851 * tmm.el: Use dolist, remove left over hook.
13852 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
13853 Use dolist.
13854 (calendar-load-hook): Don't mess with it.
13855
13856 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
13857 Use derived-mode-p. Run the diff asynchronously.
13858
13859 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
13860
13861 * obsolete/mouse-sel.el: Add an Obsolete-since header.
13862
13863 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
13864
13865 * misc.el: Display absolute path of loaded DLLs (bug#10424).
13866 (list-dynamic-libraries--loaded): New function.
13867 (list-dynamic-libraries--refresh): Use it.
13868
13869 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
13870
13871 * progmodes/python.el (python-fill-paragraph):
13872 Make python-fill-region in a multiline string work when font-lock is
13873 disabled (bug#7018).
13874
13875 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
13876
13877 * language/european.el (cp775): Add oem/legacy (en)coding on
13878 DOS/MS Windows for the Baltic languages. There are still plenty
13879 of texts written in this encoding/codepage (bug#6519).
13880
13881 2012-04-10 Glenn Morris <rgm@gnu.org>
13882
13883 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
13884 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
13885
13886 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
13887
13888 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
13889 next-line "n" and previous-line "p" in order to make recentf more
13890 consistent with ibuffer, dired or org-mode (bug#9387).
13891
13892 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
13893
13894 * image.el (put-image): Return the overlay created instead of the
13895 optional input string (bug#7834). Note that this may break code
13896 that is (for some reason or other) depending on `put-image'
13897 returning the string.
13898
13899 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
13900
13901 * simple.el (zap-to-char): Allow zapping using input methods
13902 (bug#1580).
13903
13904 * textmodes/fill.el (fill-region): Leave point and mark where they
13905 were before filling (bug#5399).
13906
13907 2012-04-09 Glenn Morris <rgm@gnu.org>
13908
13909 * version.el (emacs-bzr-get-version):
13910 Handle lightweight checkouts of local branches.
13911
13912 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
13913
13914 * international/characters.el: Recover lost case pairs. (Bug#11209)
13915
13916 2012-04-09 Chong Yidong <cyd@gnu.org>
13917
13918 * custom.el (custom-variable-p): Return nil for non-symbol
13919 arguments instead of signaling an error.
13920 (user-variable-p): Obsolete alias for custom-variable-p.
13921
13922 * apropos.el (apropos-variable):
13923 * files-x.el (read-file-local-variable):
13924 * simple.el (set-variable):
13925 * woman.el (woman-mini-help):
13926 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
13927
13928 2012-04-09 Glenn Morris <rgm@gnu.org>
13929
13930 * startup.el (normal-top-level): Don't look for leim-list.el
13931 in places where it will not be found. (Bug#910)
13932
13933 * international/mule-cmds.el (set-default-coding-systems):
13934 * files.el (normal-mode):
13935 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
13936 This function was removed with ucs-tables.el in 2008.
13937
13938 2012-04-08 Eli Zaretskii <eliz@gnu.org>
13939
13940 * textmodes/ispell.el (ispell-check-version): For hunspell, set
13941 ispell-encoding8-command to "-i", without a trailing space.
13942 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
13943 separate command-line arguments, to specify the encoding, since
13944 that's how hunspell expects it.
13945
13946 2012-04-08 Glenn Morris <rgm@gnu.org>
13947
13948 * loadup.el: Load bindings before cus-start.
13949 This reduces somewhat the number of "rogue" settings in emacs -Q.
13950
13951 2012-04-07 Glenn Morris <rgm@gnu.org>
13952
13953 * version.el (emacs-bzr-get-version): New function.
13954 (emacs-bzr-version): New variable.
13955 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
13956 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
13957
13958 2012-04-07 Eli Zaretskii <eliz@gnu.org>
13959
13960 * international/uni-bidi.el, international/uni-category.el:
13961 * international/uni-combining.el, international/uni-decimal.el:
13962 * international/uni-decomposition.el, international/uni-digit.el:
13963 * international/uni-lowercase.el, international/uni-mirrored.el:
13964 * international/uni-name.el, international/uni-numeric.el:
13965 * international/uni-titlecase.el, international/uni-uppercase.el:
13966 Update for Unicode 6.1.
13967
13968 2012-04-07 Eli Zaretskii <eliz@gnu.org>
13969
13970 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
13971
13972 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
13973
13974 * window.el (shrink-window): Mention the `window-min-height'
13975 variable in the doc string.
13976
13977 2012-04-05 Bastien Guerry <bzg@altern.org>
13978
13979 * color.el (color-lighten-name): Fix typo.
13980
13981 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13982
13983 * server.el (server--on-display-p): New function.
13984 (server--on-display-p): Use it.
13985
13986 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
13987
13988 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
13989 (bug#11145).
13990
13991 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13992
13993 * comint.el (comint--common-quoted-suffix): Check string boundary
13994 before comparing (bug#11158).
13995 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
13996
13997 2012-04-04 Chong Yidong <cyd@gnu.org>
13998
13999 * minibuffer.el (completion-extra-properties): Doc fix.
14000
14001 * subr.el (delayed-warnings-hook): Doc fix.
14002
14003 2012-04-04 Daiki Ueno <ueno@unixuser.org>
14004
14005 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
14006 selection (Bug#11159).
14007 (epa-insert-keys): Inform that the default public key will be
14008 exported if no key is selected.
14009
14010 2012-04-04 Richard Stallman <rms@gnu.org>
14011
14012 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
14013
14014 2012-04-03 Chong Yidong <cyd@gnu.org>
14015
14016 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
14017 mail-insert-file, not its obsolete alias mail-attach-file.
14018
14019 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
14020
14021 * notifications.el (notifications-notify): Fix docstring.
14022
14023 2012-04-02 Glenn Morris <rgm@gnu.org>
14024
14025 * emacs-lisp/authors.el (authors-aliases): Another addition.
14026
14027 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
14028
14029 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
14030 `tramp-compat-call-process' instead of `tramp-local-call-process'.
14031 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
14032
14033 2012-04-01 Chong Yidong <cyd@gnu.org>
14034
14035 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
14036 Handle root directory properly.
14037 (copy-directory): Caller changed.
14038
14039 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
14040 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
14041
14042 2012-03-31 Glenn Morris <rgm@gnu.org>
14043
14044 * term/xterm.el (xterm-extra-capabilities): Doc fix.
14045
14046 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
14047
14048 * calendar/calendar.el (calendar-window-list)
14049 (calendar-hide-window): Restore. (Bug#11140)
14050 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
14051
14052 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
14053
14054 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14055
14056 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
14057 Check if file is a symlink (Bug#10489).
14058
14059 * files.el (copy-directory): Likewise.
14060
14061 2012-03-30 Chong Yidong <cyd@gnu.org>
14062
14063 * image.el (imagemagick-types-inhibit)
14064 (imagemagick-register-types): Doc fix.
14065
14066 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14067
14068 * textmodes/ispell.el (ispell-get-extended-character-mode):
14069 Disable extended-char-mode for hunspell. hunspell does not support it
14070 and treats ~word as ordinary words in pipe mode.
14071
14072 2012-03-30 Glenn Morris <rgm@gnu.org>
14073
14074 * tutorial.el (help-with-tutorial): Ensure local variables don't
14075 happen to make the buffer read-only. (Bug#11127)
14076
14077 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
14078
14079 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
14080 (perl-calculate-indent): Return `noindent' in strings.
14081
14082 2012-03-28 Sam Steingold <sds@gnu.org>
14083
14084 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
14085 instead of the broken adhockery which does not prevent calendar
14086 buffers from being displayed at random after exit.
14087 (calendar-window-list, calendar-hide-window): Remove the broken
14088 adhockery.
14089
14090 2012-03-28 Glenn Morris <rgm@gnu.org>
14091
14092 * replace.el (query-replace-map): Doc fix.
14093
14094 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
14095
14096 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
14097 contents. (Bug#11109)
14098
14099 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
14100
14101 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
14102 (bug#11077).
14103 (avl-tree--check, avl-tree--check-node): New funs.
14104
14105 2012-03-27 Martin Rudalics <rudalics@gmx.at>
14106
14107 * window.el (switch-to-visible-buffer): New option.
14108 (switch-to-prev-buffer, switch-to-next-buffer):
14109 Observe switch-to-visible-buffer. Make sure that checking for a window
14110 showing a buffer already is done on the same frame.
14111
14112 2012-03-27 Glenn Morris <rgm@gnu.org>
14113
14114 * startup.el (mail-host-address): Doc fix.
14115
14116 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14117
14118 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
14119 than 197 variables.
14120
14121 2012-03-26 Ami Fischman <ami@fischman.org>
14122
14123 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
14124
14125 2012-03-26 Glenn Morris <rgm@gnu.org>
14126
14127 * files.el (save-buffers-kill-emacs): Doc fix.
14128
14129 * startup.el (normal-top-level, command-line, command-line-1):
14130 Give them doc strings.
14131
14132 2012-03-25 Eli Zaretskii <eliz@gnu.org>
14133
14134 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
14135 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
14136
14137 2012-03-25 Chong Yidong <cyd@gnu.org>
14138
14139 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
14140 theme if it was previously enabled before (Bug#11031).
14141
14142 * cus-theme.el (custom-theme-write-faces): Retrieve current face
14143 spec with custom-face-get-current-spec if its :shown-value is not
14144 determined yet (Bug#9337).
14145 (customize-create-theme, custom-theme-revert): Doc fixes.
14146
14147 * button.el (button-at): Minor addition to docstring.
14148
14149 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
14150
14151 * vc/vc.el (vc-merge): Fix a prompt.
14152
14153 2012-03-24 Chong Yidong <cyd@gnu.org>
14154
14155 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
14156 point (Bug#9623).
14157
14158 * button.el (button-at): Minor addition to docstring.
14159
14160 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
14161
14162 * newcomment.el (comment-choose-indent): No space after BOL.
14163
14164 2012-03-22 Sam Steingold <sds@gnu.org>
14165
14166 * window.el (switch-to-prev-buffer): Revert last patch because the
14167 bug turned out to be an advertised feature (Elisp manual 28.14).
14168
14169 2012-03-22 Glenn Morris <rgm@gnu.org>
14170
14171 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
14172 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
14173
14174 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
14175
14176 * net/network-stream.el (network-stream-open-starttls): Make error
14177 message under Windows be less misleading.
14178
14179 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
14180
14181 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
14182 understands (bug#9942).
14183
14184 2012-03-22 Chong Yidong <cyd@gnu.org>
14185
14186 * simple.el (end-of-visible-line): Handle return value of
14187 next-single-property-change properly (Bug#9371).
14188
14189 2012-03-22 Kenichi Handa <handa@m17n.org>
14190
14191 * international/quail.el (quail-insert-kbd-layout): Fix previous
14192 change. To avoid unwanted bidi reordering, use
14193 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
14194
14195 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
14196
14197 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
14198 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
14199 (ruby-beginning-of-indent): Be more careful with the difference
14200 between word-boundary and symbol boundary.
14201 (ruby-mode-syntax-table): Make : a symbol constituent.
14202
14203 2012-03-21 Andreas Politz <politza@fh-trier.de>
14204
14205 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
14206
14207 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14208
14209 * progmodes/etags.el (tags-completion-at-point-function):
14210 Improve last fix.
14211
14212 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
14213
14214 2012-03-21 Sam Steingold <sds@gnu.org>
14215
14216 * progmodes/etags.el (tags-completion-at-point-function):
14217 Avoid the error when point is inside the pattern.
14218
14219 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
14220
14221 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
14222 line (Bug#10855).
14223
14224 2012-03-21 Drew Adams <drew.adams@oracle.com>
14225
14226 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
14227
14228 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
14229
14230 * ido.el (ido-set-current-directory, ido-read-internal)
14231 (ido-choose-completion-string, ido-completion-help): Handle nil
14232 value of ido-completion-buffer (Bug#11008).
14233
14234 2012-03-21 Sam Steingold <sds@gnu.org>
14235
14236 * window.el (switch-to-prev-buffer): Do not switch to a visible
14237 window previous buffer, just like with the frame previous buffers.
14238
14239 2012-03-21 Chong Yidong <cyd@gnu.org>
14240
14241 * faces.el (make-face, make-empty-face, copy-face):
14242 * face-remap.el (face-remap-add-relative, face-remap-set-base):
14243 Doc fixes.
14244
14245 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14246
14247 * wid-edit.el (widget-complete-field): Remove (bug#11051).
14248 (widget-complete): Remove broken use of it.
14249
14250 2012-03-20 Chong Yidong <cyd@gnu.org>
14251
14252 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14253 Use string-width and truncate-string-width to handle arbitrary
14254 characters.
14255
14256 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
14257
14258 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
14259 to draw rectangles, not squares. (Regression introduced by revno
14260 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
14261
14262 2012-03-18 Chong Yidong <cyd@gnu.org>
14263
14264 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
14265 it is not yet defined (for temacs).
14266
14267 2012-03-18 Leo Liu <sdl.web@gmail.com>
14268
14269 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
14270 prefix.
14271
14272 2012-03-17 Eli Zaretskii <eliz@gnu.org>
14273
14274 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
14275 (ispell-choices-win-default-height, ispell-silently-savep)
14276 (ispell-dictionary-alist, ispell-encoding8-command)
14277 (ispell-check-version, ispell-aspell-find-dictionary)
14278 (ispell-valid-dictionary-list, ispell-words-keyword)
14279 (ispell-get-word, ispell-internal-change-dictionary)
14280 (ispell-region, ispell-skip-region-list)
14281 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
14282 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
14283 (ispell-message-text-end, ispell-message)
14284 (ispell-buffer-local-parsing): Doc fix.
14285
14286 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
14287
14288 * htmlfontify.el: Add support for code block fontification for ODT
14289 export (Bug #9914).
14290 (hfy-optimisations): Define new option
14291 `body-text-only'
14292 (hfy-fontify-buffer): Honor above setting.
14293 (hfy-begin-span, hfy-end-span): New routines factored out form
14294 `hfy-fontify-buffer'.
14295 (hfy-begin-span-handler, hfy-end-span-handler): New variables
14296 that permit insertion of custom tags.
14297 (hfy-fontify-buffer): Use above handlers.
14298 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
14299 (hfy-face-to-css): Re-defined to be a variable.
14300 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
14301 over multiple runs. This is made possible by having the caller let
14302 bind a special variable `hfy-user-sheet-assoc'.
14303 (htmlfontify-string): New defun.
14304 (hfy-compile-face-map): Make sure that the last char in the
14305 buffer is correctly fontified.
14306 (hfy-face-resolve-face): Whitespace only change.
14307
14308 2012-03-17 Eli Zaretskii <eliz@gnu.org>
14309
14310 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
14311 message more clear.
14312
14313 2012-03-16 Leo Liu <sdl.web@gmail.com>
14314
14315 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
14316
14317 2012-03-16 Alan Mackenzie <acm@muc.de>
14318
14319 Further optimize the handling of large macros.
14320
14321 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
14322 limit to a call of `c-literal-limits'.
14323 (c-determine-+ve-limit): New function.
14324 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
14325 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
14326 In CASE 5B, restrict a search limit to 500.
14327 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
14328
14329 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
14330 Restrict macro bounds to +-500 from after-change's BEG END.
14331
14332 2012-03-16 Leo Liu <sdl.web@gmail.com>
14333
14334 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
14335
14336 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
14337
14338 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
14339 `special-mode' setting of `buffer-read-only'. (Bug#11010)
14340
14341 2012-03-16 Glenn Morris <rgm@gnu.org>
14342
14343 * view.el (view-buffer, view-buffer-other-window)
14344 (view-buffer-other-frame): Doc fixes re special mode-class.
14345
14346 * subr.el (eval-after-load): If named feature is provided not from
14347 a file, run after-load forms. (Bug#10946)
14348
14349 * calendar/calendar.el (calendar-insert-at-column):
14350 Handle non-unit-width characters a bit better. (Bug#10978)
14351
14352 2012-03-15 Chong Yidong <cyd@gnu.org>
14353
14354 * emacs-lisp/ring.el (ring-extend): New function.
14355 (ring-insert+extend): Extend the ring correctly (Bug#11019).
14356
14357 * comint.el (comint-read-input-ring)
14358 (comint-add-to-input-history): Grow comint-input-ring lazily.
14359
14360 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14361
14362 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
14363 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
14364
14365 * imenu.el: Fix multiple inheritance breakage (bug#9199).
14366 (imenu-add-to-menubar): Don't add a redundant index.
14367 (imenu-update-menubar): Handle a dynamically composed keymap.
14368
14369 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
14370
14371 * mail/sendmail.el (mail-encode-header):
14372 Bind rfc2047-encode-encoded-words to nil.
14373
14374 2012-03-13 Glenn Morris <rgm@gnu.org>
14375
14376 * calendar/calendar.el (calendar-string-spread):
14377 Handle non-unit-width characters a bit better. (Bug#10978)
14378
14379 2012-03-13 Leo Liu <sdl.web@gmail.com>
14380
14381 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
14382 directory and file as argument (Bug#10822).
14383
14384 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
14385
14386 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
14387 For dynamically generated code, follow $PC.
14388 (gdb-disassembly-handler-custom): Handle no function name case.
14389
14390 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
14391
14392 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
14393 * emulation/ws-mode.el (ws-query-replace):
14394 * sort.el (sort-regexp-fields):
14395 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
14396
14397 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14398
14399 * dabbrev.el: Fix cycle completion order (bug#10963).
14400 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
14401 (dabbrev-completion): Don't use an obarray; provide
14402 a cycle-sort-function.
14403
14404 2012-03-12 Leo Liu <sdl.web@gmail.com>
14405
14406 * simple.el (kill-new): Use equal-including-properties for comparison.
14407 (kill-do-not-save-duplicates): Doc fix.
14408
14409 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14410
14411 * dabbrev.el: Fix cycle completion (bug#10963).
14412 Use lexical binding and wrap to 80 columns.
14413 (dabbrev-completion): Delay computing the list of completions.
14414
14415 2012-03-12 Kenichi Handa <handa@m17n.org>
14416
14417 * international/quail.el (quail-insert-kbd-layout): Surround each
14418 row by LRO and PDF instead of inserting many LRMs. Pad the left
14419 and right of each non-spacing marks. Insert invisible space
14420 between lower and upper characters to prevent composition.
14421
14422 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14423
14424 * minibuffer.el (minibuffer-complete): Don't get confused when the
14425 function is run twice via different commands (bug#10958).
14426 (complete-with-action): Fix docstring.
14427
14428 2012-03-12 Chong Yidong <cyd@gnu.org>
14429
14430 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
14431 (nxml-completion-at-point-function): New function.
14432 (nxml-mode): Use it.
14433 (nxml-bind-meta-tab-to-complete-flag): Default to t.
14434
14435 * emacs-lisp/package.el (package-unpack, package-unpack-single):
14436 Load generated autoloads file before byte compiling (Bug#10970).
14437 (package--make-autoloads-and-compile): New helper fun.
14438
14439 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
14440
14441 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
14442
14443 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
14444
14445 * autorevert.el (auto-revert-handler): Ensure, that
14446 file-readable-p is applied only for local files or in
14447 auto-revert-tail-mode.
14448
14449 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
14450
14451 * server.el (server-eval-at): Handle non-tcp connections.
14452 Decode result string.
14453
14454 * server.el (server-msg-size): New constant.
14455 (server-reply-print): New function.
14456 (server-eval-and-print): Use it.
14457 (server-eval-at): Use server-quote-arg and server-unquote-arg.
14458 Handle -print-nonl.
14459
14460 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
14461
14462 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
14463 (Bug#10987).
14464
14465 2012-03-11 Chong Yidong <cyd@gnu.org>
14466
14467 * simple.el (goto-line): Doc fix (Bug#9938).
14468
14469 * subr.el (save-window-excursion): Doc fix (Bug#9979).
14470
14471 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
14472 when finished (Bug#10963).
14473
14474 2012-03-11 Martin Rudalics <rudalics@gmx.at>
14475
14476 * window.el (split-window-below): Fix bug in case where
14477 split-window-keep-point is nil (Bug#10971).
14478
14479 2012-03-11 Juri Linkov <juri@jurta.org>
14480
14481 * replace.el (replace-highlight): Set isearch-word to nil
14482 unconditionally. (Bug#10887)
14483
14484 2012-03-10 Eli Zaretskii <eliz@gnu.org>
14485
14486 * net/mairix.el (mairix-replace-invalid-chars): Rename from
14487 mairix-replace-illegal-chars; all callers changed. Don't remove
14488 ^, ~, and = characters: they are meaningful in mairix search specs.
14489 (mairix-widget-create-query): Add usage information about mairix
14490 search forms: negating words, searching for substrings, etc.
14491
14492 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
14493
14494 * international/fontset.el (font-encoding-alist): Add an entry for
14495 ksx1001 (Bug#5667).
14496
14497 2012-03-10 Richard Stallman <rms@gnu.org>
14498
14499 * mail/sendmail.el (mail-encode-header):
14500 Set rfc2047-encode-encoded-words.
14501
14502 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
14503
14504 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
14505 view buffer means not swapped.
14506 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
14507 (rmail-write-region-annotate): Error if real text has disappeared.
14508
14509 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
14510
14511 2012-03-10 Chong Yidong <cyd@gnu.org>
14512
14513 * emulation/cua-rect.el (cua--init-rectangles):
14514 * emulation/cua-base.el (cua--init-keymaps):
14515 Add delete-forward-char to remappings (Bug#9666).
14516
14517 2012-03-10 Martin Rudalics <rudalics@gmx.at>
14518
14519 * speedbar.el (speedbar-unhighlight-one-tag-line):
14520 Avoid unhighlighting due to frame switching (Bug#10275).
14521
14522 2012-03-10 Chong Yidong <cyd@gnu.org>
14523
14524 * minibuffer.el (completion-in-region, completion-help-at-point):
14525 Give the completion field overlay a high priority (Bug#6830).
14526
14527 * dired.el (dired-goto-file): Recognize absolute file name
14528 listings (Bug#7126).
14529 (dired-goto-file-1): New helper function.
14530 (dired-toggle-read-only): Inhibit warnings.
14531
14532 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
14533
14534 * net/dbus.el (dbus-property-handler): Return empty array if
14535 there are no properties.
14536
14537 2012-03-09 Leo Liu <sdl.web@gmail.com>
14538
14539 * savehist.el (savehist-printable): Stricter check for string
14540 value (Bug#10937).
14541
14542 2012-03-09 Eli Zaretskii <eliz@gnu.org>
14543
14544 * mail/smtpmail.el (smtpmail-send-it):
14545 Bind coding-system-for-write to *-unix, so that FCC files are kept in
14546 valid mbox format.
14547
14548 2012-03-09 Glenn Morris <rgm@gnu.org>
14549
14550 * files.el (dir-locals-find-file):
14551 Don't check result is regular, readable.
14552 (dir-locals-read-from-file): Demote errors.
14553
14554 2012-03-08 Eli Zaretskii <eliz@gnu.org>
14555
14556 * international/quail.el (quail-insert-kbd-layout):
14557 Insert invisible LRM characters before each character in a keyboard
14558 layout cell, to prevent their reordering by bidi display engine.
14559 For details, see the discussion in
14560 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
14561
14562 2012-03-08 Alan Mackenzie <acm@muc.de>
14563
14564 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
14565 the starting position; make it extend the marked region when
14566 invoked repeatedly - all under appropriate circumstances.
14567 Fixes bugs #5525, #10906.
14568
14569 2012-03-08 Glenn Morris <rgm@gnu.org>
14570
14571 * files.el (locate-dominating-file, dir-locals-find-file):
14572 Undo 2012-03-06 change.
14573
14574 2012-03-07 Eli Zaretskii <eliz@gnu.org>
14575
14576 * international/quail.el (quail-help):
14577 Force bidi-paragraph-direction be left-to-right. See discussion in
14578 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
14579 for the reason.
14580
14581 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
14582
14583 Avoid superfluous registering of signals. (Bug#10807)
14584
14585 * notifications.el (notifications-on-action-object)
14586 (notifications-on-close-object): New defvars.
14587 (notifications-on-action-signal, notifications-on-closed-signal):
14588 Unregister the signal if not needed any longer.
14589 (notifications-notify): Register `notifications-action-signal' or
14590 `notifications-closed-signal', if :on-action or :on-close has been
14591 passed as argument.
14592
14593 2012-03-07 Chong Yidong <cyd@gnu.org>
14594
14595 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
14596 non-X platforms.
14597
14598 2012-03-06 Glenn Morris <rgm@gnu.org>
14599
14600 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
14601 (x-disown-selection-internal, x-get-selection-internal):
14602 Doc fix (add arglist signatures). (Bug#10783)
14603
14604 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
14605
14606 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
14607 Handle breakpoints with no "type".
14608
14609 2012-03-06 Glenn Morris <rgm@gnu.org>
14610
14611 * files.el (locate-dominating-file): Add optional predicate argument.
14612 (dir-locals-find-file): Make use of above change.
14613
14614 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
14615
14616 * info.el (Info-insert-dir): Also try "dir.gz".
14617
14618 2012-03-06 Glenn Morris <rgm@gnu.org>
14619
14620 * files.el (dir-locals-find-file):
14621 Ignore non-readable or non-regular files. (Bug#10928)
14622
14623 * files.el (locate-dominating-file): Doc fix.
14624
14625 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
14626
14627 * calendar/calendar.el (calendar-set-mode-line):
14628 `getenv' returns a string. (Bug#10951)
14629
14630 2012-03-05 Leo Liu <sdl.web@gmail.com>
14631
14632 * simple.el (backward-delete-char-untabify): Constrain point to
14633 field (Bug#10939).
14634
14635 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
14636
14637 2012-03-05 Chong Yidong <cyd@gnu.org>
14638
14639 * simple.el (count-words): If called from Lisp, return the word
14640 count, for symmetry with `count-lines'. Arglist changed.
14641 (count-words--message): Args changed. Consolidate counting code
14642 from count-words and count-words-region.
14643 (count-words-region): Caller changed.
14644 (count-lines-region): Make it an obsolete alias.
14645
14646 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
14647
14648 * saveplace.el (save-place-to-alist)
14649 (save-place-ignore-files-regexp): Allow value nil to disable this
14650 feature.
14651
14652 2012-03-04 Chong Yidong <cyd@gnu.org>
14653
14654 * faces.el (face-spec-reset-face): For the default face, reset the
14655 attributes to default values (Bug#10748).
14656
14657 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
14658
14659 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
14660 previous patch: Check `message-send-mail-function', and not the
14661 default function (bug#10897).
14662
14663 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
14664
14665 * notifications.el (notifications-on-action-signal)
14666 (notifications-on-closed-signal): Check for unique service name of
14667 incoming event. Fix error in removing entry.
14668 (top): Register for signals with wildcard service name.
14669 (notifications-notify): Use daemon unique service name for map entries.
14670
14671 2012-03-04 Chong Yidong <cyd@gnu.org>
14672
14673 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
14674
14675 2012-03-04 Glenn Morris <rgm@gnu.org>
14676
14677 * abbrev.el (copy-abbrev-table, abbrev-table-p)
14678 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
14679 (expand-abbrev, define-abbrev-table): Doc fixes.
14680
14681 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14682
14683 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
14684 `message-default-send-mail-function' and not `send-mail-function'
14685 when doing the prompting for `sendmail-query-once' before sending
14686 in Message buffers (bug#10897).
14687
14688 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
14689 This is inconsistent with all the other stream functions, which leave
14690 the setting up to the higher levels (if so wanted) (bug#10931).
14691
14692 2012-03-02 Alan Mackenzie <acm@muc.de>
14693
14694 Depessimize the handling of very large macros.
14695
14696 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
14697 (c-macro-cache-syntactic): New variables to implement a one
14698 element macro cache.
14699 (c-invalidate-macro-cache): New function.
14700 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
14701 Adapt to use the new cache.
14702 (c-state-safe-place): Use better the cache of safe positions.
14703 (c-state-semi-nonlit-pos-cache)
14704 (c-state-semi-nonlit-pos-cache-limit):
14705 New variables for...
14706 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
14707 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
14708 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
14709 Use c-state-semi-safe-place.
14710
14711 * progmodes/cc-langs.el (c-get-state-before-change-functions):
14712 Add c-invalidate-macro-cache to the C, C++, Obj entries.
14713
14714 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
14715
14716 * jka-compr.el (jka-compr-call-process):
14717 Apply `file-accessible-directory-p' only when the default directory is
14718 not remote.
14719
14720 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
14721
14722 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
14723 access of FILE2, if FILE1 does not exist.
14724
14725 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
14726 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
14727
14728 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
14729 Add "PAGER=" to `process-environment'.
14730
14731 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
14732
14733 * progmodes/sql.el: Bug fix
14734 (sql-get-login-ext): Save login values in globals.
14735 (sql-get-login): Use new version of `sql-get-login-ext'.
14736 (sql-interactive-mode): Set global `sql-connection' to nil.
14737 (sql-connect): Set global values for connection.
14738 (sql-product-interactive): Save global values as buffer local.
14739
14740 2012-02-29 Leo Liu <sdl.web@gmail.com>
14741
14742 * abbrev.el (define-abbrevs): Reset sys to nil.
14743
14744 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14745
14746 * files.el (file-equal-p): Rename from `files-equal-p'.
14747 Return nil when one or both files don't exist.
14748 (file-subdir-of-p): Now only top directory must exists,
14749 return nil if it doesn't.
14750 (copy-directory): No need to test with `file-subdir-of-p' after
14751 creating dir.
14752 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
14753 to `file-equal-p'.
14754
14755 2012-02-28 Glenn Morris <rgm@gnu.org>
14756
14757 * shell.el (shell-mode):
14758 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
14759 * play/landmark.el (landmark-font-lock-face-O):
14760 * play/handwrite.el (handwrite):
14761 * play/gomoku.el (gomoku-O):
14762 * net/browse-url.el (browse-url-browser-display):
14763 * international/mule.el (define-charset):
14764 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
14765 * filesets.el (filesets-find-file-delay):
14766 * eshell/em-xtra.el (eshell-xtra):
14767 * eshell/em-unix.el (eshell-grep):
14768 * emulation/viper.el (viper-mode):
14769 * emacs-lisp/regexp-opt.el (regexp-opt-group):
14770 * emacs-lisp/easymenu.el (easy-menu-define):
14771 * calendar/timeclock.el (timeclock-use-display-time):
14772 * bs.el (bs-mode):
14773 * bookmark.el (bookmark-save-flag):
14774 Doc fix (standardize possessive apostrophe usage).
14775
14776 2012-02-27 Chong Yidong <cyd@gnu.org>
14777
14778 * emulation/viper-cmd.el (viper-intercept-ESC-key):
14779 Fix key-binding lookup for ESC key (Bug#9146).
14780
14781 * font-lock.el (font-lock-specified-p): Rename from
14782 font-lock-spec-present. Callers changed.
14783
14784 2012-02-27 Daniel Hackney <dan@haxney.org>
14785
14786 * emacs-lisp/package.el (package-compute-transaction):
14787 Handle holding a package version to t in package-load-list.
14788
14789 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
14790
14791 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
14792 (tramp-get-inode, tramp-get-device): Use cached values.
14793
14794 2012-02-26 Alan Mackenzie <acm@muc.de>
14795
14796 Check there is a font-lock specification before doing initial
14797 fontification.
14798
14799 * font-core.el (font-lock-mode): Move the conditional from
14800 :after-hook to font-lock-initial-fontify.
14801 (font-lock-default-function): Move the check for a specification
14802 to font-lock-spec-present.
14803
14804 * font-lock.el (font-lock-initial-fontify): Call ...
14805 (font-lock-spec-present): New function.
14806
14807 2012-02-26 Jim Blandy <jimb@red-bean.com>
14808
14809 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
14810 (gdb-send): Apply it to the operand of the '-interpreter-exec
14811 console' command, so that we can pass arguments with (say) quotes
14812 in them. Store exact string sent in gdb-debug-log (Bug#10765).
14813
14814 2012-02-26 Chong Yidong <cyd@gnu.org>
14815
14816 * help-fns.el (describe-function-1): Clarify description of
14817 remapping (Bug#10844).
14818
14819 * files.el (files-equal-p): Doc fix.
14820 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
14821 and quit the loop once a mismatch is found.
14822
14823 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
14824
14825 * bs.el (bs--show-with-configuration): Don't throw an error
14826 if the window cannot be split; otherwise, subsequent calls to
14827 bs-show fail, restoring a stale window config. (Bug#10882)
14828
14829 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
14830
14831 * term/ns-win.el (global-map): Bind ns-drag-file to
14832 ns-find-file (Bug#5855, Bug#10050).
14833
14834 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
14835
14836 * calendar/parse-time.el (parse-time-string): Allow extractor to
14837 return nil.
14838
14839 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
14840
14841 * net/tramp.el (tramp-file-name-for-operation):
14842 Add `files-equal-p' and `file-subdir-of-p'.
14843
14844 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
14845 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
14846 Add COPY-CONTENTS argument.
14847
14848 2012-02-25 Chong Yidong <cyd@gnu.org>
14849
14850 Add custom groups for VC backends, for consistency with vc-bzr.
14851
14852 * vc/vc-arch.el (vc-arch):
14853 * vc/vc-cvs.el (vc-cvs):
14854 * vc/vc-git.el (vc-git):
14855 * vc/vc-hg.el (vc-hg):
14856 * vc/vc-mtn.el (vc-mtn):
14857 * vc/vc-rcs.el (vc-rcs):
14858 * vc/vc-sccs.el (vc-sccs):
14859 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
14860 All relevant defcustoms reassigned.
14861
14862 2012-02-25 Chong Yidong <cyd@gnu.org>
14863
14864 * newcomment.el (comment-styles): Add autoload (Bug#10868).
14865
14866 * term/x-win.el (x-initialize-window-system): Reduce default for
14867 x-selection-timeout to 5 seconds (Bug#8869).
14868
14869 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14870
14871 * files.el (files-equal-p, file-subdir-of-p): New functions.
14872 (copy-directory): Error when trying to copy a directory on itself.
14873 Add missing copy-contents arg to tramp handler.
14874 * dired-aux.el (dired-copy-file-recursive): Same.
14875 (dired-create-files): Modify destination when source is equal to
14876 dest when copying files.
14877 Return also when dest is a subdir of source. (Bug#10489)
14878
14879 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
14880
14881 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
14882 (Bug#10874)
14883
14884 2012-02-23 Alan Mackenzie <acm@muc.de>
14885
14886 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
14887 parameter "after-hook:" to allow the expansion to run code after
14888 the execution of the mode hooks.
14889
14890 * font-lock.el (font-lock-initial-fontify): New function extracted
14891 from font-lock-mode-internal.
14892
14893 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
14894 :after-hook.
14895
14896 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
14897
14898 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
14899 (completion--cache-all-sorted-completions): New function.
14900 (completion-all-sorted-completions): Use it.
14901 (completion--do-completion, minibuffer-force-complete):
14902 Use it to re-instate the flush hook.
14903
14904 * icomplete.el (icomplete-completions): Replace last fix with a better
14905 one (bug#10850).
14906
14907 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
14908
14909 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
14910 when it might call us back infinitely (bug#10797).
14911
14912 2012-02-23 Glenn Morris <rgm@gnu.org>
14913
14914 * minibuffer.el (completion-category-overrides): Doc fix.
14915
14916 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
14917
14918 * minibuffer.el (completion-table-with-context): Fix inf-loop.
14919 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
14920
14921 2012-02-23 Glenn Morris <rgm@gnu.org>
14922
14923 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
14924 (authors-obsolete-files-regexps, authors-ignored-files)
14925 (authors-ambiguous-files, authors-renamed-files-alist):
14926 Add more entries.
14927
14928 2012-02-23 Juri Linkov <juri@jurta.org>
14929
14930 * isearch.el (isearch-occur): Sync interactive spec with occur's
14931 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
14932
14933 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
14934
14935 2012-02-22 Juri Linkov <juri@jurta.org>
14936
14937 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
14938 (ucs-insert): Doc fix. Check for hex digits in the string.
14939 Don't display `nil' in the error message. (Bug#10857)
14940
14941 2012-02-22 Alan Mackenzie <acm@muc.de>
14942
14943 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
14944
14945 2012-02-22 Glenn Morris <rgm@gnu.org>
14946
14947 * ffap.el (ffap-c-path):
14948 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
14949
14950 2012-02-22 Chong Yidong <cyd@gnu.org>
14951
14952 * custom.el (load-theme): Doc fix.
14953
14954 2012-02-22 Glenn Morris <rgm@gnu.org>
14955
14956 * dired-x.el (dired-guess-shell-alist-default):
14957 Remove escape sequences from nroff output. (Bug#172)
14958
14959 2012-02-21 Glenn Morris <rgm@gnu.org>
14960
14961 * vc/emerge.el (emerge-defvar-local):
14962 Set `permanent-local' property rather than unused `preserved'.
14963
14964 * textmodes/picture.el (picture-delete-char): New alias.
14965 (picture-mode-map): Use it. (Bug#10860)
14966 (picture-mode): Doc fix.
14967
14968 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
14969
14970 * newcomment.el (uncomment-region-default): Remove unused binding.
14971
14972 2012-02-21 Glenn Morris <rgm@gnu.org>
14973
14974 * textmodes/picture.el (picture-motion, picture-motion-reverse)
14975 (picture-self-insert, picture-tab-chars): Doc fix.
14976 (picture-mode-map): Fix C-a, C-e.
14977
14978 2012-02-20 Glenn Morris <rgm@gnu.org>
14979
14980 * emacs-lisp/authors.el (authors-aliases): Add another entry.
14981
14982 2012-02-20 Leo Liu <sdl.web@gmail.com>
14983
14984 * icomplete.el (icomplete-completions): Check FROM arg before
14985 passing to substring (Bug#10850).
14986
14987 2012-02-19 Chong Yidong <cyd@gnu.org>
14988
14989 * comint.el: Require ansi-color.
14990 (comint-output-filter-functions): Add ansi-color-process-output.
14991
14992 * ansi-color.el: Don't set comint-output-filter-functions; it is
14993 now in the initial value defined in comint.el.
14994 (ansi-color-apply-face-function): New variable.
14995 (ansi-color-apply-on-region): Use it.
14996 (ansi-color-apply-overlay-face): New function.
14997
14998 * shell.el (shell): No need to require ansi-color.
14999 (shell-mode): Use ansi-color-apply-face-function to highlight
15000 color escapes using font-lock-face property (Bug#10835).
15001
15002 2012-02-19 Chong Yidong <cyd@gnu.org>
15003
15004 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
15005 mode-line formats (Bug#10839).
15006
15007 2012-02-18 Glenn Morris <rgm@gnu.org>
15008
15009 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
15010
15011 * mail/undigest.el (unforward-rmail-message): Doc fix.
15012
15013 * saveplace.el (save-place-ignore-files-regexp): Add :version.
15014
15015 2012-02-18 Eli Zaretskii <eliz@gnu.org>
15016
15017 * international/characters.el (script-list): Sync with the latest
15018 Unicode Character Database.
15019
15020 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
15021
15022 * international/titdic-cnv.el: Remove duplicate coding tag.
15023 * language/cham.el: Likewise.
15024 * language/tai-viet.el: Likewise.
15025
15026 2012-02-18 Glenn Morris <rgm@gnu.org>
15027
15028 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
15029 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
15030 (calendar-bahai-all-holidays-flag, calendar-other-dates):
15031 * calendar/diary-lib.el (diary-abbreviated-year-flag):
15032 * calendar/holidays.el (holiday-bahai-holidays)
15033 (calendar-holidays, list-holidays):
15034 Use utf-8 Bahá'í in doc-strings, menus, etc.
15035
15036 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
15037
15038 * saveplace.el (save-place-ignore-files-regexp): New variable
15039 allowing for excluding files from saving their location of point.
15040 The default value matches the temporary commit message editing
15041 files from Git, SVN, Bazaar, and Mercurial.
15042 (save-place-to-alist): Use it.
15043
15044 2012-02-17 Lawrence Mitchell <wence@gmx.li>
15045 Stefan Monnier <monnier@iro.umontreal.ca>
15046
15047 * newcomment.el (uncomment-region-default): Don't leave extra space
15048 when an arg is provided (bug#8150).
15049
15050 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
15051
15052 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
15053
15054 2012-02-17 Glenn Morris <rgm@gnu.org>
15055
15056 * net/socks.el: Require network-stream. (Bug#10599)
15057
15058 2012-02-17 Kenichi Handa <handa@m17n.org>
15059
15060 * international/charprop.el:
15061 * international/uni-name.el:
15062 * international/uni-old-name.el:
15063 * international/uni-comment.el: Regenerate.
15064
15065 2012-02-16 Glenn Morris <rgm@gnu.org>
15066
15067 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
15068 Interactively in calendar buffer, give an error if not on a date.
15069
15070 2012-02-15 Glenn Morris <rgm@gnu.org>
15071
15072 * shell.el (shell-delimiter-argument-list):
15073 Revert 2011-02-17 change. (Bug#8027)
15074
15075 2012-02-15 Chong Yidong <cyd@gnu.org>
15076
15077 * minibuffer.el (completion-at-point-functions): Doc fix.
15078
15079 * custom.el (defcustom): Doc fix; note use of defvar.
15080
15081 2012-02-15 Glenn Morris <rgm@gnu.org>
15082
15083 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
15084 Doc fixes.
15085
15086 2012-02-14 Glenn Morris <rgm@gnu.org>
15087
15088 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
15089
15090 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
15091
15092 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
15093 way the ports list is computed.
15094 (smtpmail-query-smtp-server): Prompt the user for a port number if
15095 we can't connect to any of the standard ports (bug#10810).
15096
15097 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
15098
15099 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
15100
15101 2012-02-13 Glenn Morris <rgm@gnu.org>
15102
15103 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
15104
15105 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
15106
15107 * net/gnutls.el (gnutls-trustfiles): New variable.
15108 (gnutls-negotiate): Use it.
15109
15110 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
15111
15112 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
15113 does its stuff if Gnus is running.
15114
15115 2012-02-13 Alan Mackenzie <acm@muc.de>
15116
15117 Fix a loop in c-set-fl-decl-start.
15118
15119 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
15120 c-backward-syntactic-ws actually moves backwards.
15121
15122 2012-02-13 Leo Liu <sdl.web@gmail.com>
15123
15124 * net/rcirc.el (rcirc-markup-attributes): Move point to the
15125 beginning so that all \C-o chars are removed.
15126
15127 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
15128
15129 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
15130
15131 2012-02-12 Alan Mackenzie <acm@muc.de>
15132
15133 Fix infinite loop with long macros.
15134 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
15135
15136 2012-02-12 Chong Yidong <cyd@gnu.org>
15137
15138 * window.el (display-buffer): Doc fix (Bug#10785).
15139
15140 2012-02-12 Glenn Morris <rgm@gnu.org>
15141
15142 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
15143 (x-disown-selection-internal, x-get-selection-internal):
15144 Sync docs with the xselect.c versions.
15145
15146 * allout-widgets.el: Add missing license notice.
15147
15148 2012-02-11 Glenn Morris <rgm@gnu.org>
15149
15150 * select.el (x-get-selection-internal, x-own-selection-internal)
15151 (x-disown-selection-internal):
15152 * x-dnd.el (x-get-selection-internal): Update declarations.
15153
15154 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
15155
15156 * window.el (window-sides-slots):
15157 * tool-bar.el (tool-bar-position):
15158 * term/xterm.el (xterm-extra-capabilities):
15159 * ses.el (ses-self-reference-early-detection):
15160 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
15161 (verilog-auto-wire-type)
15162 (verilog-auto-delete-trailing-whitespace)
15163 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
15164 (verilog-auto-tieoff-declaration):
15165 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
15166 (sql-oracle-statement-starters, sql-oracle-scan-on):
15167 * progmodes/prolog.el (prolog-align-comments-flag)
15168 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
15169 (prolog-left-indent-regexp, prolog-paren-indent-p)
15170 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
15171 (prolog-types, prolog-mode-specificators)
15172 (prolog-determinism-specificators, prolog-directives)
15173 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
15174 (prolog-electric-dot-flag)
15175 (prolog-electric-dot-full-predicate-template)
15176 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
15177 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
15178 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
15179 (prolog-program-switches, prolog-prompt-regexp)
15180 (prolog-debug-on-string, prolog-debug-off-string)
15181 (prolog-trace-on-string, prolog-trace-off-string)
15182 (prolog-zip-on-string, prolog-zip-off-string)
15183 (prolog-use-standard-consult-compile-method-flag)
15184 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
15185 (prolog-imenu-max-lines, prolog-info-predicate-index)
15186 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
15187 (prolog-char-quote-workaround):
15188 * progmodes/cc-vars.el (c-defun-tactic):
15189 * net/tramp.el (tramp-encoding-command-interactive)
15190 (tramp-local-end-of-line):
15191 * net/soap-client.el (soap-client):
15192 * net/netrc.el (netrc-file):
15193 * net/gnutls.el (gnutls):
15194 * minibuffer.el (completion-category-overrides)
15195 (completion-cycle-threshold)
15196 (completion-pcm-complete-word-inserts-delimiters):
15197 * man.el (Man-name-local-regexp):
15198 * mail/feedmail.el (feedmail-display-full-frame):
15199 * international/characters.el (glyphless-char-display-control):
15200 * eshell/em-ls.el (eshell-ls-date-format):
15201 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
15202 (lisp-lambda-list-keyword-parameter-indentation)
15203 (lisp-lambda-list-keyword-parameter-alignment):
15204 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
15205 * dired-x.el (dired-omit-verbose):
15206 * cus-theme.el (custom-theme-allow-multiple-selections):
15207 * calc/calc.el (calc-highlight-selections-with-faces)
15208 (calc-lu-field-reference, calc-lu-power-reference)
15209 (calc-note-threshold):
15210 * battery.el (battery-mode-line-limit):
15211 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
15212 (archive-7z-update):
15213 * allout.el (allout-prefixed-keybindings)
15214 (allout-unprefixed-keybindings)
15215 (allout-inhibit-auto-fill-on-headline)
15216 (allout-flattened-numbering-abbreviation):
15217 * allout-widgets.el (allout-widgets-auto-activation)
15218 (allout-widgets-icons-dark-subdir)
15219 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
15220 (allout-widgets-theme-dark-background)
15221 (allout-widgets-theme-light-background)
15222 (allout-widgets-item-image-properties-emacs)
15223 (allout-widgets-item-image-properties-xemacs)
15224 (allout-widgets-run-unit-tests-on-load)
15225 (allout-widgets-time-decoration-activity)
15226 (allout-widgets-hook-error-post-time)
15227 (allout-widgets-track-decoration):
15228 Add missing :version tags to new defcustoms and defgroups.
15229
15230 * progmodes/sql.el (sql-ansi-statement-starters)
15231 (sql-oracle-statement-starters): Add custom type.
15232
15233 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
15234 (prolog-system-version): Give it a type.
15235
15236 2012-02-11 Eli Zaretskii <eliz@gnu.org>
15237
15238 * term/pc-win.el (x-select-text, x-selection-owner-p)
15239 (x-own-selection-internal, x-disown-selection-internal)
15240 (x-get-selection-internal): Sync doc strings and argument lists
15241 with xselect.c, common-win.el and x-win.el. (Bug#10783)
15242
15243 2012-02-11 Leo Liu <sdl.web@gmail.com>
15244
15245 * progmodes/python.el (python-end-of-statement): Fix infinite
15246 loop. (Bug#10788)
15247
15248 2012-02-10 Glenn Morris <rgm@gnu.org>
15249
15250 * international/mule-cmds.el (unify-8859-on-encoding-mode)
15251 (unify-8859-on-decoding-mode): Properly mark as obsolete.
15252
15253 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
15254
15255 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
15256 about SMTP before checking the From header.
15257
15258 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
15259 into own function for reuse by emacsbug.el.
15260
15261 2012-02-10 Leo Liu <sdl.web@gmail.com>
15262
15263 * subr.el (condition-case-unless-debug): Rename from
15264 condition-case-no-debug. All callers changed.
15265 (with-demoted-errors): Fix caller.
15266
15267 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
15268 * nxml/rng-valid.el (rng-do-some-validation):
15269 * emacs-lisp/package.el (package-refresh-contents)
15270 (package-menu-execute):
15271 * desktop.el (desktop-create-buffer):
15272 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
15273
15274 2012-02-10 Glenn Morris <rgm@gnu.org>
15275
15276 * textmodes/bibtex.el:
15277 Add missing :version tags for new/changed defcustoms.
15278
15279 * files.el (remote-file-name-inhibit-cache): Doc fixes.
15280
15281 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
15282
15283 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
15284 (smtpmail-via-smtp): Use it, or fall back on the From address.
15285 (smtpmail-send-it): Ditto.
15286
15287 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
15288
15289 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
15290 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
15291 (byte-compile-tmp-var): New const.
15292 (byte-compile-defvar): Use it to minimize .elc size.
15293 Just use `defvar' rather than simulate it (bug#10761).
15294
15295 2012-02-09 Glenn Morris <rgm@gnu.org>
15296
15297 * files.el (rename-uniquely): Doc fix. (Bug#3806)
15298
15299 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
15300 Add :version tags.
15301
15302 * progmodes/compile.el (compilation-error-screen-columns)
15303 (compilation-first-column, compilation-filter-start): Doc fixes.
15304
15305 * vc/log-view.el (log-view-toggle-entry-display):
15306 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
15307
15308 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
15309 (report-emacs-bug-can-use-xdg-email):
15310 (report-emacs-bug-insert-to-mailer): Doc fixes.
15311 (report-emacs-bug): Message fix.
15312
15313 * net/browse-url.el (browse-url-can-use-xdg-open)
15314 (browse-url-xdg-open): Doc fixes.
15315
15316 * electric.el (electric-indent-mode, electric-pair-mode)
15317 (electric-layout-rules, electric-layout-mode): Doc fixes.
15318 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
15319
15320 2012-02-08 Martin Rudalics <rudalics@gmx.at>
15321
15322 * server.el (server-unselect-display): Don't inadvertently kill
15323 the current buffer. (Bug#10729)
15324
15325 2012-02-08 Glenn Morris <rgm@gnu.org>
15326
15327 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
15328 (sql-list-table): Doc fixes.
15329
15330 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
15331 Comment out (does nothing).
15332
15333 * completion.el (dynamic-completion-mode):
15334 * dirtrack.el (dirtrack-debug-mode):
15335 * electric.el (electric-layout-mode):
15336 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
15337 * face-remap.el (text-scale-mode, buffer-face-mode):
15338 * iimage.el (iimage-mode):
15339 * image-mode.el (image-transform-mode):
15340 * minibuffer.el (completion-in-region-mode):
15341 * scroll-lock.el (scroll-lock-mode):
15342 * simple.el (next-error-follow-minor-mode):
15343 * tar-mode.el (tar-subfile-mode):
15344 * tooltip.el (tooltip-mode):
15345 * vcursor.el (vcursor-use-vcursor-map):
15346 * wid-browse.el (widget-minor-mode):
15347 * emulation/tpu-edt.el (tpu-edt-mode):
15348 * emulation/tpu-extras.el (tpu-cursor-free-mode):
15349 * international/iso-ascii.el (iso-ascii-mode):
15350 * language/thai-util.el (thai-word-mode):
15351 * mail/supercite.el (sc-minor-mode):
15352 * net/goto-addr.el (goto-address-mode):
15353 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
15354 * progmodes/cwarn.el (cwarn-mode):
15355 * progmodes/flymake.el (flymake-mode):
15356 * progmodes/glasses.el (glasses-mode):
15357 * progmodes/hideshow.el (hs-minor-mode):
15358 * progmodes/pascal.el (pascal-outline-mode):
15359 * textmodes/enriched.el (enriched-mode):
15360 * vc/smerge-mode.el (smerge-mode):
15361 Doc fixes (minor mode argument).
15362
15363 2012-02-07 Eli Zaretskii <eliz@gnu.org>
15364
15365 * ls-lisp.el (ls-lisp-sanitize): New function.
15366 (ls-lisp-insert-directory): Use it to fix or remove any elements
15367 in file-alist with missing attributes. (Bug#4673)
15368
15369 2012-02-07 Alan Mackenzie <acm@muc.de>
15370
15371 Fix spurious recognition of c-in-knr-argdecl.
15372
15373 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
15374 putative K&R region.
15375
15376 2012-02-07 Alan Mackenzie <acm@muc.de>
15377
15378 * progmodes/cc-engine.el (c-forward-objc-directive):
15379 Prevent looping in "#pragma mark @implementation".
15380
15381 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
15382
15383 * notifications.el (notifications-on-closed-signal): Make `reason'
15384 optional. (Bug#10744)
15385
15386 2012-02-07 Glenn Morris <rgm@gnu.org>
15387
15388 * emacs-lisp/easy-mmode.el (define-minor-mode):
15389 Doc fixes for the macro and the mode it defines.
15390
15391 * image.el (imagemagick-types-inhibit): Doc fix.
15392
15393 * cus-start.el (imagemagick-render-type): Add it.
15394
15395 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
15396
15397 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
15398 Set the default at load time, too, so that `font-lock-fontify-buffer'
15399 can be called without setting up the entire mode first. This fixes
15400 a bug in `mm-inline-text' with C MIME parts.
15401
15402 2012-02-06 Chong Yidong <cyd@gnu.org>
15403
15404 * simple.el (list-processes--refresh): Delete exited processes
15405 (Bug#8094).
15406
15407 * comint.el (comint-next-prompt): next-single-char-property-change
15408 and prev-single-char-property-change never return nil (Bug#8657).
15409
15410 * custom.el (defcustom): Doc fix (Bug#9711).
15411
15412 2012-02-05 Chong Yidong <cyd@gnu.org>
15413
15414 * cus-edit.el (custom-variable-reset-backup): Quote the value
15415 before storing it in the customized-value property (Bug#6712).
15416 (custom-display): Add a customization type tag.
15417 (custom-buffer-create-internal): Improve tooltip message.
15418
15419 * wid-edit.el (widget-field-value-get): New optional arg to
15420 suppress trailing whitespace truncation.
15421 (character): Use it (Bug#2689).
15422
15423 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
15424
15425 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
15426 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
15427
15428 2012-02-05 Chong Yidong <cyd@gnu.org>
15429
15430 * cus-edit.el (custom-variable-value-create): For mismatched
15431 types, show the current value (Bug#7600).
15432
15433 * custom.el (defcustom): Doc fix.
15434
15435 2012-02-05 Glenn Morris <rgm@gnu.org>
15436
15437 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
15438
15439 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
15440
15441 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
15442 (pp-buffer): Use `ignore-errors', `looking-at-p'.
15443 (pp-last-sexp): Use `looking-at-p'.
15444
15445 2012-02-04 Glenn Morris <rgm@gnu.org>
15446
15447 * files.el (revert-buffer):
15448 Doc fix (mention revert-buffer-in-progress-p).
15449
15450 * emacs-lisp/ert-x.el (ert-simulate-command):
15451 Check deferred-action-list (which is obsolete) is bound.
15452
15453 * subr.el (with-wrapper-hook): Doc fixes.
15454
15455 * simple.el (filter-buffer-substring-functions)
15456 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
15457
15458 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
15459
15460 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
15461 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
15462
15463 2012-02-04 Leo Liu <sdl.web@gmail.com>
15464
15465 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
15466
15467 2012-02-04 Glenn Morris <rgm@gnu.org>
15468
15469 * image.el (image-extension-data): Add obsolete alias.
15470
15471 * isearch.el (isearch-update): Doc fix.
15472
15473 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
15474
15475 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
15476
15477 2012-02-03 Glenn Morris <rgm@gnu.org>
15478
15479 * image.el (image-animated-p): Doc fix. Use image-animated-types.
15480 (image-animate-timeout): Doc fix.
15481
15482 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
15483
15484 2012-02-02 Glenn Morris <rgm@gnu.org>
15485
15486 * server.el (server-auth-dir): Doc fix.
15487 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
15488
15489 * subr.el (run-mode-hooks): Doc fix.
15490
15491 2012-02-02 Juri Linkov <juri@jurta.org>
15492
15493 * image-mode.el (image-toggle-display-image): Remove tautological
15494 `major-mode' from the `derived-mode-p' test.
15495
15496 2012-02-02 Kenichi Handa <handa@m17n.org>
15497
15498 * composite.el (compose-region): Cancel previous change.
15499
15500 2012-02-02 Kenichi Handa <handa@m17n.org>
15501
15502 * composite.el (compose-region, compose-string): Signal error for
15503 a null string component (Bug#6988).
15504
15505 2012-02-01 Chong Yidong <cyd@gnu.org>
15506
15507 * view.el (view-buffer-other-window, view-buffer-other-frame):
15508 Handle special modes like view-buffer (Bug#10650).
15509 (view-buffer): Simplify.
15510
15511 * frame.el (set-frame-font): Tweak meaning of third argument.
15512
15513 * dynamic-setting.el (font-setting-change-default-font):
15514 Use set-frame-font (Bug#9982).
15515
15516 2012-02-01 Glenn Morris <rgm@gnu.org>
15517
15518 * progmodes/compile.el (compilation-internal-error-properties):
15519 Respect compilation-first-column in the "*compilation*" buffer.
15520
15521 * emacs-lisp/easy-mmode.el (define-minor-mode):
15522 Relax :variable's test for a named function.
15523
15524 2012-01-31 Alan Mackenzie <acm@muc.de>
15525
15526 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
15527 off by one error.
15528
15529 2012-01-31 Chong Yidong <cyd@gnu.org>
15530
15531 * frame.el (set-frame-font): New arg ALL-FRAMES.
15532
15533 * menu-bar.el (menu-set-font): Use set-frame-font.
15534
15535 * faces.el (face-spec-reset-face): Don't apply unspecified
15536 attribute values to the default face.
15537
15538 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
15539
15540 * progmodes/cwarn.el (cwarn): Remove dead link.
15541 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
15542 Remove * from defcustom docstrings.
15543 (turn-on-cwarn-mode): Make obsolete.
15544 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
15545 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
15546
15547 2012-01-31 Glenn Morris <rgm@gnu.org>
15548
15549 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
15550 Fix :variable handling of mode a symbol not equal to modefun.
15551 Allow named functions to be used as the cdr of :variable.
15552
15553 2012-01-30 Glenn Morris <rgm@gnu.org>
15554
15555 * emacs-lisp/authors.el (authors-fixed-entries):
15556 Remove reference to deleted file rnewspost.el.
15557
15558 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
15559
15560 * window.el (window-with-parameter): Remove unused variable `windows'.
15561 (window--side-check): Remove unused variable `code'.
15562 (window--resize-siblings): Remove unused variable `first'.
15563 (adjust-window-trailing-edge): Remove unused variable `failed'.
15564 (window-deletable-p, window--delete): Remove unused variable `buffer'.
15565 Use `let', not `let*'.
15566 (balance-windows-2): Remove unused variable `found'.
15567 (window--state-put-2): Remove unused variable `splits'.
15568 (window-state-put): Remove unused variable `selected'.
15569 (same-window-p): Use `string-match-p'.
15570 (display-buffer-assq-regexp): Remove unused variable `value'.
15571 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15572 Mark argument ALIST as ignored.
15573 (pop-to-buffer): Remove unused variable `old-window'.
15574
15575 2012-01-29 Eli Zaretskii <eliz@gnu.org>
15576
15577 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
15578 and .lzma compressed files.
15579
15580 2012-01-29 Chong Yidong <cyd@gnu.org>
15581
15582 * frame.el (window-system-default-frame-alist): Doc fix.
15583
15584 * dynamic-setting.el (font-setting-change-default-font): Don't
15585 change the default face if SET-FONT argument is non-nil (Bug#9982).
15586
15587 2012-01-29 Samuel Bronson <naesten@gmail.com>
15588
15589 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
15590
15591 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
15592
15593 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
15594 breakpoints in files outside current directory (Bug#6098).
15595
15596 2012-01-29 Chong Yidong <cyd@gnu.org>
15597
15598 * progmodes/python.el: Require ansi-color at top-level.
15599
15600 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
15601 Define and use in Emacs Lisp mode (Bug#9360).
15602 (lisp-mode-abbrev-table): Add doc.
15603 (lisp-mode-variables): Don't set local-abbrev-table.
15604 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
15605
15606 2012-01-28 Roland Winkler <winkler@gnu.org>
15607
15608 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
15609
15610 2012-01-28 Roland Winkler <winkler@gnu.org>
15611
15612 * textmodes/bibtex.el (bibtex-entry-alist): New function.
15613 (bibtex-set-dialect): Use it. Either set global values of
15614 dialect-dependent variables or bind these variables buffer-locally
15615 (Bug#10254).
15616 (bibtex-mode): Call bibtex-set-dialect via
15617 hack-local-variables-hook.
15618 (bibtex-dialect): Update docstring.
15619 Add safe-local-variable predicate.
15620 (bibtex-entry-alist, bibtex-field-alist): Initialize via
15621 bibtex-set-dialect.
15622 (bibtex-mode-map): Define menu for each dialect.
15623 (bibtex-entry): Fix docstring.
15624
15625 2012-01-28 Chong Yidong <cyd@gnu.org>
15626
15627 * eshell/esh-arg.el (eshell-quote-argument): New function.
15628
15629 * eshell/esh-ext.el (eshell-invoke-batch-file):
15630 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
15631 first arg to eshell-parse-command (Bug#10523).
15632
15633 2012-01-28 Drew Adams <drew.adams@oracle.com>
15634
15635 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
15636 `default-directory' is non-nil.
15637
15638 2012-01-28 Eli Zaretskii <eliz@gnu.org>
15639
15640 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
15641 line that displays system-configuration-options. (Bug#9924)
15642
15643 2012-01-28 Drew Adams <drew.adams@oracle.com>
15644
15645 * descr-text.el (describe-char): Show information about POS, in
15646 addition to information about the character at POS. Improve and
15647 update the doc string. Change "code point" to "code point in
15648 charset", to avoid confusion with the character's Unicode code
15649 point shown above that. (Bug#10129)
15650
15651 2012-01-28 Eli Zaretskii <eliz@gnu.org>
15652
15653 * descr-text.el (describe-char): Show the raw character, not only
15654 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
15655 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
15656 for the reasons.
15657
15658 2012-01-28 Phil Hagelberg <phil@hagelb.org>
15659
15660 * emacs-lisp/package.el (package-install):
15661 Run package-refresh-contents if there is no archive yet (Bug#9798).
15662
15663 2012-01-28 Chong Yidong <cyd@gnu.org>
15664
15665 * emacs-lisp/package.el (package-maybe-load-descriptor):
15666 New function, split from package-maybe-load-descriptor.
15667 (package-maybe-load-descriptor): Use it.
15668 (package-download-transaction): Fully load required packages
15669 inside the loop, so that `require' calls work (Bug#10593).
15670 (package-install): No need to call package-initialize now.
15671
15672 2012-01-28 Chong Yidong <cyd@gnu.org>
15673
15674 * simple.el (deactivate-mark): Doc fix (Bug#8614).
15675
15676 * tooltip.el (tooltip-mode): Doc fix.
15677 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
15678
15679 * frame.el (set-cursor-color): Doc fix (Bug#352).
15680
15681 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
15682 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
15683
15684 * cus-edit.el (custom-buffer-create-internal): Fix search button
15685 action (Bug#10542).
15686 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
15687
15688 2012-01-27 Eduard Wiebe <usenet@pusto.de>
15689
15690 * dired.el (dired-mark-files-regexp):
15691 Include any subdirectory components. (Bug#10445)
15692
15693 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
15694
15695 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
15696 Handle [host]:port syntax. (Bug#10533)
15697
15698 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
15699
15700 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
15701
15702 2012-01-26 Glenn Morris <rgm@gnu.org>
15703
15704 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
15705 * term.el (term-raw-escape-map): Use Control-X-prefix.
15706 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
15707
15708 2012-01-25 Martin Rudalics <rudalics@gmx.at>
15709
15710 * window.el (window-state-get, window--state-get-1): Don't deal
15711 with fixed-sizeness of windows. Simplify code.
15712
15713 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
15714
15715 * window.el (window--state-get-1, window--state-put-2):
15716 Don't save and restore the mark.
15717
15718 2012-01-25 Chong Yidong <cyd@gnu.org>
15719
15720 * custom.el (custom-variable-p): Doc fix.
15721
15722 2012-01-25 Glenn Morris <rgm@gnu.org>
15723
15724 * dired.el (dired-goto-file): Handle some of the more common
15725 characters that `ls -b' escapes. (Bug#10596)
15726
15727 * progmodes/compile.el (compilation-next-error-function):
15728 Respect compilation-first-column in the "*compilation*" buffer.
15729 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
15730
15731 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
15732
15733 2012-01-24 Glenn Morris <rgm@gnu.org>
15734
15735 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
15736
15737 2012-01-24 Julien Danjou <julien@danjou.info>
15738
15739 * color.el (color-rgb-to-hsl): Fix value computing.
15740 (color-hue-to-rgb): New function.
15741 (color-hsl-to-rgb): New function.
15742 (color-clamp, color-saturate-hsl, color-saturate-name)
15743 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
15744 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
15745
15746 2012-01-24 Glenn Morris <rgm@gnu.org>
15747
15748 * vc/vc-rcs.el (vc-rcs-create-tag):
15749 * vc/vc-sccs.el (vc-sccs-create-tag):
15750 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
15751
15752 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
15753
15754 * eshell/esh-util.el (eshell-read-hosts-file):
15755 Skip comment lines. (Bug#10549)
15756
15757 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
15758
15759 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
15760
15761 * subr.el (display-delayed-warnings): Doc fix.
15762 (collapse-delayed-warnings): New function to collapse identical
15763 adjacent warnings.
15764 (delayed-warnings-hook): Add it.
15765
15766 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
15767
15768 * net/tramp.el (tramp-action-login): Set connection property "login-as".
15769
15770 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
15771 (tramp-default-user-alist): Don't add "pscp".
15772 (tramp-do-copy-or-rename-file-out-of-band): Use connection
15773 property "login-as", if set. (Bug#10530)
15774
15775 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
15776
15777 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
15778 "plink1" and "psftp". (Bug#10530)
15779
15780 2012-01-21 Kenichi Handa <handa@m17n.org>
15781
15782 * international/mule-cmds.el (prefer-coding-system): Show a
15783 warning message if the default value of file-name-coding-system
15784 was not changed.
15785
15786 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
15787
15788 * windmove.el (windmove-reference-loc):
15789 Fix windmove-reference-loc miscalculation.
15790
15791 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
15792
15793 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
15794 default unit.
15795
15796 2012-01-21 Glenn Morris <rgm@gnu.org>
15797
15798 * international/mule.el (auto-coding-alist): Add .tbz.
15799
15800 * files.el (local-enable-local-variables): Doc fix.
15801 (inhibit-local-variables-regexps): Rename from
15802 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
15803 Doc fix. Add some extensions from auto-coding-alist.
15804 (inhibit-local-variables-suffixes):
15805 Rename from inhibit-first-line-modes-suffixes. Doc fix.
15806 (inhibit-local-variables-p):
15807 New function, extracted from set-auto-mode-1.
15808 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
15809 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
15810 (hack-local-variables): Doc fix. Make the mode-only case
15811 respect enable-local-variables and friends.
15812 Respect inhibit-local-variables-regexps for file-locals, but
15813 not for directory-locals.
15814 (set-visited-file-name):
15815 Take account of inhibit-local-variables-regexps.
15816 Whether it applies may change as the file name is changed.
15817 * jka-cmpr-hook.el (jka-compr-install):
15818 * jka-compr.el (jka-compr-uninstall):
15819 Update for inhibit-first-line-modes-suffixes name change.
15820
15821 2012-01-20 Martin Rudalics <rudalics@gmx.at>
15822
15823 * help-macro.el (make-help-screen): Temporarily restore original
15824 binding for minor-mode-map-alist (Bug#10454).
15825
15826 2012-01-19 Julien Danjou <julien@danjou.info>
15827
15828 * color.el (color-name-to-rgb): Use the white color to find the max
15829 color component value and return correctly computed values.
15830 (color-name-to-rgb): Add missing float conversion for max value.
15831
15832 2012-01-19 Martin Rudalics <rudalics@gmx.at>
15833
15834 * window.el (window--state-get-1, window-state-get): Do not use
15835 special state value for window-persistent-parameters.
15836 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
15837 (window--state-put-2): Reset all window parameters to nil before
15838 assigning values of persistent parameters.
15839
15840 2012-01-18 Alan Mackenzie <acm@muc.de>
15841
15842 Eliminate sluggishness and hangs in fontification of "semicolon
15843 deserts".
15844
15845 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
15846 Change value 10000 -> 3000.
15847 (c-state-safe-place): Reformulate so it doesn't stack up an
15848 infinite number of wrong entries in c-state-nonlit-pos-cache.
15849 (c-determine-limit-get-base, c-determine-limit): New functions to
15850 determine backward search limits disregarding literals.
15851 (c-find-decl-spots): Amend commenting.
15852 (c-cheap-inside-bracelist-p): New function which detects "={".
15853
15854 * progmodes/cc-fonts.el
15855 (c-make-font-lock-BO-decl-search-function): Give a limit to a
15856 backward search.
15857 (c-font-lock-declarations): Fix an occurrence of point being
15858 undefined. Check additionally for point being in a bracelist or
15859 near a macro invocation without a semicolon so as to avoid a
15860 fruitless time consuming search for a declarator. Give a more
15861 precise search limit for declarators using the new
15862 c-determine-limit.
15863
15864 2012-01-18 Glenn Morris <rgm@gnu.org>
15865
15866 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
15867 (set-auto-mode): Doc fixes.
15868
15869 2012-01-17 Glenn Morris <rgm@gnu.org>
15870
15871 * isearch.el (search-nonincremental-instead): Fix doc typo.
15872
15873 * dired.el (dired-insert-directory): Handle newlines in directory name.
15874 (dired-build-subdir-alist): Unescape newlines in directory name.
15875
15876 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
15877
15878 * net/tramp.el (tramp-local-end-of-line): New defcustom.
15879 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
15880 (tramp-action-terminal): Use it. (Bug#10530)
15881
15882 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
15883
15884 * minibuffer.el (completion--replace): Strip properties (bug#10062).
15885
15886 2012-01-16 Martin Rudalics <rudalics@gmx.at>
15887
15888 * window.el (window-state-ignored-parameters): Remove variable.
15889 (window--state-get-1): Rename argument MARKERS to IGNORE.
15890 Handle persistent window parameters. Make copy of clone-of
15891 parameter only if requested. (Bug#10348)
15892 (window--state-put-2): Install a window parameter only if it has
15893 a non-nil value or an existing parameter shall be overwritten.
15894
15895 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
15896
15897 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
15898
15899 2012-01-14 Eli Zaretskii <eliz@gnu.org>
15900
15901 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
15902 don't pass the (nil) value of `upnode' to string-match.
15903
15904 2012-01-14 Chong Yidong <cyd@gnu.org>
15905
15906 * startup.el (command-line): Fix X resource class for cursorColor.
15907 Fix values recognized by the cursorBlink resource.
15908
15909 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
15910
15911 * epg.el (epg--make-temp-file): Avoid permission race condition
15912 when running on old Emacs versions (bug#10403).
15913
15914 2012-01-14 Glenn Morris <rgm@gnu.org>
15915
15916 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
15917
15918 2012-01-13 Alan Mackenzie <acm@muc.de>
15919
15920 Fix filling for when filladapt mode is enabled.
15921
15922 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
15923 c-mask-paragraph, pass in `fill-paragraph' rather than
15924 `fill-region-as-paragraph'. (This is a reversion of a previous
15925 change.)
15926 * progmodes/cc-mode.el (c-basic-common-init):
15927 Make fill-paragraph-handle-comment buffer local and set it to nil.
15928
15929 2012-01-13 Glenn Morris <rgm@gnu.org>
15930
15931 * dired.el (dired-switches-escape-p): New function.
15932 (dired-insert-directory): Use dired-switches-escape-p.
15933 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
15934
15935 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
15936
15937 2012-01-12 Glenn Morris <rgm@gnu.org>
15938
15939 * mail/sendmail.el (mail-mode): Update paragraph-separate for
15940 changes in adaptive-fill-regexp. (Bug#10276)
15941
15942 2012-01-11 Alan Mackenzie <acm@muc.de>
15943
15944 Fix Emacs bug #10463 - put `widen's around the critical spots.
15945
15946 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
15947 widen around each invocation of c-state-pp-to-literal. Remove an
15948 unused let variable.
15949
15950 2012-01-11 Glenn Morris <rgm@gnu.org>
15951
15952 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
15953 Doc fix.
15954
15955 2012-01-10 Chong Yidong <cyd@gnu.org>
15956
15957 * net/network-stream.el (network-stream-open-starttls):
15958 Avoid emitting a confusing error message when the server gives a bad
15959 response to the capability command.
15960
15961 2012-01-10 Glenn Morris <rgm@gnu.org>
15962
15963 * mail/unrmail.el (unrmail): Tweak previous change.
15964
15965 2012-01-09 Chong Yidong <cyd@gnu.org>
15966
15967 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
15968
15969 2012-01-08 Alan Mackenzie <acm@muc.de>
15970
15971 Optimize font locking in long enum definitions.
15972
15973 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
15974 arm to a cond form to handle enums.
15975 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
15976 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
15977
15978 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
15979
15980 * files.el (move-file-to-trash): Preserve default file modes on error.
15981 (Bug#10401)
15982
15983 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15984
15985 * faces.el (set-face-attribute): Clarify the meaning of the nil
15986 frame (bug#10294).
15987
15988 * subr.el (with-selected-frame): Mention that the selected frame
15989 is restored (bug#9980).
15990
15991 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
15992 (bug#9759).
15993
15994 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
15995 (password-read): Don't autoload unused function.
15996
15997 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
15998
15999 * progmodes/which-func.el (which-func-mode): Turn into a
16000 non-interactive function and mark as obsolete (bug#10428).
16001
16002 2012-01-06 Chong Yidong <cyd@gnu.org>
16003
16004 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
16005 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
16006 functions, along with 1 and -1.
16007
16008 2012-01-06 Eli Zaretskii <eliz@gnu.org>
16009
16010 * time.el (display-time-load-average)
16011 (display-time-default-load-average): Doc fixes. See the thread
16012 starting at
16013 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
16014 for the details.
16015
16016 2012-01-06 Glenn Morris <rgm@gnu.org>
16017
16018 * mail/unrmail.el (unrmail): Give an explicit error if the input file
16019 has no messages. (Bug#10377)
16020
16021 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
16022 than Info-edit. (Bug#10385)
16023
16024 * time.el (display-time-load-average, display-time-next-load-average):
16025 Doc fixes.
16026
16027 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
16028 local setting of buffer-read-only to the input buffer. (Bug#10419)
16029
16030 * calendar/calendar.el (calendar-mode):
16031 Locally set scroll-margin to 0. (Bug#10379)
16032
16033 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
16034
16035 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
16036
16037 2012-01-05 Glenn Morris <rgm@gnu.org>
16038
16039 * eshell/em-unix.el (diff-no-select): Autoload it.
16040 (eshell/diff): Use diff-no-select. (Bug#10420)
16041
16042 2012-01-05 Chong Yidong <cyd@gnu.org>
16043
16044 * shell.el (shell-dynamic-complete-functions): Revert last change.
16045 (shell-command-completion-function): New function.
16046 (shell-completion-vars): Use it to implement
16047 shell-completion-execonly (Bug#10417).
16048
16049 * custom.el (enable-theme): Don't set custom-safe-themes.
16050
16051 * cus-theme.el (custom-theme-merge-theme):
16052 Ignore custom-enabled-themes and custom-safe-themes.
16053
16054 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
16055
16056 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
16057 first prompt in `sql-interacive-mode'.
16058 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
16059 keywords.
16060 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
16061 (sql-product-interactive): Bug fix: Set `sql-buffer' in
16062 context of original buffer. Invoke `sql-login-hook'.
16063
16064 2012-01-04 Eli Zaretskii <eliz@gnu.org>
16065
16066 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
16067 letters in cite-prefix.
16068
16069 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16070
16071 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
16072
16073 2012-01-03 Chong Yidong <cyd@gnu.org>
16074
16075 * shell.el (shell-dynamic-complete-functions):
16076 Put pcomplete-completions-at-point, so as to try
16077 comint-filename-completion first (Bug#10417).
16078
16079 2012-01-02 Richard Stallman <rms@gnu.org>
16080
16081 * battery.el (battery-status-function):
16082 Detect when to use battery-yeeloong-sysfs.
16083 (battery-echo-area-format): Add string for Yeeloong.
16084 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
16085 (battery-yeeloong-sysfs): New function.
16086
16087 2012-01-02 Chong Yidong <cyd@gnu.org>
16088
16089 * dirtrack.el (dirtrack-list): Eliminate unused third element.
16090 (dirtrack): Merge code for handling relative filenames in prompt
16091 from shell-dir-cookie-watcher.
16092 (dirtrack-debug-message): New arg to avoid excess format calls.
16093
16094 * shell.el (shell-dir-cookie-re): Variable deleted.
16095 (shell-dir-cookie-watcher): Function deleted.
16096 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
16097 with dirtrack-mode.
16098
16099 2012-01-01 Eli Zaretskii <eliz@gnu.org>
16100
16101 * term/w32-win.el (dynamic-library-alist) <gnutls>:
16102 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
16103 libgnutls-26.dll.
16104
16105 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
16106
16107 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
16108
16109 2011-12-31 Eli Zaretskii <eliz@gnu.org>
16110
16111 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
16112 headers of non-MIME messages, when rmail-enable-mime is non-nil.
16113
16114 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
16115
16116 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
16117 also for alternative shells.
16118 (tramp-open-connection-setup-interactive-shell): Check, whether
16119 the shell is a busybox.
16120 (tramp-send-command): Don't suppress multiple prompts for
16121 busyboxes, it hurts.
16122
16123 2011-12-28 Chong Yidong <cyd@gnu.org>
16124
16125 * progmodes/gdb-mi.el (gdb-get-source-file-list)
16126 (gdb-get-source-file): Move mode line update to
16127 gdb-get-source-file (Bug#10087).
16128
16129 2011-12-25 Chong Yidong <cyd@gnu.org>
16130
16131 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
16132 gud-gdb-marker-filter without taking it as an argument.
16133 (gud-gdb-run-command-fetch-lines): Caller changed.
16134 (gud-gdb-completion-function): New variable.
16135 (gud-gdb-completion-at-point): Use it.
16136 (gud-gdb-completions-1): Split from gud-gdb-completions.
16137
16138 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
16139 function as separate arguments.
16140 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
16141 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
16142 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
16143 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
16144 (gdb-stopped, def-gdb-auto-update-trigger)
16145 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
16146 (gdb-get-changed-registers, gdb-get-main-selected-frame):
16147 Callers changed.
16148 (gud-gdbmi-completions): New function.
16149 (gdb): Use it for generating the completion table.
16150
16151 2011-12-24 Alan Mackenzie <acm@muc.de>
16152
16153 Introduce a mechanism to widen the region used in context font
16154 locking. Use this to protect declarations from losing their contexts.
16155
16156 * progmodes/cc-langs.el (c-before-font-lock-functions):
16157 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
16158 (c-before-context-fontification-functions): New defvar, a list of
16159 functions to be run just before context (etc.) font locking.
16160
16161 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
16162 New, functionality extracted from
16163 c-neutralize-syntax-in-and-mark-CPP.
16164 (c-in-after-change-fontification): New variable.
16165 (c-after-change): Set c-in-after-change-fontification.
16166 (c-set-fl-decl-start): Rejig its interface, so it can be called
16167 from both after-change and context fontifying.
16168 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
16169 New functions.
16170 (c-standard-font-lock-fontify-region-function): New variable.
16171 (c-font-lock-fontify-region): New function.
16172
16173 2011-12-24 Juri Linkov <juri@jurta.org>
16174
16175 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
16176 (Bug#10348)
16177
16178 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
16179
16180 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
16181 existence of source file. (Bug#10325)
16182
16183 2011-12-23 Alan Mackenzie <acm@muc.de>
16184
16185 Fix unstable fontification inside templates.
16186
16187 * progmodes/cc-langs.el (c-before-font-lock-functions):
16188 Newly created from the singular version. The (c c++ objc) entry now
16189 additionally has c-set-fl-decl-start. The other languages (apart
16190 from AWK) have that as a single entry.
16191
16192 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
16193 The functionality for "local" declarations has been extracted to
16194 c-set-fl-decl-start.
16195
16196 * progmodes/cc-mode.el (c-common-init, c-after-change):
16197 Changes due to pluralisation of c-before-font-lock-functions.
16198 (c-set-fl-decl-start): New function, extracted from
16199 c-font-lock-enclosing-decls and enhanced.
16200
16201 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
16202
16203 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
16204
16205 2011-12-22 Juri Linkov <juri@jurta.org>
16206
16207 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
16208
16209 2011-12-22 Chong Yidong <cyd@gnu.org>
16210
16211 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
16212
16213 2011-12-21 Drew Adams <drew.adams@oracle.com>
16214
16215 * files.el (file-remote-p): Fix docstring. (Bug#10319)
16216
16217 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
16218
16219 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
16220
16221 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
16222
16223 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
16224 highlighting and support. Fix up comments for capitalization.
16225 (cfengine-mode-debug): New var.
16226 (cfengine3-mode): Change the modeline indicator to "CFE3".
16227 (cfengine3-font-lock-keywords): Improve defun highlighting.
16228 (cfengine2-actions): Rename from `cfengine-actions'.
16229 (cfengine2-font-lock-keywords): Rename from
16230 `cfengine-font-lock-keywords'.
16231 (cfengine2-imenu-expression): Rename from
16232 `cfengine-imenu-expression'.
16233 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
16234 (cfengine2-beginning-of-defun): Rename from
16235 `cfengine-beginning-of-defun'.
16236 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
16237 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
16238 (cfengine2-mode): Rename from `cfengine-mode'. Change the
16239 modeline indicator to "CFE2".
16240 (cfengine-mode): Defalias to `cfengine-auto-mode'.
16241 (cfengine-mode-abbrevs): Mark obsolete.
16242
16243 2011-12-21 Chong Yidong <cyd@gnu.org>
16244
16245 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
16246 filename argument.
16247
16248 2011-12-20 Martin Rudalics <rudalics@gmx.at>
16249
16250 * window.el (window-normalize-buffer-to-display): Remove.
16251 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
16252
16253 2011-12-19 Chong Yidong <cyd@gnu.org>
16254
16255 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
16256 Don't signal an error in a predicate function; return non-nil.
16257 (vc-dir-mark-file): Move the error here.
16258 (vc-dir-mark-unmark): If acting on the region, keep going if one
16259 of the entries cannot be marked/unmarked.
16260 (vc-dir-mark-all-files): If current entry is a directory, mark
16261 only child files, as documented.
16262
16263 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
16264
16265 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
16266 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
16267 addition.
16268
16269 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
16270
16271 * term/ns-win.el (ns-get-selection-internal)
16272 (ns-store-selection-internal): Declare.
16273 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
16274 Declare as obsolete.
16275 (ns-get-pasteboard, ns-paste-secondary):
16276 Use ns-get-selection-internal.
16277 (ns-set-pasteboard, ns-copy-including-secondary):
16278 Use ns-store-selection-internal.
16279
16280 2011-12-17 Chong Yidong <cyd@gnu.org>
16281
16282 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
16283 (vc-deduce-fileset): Doc fix.
16284
16285 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
16286
16287 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
16288
16289 2011-12-13 Sam Steingold <sds@gnu.org>
16290
16291 * man.el (Man-getpage-in-background): When running under a
16292 window-system, ignore $MANWIDTH and $COLUMNS.
16293
16294 2011-12-15 Kenichi Handa <handa@m17n.org>
16295
16296 * language/ethio-util.el: Change coding tag to utf-8-emacs.
16297 (setup-ethiopic-environment-internal): Comment out key-binding for
16298 ethio-toggle-punctuation.
16299
16300 2011-12-13 Alan Mackenzie <acm@muc.de>
16301
16302 Add the switch statement to AWK Mode.
16303
16304 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
16305 "default" to the keywords regexp.
16306
16307 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
16308 expression as the rest.
16309 (c-nonlabel-token-key): Allow string literals for AWK.
16310 Refactor for the other modes.
16311
16312 Large brace-block initialisation makes CC Mode slow: Fix.
16313 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
16314 routines. Limit backward searching in c-font-lock-enclosing.decl.
16315
16316 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
16317 pp-state and literal type in addition to the limits.
16318 (c-state-safe-place): New defun, extracted from c-state-literal-at.
16319 (c-state-literal-at): Use the above new defun.
16320 (c-slow-in-literal, c-fast-in-literal): Remove.
16321 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
16322
16323 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
16324 being in a literal. Add a limit for backward searching.
16325
16326 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
16327 c-slow-in-literal.
16328
16329 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
16330
16331 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
16332
16333 2011-12-13 Martin Rudalics <rudalics@gmx.at>
16334
16335 * window.el (delete-other-windows): Use correct frame in call to
16336 window-with-parameter.
16337
16338 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
16339
16340 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
16341 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
16342 (makefile-gmake-statements, makefile-makepp-statements):
16343 Use it and add new makepp keywords.
16344 (makefile-makepp-font-lock-keywords): Add new patterns.
16345 (makefile-match-function-end): Match new [...] and [[...]].
16346
16347 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
16348
16349 * ses.el (ses-call-printer-return, ses-cell-property-get)
16350 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
16351 (ses-create-cell-variable, ses-reset-header-string)
16352 (ses-cell-set-formula, ses-repair-cell-reference-all)
16353 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
16354 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
16355 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
16356 (ses-aset-with-undo, ses-load, ses-truncate-cell)
16357 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
16358 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
16359 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
16360 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
16361 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
16362 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
16363 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
16364 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
16365
16366 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
16367
16368 * ses.el: The overall change is to add cell renaming, that is
16369 setting fancy names for cell symbols other than name matching
16370 "\\`[A-Z]+[0-9]+\\'" regexp .
16371 (ses-create-cell-variable): New defun.
16372 (ses-relocate-formula): Relocate formulas only for cells the
16373 symbols of which are not renamed, i.e. symbols whose names do not
16374 match regexp "\\`[A-Z]+[0-9]+\\'".
16375 (ses-relocate-all): Relocate values only for cells the symbols of
16376 which are not renamed.
16377 (ses-load): Create cells variables as the (ses-cell ...) are read,
16378 in order to check row col consistency with cell symbol name only
16379 for cells that are not renamed.
16380 (ses-replace-name-in-formula): New defun.
16381 (ses-rename-cell): New defun.
16382
16383 2011-12-11 Chong Yidong <cyd@gnu.org>
16384
16385 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
16386 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
16387
16388 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
16389
16390 * window.el (other-window): Fix docstring.
16391
16392 2011-12-10 Eli Zaretskii <eliz@gnu.org>
16393
16394 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
16395 `from' or `to' address before taking its substring.
16396 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
16397 encoded name is chopped in the middle of the encoded string, and
16398 thus displayed encoded.
16399
16400 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
16401
16402 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
16403
16404 2011-12-10 Eli Zaretskii <eliz@gnu.org>
16405
16406 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
16407 to use texinfo-update-node and commands that call it if the
16408 Texinfo file uses @node lines without next/prev/up pointers.
16409 Correct outdated description about texinfo-master-menu.
16410 (texinfo-all-menus-update, texinfo-master-menu)
16411 (texinfo-update-node, texinfo-every-node-update)
16412 (texinfo-multiple-files-update): Doc fix. Warn against updating
16413 all the @node lines.
16414 (texinfo-master-menu): Only call texinfo-update-node if the prefix
16415 argument is numeric. Explain better in the doc string what the
16416 function really does.
16417 (texinfo-insert-master-menu-list): Improve the error message
16418 displayed if there's no menu in the Top node.
16419 (Bug#2975) See also this thread:
16420 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
16421
16422 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
16423
16424 * speedbar.el (speedbar-supported-extension-expressions):
16425 Add .adb and .ads, commonly used for Ada source code (bug#10256).
16426
16427 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
16428
16429 * printing.el (pr-mode-alist):
16430 * simple.el (filter-buffer-substring-functions)
16431 (completion-list-insert-choice-function):
16432 * window.el (window-with-parameter, window-atom-root)
16433 (window-sides-slots, window-size-fixed, window-min-delta)
16434 (window-max-delta, window--resize-mini-window)
16435 (window--resize-child-windows-normal, window-tree)
16436 (delete-other-windows, quit-window, split-window)
16437 (display-buffer-record-window, special-display-buffer-names)
16438 (special-display-regexps, special-display-popup-frame)
16439 (same-window-p, split-window-sensibly)
16440 (display-buffer-overriding-action, display-buffer-alist)
16441 (display-buffer-base-action, display-buffer, switch-to-buffer)
16442 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
16443 (fit-window-to-buffer, recenter-positions)
16444 (mouse-autoselect-window-state, mouse-autoselect-window-select):
16445 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
16446 and remove unneeded backslashes in docstrings.
16447
16448 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
16449
16450 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
16451
16452 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
16453 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
16454 end in ".mk".
16455 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
16456 when reading the makefile (bug#10116).
16457
16458 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
16459
16460 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
16461 (bug#10116).
16462
16463 2011-12-06 Glenn Morris <rgm@gnu.org>
16464
16465 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
16466
16467 2011-12-06 Chong Yidong <cyd@gnu.org>
16468
16469 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
16470
16471 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
16472
16473 * textmodes/table.el (table-shorten-cell): Fix typo.
16474
16475 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
16476
16477 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
16478
16479 2011-12-05 Eli Zaretskii <eliz@gnu.org>
16480
16481 * descr-text.el (describe-char): Fix display of strong
16482 right-to-left characters and directional embeddings and overrides.
16483
16484 * simple.el (what-cursor-position): Fix display of codepoints of
16485 strong right-to-left characters.
16486
16487 2011-12-05 Chong Yidong <cyd@gnu.org>
16488
16489 * faces.el (read-color): Doc fix.
16490
16491 2011-12-05 Glenn Morris <rgm@gnu.org>
16492
16493 * align.el (align--set-marker): Add doc-string.
16494 Don't try to move something that is not a marker. (Bug#10216)
16495
16496 2011-12-04 Glenn Morris <rgm@gnu.org>
16497
16498 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
16499 overly zealous deletion of trailing whitespace.
16500
16501 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
16502
16503 * server.el (server-delete-client): On Windows, do not try to delete
16504 the only terminal.
16505 (server-process-filter): On Windows, treat requests for a tty frame as
16506 if they were for a GUI frame if the running server is in GUI mode.
16507
16508 2011-12-03 Glenn Morris <rgm@gnu.org>
16509
16510 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
16511
16512 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
16513
16514 * electric.el: Streamline electric-indent's hook.
16515 (electric-indent-chars): Revert to simple list.
16516 (electric-indent-functions): New var.
16517 (electric-indent-post-self-insert-function): Use it.
16518
16519 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
16520 there's no inferior buffer (bug#10196).
16521 (prolog-consult-compile): Don't use toggle-read-only.
16522
16523 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
16524
16525 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
16526 interrupt. (Bug#10187)
16527
16528 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
16529
16530 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
16531 (bug#9160).
16532
16533 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
16534 (bug#10191).
16535
16536 2011-12-02 Juri Linkov <juri@jurta.org>
16537
16538 * info.el (Info-search): Display "end of manual" when Isearch
16539 reaches the end of single-file Info manual. (Bug#9918)
16540
16541 2011-12-02 Eli Zaretskii <eliz@gnu.org>
16542
16543 * isearch.el (isearch-message-prefix): Run the input method part
16544 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
16545
16546 2011-12-02 Juri Linkov <juri@jurta.org>
16547
16548 * isearch.el (isearch-occur): Use `word-search-regexp' for
16549 `isearch-word'.
16550 (isearch-search-and-update): Add condition for `isearch-word' and
16551 call `word-search-regexp'. (Bug#10145)
16552
16553 2011-12-01 Glenn Morris <rgm@gnu.org>
16554
16555 * eshell/em-hist.el (eshell-hist-initialize):
16556 Handle eshell-history-size nil and HISTSIZE set or unset.
16557 (eshell-history-file-name, eshell-history-size): Fix custom type.
16558
16559 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
16560
16561 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
16562
16563 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
16564
16565 * progmodes/verilog-mode.el (verilog-pretty-expr):
16566 Rework verilog-pretty-expr to handle new assignment operators in system
16567 verilog, such as += *= and the like.
16568 (verilog-assignment-operator-re): Regular expression to find the
16569 assigment operator in a verilog assignment.
16570 (verilog-assignment-operation-re): Regular expression to find an
16571 assignment statement for pretty-expr.
16572 (verilog-in-attribute-p): Query returns true if point is in an
16573 attribute context; used to skip these for expression line up from
16574 pretty-expr.
16575 (verilog-in-parameter-p): Query returns true if point is in an
16576 parameter definition context; used to skip these for expression
16577 line up from pretty-expr.
16578 (verilog-in-parenthesis-p): Query returns true if point is in a
16579 parenthetical expression, specifically ( ) but not [ ] or { };
16580 used by pretty-expr.
16581 (verilog-just-one-space): If there is no space, don't add one.
16582 (verilog-get-lineup-indent-2): Specifically skip just attribute
16583 contexts for expression lineup, rather than skipping all
16584 parenthetical expressions.
16585 (verilog-calculate-indent): Fix comment, and fix indent.
16586 (verilog-do-indent): Indent declarations in lists (suggested by
16587 Joachim Lechner).
16588 (verilog-mode-abbrev-table): Populate abbrev mode with the various
16589 skeleton items.
16590 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
16591 by Alain Mellan).
16592
16593 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
16594
16595 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
16596 parameters with embedded comments. Reported by Ray Stevens.
16597 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
16598 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
16599 Reported by Tim Holt.
16600 (verilog-auto): Fix AUTOing a upper module then AUTOing module
16601 instantiated by upper module causing wrong expansion until AUTOed a
16602 second time. Reported by K C Buckenmaier.
16603 (verilog-diff-auto): Fix showing .* as a difference when
16604 `verilog-auto-star-save' off. Reported by Dan Dever.
16605 (verilog-auto-reset, verilog-read-always-signals)
16606 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
16607 temporary signals in reset list if
16608 verilog-auto-reset-blocking-in-non is nil, and match assignment
16609 style to each signal's assignment type, bug381.
16610 Reported by Thomas Esposito.
16611 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
16612 (verilog-uvm-statement-re): Support UVM indentation and
16613 highlighting, with old OVM keywords only.
16614 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
16615 Support AUTOTIEOFF creating non-wire data types.
16616 Suggested by Jonathan Greenlaw.
16617 (verilog-auto-insert-lisp, verilog-delete-to-paren)
16618 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
16619 (verilog-inject-sense, verilog-read-inst-pins)
16620 (verilog-read-sub-decls, verilog-read-sub-decls-line):
16621 Fix mismatching parenthesis inside commented out code when deleting
16622 AUTOINST, bug383. Reported by Jonathan Greenlaw.
16623 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
16624 non-numeric vector width. Reported by Alex Reed.
16625 (verilog-auto-ascii-enum): Add "onehot" option to work around not
16626 detecting signals with parameter widths. Reported by Alex Reed.
16627 (verilog-auto-delete-trailing-whitespace):
16628 With `verilog-auto-delete-trailing-whitespace' remove trailing
16629 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
16630 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
16631 Fix verilog-scan-cache corruption when running user AUTO expansion
16632 hooks that call indentation routines.
16633 (verilog-simplify-range-expression): Fix typo ignoring lower case
16634 identifiers.
16635 (verilog-delete-auto): Fix delete-autos to also remove user created
16636 automatics, as long as they start with AUTO.
16637 (verilog-batch-diff-auto, verilog-diff-auto)
16638 (verilog-diff-function): Add `verilog-diff-auto' and bind to
16639 "C-c?" to report differences in AUTO expansion, ignoring spaces.
16640 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
16641 (verilog-in-paren-quick, verilog-re-search-backward-quick)
16642 (verilog-re-search-forward-quick, verilog-syntax-ppss):
16643 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
16644 is disabled and its cache will get corrupt, causing AUTOS not to
16645 expand. Instead use only -quick functions.
16646 (verilog-scan-region): Fix scanning over escaped quotes.
16647 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
16648 (verilog-re-search-backward-quick)
16649 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
16650 related functions now ignore strings, to fix misparsing of strings
16651 with magic comments embedded in them.
16652 (verilog-read-auto-template):
16653 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
16654 Reported by Brad Dobbie.
16655 (verilog-read-auto-template):
16656 Fix 'verilog-auto-inst-template-numbers' with comments.
16657 Reported by Brad Dobbie.
16658 (verilog-auto-inst, verilog-auto-inst-param)
16659 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
16660 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
16661 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
16662 debugging templates without merge conflicts, bug357.
16663 Reported by Brad Dobbie.
16664 (verilog-read-auto-template):
16665 Fix verilog-auto-inst-template-numbers with multiple templates.
16666 Reported by Brad Dobbie.
16667 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
16668 abbrevs so user won't be asked to save.
16669 (verilog-read-auto-lisp-present): Fix to start at beginning of
16670 buffer in case called outside of verilog-auto.
16671 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
16672 to "X-2". Reported by Matthew Myers.
16673 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
16674 all inputs from module templates. Reported by Leith Johnson.
16675 (verilog-module-inside-filename-p): Fix locating programs as with
16676 modules.
16677 (verilog-auto-inst-port): Fix vl-width expressions when using
16678 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
16679 (verilog-decls-get-regs, verilog-decls-get-signals,
16680 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
16681 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
16682 verilog-read-decls): Combine reg and wire structures into one var
16683 structure to represent SystemVerilog concepts.
16684 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
16685 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
16686 (verilog-auto-wire-type, verilog-insert-definition):
16687 Add verilog-auto-wire-type and AUTOLOGIC to support using
16688 SystemVerilog "logic" keyword instead of "wire"/"reg".
16689 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
16690 to declares outputs that also have assignments (presumably in an
16691 ifdef or generate if so there's not a driver conflict).
16692 Reported by Matthew Myers.
16693 (verilog-auto-declare-nettype, verilog-insert-definition):
16694 Add verilog-auto-declare-nettype to fix declarations using
16695 `default_nettype none. Reported by Julian Gorfajn.
16696 (verilog-read-always-signals-recurse, verilog-read-decls)
16697 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
16698 malformed end statement, bug325. Reported by Joshua Wise and
16699 Andrew Drake.
16700 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
16701 (verilog-inst-comment-re): Fix not deleting Interfaced comment
16702 when expanding .* in interfaces, bug320.
16703 Reported by Pierre-David Pfister.
16704 (verilog-read-module-name): Fix import statements between module
16705 name and open parenthesis, bug317.
16706 Reported by Pierre-David Pfister.
16707 (verilog-simplify-range-expression): Fix simplification of
16708 multiplications inside AUTOWIRE connections, bug303.
16709 (verilog-auto-inst-port): Support parameter expansion in
16710 multidimensional arrays.
16711 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
16712 after "assert property". Reported by Julian Gorfajn.
16713 (verilog-simplify-range-expression): Fix "couldn't merge" errors
16714 with multiplication, bug303.
16715 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
16716 Reported by Jan Frode Lonnum.
16717
16718 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
16719
16720 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
16721 (hfy-shell-file-name, hfy-shell):
16722 * international/fontset.el (x-decompose-font-name): Fix typos.
16723
16724 2011-11-29 Ken Brown <kbrown@cornell.edu>
16725
16726 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
16727 (gdb-version): Remove defvar.
16728 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
16729 (gdb-gud-context-command, gdb-non-stop-handler)
16730 (gdb-current-context-command, gdb-stopped): Use it.
16731 (gdb-init-1): Enable pretty printing here.
16732 (gdb-non-stop-handler): Don't enable pretty-printing here.
16733 Check to see if the target supports non-stop mode; if not, turn off
16734 non-stop mode. Use the following.
16735 (gdb-check-target-async): New defun.
16736 (gud-watch, gdb-stopped): Fix whitespace.
16737 (gdb-get-source-file): Don't try to display the source file if
16738 `gdb-main-file' is nil.
16739
16740 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
16741
16742 * align.el: Try to generate fewer markers (bug#10047).
16743 (align--set-marker): New macro.
16744 (align-region): Use it.
16745
16746 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
16747
16748 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
16749
16750 2011-11-29 Chong Yidong <cyd@gnu.org>
16751
16752 * indent.el (indent-for-tab-command, indent-according-to-mode):
16753 Doc fix.
16754 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
16755
16756 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
16757
16758 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
16759 aware of remote file names. (Bug#10124)
16760
16761 2011-11-29 Chong Yidong <cyd@gnu.org>
16762
16763 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
16764
16765 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
16766
16767 * files.el (find-file): Don't use force-same-window (bug#10144).
16768 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
16769 use pop-to-buffer if the selected window can't be used.
16770 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
16771
16772 2011-11-28 Eli Zaretskii <eliz@gnu.org>
16773
16774 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
16775 special-mode-map.
16776
16777 2011-11-28 Chong Yidong <cyd@gnu.org>
16778
16779 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
16780
16781 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
16782
16783 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
16784 gdb-get-source-file-list on gdb-create-source-file-list.
16785
16786 2011-11-26 Eli Zaretskii <eliz@gnu.org>
16787
16788 * whitespace.el (whitespace-newline): Use a different foreground
16789 color for 16-color light-background displays.
16790
16791 2011-11-24 Chong Yidong <cyd@gnu.org>
16792
16793 * window.el (display-buffer--special-action): Doc fix.
16794
16795 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
16796
16797 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
16798 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
16799 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
16800 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
16801 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
16802 (avl-tree-stack-first):
16803 * emacs-lisp/cconv.el (cconv--analyse-use):
16804 * net/gnutls.el (gnutls-negotiate): Fix typos.
16805
16806 2011-11-24 Glenn Morris <rgm@gnu.org>
16807
16808 * lpr.el (lpr-windows-system, lpr-lp-system):
16809 * mail/binhex.el (binhex-begin-line):
16810 * progmodes/grep.el (grep-history, grep-find-history):
16811 * textmodes/flyspell.el:
16812 * vc/pcvs-defs.el (cvs-global-menu):
16813 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
16814 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
16815 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
16816
16817 * net/tls.el: Fix case of "GnuTLS".
16818
16819 * paths.el (rmail-file-name): Format doc-string for make-docfile.
16820
16821 * version.el (emacs-build-system): Give it a doc-string.
16822
16823 2011-11-24 Juri Linkov <juri@jurta.org>
16824
16825 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
16826
16827 2011-11-24 Glenn Morris <rgm@gnu.org>
16828
16829 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
16830 if called on a non-mime message just toggle the headers. (Bug#8006)
16831
16832 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
16833
16834 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
16835 (allout-lead-with-comment-string, allout-structure-deleted-hook)
16836 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
16837 (allout-rebullet-heading, allout-open-sibtopic)
16838 (allout-toggle-current-subtree-encryption)
16839 (allout-toggle-subtree-encryption, allout-encrypt-string)
16840 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
16841 (allout-distinctive-bullets-string, allout-auto-activation):
16842 * window.el (window-normalize-buffer-to-display):
16843 * progmodes/verilog-mode.el (verilog-batch-indent):
16844 * textmodes/bibtex.el (bibtex-field-braces-opt)
16845 (bibtex-field-strings-opt):
16846 * vc/cvs-status.el (cvs-tree-merge):
16847 Fix typos.
16848
16849 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
16850
16851 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
16852 `non-essential' to t, in order to avoid remote connections.
16853
16854 2011-11-23 Eli Zaretskii <eliz@gnu.org>
16855
16856 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
16857 On MS-DOS and MS-Windows, compare with loaddefs.el
16858 case-insensitively.
16859
16860 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16861
16862 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
16863
16864 2011-11-23 Glenn Morris <rgm@gnu.org>
16865
16866 * paths.el (rmail-file-name): Reformat the doc-string so that it
16867 is picked up.
16868
16869 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
16870 (rmail-auto-file): Ignore case in the "special" field names,
16871 as mail-fetch-field does for all others.
16872
16873 * mail/rmail.el (rmail-forward):
16874 * mail/rmailkwd.el (rmail-set-label):
16875 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
16876 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
16877
16878 * mail/rmail.el (rmail-current-message): Doc fix.
16879
16880 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
16881
16882 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
16883
16884 * server.el (server-eval-and-print): Allow C-g (bug#6585).
16885
16886 2011-11-22 Glenn Morris <rgm@gnu.org>
16887
16888 * mail/rmailmm.el (test-rmail-mime-handler)
16889 (test-rmail-mime-bulk-handler)
16890 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
16891
16892 2011-11-21 Juri Linkov <juri@jurta.org>
16893
16894 * calc/calc.el (calc-read-key-sequence):
16895 Let-bind `input-method-function' to nil. (Bug#10018)
16896
16897 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16898
16899 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
16900 Tell the caller that the next line needs recomputation, even
16901 though it doesn't start a sexp (bug#10094).
16902
16903 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
16904
16905 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
16906
16907 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
16908
16909 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
16910 Use force-same-window.
16911
16912 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
16913
16914 * descr-text.el (describe-char-unicode-data):
16915 * json.el (json-string-escape):
16916 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
16917 (Footnote-unicode, Footnote-style-p):
16918 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
16919
16920 2011-11-20 Chong Yidong <cyd@gnu.org>
16921
16922 * window.el (replace-buffer-in-windows): Restore interactive spec.
16923
16924 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
16925
16926 * electric.el (electric-indent-mode): Fix last change (too optimistic).
16927
16928 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
16929 (byte-compile-global-not-obsolete-vars): New var.
16930 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
16931 Use it.
16932 (byte-compile-warn-obsolete): Align text with the one in *Help*.
16933
16934 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
16935
16936 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
16937 * progmodes/pascal.el (electric-pascal-equal):
16938 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
16939 * xml.el (xml-substitute-special): Fix typos.
16940
16941 2011-11-20 Glenn Morris <rgm@gnu.org>
16942
16943 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
16944 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
16945 Doc fixes.
16946 (rmail-decode-mime-charset): Mark as obsolete.
16947
16948 * mail/rmailsum.el (rmail-message-regexp-p-1):
16949 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
16950 Before using mime functions, check they are set. (Bug#10077)
16951
16952 2011-11-19 Juri Linkov <juri@jurta.org>
16953
16954 * info.el (Info-finder-find-node): Use `package--builtins' instead
16955 of `package-alist'. Use node names formed by the pattern "Keyword "
16956 and the keyword name.
16957
16958 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
16959
16960 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
16961
16962 2011-11-19 Juri Linkov <juri@jurta.org>
16963
16964 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
16965 that calls `revert-buffer' on all Info buffers. (Bug#9915)
16966 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
16967 `old-history', `old-history-forward'. Add let-binding
16968 `window-selected'. Remove calls to `kill-buffer',
16969 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
16970 before calling `Info-find-node', so `Info-find-node-2' will reread
16971 the Info file. Restore window positions only when `window-selected'
16972 is non-nil.
16973
16974 2011-11-19 Juri Linkov <juri@jurta.org>
16975
16976 * isearch.el (isearch-lazy-highlight-new-loop):
16977 Remove condition `(not isearch-error)'. (Bug#9918)
16978
16979 * misearch.el (multi-isearch-search-fun): Add condition
16980 `(not bound)' to ignore lazy-highlighting search.
16981 Add the search-failed message "end of multi" when the end of
16982 multi-sequence is reached. Uncapitalize the search-failed
16983 message "Repeat for next buffer".
16984
16985 * info.el (Info-search): Add the search-failed message
16986 "end of the manual" when the end of the manual is reached
16987 in Isearch mode.
16988
16989 2011-11-19 Juri Linkov <juri@jurta.org>
16990
16991 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
16992 Use non-destructive `remove' instead of `delete' because
16993 `Info-history-list' stored to `Info-isearch-initial-history-list' in
16994 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
16995
16996 2011-11-19 Juri Linkov <juri@jurta.org>
16997
16998 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
16999 to nil instead of binding `search-ring' and `regexp-search-ring'.
17000 (Bug#9185)
17001
17002 2011-11-19 Eli Zaretskii <eliz@gnu.org>
17003
17004 * simple.el (line-move): Force movement by logical lines for any
17005 hscrolled window, not only when auto-hscroll-mode is on.
17006 (line-move-visual): Update doc string to that effect. (Bug#10076)
17007
17008 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
17009
17010 * language/european.el (macintosh): Define as alias for mac-roman.
17011
17012 2011-11-19 Eli Zaretskii <eliz@gnu.org>
17013
17014 * mail/rmailmm.el (rmail-mime-display-header)
17015 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
17016 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
17017 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
17018 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
17019 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
17020 of a raw aref.
17021 (rmail-mime-entity-segment): To get past the tagline, move forward
17022 2 more lines, to account for the 2 empty lines that precede and
17023 follow the line with the buttons.
17024 (rmail-mime-update-tagline): Move one more line, to get past the
17025 empty line that follows the buttons in the tagline. (Bug#9520)
17026
17027 2011-11-19 Martin Rudalics <rudalics@gmx.at>
17028
17029 * window.el (window-max-delta-1, window-min-delta-1)
17030 (window-min-size-1, window-state-get-1, window-state-put-1)
17031 (window-state-put-2): Use "window--" prefix.
17032
17033 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
17034
17035 * emacs-lisp/smie.el: Improve warnings and conflict detection.
17036 (smie-warning-count): New var.
17037 (smie-set-prec2tab): Use it.
17038 (smie-bnf->prec2): Improve warnings. Add docstring.
17039 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
17040 (smie-bnf--set-class): New function.
17041 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
17042 corner case.
17043
17044 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
17045 (compilation-error-properties, compilation-move-to-column):
17046 Handle compilation-first-column while in the target buffer.
17047
17048 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
17049 Don't hardcode point-min==1.
17050
17051 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
17052 (eshell-rewrite-for-command): Remove workaround.
17053 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
17054 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
17055 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
17056
17057 * files-x.el (modify-file-local-variable): Obey commenting conventions.
17058
17059 2011-11-17 Glenn Morris <rgm@gnu.org>
17060
17061 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
17062 Ignore buffer-local generated-autoload-file if it is the same
17063 as the global value. (Bug#10049)
17064
17065 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
17066
17067 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
17068 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
17069 (reftex-toc-previous-heading, reftex-toc-max-level)
17070 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
17071 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
17072 (reftex-toc-do-promote, reftex-toc-promote-prepare)
17073 (reftex-toc-promote-action, reftex-toc-extract-section-number)
17074 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
17075 (reftex-toc-rename-label, reftex-toc-visit-location)
17076 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
17077 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
17078 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
17079 leaving "*toc*" only for references to the buffer.
17080
17081 2011-11-17 Martin Rudalics <rudalics@gmx.at>
17082
17083 * window.el (window-resize, delete-window, split-window):
17084 Replace window-splits by window-combination-resize.
17085 * cus-start.el (window-splits): Replace by window-combination-resize.
17086
17087 2011-11-17 Glenn Morris <rgm@gnu.org>
17088
17089 * progmodes/sh-script.el (sh-font-lock-keywords-var):
17090 Make bash entry derive from sh entry, not shell entry.
17091
17092 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
17093
17094 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
17095 local file name.
17096
17097 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
17098
17099 * menu-bar.el (menu-bar-file-menu):
17100 * printing.el (pr-ps-utility):
17101 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
17102 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
17103 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
17104 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
17105 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
17106 (icalendar--convert-cyclic-to-ical)
17107 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
17108 (icalendar--convert-ical-to-diary)
17109 (icalendar--convert-recurring-to-diary)
17110 (icalendar--convert-non-recurring-all-day-to-diary)
17111 (icalendar-import-format-sample):
17112 * progmodes/idlw-shell.el (idlwave-shell-mode):
17113 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
17114 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
17115 (vhdl-ps-print-init): Fix typos.
17116
17117 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
17118
17119 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
17120 FSF and collapse date sequence, obscure author/maintainer email address
17121 better, remove extra version line, track relocation of author's webpage.
17122
17123 * progmodes/python.el (python-pdbtrack-input-prompt)
17124 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
17125 regular python pdb prompts. Adjustments shamelessly taken exactly as
17126 suggested in EmacsWiki page (tiny change):
17127 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
17128
17129 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
17130
17131 * expand.el (expand-pos, expand-index, expand-point):
17132 Remove redundant info from docstring.
17133 (expand-add-abbrevs): Doc fix.
17134 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
17135 (expand-sample-perl-mode-expand-list): Fix typos.
17136
17137 * net/dbus.el (dbus-event-member-name):
17138 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
17139 * term/pc-win.el (msdos-create-frame-with-faces):
17140 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
17141
17142 2011-11-16 Martin Rudalics <rudalics@gmx.at>
17143
17144 * window.el (split-window, window-state-get-1)
17145 (window-state-put-1, window-state-put-2): Rename occurrences of
17146 window-nest to window-combination-limit.
17147 * cus-start.el (window-nest): Rename to window-combination-limit.
17148
17149 2011-11-16 Chong Yidong <cyd@gnu.org>
17150
17151 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
17152 regexp (Bug#10033).
17153
17154 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
17155
17156 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
17157 `completing-read' will remove *Completions* and will preserve
17158 current-buffer for us.
17159 (tmm-add-prompt): Users of *Completions* will always (re)set its
17160 major mode.
17161 (tmm-old-comp-map): Remove.
17162
17163 2011-11-16 Glenn Morris <rgm@gnu.org>
17164
17165 * mail/rmailedit.el: Require rmailmm when compiling.
17166 (rmail-old-mime-state): New declaration.
17167 (rmail-edit-current-message): If editing a mime message,
17168 edit the "raw" message from the mbox buffer.
17169 (rmail-cease-edit): Handle mime messages. (Bug#9840)
17170
17171 2011-11-15 Glenn Morris <rgm@gnu.org>
17172
17173 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
17174 which wasn't being used. Add optional arg to force given state.
17175 (rmail-mime): Add optional arg to force given state.
17176
17177 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
17178
17179 * allout.el (allout-encryption-plaintext-sanitization-regexps):
17180 * frame.el (display-mm-dimensions-alist):
17181 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
17182 (outline-move-subtree-down):
17183 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
17184 (newsticker--treeview-do-get-node):
17185 * net/quickurl.el (quickurl-list-buffer-name):
17186 * progmodes/dcl-mode.el (dcl-mode):
17187 * progmodes/gdb-mi.el (gdb-mapcar*):
17188 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
17189
17190 2011-11-15 Glenn Morris <rgm@gnu.org>
17191
17192 * mail/rmail.el (rmail-file-coding-system): It's only ever used
17193 in a boolean sense, so just make it a boolean, and fix the doc.
17194 (rmail-show-mime-function, rmail-mime-feature)
17195 (rmail-require-mime-maybe): Doc fixes.
17196 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
17197
17198 * mail/rmailmm.el (rmail-show-mime): Doc fix.
17199
17200 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
17201
17202 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
17203 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
17204 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
17205 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
17206
17207 2011-11-15 Glenn Morris <rgm@gnu.org>
17208
17209 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
17210 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
17211 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
17212 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
17213 (rmail-mime, rmail-show-mime): Doc fixes.
17214
17215 * term/ns-win.el (mode-line-frame-identification):
17216 Leave it alone. (Bug#10051)
17217
17218 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
17219
17220 * mail/rmailout.el (rmail-output-to-rmail-buffer):
17221 Handle empty buffers. (Bug#9978)
17222
17223 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
17224
17225 * international/mule.el (define-charset):
17226 * mail/rmailmm.el (rmail-mime-find-header-encoding):
17227 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
17228 * progmodes/verilog-mode.el (verilog-backward-token):
17229 * textmodes/ispell.el (lookup-words):
17230 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
17231
17232 2011-11-14 Glenn Morris <rgm@gnu.org>
17233
17234 * progmodes/executable.el
17235 (executable-make-buffer-file-executable-if-script-p):
17236 Handle file-modes returning nil.
17237
17238 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
17239 message - not necessary, and causes problems. (Bug#9831)
17240
17241 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
17242
17243 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
17244
17245 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
17246 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
17247 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
17248
17249 2011-11-12 Martin Rudalics <rudalics@gmx.at>
17250
17251 * window.el (window-resize, delete-window): Use window-splits
17252 variable instead of function.
17253 (window-state-get-1, window-state-put-2, window-state-put):
17254 Don't deal with windows' splits status.
17255
17256 2011-11-12 Glenn Morris <rgm@gnu.org>
17257
17258 * apropos.el (apropos-do-all, apropos-library, apropos-value)
17259 (apropos-documentation): Doc fixes.
17260
17261 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
17262
17263 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
17264 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
17265
17266 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
17267
17268 * electric.el (electric-indent-post-self-insert-function): Make it
17269 possible for a char to only indent in some circumstances.
17270 (electric-indent-mode): Simplify.
17271
17272 2011-11-11 Martin Rudalics <rudalics@gmx.at>
17273
17274 * window.el (windows-with-parameter): Remove unused function.
17275 (windows-at-side): Rename to window-at-side-list.
17276 (window-check, window-atom-check, window-atom-check-1)
17277 (window-side-check, window-size-ignore, window-size-fixed-1)
17278 (window-in-direction-2): Prefix with "window--".
17279 (window-tree-1): Rename to window--subtree, fix doc-string.
17280
17281 2011-11-11 Glenn Morris <rgm@gnu.org>
17282
17283 * subr.el (eval-after-load): If FILE is already loaded,
17284 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
17285
17286 2011-11-10 Glenn Morris <rgm@gnu.org>
17287
17288 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
17289 Call svn via vc-svn-command rather than vc-do-command.
17290 (vc-svn-command): Add --non-interactive. (Bug#9993)
17291 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
17292
17293 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17294 Add toggle-read-only. (Bug#7292)
17295 * files.el (toggle-read-only): Mention that it should only
17296 be used interactively. (Bug#10006)
17297
17298 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
17299
17300 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17301 Adjust regexp for OCaml warnings.
17302
17303 * electric.el (electric-pair-post-self-insert-function): Let user
17304 turn it off buffer-locally (bug#9932).
17305
17306 * progmodes/python.el (python-beginning-of-statement):
17307 Rewrite (bug#2703).
17308
17309 * progmodes/compile.el: Better handle TABs (bug#9749).
17310 (compilation-internal-error-properties)
17311 (compilation-next-error-function): Obey the target buffer's
17312 compilation-error-screen-columns.
17313
17314 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
17315
17316 * progmodes/meta-mode.el: Remove obsolete comments.
17317 (meta-right-comment-regexp, meta-ignore-comment-regexp):
17318 Fix typos in docstrings.
17319
17320 2011-11-09 Martin Rudalics <rudalics@gmx.at>
17321
17322 * window.el (window-size-fixed-p): Rewrite doc-string.
17323 (window-resizable-p): Rename to window--resizable-p. Update callers.
17324 (window--resizable): New function. Make all callers of
17325 window-resizable call window--resizable instead.
17326 (window-resizable): Rewrite in terms of window--resizable.
17327
17328 2011-11-08 Glenn Morris <rgm@gnu.org>
17329
17330 * progmodes/delphi.el (delphi-mode-syntax-table):
17331 Let define-derived-mode define a proper syntax table. (Bug#9994)
17332
17333 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
17334
17335 * window.el: Stay away from defsubst.
17336 (window-list-no-nils): Remove.
17337 (window-state-get-1, window-state-get): Use backquote instead.
17338
17339 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17340
17341 * emacs-lisp/find-func.el (find-function-read):
17342 Fix incorrect use of default argument in `completing-read'.
17343
17344 2011-11-08 Martin Rudalics <rudalics@gmx.at>
17345
17346 * window.el (display-buffer-function, special-display-function):
17347 Mention display-buffer-record-window but do not mention
17348 help-setup parameter in doc-strings.
17349 (window-min-delta): Fix doc-string typo.
17350
17351 2011-11-08 Chong Yidong <cyd@gnu.org>
17352
17353 * window.el (window-total-height, window-total-width): Doc fix.
17354 (window-body-size): Move from C.
17355 (window-body-height, window-body-width): Move to C.
17356
17357 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
17358
17359 * window.el: Make special-display like display-buffer-alist (bug#9532).
17360 (display-buffer--special-action): New function, morphed
17361 from display-buffer--special.
17362 (display-buffer): Use it to handle special-display-buffers at higher
17363 priority (just after display-buffer-alist).
17364 (display-buffer-fallback-action, display-buffer--other-frame-action)
17365 (pop-to-buffer-same-window): Remove display-buffer--special.
17366
17367 2011-11-07 Glenn Morris <rgm@gnu.org>
17368
17369 * calendar/cal-menu.el (cal-menu-set-date-title):
17370 Do nothing if not in a calendar. (Bug#9976)
17371
17372 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
17373
17374 * files.el (find-file): Always use selected-window.
17375
17376 2011-11-07 Martin Rudalics <rudalics@gmx.at>
17377
17378 * window.el (window-combinations): Make WINDOW argument
17379 mandatory. Rewrite doc-string.
17380 (walk-window-subtree, window-atom-check, window-min-delta)
17381 (window-max-delta, window--resize-this-window)
17382 (window--resize-root-window-vertically, window-tree)
17383 (balance-windows, window-state-put): Rewrite doc-strings as to
17384 not mention the term "subwindow".
17385 (window--resize-subwindows-skip-p): Rename to
17386 window--resize-child-windows-skip-p.
17387 (window--resize-subwindows-normal): Rename to
17388 window--resize-child-windows-normal.
17389 (window--resize-subwindows): Rename to
17390 window--resize-child-windows.
17391 (window-or-subwindow-p): Rename to window--in-subtree-p.
17392
17393 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
17394
17395 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
17396 Ensure that mbox format messages end in two newlines (Bug#9974).
17397
17398 2011-11-06 Chong Yidong <cyd@gnu.org>
17399
17400 * window.el (window-combination-p): Function deleted; its
17401 side-effect is not used in any existing code.
17402 (window-combinations, window-combined-p): Call window-*-child
17403 directly.
17404
17405 2011-11-05 Chong Yidong <cyd@gnu.org>
17406
17407 * window.el (window-valid-p): Rename from window-any-p.
17408 (window-size-ignore, window-state-get): Callers changed.
17409 (window-normalize-window): Rename from window-normalize-any-window.
17410 New arg LIVE-ONLY, replacing window-normalize-live-window.
17411 (window-normalize-live-window): Delete.
17412 (window-combination-p, window-combined-p, window-combinations)
17413 (walk-window-subtree, window-atom-root, window-min-size)
17414 (window-sizable, window-sizable-p, window-size-fixed-p)
17415 (window-min-delta, window-max-delta, window-resizable)
17416 (window-resizable-p, window-full-height-p, window-full-width-p)
17417 (window-current-scroll-bars, window-point-1, set-window-point-1)
17418 (window-at-side-p, window-in-direction, window-resize)
17419 (adjust-window-trailing-edge, maximize-window, minimize-window)
17420 (window-deletable-p, delete-window, delete-other-windows)
17421 (record-window-buffer, unrecord-window-buffer)
17422 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
17423 (quit-window, split-window, window-state-put)
17424 (set-window-text-height, fit-window-to-buffer)
17425 (shrink-window-if-larger-than-buffer): Callers changed.
17426
17427 2011-11-04 Eli Zaretskii <eliz@gnu.org>
17428
17429 * mail/rmail.el (rmail-simplified-subject): Decode subject with
17430 rfc2047-decode-string.
17431 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
17432 warnings.
17433
17434 * window.el (window-body-height, window-body-width): Mention in
17435 the doc string that the return values are in frame's canonical
17436 units. (Bug#9949)
17437
17438 2011-11-03 Alan Mackenzie <acm@muc.de>
17439
17440 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
17441 change in cc-engine.el.
17442
17443 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
17444
17445 * window.el (switch-to-buffer): Use `force-same-window' interactively.
17446
17447 2011-11-02 Martin Rudalics <rudalics@gmx.at>
17448
17449 * window.el (quit-window): Call unrecord-window-buffer after
17450 showing another buffer in the window. (Bug#9937)
17451 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
17452
17453 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
17454
17455 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
17456 Accept status with more than 9 shelves. (Bug#9935)
17457 Reported by Colin D Bennett <colin@gibibit.com>.
17458
17459 2011-11-01 Martin Rudalics <rudalics@gmx.at>
17460
17461 * help.el (with-help-window): Don't reference
17462 temp-buffer-show-specifiers in doc-string.
17463
17464 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
17465
17466 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
17467 menu-item.
17468
17469 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17470
17471 * whitespace.el: New version 13.2.2.
17472 (whitespace-newline-mode): Disable properly. Reported by Sarah
17473 <EmacsWiki>.
17474
17475 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
17476
17477 * net/newst-treeview.el: Remove "Time-stamp".
17478 (newsticker--group-manage-orphan-feeds): Do not call
17479 newsticker--treeview-tree-update.
17480 (newsticker-treeview-update, newsticker-treeview):
17481 Call newsticker--treeview-tree-update if necessary.
17482
17483 2011-10-30 Martin Rudalics <rudalics@gmx.at>
17484
17485 * window.el (window-iso-combination-p, window-iso-combined-p)
17486 (window-iso-combinations): Remove "iso-" infix.
17487 Suggested by Chong Yidong.
17488 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
17489 (window-max-delta-1, window-resize, window--resize-siblings)
17490 (window--resize-this-window, adjust-window-trailing-edge)
17491 (split-window, balance-windows-1)
17492 (shrink-window-if-larger-than-buffer):
17493 * calendar/calendar.el (calendar-generate-window):
17494 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
17495
17496 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
17497
17498 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
17499 in place (bug#9907).
17500 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
17501 (eshell-rewrite-if-command, eshell-rewrite-for-command)
17502 (eshell-structure-basic-command, eshell-rewrite-while-command)
17503 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
17504 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
17505 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
17506 (eshell-do-pipelines-synchronously, eshell-eval-command):
17507 Use backquotes and prefer setq to set.
17508 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
17509 (eshell-macrop): Use functionp.
17510 (eshell-do-eval): Handle multiple expressions in `while' body.
17511
17512 2011-10-30 Chong Yidong <cyd@gnu.org>
17513
17514 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
17515 instead of set-mark (Bug#9810).
17516
17517 2011-10-30 Chong Yidong <cyd@gnu.org>
17518
17519 * window.el (split-window-below, split-window-right): Rename from
17520 split-window-above-each-other and split-window-side-by-side
17521 respectively. All callers changed.
17522 (split-window-sensibly, split-window-sensibly): Use them.
17523 (split-window-keep-point): Doc fix.
17524
17525 * isearch.el: Add isearch-scroll property to split-window-below
17526 and split-window-right.
17527
17528 * follow.el (follow-mode):
17529 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
17530 * progmodes/ada-xref.el (ada-gdb-application):
17531 * emulation/vip.el (vip-buffer-in-two-windows):
17532 * image-dired.el (image-dired-dired-with-window-configuration):
17533 * dired-x.el (dired-do-find-marked-files):
17534 * dired.el (dired-pop-to-buffer):
17535 * bs.el (bs--show-with-configuration):
17536 * vc/emerge.el (emerge-setup-windows):
17537 * textmodes/two-column.el (2C-two-columns):
17538 * textmodes/reftex-toc.el (reftex-toc):
17539 * progmodes/gdb-mi.el (gdb-setup-windows):
17540 * progmodes/fortran.el (fortran-window-create):
17541 * net/newst-treeview.el (newsticker--treeview-window-init):
17542 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
17543 * emulation/tpu-edt.el (tpu-gold-map):
17544 * emulation/crisp.el (crisp-mode-map):
17545 * calendar/calendar.el (calendar-basic-setup): Callers changed.
17546
17547 2011-10-29 Chong Yidong <cyd@gnu.org>
17548
17549 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
17550
17551 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
17552
17553 * textmodes/flyspell.el (flyspell-word): Fix char offset for
17554 forged Ispell output (Bug#7904).
17555
17556 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
17557
17558 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17559
17560 * doc-view.el: Avoid ugly errors about not finding nil.
17561 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
17562 (doc-view-dvipdf-program, doc-view-unoconv-program)
17563 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
17564 Avoid nil or absolute file name as default value.
17565 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
17566
17567 2011-10-28 Alan Mackenzie <acm@muc.de>
17568
17569 * progmodes/cc-defs.el (c-version): -> 5.32.2.
17570
17571 2011-10-28 Alan Mackenzie <acm@muc.de>
17572
17573 Amend the handling of c-beginning/end-of-defun in nested declaration
17574 scopes.
17575
17576 * progmodes/cc-vars.el (c-defun-tactic): Move here from
17577 cc-langs.el. Change it to a defcustom.
17578
17579 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
17580 cc-vars.el.
17581
17582 * progmodes/cc-engine.el (c-beginning-of-statement-1):
17583 Prevent "class foo : bar" being spuriously recognized as a label.
17584
17585 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
17586 Add parameter `inclusive' (to include enclosing braces in the region).
17587 (c-widen-to-enclosing-decl-scope): New function.
17588 (c-while-widening-to-decl-block): New macro.
17589 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
17590 outward for defun boundaries, and correspondingly change symbol
17591 `respect-enclosure' to `go-outward'.
17592 (c-declaration-limits): Change algorithm to report only the "innermost"
17593 defun's boundaries.
17594
17595 2011-10-28 Deniz Dogan <deniz@dogan.se>
17596
17597 * net/rcirc.el (rcirc-mode): Use hard newlines.
17598
17599 2011-10-28 Alan Mackenzie <acm@muc.de>
17600
17601 Amend to indent and fontify macros "which include their own semicolon"
17602 correctly, using the "virtual semicolon" mechanism.
17603
17604 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
17605
17606 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
17607 Recode to scan one line at a time rather than having \n and \r
17608 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
17609 (c-forward-label): Amend for virtual semicolons.
17610 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
17611
17612 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
17613 of the new C macros.
17614
17615 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
17616 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
17617 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
17618 (c-opt-cpp-macro-define): Make into a full language variable.
17619 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
17620 AWK Mode (including \n, \r) removed, no longer needed.
17621
17622 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
17623 Invoke c-make-macro-with-semi-re.
17624
17625 * progmodes/cc-vars.el (c-macro-with-semi-re):
17626 (c-macro-names-with-semicolon): New variables.
17627 (c-make-macro-with-semi-re): New function.
17628
17629 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17630
17631 * vc/log-edit.el: Fill empty field rather than adding new one.
17632 (log-edit-add-field): New function.
17633 (log-edit-insert-changelog): Use it.
17634
17635 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
17636
17637 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
17638
17639 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17640
17641 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
17642 (gdb--check-interpreter): New function.
17643 (gdb): Use it.
17644
17645 2011-10-27 Glenn Morris <rgm@gnu.org>
17646
17647 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
17648 (least-positive-float, least-negative-float)
17649 (least-positive-normalized-float, least-negative-normalized-float)
17650 (float-epsilon, float-negative-epsilon):
17651 Remove unnecessary declarations.
17652
17653 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
17654 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
17655 (least-positive-float, least-negative-float)
17656 (least-positive-normalized-float, least-negative-normalized-float)
17657 (float-epsilon, float-negative-epsilon): Add doc-strings,
17658 based on those in cl.texi.
17659
17660 * files.el (set-visited-file-name): If the major-mode changed,
17661 reload the local variables. (Bug#9796)
17662
17663 2011-10-27 Chong Yidong <cyd@gnu.org>
17664
17665 * subr.el (change-major-mode-after-body-hook): New hook.
17666 (run-mode-hooks): Run it.
17667
17668 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
17669 Use change-major-mode-before-body-hook.
17670
17671 * simple.el (fundamental-mode):
17672 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
17673 change introducing fundamental-mode-hook.
17674
17675 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
17676
17677 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
17678
17679 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
17680
17681 * ido.el (ido-file-name-all-completions-1): Do not require
17682 tramp.el explicitly. (Bug#7583)
17683
17684 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
17685
17686 * progmodes/octave-mod.el:
17687 * progmodes/octave-inf.el: Update maintainer.
17688
17689 2011-10-26 Chong Yidong <cyd@gnu.org>
17690
17691 * subr.el (with-wrapper-hook): Rewrite doc.
17692
17693 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
17694
17695 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
17696 filenames "/method:foo:". (Bug#9793)
17697
17698 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
17699
17700 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
17701 (bug#9865).
17702
17703 2011-10-24 Glenn Morris <rgm@gnu.org>
17704
17705 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
17706
17707 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
17708
17709 * notifications.el: Add the requirement of a running D-Bus session
17710 bus to the Commentary.
17711
17712 2011-10-24 Juri Linkov <juri@jurta.org>
17713
17714 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
17715 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
17716 (Bug#9364)
17717
17718 2011-10-24 Juri Linkov <juri@jurta.org>
17719
17720 * info.el (Info-following-node-name-re): Add newline to the list
17721 of allowed characters for leading space. (Bug#9824)
17722
17723 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
17724
17725 * progmodes/octave-inf.el (inferior-octave-mode-map):
17726 Fix C-c C-h binding.
17727 * progmodes/octave-mod.el (octave-help): Remove.
17728
17729 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
17730
17731 Sync with Tramp 2.2.3.
17732
17733 * net/tramp-cache.el (top): Pacify byte-compiler using
17734 `init-file-user' and `site-run-file'.
17735
17736 * net/trampver.el: Update release number.
17737
17738 2011-10-23 Chong Yidong <cyd@gnu.org>
17739
17740 * files.el (toggle-read-only): Remove obsolete comment about
17741 version control.
17742
17743 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
17744 for toggle-read-only. Note that this hasn't called vc-next-action
17745 since 2008-05-02, though it wasn't documented at the time.
17746
17747 * vc/ediff-init.el (ediff-toggle-read-only-function):
17748 Use toggle-read-only.
17749
17750 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
17751
17752 Fix bug #9560, sporadic wrong indentation; improve instrumentation
17753 of c-parse-state.
17754
17755 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
17756 correct faulty logical expression.
17757 (c-parse-state-state, c-record-parse-state-state):
17758 (c-replay-parse-state-state): New defvar/defuns.
17759 (c-debug-parse-state): Use new functions.
17760
17761 2011-10-22 Martin Rudalics <rudalics@gmx.at>
17762
17763 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
17764 last fix. Use window-in-direction correctly.
17765
17766 2011-10-21 Chong Yidong <cyd@gnu.org>
17767
17768 * progmodes/idlwave.el (idlwave-mode):
17769 * progmodes/vera-mode.el (vera-mode): No need to set
17770 require-final-newline; that's done in prog-mode.
17771 Suggested by Stefan Monnier.
17772
17773 2011-10-21 Martin Rudalics <rudalics@gmx.at>
17774
17775 * mouse.el (mouse-drag-window-above)
17776 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
17777 (mouse-drag-mode-line-1, mouse-drag-header-line)
17778 (mouse-drag-vertical-line-rightward-window): Remove.
17779 (mouse-drag-line): New function.
17780 (mouse-drag-mode-line, mouse-drag-header-line)
17781 (mouse-drag-vertical-line): Call mouse-drag-line.
17782 * window.el (window-at-side-p, windows-at-side): New functions.
17783
17784 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
17785
17786 * tar-mode.el (tar-grind-file-mode):
17787 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
17788
17789 2011-10-21 Chong Yidong <cyd@gnu.org>
17790
17791 * progmodes/idlwave.el (idlwave-mode):
17792 * progmodes/vera-mode.el (vera-mode):
17793 Use mode-require-final-newline.
17794
17795 2011-10-20 Glenn Morris <rgm@gnu.org>
17796
17797 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
17798
17799 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
17800
17801 * emulation/cua-base.el (cua-set-mark): Fix case of string.
17802
17803 2011-10-20 Chong Yidong <cyd@gnu.org>
17804
17805 * emulation/cua-base.el (cua-mode):
17806 * mail/footnote.el (footnote-mode):
17807 * mail/mailabbrev.el (mail-abbrevs-mode):
17808 * net/xesam.el (xesam-minor-mode):
17809 * progmodes/bug-reference.el (bug-reference-mode):
17810 * progmodes/cap-words.el (capitalized-words-mode):
17811 * progmodes/compile.el (compilation-minor-mode)
17812 (compilation-shell-minor-mode):
17813 * progmodes/gud.el (gud-tooltip-mode):
17814 * progmodes/hideif.el (hide-ifdef-mode):
17815 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
17816 * progmodes/subword.el (subword-mode):
17817 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
17818 * progmodes/which-func.el (which-function-mode):
17819 * term/tvi970.el (tvi970-set-keypad-mode):
17820 * term/vt100.el (vt100-wide-mode):
17821 * textmodes/flyspell.el (flyspell-mode):
17822 * textmodes/ispell.el (ispell-minor-mode):
17823 * textmodes/nroff-mode.el (nroff-electric-mode):
17824 * textmodes/paragraphs.el (use-hard-newlines):
17825 * textmodes/refill.el (refill-mode):
17826 * textmodes/reftex.el (reftex-mode):
17827 * textmodes/rst.el (rst-minor-mode):
17828 * textmodes/sgml-mode.el (html-autoview-mode)
17829 (sgml-electric-tag-pair-mode):
17830 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
17831 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
17832 * emulation/crisp.el (crisp-mode):
17833 * emacs-lisp/eldoc.el (eldoc-mode):
17834 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
17835 minor mode behavior.
17836
17837 2011-10-19 Juri Linkov <juri@jurta.org>
17838
17839 * descr-text.el (describe-char): Add #x2010 and #x2011 to
17840 the list of hard-coded chars with escape-glyph face.
17841
17842 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
17843
17844 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
17845
17846 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
17847
17848 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
17849 running process.
17850
17851 2011-10-19 Glenn Morris <rgm@gnu.org>
17852
17853 * vc/vc-bzr.el (vc-bzr-after-dir-status):
17854 Ignore ignored files. (Bug#9726)
17855
17856 2011-10-19 Chong Yidong <cyd@gnu.org>
17857
17858 Doc fix for minor modes, stating that an omitted argument enables
17859 the mode unconditionally when called from Lisp.
17860
17861 * abbrev.el (abbrev-mode):
17862 * allout.el (allout-mode):
17863 * autoinsert.el (auto-insert-mode):
17864 * autoarg.el (autoarg-mode, autoarg-kp-mode):
17865 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
17866 (global-auto-revert-mode):
17867 * battery.el (display-battery-mode):
17868 * composite.el (global-auto-composition-mode)
17869 (auto-composition-mode):
17870 * delsel.el (delete-selection-mode):
17871 * desktop.el (desktop-save-mode):
17872 * dired-x.el (dired-omit-mode):
17873 * dirtrack.el (dirtrack-mode):
17874 * doc-view.el (doc-view-minor-mode):
17875 * double.el (double-mode):
17876 * electric.el (electric-indent-mode, electric-pair-mode):
17877 * emacs-lock.el (emacs-lock-mode):
17878 * epa-hook.el (auto-encryption-mode):
17879 * follow.el (follow-mode):
17880 * font-core.el (font-lock-mode):
17881 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
17882 * help.el (temp-buffer-resize-mode):
17883 * hilit-chg.el (highlight-changes-mode)
17884 (highlight-changes-visible-mode):
17885 * hi-lock.el (hi-lock-mode):
17886 * hl-line.el (hl-line-mode, global-hl-line-mode):
17887 * icomplete.el (icomplete-mode):
17888 * ido.el (ido-everywhere):
17889 * image-file.el (auto-image-file-mode):
17890 * image-mode.el (image-minor-mode):
17891 * iswitchb.el (iswitchb-mode):
17892 * jka-cmpr-hook.el (auto-compression-mode):
17893 * linum.el (linum-mode):
17894 * longlines.el (longlines-mode):
17895 * master.el (master-mode):
17896 * mb-depth.el (minibuffer-depth-indicate-mode):
17897 * menu-bar.el (menu-bar-mode):
17898 * minibuf-eldef.el (minibuffer-electric-default-mode):
17899 * mouse-sel.el (mouse-sel-mode):
17900 * msb.el (msb-mode):
17901 * mwheel.el (mouse-wheel-mode):
17902 * outline.el (outline-minor-mode):
17903 * paren.el (show-paren-mode):
17904 * recentf.el (recentf-mode):
17905 * reveal.el (reveal-mode, global-reveal-mode):
17906 * rfn-eshadow.el (file-name-shadow-mode):
17907 * ruler-mode.el (ruler-mode):
17908 * savehist.el (savehist-mode):
17909 * scroll-all.el (scroll-all-mode):
17910 * scroll-bar.el (scroll-bar-mode):
17911 * server.el (server-mode):
17912 * shell.el (shell-dirtrack-mode):
17913 * simple.el (auto-fill-mode, transient-mark-mode)
17914 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
17915 (line-number-mode, column-number-mode, size-indication-mode)
17916 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
17917 * strokes.el (strokes-mode):
17918 * time.el (display-time-mode):
17919 * t-mouse.el (gpm-mouse-mode):
17920 * tool-bar.el (tool-bar-mode):
17921 * tooltip.el (tooltip-mode):
17922 * type-break.el (type-break-mode-line-message-mode)
17923 (type-break-query-mode):
17924 * view.el (view-mode):
17925 * whitespace.el (whitespace-mode, whitespace-newline-mode)
17926 (global-whitespace-mode, global-whitespace-newline-mode):
17927 * xt-mouse.el (xterm-mouse-mode): Doc fix.
17928
17929 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
17930 Fix autogenerated docstring.
17931
17932 2011-10-19 Juri Linkov <juri@jurta.org>
17933
17934 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
17935 by checking environment variables "DESKTOP_SESSION" and
17936 "XDG_CURRENT_DESKTOP". (Bug#9779)
17937
17938 2011-10-19 Juri Linkov <juri@jurta.org>
17939
17940 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
17941 (browse-url-chromium-program, browse-url-chromium-arguments):
17942 New defcustoms.
17943 (browse-url-default-browser): Check for `browse-url-chromium' and
17944 call `browse-url-chromium-program'.
17945 (browse-url-chromium): New command. (Bug#9779)
17946
17947 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
17948
17949 * facemenu.el (list-colors-duplicates): On Windows, detect more
17950 duplicates by assuming that only colors matching "^System" are
17951 special "system colors". (Bug#9722)
17952
17953 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
17954
17955 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
17956 to distinguish the author from the committer.
17957
17958 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
17959
17960 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
17961
17962 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
17963
17964 * international/mule.el (sgml-html-meta-auto-coding-function):
17965 Add support for detecting encoding in HTML5 specified only as
17966 <meta charset="UTF-8">. Implementation just makes http-equiv and
17967 content-type parts from HTML4 encoding string optional. (Bug#9716)
17968
17969 2011-10-18 Glenn Morris <rgm@gnu.org>
17970
17971 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
17972
17973 2011-10-18 Chong Yidong <cyd@gnu.org>
17974
17975 * faces.el (cursor): Doc fix.
17976
17977 2011-10-17 Chong Yidong <cyd@gnu.org>
17978
17979 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
17980
17981 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
17982
17983 * dirtrack.el (dirtrack): Support shell buffers with path
17984 prefixes, e.g. tramp-based remote shells. (Bug#9647)
17985
17986 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
17987
17988 * json.el: Bump version to 1.3 and note change in History.
17989 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
17990
17991 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17992
17993 * comint.el (comint-insert-input, comint-send-input)
17994 (comint-get-old-input-default, comint-backward-matching-input)
17995 (comint-next-prompt): Use nil instead of `input' for field property of
17996 past user input (bug#114).
17997
17998 * minibuffer.el (completion--replace): Inherit surrounding properties
17999 (bug#114).
18000 (minibuffer-complete-and-exit): Use it.
18001
18002 * comint.el (comint--table-subvert): Quote the all-completions output
18003 (bug#9160).
18004
18005 2011-10-17 Martin Rudalics <rudalics@gmx.at>
18006
18007 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
18008
18009 * menu-bar.el (menu-bar-file-menu): Add entry for making new
18010 window on right of selected. (Bug#9350) Reword other window
18011 entries and separate them from frame entries.
18012
18013 2011-10-15 Glenn Morris <rgm@gnu.org>
18014
18015 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
18016 Doc fixes.
18017
18018 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
18019
18020 * net/network-stream.el (network-stream-open-starttls):
18021 Improve detection of failure due to lack of TLS support.
18022
18023 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
18024 putting the input text in front and in bold.
18025
18026 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
18027
18028 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
18029
18030 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
18031 empty buffer.
18032
18033 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
18034 unread-command-events rather than pushing yet-another event.
18035
18036 2011-10-14 Eli Zaretskii <eliz@gnu.org>
18037
18038 * mail/sendmail.el (sendmail-query-once): Improve the wording of
18039 the explanation of the possible choices. Make the options passed
18040 to completing-read shorter.
18041
18042 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
18043
18044 * textmodes/flyspell.el (flyspell-large-region): Make sure
18045 extended character mode is used if defined (Bug#1339).
18046
18047 2011-10-13 Eli Zaretskii <eliz@gnu.org>
18048
18049 * simple.el (what-cursor-position): Fix the display of the
18050 character info for LRE, LRO, RLE, and RLO characters by appending
18051 an invisible PDF.
18052
18053 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
18054
18055 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
18056 even in case of error; add debug spec; simplify data flow.
18057 (with-timeout-handler): Remove.
18058
18059 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
18060
18061 Fix Bug#6019, Bug#9315.
18062
18063 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
18064 complete `buffer-file-name', the local file name part could look
18065 remotely (for example on VMS).
18066
18067 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
18068 `tramp-run-real-handler'.
18069 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
18070 already quoted by '"'.
18071
18072 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
18073 Let `file-name-handler-alist' be nil, the local file name part
18074 could look remotely (for example on VMS).
18075
18076 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
18077
18078 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
18079 from here...
18080 (flyspell-post-command-hook): ...to here.
18081
18082 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
18083
18084 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
18085 if not needed.
18086 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
18087 using completion. Protect against "slow" callers.
18088 Remove the "message hack".
18089
18090 2011-10-11 Juri Linkov <juri@jurta.org>
18091
18092 * isearch.el (isearch-lazy-highlight-word): New variable.
18093 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
18094 Use it. (Bug#9727)
18095
18096 2011-10-11 Glenn Morris <rgm@gnu.org>
18097
18098 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
18099 like f90-previous-statement does.
18100
18101 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18102
18103 * eshell/eshell.el (eshell-command): History should be saved
18104 only in interactive use, to avoid error.
18105
18106 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
18107
18108 * minibuffer.el (completion-file-name-table): Fix last change,
18109 i.e. ignore normal errors but not the other ones.
18110
18111 2011-10-10 Martin Rudalics <rudalics@gmx.at>
18112
18113 * window.el (special-display-buffer-names)
18114 (special-display-regexps): Remove some remnants of earlier
18115 changes from doc-strings.
18116 (quit-windows-on): New function.
18117
18118 * vc/vc.el (vc-revert, vc-rollback):
18119 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
18120 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
18121 (Bug#6183) (Bug#7074) (Bug#7447)
18122
18123 2011-10-09 Martin Rudalics <rudalics@gmx.at>
18124
18125 * window.el (frame-auto-hide-function): Add version tag.
18126 (Bug#9699)
18127
18128 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
18129
18130 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
18131 condition.
18132
18133 2011-10-09 Leo Liu <sdl.web@gmail.com>
18134
18135 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
18136 (Bug#9701)
18137
18138 2011-10-08 Glenn Morris <rgm@gnu.org>
18139
18140 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
18141 before the first code statement zero indent. (Bug#9690)
18142
18143 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
18144
18145 * simple.el (count-words-region): Always count in the region.
18146 Report the number of lines and characters too.
18147 (count-words): New command, which counts in the buffer if the
18148 region is inactive, as count-words-region used to.
18149 (count-words--message): New function. Handle plurals.
18150 (count-lines-region): Make it an alias for count-words-region.
18151
18152 * bindings.el (esc-map): Replace count-lines-region with
18153 count-words-region.
18154
18155 2011-10-08 Martin Rudalics <rudalics@gmx.at>
18156
18157 * window.el (window--delete): Delete dedicated frame
18158 unconditionally when argument KILL is non-nil. (Bug#9699)
18159 (switch-to-buffer): Fix doc-string typo.
18160
18161 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18162
18163 * eshell/eshell.el (eshell-command): Avoid using hooks.
18164
18165 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
18166
18167 * bindings.el ([M-left],[M-right]): Bind to left-word and
18168 right-word respectively.
18169
18170 2011-10-07 Glenn Morris <rgm@gnu.org>
18171
18172 * cus-start.el (debug-on-quit): Fix custom type.
18173
18174 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
18175
18176 * subr.el (define-key-after): Clarify that the function is not
18177 useful for non-menu keymaps.
18178
18179 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
18180
18181 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18182
18183 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
18184 in current minibuffer (Fix bug with recursive minibuffers).
18185
18186 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
18187
18188 * progmodes/gdb-mi.el (gdb): Doc fix.
18189
18190 2011-10-05 Martin Rudalics <rudalics@gmx.at>
18191
18192 * window.el (frame-auto-hide-function): New option replacing
18193 frame-auto-delete. Suggested by Stefan Monnier.
18194 (window--delete): Call frame-auto-hide-function instead of
18195 investigating frame-auto-delete.
18196 (window-point-1, set-window-point-1): New functions.
18197 (window-in-direction, record-window-buffer, window-state-get-1)
18198 (display-buffer-record-window): Use window-point-1 instead of
18199 window-point.
18200 (set-window-buffer-start-and-point): Use set-window-point-1.
18201
18202 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18203
18204 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
18205
18206 2011-10-05 Glenn Morris <rgm@gnu.org>
18207
18208 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
18209 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
18210
18211 2011-10-05 Leo Liu <sdl.web@gmail.com>
18212
18213 * subr.el (read-char-choice): Fix argument to buffer-live-p which
18214 works with buffer object.
18215
18216 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18217
18218 * mpc.el (mpc-tool-bar-map): Add labels.
18219
18220 2011-10-04 Glenn Morris <rgm@gnu.org>
18221
18222 * calendar/holidays.el (calendar-check-holidays): Doc fix.
18223
18224 2011-10-04 Martin Rudalics <rudalics@gmx.at>
18225
18226 * window.el (window--delete): New function.
18227 (frame-auto-delete): Resuscitate option.
18228 (bury-buffer, replace-buffer-in-windows)
18229 (quit-window): Rewrite using window--delete.
18230 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
18231 Pass display-buffer-mark-dedicated to window--display-buffer-2
18232 (Bug#9639).
18233
18234 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
18235
18236 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
18237 returns a list (bug#9554). Add remote file name completion.
18238 * comint.el (comint--table-subvert): Curry and get quote&unquote
18239 functions as arguments.
18240 (comint--complete-file-name-data): Adjust call accordingly.
18241 * pcomplete.el (pcomplete--table-subvert): Remove.
18242 (pcomplete-completions-at-point): Use comint--table-subvert instead.
18243
18244 * minibuffer.el (completion-table-case-fold): Use currying.
18245 (completion--styles-type, completion--cycling-threshold-type):
18246 New constants.
18247 (completion-styles, completion-category-overrides)
18248 (completion-cycle-threshold): Use them.
18249 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
18250 completion-table-case-fold.
18251
18252 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
18253
18254 * minibuffer.el (completion-category-overrides): Fix type of styles
18255 and add more user friendly tags (bug#9660).
18256
18257 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
18258
18259 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
18260 (mule-input-method-string): New widget.
18261 (default-input-method, language-info-custom-alist): Use it.
18262
18263 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
18264
18265 * pcomplete.el: Require comint.
18266 (pcomplete--common-suffix): Remove.
18267 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
18268 (pcomplete--table-subvert): Sync with comint--table-subvert.
18269 (pcomplete--entries): Use comint-completion-file-name-table.
18270 * comint.el (comint-unquote-filename): Simplify.
18271 (comint-completion-file-name-table): New function (bug#9616).
18272 (comint--complete-file-name-data): Use it.
18273
18274 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
18275 (pcmpl-gnu-tar-buffer): Remove.
18276 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
18277 around. Make sure pcomplete-suffix-list is only changed temporarily.
18278 Don't look inside the tar's file if it's too large.
18279
18280 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
18281
18282 * cus-edit.el (custom-mode-map):
18283 * epa.el (epa-key-list-mode-map):
18284 * man.el (Man-mode-map):
18285 * startup.el (splash-screen-keymap):
18286 * simple.el (special-mode-map): Use scroll-up-command and
18287 scroll-down-command.
18288
18289 * progmodes/idlw-help.el (idlwave-help-mode-map):
18290 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
18291 * net/newst-plainview.el (newsticker-mode-map):
18292 * emulation/ws-mode.el (wordstar-mode-map):
18293 * emulation/vi.el (vi-com-map):
18294 * calc/calc-graph.el (calc-graph-show-dumb):
18295 * term/sun.el (terminal-init-sun):
18296 * term/ns-win.el (global-map):
18297 * progmodes/grep.el (grep-mode-map):
18298 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
18299 * mail/rmail.el (rmail-mode-map):
18300 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
18301
18302 * custom.el (custom-safe-themes, load-theme): Treat value of t for
18303 custom-safe-themes as special.
18304
18305 2011-10-01 Julien Danjou <julien@danjou.info>
18306
18307 * notifications.el (notifications-notify): Fix docstring.
18308
18309 2011-10-01 Per Starbäck <per@starback.se>
18310
18311 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
18312
18313 2011-09-30 Martin Rudalics <rudalics@gmx.at>
18314
18315 * startup.el (command-line-1): Fix last fix by inserting
18316 initial-scratch-message into *scratch* before displaying it.
18317 (Bug#9605) and (Bug#9636)
18318
18319 2011-09-29 Eli Zaretskii <eliz@gnu.org>
18320
18321 * simple.el (line-move): If auto-hscroll-mode is disabled and the
18322 window is hscrolled, move by logical lines. (Bug#9607)
18323 (line-move-visual): Update the doc string to the above effect.
18324
18325 2011-09-29 Martin Rudalics <rudalics@gmx.at>
18326
18327 * window.el (display-buffer-record-window): When WINDOW is the
18328 selected window use `point' instead of `window-point'. (Bug#9626)
18329
18330 * startup.el (command-line-1): Use insert-before-markers when
18331 inserting initial-scratch-message. (Bug#9605)
18332
18333 * help.el (help-window): Remove variable.
18334
18335 2011-09-29 Glenn Morris <rgm@gnu.org>
18336
18337 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
18338
18339 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
18340
18341 * descr-text.el (describe-char-categories): Accept category
18342 descriptions more than one line long.
18343
18344 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
18345
18346 * simple.el (delete-trailing-whitespace): Fix last change.
18347
18348 * progmodes/perl-mode.el (perl-syntax-propertize-function):
18349 Don't confuse "y => 3" as the beginning of a `y' operation.
18350
18351 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
18352 object has more than 4 slots (bug#9613).
18353
18354 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
18355
18356 * subr.el (with-output-to-temp-buffer):
18357 * net/quickurl.el (quickurl, quickurl-browse-url):
18358 Fix typos in docstrings.
18359
18360 2011-09-27 Eli Zaretskii <eliz@gnu.org>
18361
18362 * minibuffer.el (completion-styles)
18363 (completion-category-overrides): Cross reference each other in doc
18364 strings.
18365
18366 2011-09-27 Glenn Morris <rgm@gnu.org>
18367
18368 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
18369 to split-string. (Bug#9606)
18370
18371 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
18372
18373 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
18374 (bug#9615).
18375
18376 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
18377
18378 * emacs-lisp/package.el (list-packages): Fix echo area message.
18379
18380 2011-09-27 Leo Liu <sdl.web@gmail.com>
18381
18382 * ido.el (ido-read-internal): Accept cons cell HIST arg.
18383
18384 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
18385
18386 * net/dbus.el (dbus-unregister-object): Don't release services for
18387 registered signals. (Bug#9581)
18388
18389 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
18390
18391 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
18392 function that picks between cfengine 2 and 3 support
18393 automatically. Update docs accordingly.
18394
18395 2011-09-22 Kenichi Handa <handa@m17n.org>
18396
18397 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
18398 ZERO.
18399 (indian-itrans-v5-table-for-tamil): New variable.
18400 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
18401
18402 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
18403
18404 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
18405 that's true if the current command involved collapsing of text.
18406 It's reset to false at the beginning of the next command.
18407 (allout-post-command-business): Move the cursor to the beginning
18408 of entry if the cursor is hidden and collapsing activity just
18409 happened.
18410
18411 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
18412
18413 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
18414 tracking (Bug#9541).
18415
18416 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
18417
18418 * net/newst-reader.el (newsticker-html-renderer)
18419 (newsticker-show-news): Automatically load html rendering package
18420 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
18421 because w3m-fill-column is let-bound" and the error "Symbol's value
18422 as variable is void: w3m-fill-column".
18423
18424 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
18425
18426 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
18427 Release services only if they are defined. (Bug#9581)
18428
18429 2011-09-23 Richard Stallman <rms@gnu.org>
18430
18431 * textmodes/paragraphs.el (forward-sentence): For backwards case,
18432 distinguish start of paragraph from start of its text.
18433
18434 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
18435
18436 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
18437 (rmail-generate-viewer-buffer): Put that hook on view buffer.
18438 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
18439
18440 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
18441
18442 * international/mule-diag.el (mule-diag): Insert a newline after
18443 each fontset description.
18444
18445 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18446
18447 * simple.el (delete-trailing-whitespace):
18448 Document last change; simplify.
18449
18450 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
18451
18452 * simple.el (delete-trailing-whitespace): Also delete
18453 extra newlines at the end of the buffer.
18454
18455 * textmodes/picture.el: Make motion commands obey shift-select-mode.
18456 (picture-newline): Use forward-line so as to ignore fields.
18457
18458 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18459
18460 * subr.el (with-wrapper-hook): Fix edebug spec.
18461
18462 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
18463
18464 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
18465 (bug#4538).
18466
18467 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
18468
18469 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
18470 Fix nasty bug using wrong cached values.
18471
18472 2011-09-23 Alan Mackenzie <acm@muc.de>
18473
18474 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
18475
18476 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
18477
18478 * window.el (pop-to-buffer): Ensure right window is selected if we
18479 chose another frame.
18480
18481 2011-09-22 Eli Zaretskii <eliz@gnu.org>
18482
18483 * simple.el (what-cursor-position): Use get-char-property-change
18484 and next-single-char-property-change, to be able to show display
18485 properties that come from overlays as well as text properties.
18486
18487 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
18488
18489 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
18490
18491 * cmuscheme.el (run-scheme, switch-to-scheme):
18492 * cus-edit.el (customize-group, custom-buffer-create)
18493 (customize-browse):
18494 * info.el (info):
18495 * shell.el (shell):
18496 * mail/sendmail.el (mail):
18497 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
18498
18499 2011-09-22 Richard Stallman <rms@gnu.org>
18500
18501 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
18502 move back only to line beg, don't move back over blank lines.
18503
18504 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
18505
18506 * files.el (copy-directory): Set directory attributes only in case
18507 they could be retrieved from the source directory. (Bug#9565)
18508
18509 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
18510
18511 * progmodes/hideshow.el (hs-looking-at-block-start-p)
18512 (hs-find-block-beginning, hs-hide-level-recursive):
18513 Ignore strings as well as comments. (Bug#9502)
18514
18515 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
18516
18517 * progmodes/sql.el (sql-comint-postgres):
18518 Convert port number to a string. (Bug#9566)
18519
18520 2011-09-22 Martin Rudalics <rudalics@gmx.at>
18521
18522 * window.el (quit-window): Undedicate window when switching to
18523 previous buffer. Reported by Thierry Volpiatto
18524 <thierry.volpiatto@gmail.com>.
18525 (special-display-popup-frame): When popping up a new frame reset
18526 its previous buffers to nil. Simplify code.
18527
18528 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
18529
18530 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
18531 and process filter, as done also in `shell-command'.
18532
18533 2011-09-21 Martin Rudalics <rudalics@gmx.at>
18534
18535 * window.el (set-window-buffer-start-and-point):
18536 Call set-window-start with NOFORCE argument t.
18537 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
18538 (quit-window): Reword doc-string. Handle new format of
18539 quit-restore parameter. Don't delete window if it has a
18540 previous buffer we can show instead of the present one.
18541 (display-buffer-record-window): Rewrite using a new format for
18542 the quit-restore window parameter
18543 (special-display-popup-frame, display-buffer-same-window)
18544 (display-buffer-reuse-window, display-buffer-pop-up-frame)
18545 (display-buffer-pop-up-window, display-buffer-use-some-window):
18546 Adapt symbol passed to display-buffer-record-window.
18547 * help.el (help-window-setup): Handle new format of quit-restore
18548 parameter.
18549
18550 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
18551
18552 * faces.el (face-list): Fix docstring (bug#9564).
18553
18554 * window.el (display-buffer--action-function-custom-type):
18555 Don't include internal functions in the Custom interface.
18556
18557 2011-09-20 Juri Linkov <juri@jurta.org>
18558
18559 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
18560 (Info-forward-node, Info-backward-node, Info-next-preorder)
18561 (Info-last-preorder): Use it. (Bug#9528)
18562
18563 2011-09-20 Juri Linkov <juri@jurta.org>
18564
18565 * info.el (Info-last-preorder): Visit last menu item only when
18566 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
18567
18568 2011-09-20 Julien Danjou <julien@danjou.info>
18569
18570 * password-cache.el (password-cache-remove): Remove entries even if the
18571 value is nil, so that password with a nil value (negative caching) is
18572 possible to invalidate.
18573
18574 2011-09-20 Lawrence Mitchell <wence@gmx.li>
18575
18576 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
18577 all whitespace around breakpoint. (Bug#9553)
18578 (f90-find-breakpoint): Only break at whitespace inside a comment.
18579
18580 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
18581
18582 * minibuffer.el (completion-file-name-table): Keep track of errors.
18583 (completion-table-with-predicate): Handle the case where pred1 is nil.
18584 * pcomplete.el (pcomplete-completions-at-point): Simplify.
18585
18586 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
18587
18588 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
18589 (debugger-return-value): Signal an error if the debugging context does
18590 not await any return value.
18591
18592 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
18593 * image-mode.el (image-toggle-display-text)
18594 (image-toggle-display-image): Stay away from evil `intangible'.
18595
18596 2011-09-19 Leo Liu <sdl.web@gmail.com>
18597
18598 * replace.el (occur-revert-arguments): Make it permanent-local.
18599 (occur-mode): Don't call font-lock-defontify.
18600
18601 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
18602
18603 * net/ldap.el (ldap-search-internal): Don't push empty search
18604 result (Bug#9508).
18605
18606 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
18607
18608 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
18609
18610 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
18611
18612 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
18613 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
18614
18615 2011-09-18 Juri Linkov <juri@jurta.org>
18616
18617 * buff-menu.el (Buffer-menu-mode-map):
18618 * dired.el (dired-mode-map):
18619 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
18620 (lisp-interaction-mode-map):
18621 * emacs-lisp/package.el (package-menu-mode-map):
18622 * epa.el (epa-key-list-mode-map):
18623 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
18624 (menu-bar-options-menu):
18625 * outline.el (outline-mode-menu-bar-map):
18626 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
18627 * vc/vc-dir.el (vc-dir-menu-map):
18628 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
18629 Capitalize non-function content words in menu item strings.
18630
18631 * dired.el (dired-mode-map): Add menu item for
18632 `image-dired-dired-toggle-marked-thumbs'.
18633
18634 2011-09-18 Juri Linkov <juri@jurta.org>
18635
18636 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
18637 to `isearch-case-fold-search' and restore its original value
18638 after the `isearch-mode' call.
18639
18640 2011-09-18 Juri Linkov <juri@jurta.org>
18641
18642 * progmodes/grep.el (grep-process-setup): Don't check code for 1
18643 because `zgrep' returns 1 for successful matches (bug#9226).
18644
18645 2011-09-18 Juri Linkov <juri@jurta.org>
18646
18647 * info.el (Info-extract-menu-node-name): Check the second match
18648 for empty string (second test-case of bug#9528).
18649 (Info-last-preorder): Let-bind `Info-history' to nil to not add
18650 intermediate nodes to the history (first test-case of bug#9528).
18651
18652 2011-09-18 Juri Linkov <juri@jurta.org>
18653
18654 * info.el (Info-mode-syntax-table): New variable.
18655 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
18656
18657 2011-09-18 Juri Linkov <juri@jurta.org>
18658
18659 * info.el (Info-file-supports-index-cookies):
18660 Increment line-beginning-position's arg from 3 to 4 because makeinfo
18661 outputs one more line for long file names (bug#4142).
18662
18663 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
18664
18665 * newcomment.el (comment-normalize-vars): If prompting for
18666 comment-start, set comment-start-skip too (Bug#8424).
18667
18668 2011-09-18 Johan Bockgård <bojohan@gnu.org>
18669
18670 * icomplete.el: Fix previous fix of Bug#5849.
18671 (icomplete-mode): Don't set completion-show-inline-help.
18672 (icomplete-minibuffer-setup): Set completion-show-inline-help
18673 locally during icompletion.
18674
18675 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
18676
18677 * woman.el (woman2-process-escapes): Don't delete unrecognized
18678 escapes (Bug#7843).
18679
18680 * files.el (inhibit-first-line-modes-regexps): Add image files.
18681 (hack-local-variables-prop-line): Return nil for malformed
18682 prop-lines (Bug#9044).
18683
18684 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
18685
18686 * net/tramp.el (top): Don't require 'shell.
18687 (tramp-methods): Fix docstring.
18688 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
18689 Return complete remote file name. Handle "smb" case.
18690 Use `tramp-tmpdir', if defined for the respective method.
18691 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
18692
18693 * net/tramp-compat.el (top): Require 'shell.
18694
18695 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
18696 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
18697 `tramp-current-host'.
18698 (tramp-get-remote-tmpdir): Remove.
18699
18700 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
18701 `tramp-tmpdir' entries.
18702 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
18703 (tramp-smb-handle-file-attributes): Ignore errors.
18704 (tramp-smb-wait-for-output): Check also for process end.
18705
18706 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
18707
18708 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
18709 when sending QUIT (bug#9312).
18710
18711 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
18712
18713 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
18714 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
18715 occur-mode-display-occurrence.
18716 (occur-edit-mode): Add usage message.
18717 (occur-cease-edit): New command.
18718 (occur-after-change-function): Use text properties to find the
18719 position of the prefix text.
18720 (occur-engine): Set stickiness of prefix text properties.
18721
18722 2011-09-17 Glenn Morris <rgm@gnu.org>
18723
18724 * progmodes/etags.el (complete-tag):
18725 Fix call to completion-in-region. (Bug#9526)
18726
18727 2011-09-17 Juri Linkov <juri@jurta.org>
18728
18729 * textmodes/ispell.el (ispell-word): Add to the error message
18730 the word, ispell program name and current dictionary (bug#9121).
18731 (ispell-tex-arg-end): Capitalize "error" in the error message.
18732
18733 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
18734
18735 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
18736 check. (Bug#4251)
18737
18738 2011-09-17 Juri Linkov <juri@jurta.org>
18739
18740 * window.el (window-safe-min-height, window-safe-min-width):
18741 Fix typos (followup to bug#9522).
18742
18743 2011-09-17 Sven Joachim <svenjoac@gmx.de>
18744
18745 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
18746
18747 2011-09-16 Eli Zaretskii <eliz@gnu.org>
18748
18749 * simple.el (line-move): If goal-column is set, move by logical
18750 lines, not by display lines. (Bug#971)
18751 (next-line, previous-line, goal-column, line-move-visual): Doc fix
18752 to reflect the above change.
18753
18754 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
18755
18756 * image.el (imagemagick-register-types): Use regexp-opt.
18757
18758 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
18759
18760 * window.el (display-buffer-base-action): Rename from
18761 display-buffer-default-action. Make default value empty.
18762 (display-buffer-overriding-action): Convert to defvar.
18763 (display-buffer-fallback-action): New var.
18764
18765 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
18766
18767 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
18768 declaration.
18769 (package--add-to-archive-contents): If there is a duplicate entry
18770 with an older version, remove it.
18771 (package-menu-mark-delete, package-menu-mark-install)
18772 (package-menu-mark-unmark): Make unused args optional.
18773 (package-menu-mark-obsolete-for-deletion):
18774 Use package-menu-get-status instead of a regexp search.
18775 (package-menu-get-status): Use tabulated-list-entry.
18776 (package-menu-mark-upgrades): New command.
18777 (package-menu-mode-map): Bind it to U. Add it to menu bar.
18778 (package-menu-execute): Do installation before deletion.
18779 (package-menu-refresh, package-menu-execute): Use derived-mode-p
18780 instead of checking major-mode.
18781 (package-menu--find-upgrades): New function.
18782
18783 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
18784
18785 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
18786 passwords in the log buffer.
18787 (smtpmail-process-filter): Update the process marker so that the
18788 "broken by peer" status message is inserted in the right place.
18789
18790 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
18791
18792 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
18793 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
18794 bibtex-completion-at-point-function.
18795 (bibtex-completion-at-point-function): Use them.
18796
18797 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
18798
18799 * mpc.el (mpc-constraints-tag-lookup): New function.
18800 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
18801 also to browser "album|playlist".
18802
18803 2011-09-14 Juri Linkov <juri@jurta.org>
18804
18805 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
18806 (isearch-edit-string): Use length of `isearch-string' when
18807 `isearch-fail-pos' returns nil.
18808 (isearch-message): Remove duplicate code and call
18809 `isearch-fail-pos' with arg `t'.
18810
18811 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
18812
18813 * replace.el (occur-mode-goto-occurrence): Don't force using other
18814 window (Bug#9499).
18815
18816 * dired-aux.el (dired-do-chmod): Don't provide initial input.
18817
18818 2011-09-14 Martin Rudalics <rudalics@gmx.at>
18819
18820 * window.el (display-buffer-window): Remove.
18821 (display-buffer-record-window): Use help-setup window parameter
18822 instead of variable display-buffer-window.
18823 (display-buffer-function, special-display-buffer-names)
18824 (special-display-function): Mention help-setup parameter instead
18825 of display-buffer-window in doc-string.
18826 * help.el (help-window-setup): New argument help-window.
18827 Use help-window-setup parameter instead of display-buffer-window.
18828 Reword some messages.
18829 (with-help-window): Pass window used for displaying the buffer
18830 to help-window-setup. Don't set display-buffer-window.
18831
18832 2011-09-13 Glenn Morris <rgm@gnu.org>
18833
18834 * emacs-lisp/debug.el (debugger-make-xrefs):
18835 Preserve point. (Bug#9462)
18836
18837 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
18838
18839 * window.el (window-deletable-p): Use next-frame.
18840
18841 2011-09-13 Martin Rudalics <rudalics@gmx.at>
18842
18843 * window.el (window-auto-delete): Remove.
18844 (window-deletable-p): Remove argument FORCE. Don't deal with
18845 dedication and previous buffers.
18846 (switch-to-prev-buffer): Don't delete window.
18847 (delete-windows-on): Delete a window's frame if and only if the
18848 window is dedicated.
18849 (replace-buffer-in-windows): Delete buffer's window or frame if
18850 and only if window is dedicated.
18851 (quit-window): Handle quit-restore as before last change.
18852 (bury-buffer): Delete window only if window-deletable-p returns t.
18853
18854 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
18855
18856 * window.el (window-deletable-p): Never delete the last frame on a
18857 given terminal.
18858
18859 2011-09-13 Glenn Morris <rgm@gnu.org>
18860
18861 * help.el (describe-key-briefly): Copy previous standard-output change.
18862
18863 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
18864
18865 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
18866
18867 2011-09-13 Glenn Morris <rgm@gnu.org>
18868
18869 * emacs-lisp/lisp-mode.el (lisp-indent-function):
18870 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
18871
18872 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
18873
18874 * dired-aux.el (dired-mark-read-string): Don't return default
18875 value on empty input (Bug#9361).
18876 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
18877 Omit initial minibuffer contents.
18878 (dired-do-chmod): Signal an error on empty input.
18879 (dired-mark-read-string): Don't return default on empty input.
18880
18881 * files.el (file-modes-symbolic-to-number): Doc fix.
18882
18883 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18884
18885 * international/mule-cmds.el (ucs-completions): Remove.
18886 (read-char-by-name): Use complete-with-action instead; add metadata.
18887
18888 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
18889
18890 * window.el (display-buffer--action-function-custom-type)
18891 (display-buffer--action-custom-type): New vars.
18892 (display-buffer-alist, display-buffer-default-action)
18893 (display-buffer-overriding-action): Add defcustom types.
18894
18895 * frame.el (delete-other-frames): Doc fix (Bug#276).
18896
18897 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18898
18899 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
18900
18901 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
18902
18903 Change modes that used same-window-* vars to use switch-to-buffer.
18904
18905 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
18906 Use switch-to-buffer.
18907
18908 * cus-edit.el (customize-group, custom-buffer-create)
18909 (customize-browse, custom-buffer-create-other-window):
18910 Use switch-to-buffer or switch-to-buffer-other-window.
18911
18912 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
18913 (Info-prev, Info-up, Info-speedbar-goto-node)
18914 (info-display-manual): Use switch-to-buffer.
18915 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
18916
18917 * mail/sendmail.el (mail): Use switch-to-buffer.
18918 (mail-recover): Use switch-to-buffer-other-window.
18919
18920 * cmuscheme.el (run-scheme, switch-to-scheme):
18921 * ielm.el (ielm):
18922 * shell.el (shell):
18923 * net/rlogin.el (rlogin):
18924 * net/telnet.el (telnet, rsh):
18925 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
18926
18927 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
18928
18929 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
18930
18931 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18932
18933 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
18934 so don't mention it (bug#9301).
18935 (dired-sort-toggle-or-edit): Clarify string further.
18936
18937 * faces.el (face-spec-set-match-display): Make `(type graphic)'
18938 match `x', `w32' and `ns', like the manual says (bug#9029).
18939
18940 * subr.el (eval-after-load): Doc string clarification (bug#9125).
18941 (process-kill-buffer-query-function): Mention the buffer name in
18942 the query.
18943
18944 * image-mode.el (image-next-line): The line parameter is mandatory
18945 (bug#9258).
18946
18947 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
18948 which can be useful (bug#9301).
18949
18950 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
18951
18952 * subr.el (match-string): Mention that the current buffer should
18953 be the same as the search was done in (bug#9282).
18954
18955 * facemenu.el: Disable the remove-* commands if the mark isn't
18956 active (bug#9162).
18957
18958 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
18959
18960 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
18961 of display-buffer.
18962 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
18963
18964 * replace.el (occur-mode-goto-occurrence)
18965 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
18966 and display-buffer.
18967
18968 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
18969 display-buffer.
18970
18971 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
18972 special-display and same-window variables.
18973 (mail-other-window): Use switch-to-buffer-other-window.
18974 (mail-other-frame): USe switch-to-buffer-other-frame.
18975
18976 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
18977 Use display-buffer-other-frame.
18978 (gdb-display-gdb-buffer): Use pop-to-buffer.
18979
18980 * progmodes/gud.el (gud-goto-info): Use info-other-window.
18981
18982 * progmodes/python.el: Don't set same-window-buffer-names.
18983
18984 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
18985
18986 * window.el (display-buffer-alist): Add *Python*.
18987
18988 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
18989
18990 * window.el (display-buffer-alist): Add entry for buffers
18991 previously handled same-window-*.
18992 (display-buffer-alist, display-buffer-default-action)
18993 (display-buffer-overriding-action): Mark as risky.
18994 (display-buffer-alist): Document action function changes.
18995 (display-buffer--same-window-action)
18996 (display-buffer--other-frame-action): New variables.
18997 (switch-to-buffer, display-buffer-other-frame): Use them.
18998 (display-buffer): Rename reuse-frame entry to reusable-frames.
18999 (display-buffer-reuse-selected-window): Function deleted.
19000 (display-buffer-reuse-window): Handle reusable-frames alist entry.
19001 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
19002 (display-buffer-special): New function.
19003 (display-buffer--maybe-pop-up-frame-or-window): Rename from
19004 display-buffer-reuse-or-pop-window. Split off special-display
19005 part into display-buffer-special.
19006 (display-buffer-use-some-window): Don't perform any special
19007 pop-up-frames handling.
19008 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
19009 (display-buffer--maybe-same-window): Rename from
19010 display-buffer-maybe-same-window.
19011
19012 * info.el: Don't set same-window-regexps.
19013 (info-setup): New function.
19014 (info-other-window, info): Call it.
19015
19016 * cus-edit.el: Don't set same-window-regexps.
19017 (customize-group): New argument.
19018 (customize-group-other-window): Use it.
19019 (customize-face, customize-face-other-window): Likewise.
19020 (custom-buffer-create-other-window): Use pop-to-buffer directly.
19021
19022 * net/rlogin.el:
19023 * net/telnet.el:
19024 * progmodes/gud.el: Don't set same-window-regexps.
19025
19026 * cmuscheme.el:
19027 * ielm.el:
19028 * shell.el:
19029 * mail/sendmail.el:
19030 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
19031
19032 2011-09-10 Juri Linkov <juri@jurta.org>
19033
19034 * isearch.el (isearch-edit-string): Remove obsolete mention of
19035 `C-w' (`isearch-yank-word-or-char') from docstring.
19036 (isearch-query-replace): Fix typo in docstring (bug#9466).
19037
19038 2011-09-10 Juri Linkov <juri@jurta.org>
19039
19040 * paren.el (show-paren-function): Don't show escaped parens.
19041 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
19042
19043 2011-09-10 Eli Zaretskii <eliz@gnu.org>
19044
19045 * mail/sendmail.el (mml-to-mime, mml-attach-file)
19046 (mm-default-file-encoding): Remove autoload forms, they are
19047 replaced with autoload cookies in mml.el and mm-encode.el.
19048 (mail-add-attachment): New command.
19049 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
19050 (mail-mode): Mention mail-insert-file and mail-add-attachment in
19051 the doc string.
19052 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
19053
19054 2011-09-10 Reuben Thomas <rrt@sc3d.org>
19055
19056 * simple.el (count-words-region): Use buffer if there's no region
19057 (bug#9429).
19058
19059 2011-09-09 Juri Linkov <juri@jurta.org>
19060
19061 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
19062 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
19063 (wdired-isearch-filter-read-only): New function. (Bug#6362)
19064
19065 2011-09-09 Alan Mackenzie <acm@muc.de>
19066
19067 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
19068 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
19069
19070 2011-09-09 Eli Zaretskii <eliz@gnu.org>
19071
19072 Fix for Savannah bug#9392.
19073 * simple.el (mail-encode-mml): New defvar.
19074
19075 * mail/rmail.el (mail-encode-mml): Add a defvar.
19076 (rmail-enable-mime-composing): Default to t.
19077 (rmail-forward): Use MIME method of forwarding only if both
19078 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
19079 Set mail-encode-mml non-nil if the MIME method was used.
19080
19081 * mail/sendmail.el (mml-to-mime): Add autoload form.
19082 (mail-encode-mml): Add a defvar.
19083 (mail-mode): Make mail-encode-mml buffer-local and initialize it
19084 to nil.
19085 (mail-send): If mail-encode-mml is non-nil, run the outgoing
19086 message through mml-to-mime, and reset mail-encode-mml to nil.
19087
19088 2011-09-09 Glenn Morris <rgm@gnu.org>
19089
19090 * woman.el (woman-if-body): When processing an .el block,
19091 do not delete the next .el block as well. (Bug#9447)
19092 (woman-special-characters): Add oq, cq, and hy characters.
19093
19094 2011-09-08 Martin Rudalics <rudalics@gmx.at>
19095
19096 * window.el (window-deletable-p): Make sure window is live before
19097 invoking window-prev-buffers.
19098
19099 2011-09-08 Leo Liu <sdl.web@gmail.com>
19100
19101 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
19102
19103 2011-09-08 Juri Linkov <juri@jurta.org>
19104
19105 * progmodes/compile.el (compilation-environment): Make it
19106 a defcustom (bug#8340).
19107
19108 2011-09-08 Martin Rudalics <rudalics@gmx.at>
19109
19110 * window.el (frame-auto-delete): Rename to window-auto-delete.
19111 Make it control auto-deletion of windows and/or frames.
19112 (window-deletable-p): New argument FORCE. Rewrite conditions
19113 for deleting window/frame. (Bug#9419)
19114 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
19115 Rewrite handling of case when window/frame can be deleted.
19116 (delete-windows-on): Call window-deletable-p with new FORCE
19117 argument t. (Bug#9456)
19118
19119 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
19120
19121 * help-mode.el (help-mode): Restore autoload.
19122
19123 2011-09-07 Juri Linkov <juri@jurta.org>
19124
19125 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
19126 `compilation-environment'. Set buffer-local
19127 `compilation-environment' to `thisenv' later after (funcall mode).
19128 (Bug#8340)
19129
19130 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
19131 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
19132 instead of replacing its value. (Bug#8340)
19133
19134 2011-09-07 Juri Linkov <juri@jurta.org>
19135
19136 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
19137 based on text properties put by `grep-filter' instead of matching
19138 escape sequences.
19139 (grep-mode): Set buffer-local `compilation-error-screen-columns'
19140 to the value of `grep-error-screen-columns' (bug#9438).
19141
19142 2011-09-07 Juri Linkov <juri@jurta.org>
19143
19144 * simple.el (next-error-highlight, next-error-highlight-no-select):
19145 Doc fix (bug#9432).
19146
19147 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
19148
19149 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
19150 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
19151
19152 2011-09-07 Leo Liu <sdl.web@gmail.com>
19153
19154 * net/rcirc.el (rcirc-mode): Conditionally initialize
19155 rcirc-input-ring.
19156
19157 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
19158
19159 * emacs-lisp/find-func.el (find-function-C-source): Only set
19160 find-function-C-source-directory after checking that we found a source
19161 file there (bug#9440).
19162
19163 2011-09-06 Alan Mackenzie <acm@muc.de>
19164
19165 * isearch.el (isearch-other-meta-char): Wherever a key list is
19166 unread, "unread" the prefix arg, too. This fixes bug #8901.
19167
19168 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
19169
19170 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
19171
19172 2011-09-05 Juri Linkov <juri@jurta.org>
19173
19174 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
19175
19176 2011-09-05 Juri Linkov <juri@jurta.org>
19177
19178 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
19179 keeping point where processing of grep matches begins, and
19180 continue to delete remaining escape sequences from the same point.
19181 (grep-filter): Make leading zero optional in "0?1;31m" because
19182 git-grep emits "\033[1;31m" escape sequences unlike expected
19183 "\033[01;31m" as GNU Grep does (bug#9408).
19184 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
19185
19186 2011-09-05 Juri Linkov <juri@jurta.org>
19187
19188 * subr.el (y-or-n-p): Capitalize "yes".
19189
19190 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
19191
19192 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
19193 `tramp-cache-unload-hook' where appropriate.
19194 (tramp-methods): Rename `tramp-remote-sh' to
19195 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
19196 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
19197
19198 * net/tramp-sh.el (top): Don't require 'shell.
19199 (tramp-methods): Add `tramp-remote-shell' and
19200 `tramp-remote-shell-args' entries.
19201 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
19202 (tramp-sh-handle-shell-command): Remove.
19203 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
19204 Use `tramp-remote-shell'.
19205
19206 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
19207
19208 * mail/sendmail.el (sendmail-query-once-function): Delete.
19209 (sendmail-query-once): Save directly to send-mail-function.
19210 Update message-send-mail-function too.
19211
19212 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
19213
19214 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
19215
19216 * progmodes/python.el (python-mode-map): Use correct function to
19217 start python interpreter from menu-bar (as reported by Geert
19218 Kloosterman).
19219 (inferior-python-mode-map): Fix typo.
19220 (python-shell-map): Remove.
19221
19222 2011-09-03 Deniz Dogan <deniz@dogan.se>
19223
19224 * net/rcirc.el (rcirc-print): Simplify code for
19225 rcirc-scroll-show-maximum-output. There is no need to walk
19226 through all windows to find the right one.
19227
19228 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
19229
19230 * help.el (help-return-method): Doc fix.
19231
19232 2011-09-03 Martin Rudalics <rudalics@gmx.at>
19233
19234 * window.el (window-deletable-p): Don't return a non-nil value
19235 when there's a buffer that was shown in the window before.
19236 (Bug#9419)
19237 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
19238 Set window's previous buffers to nil.
19239
19240 2011-09-03 Eli Zaretskii <eliz@gnu.org>
19241
19242 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
19243 newline before and after the tag line, so it doesn't interfere
19244 with determining the paragraph direction of bidirectional text.
19245
19246 2011-09-03 Leo Liu <sdl.web@gmail.com>
19247
19248 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
19249
19250 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
19251
19252 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
19253 (pop-to-buffer): Change interactive spec. Pass second argument
19254 directly to display-buffer.
19255 (display-buffer): Fix interactive spec. Use functionp to
19256 distinguish between a function and a list of functions.
19257
19258 * abbrev.el (edit-abbrevs):
19259 * arc-mode.el (archive-extract):
19260 * autoinsert.el (auto-insert):
19261 * bookmark.el (bookmark-bmenu-list):
19262 * files.el (find-file):
19263 * view.el (view-buffer):
19264 * progmodes/compile.el (compilation-goto-locus):
19265 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
19266
19267 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
19268
19269 * window.el (display-buffer-alist): Doc fix.
19270 (display-buffer): Add docstring. Don't treat
19271 display-buffer-default specially.
19272 (display-buffer-reuse-selected-window)
19273 (display-buffer-same-window, display-buffer-maybe-same-window)
19274 (display-buffer-reuse-window, display-buffer-pop-up-frame)
19275 (display-buffer-pop-up-window)
19276 (display-buffer-reuse-or-pop-window)
19277 (display-buffer-use-some-window): New functions.
19278 (display-buffer-default-action): Use them.
19279 (display-buffer-default): Delete.
19280 (pop-to-buffer-1): Fix choice of actions.
19281
19282 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
19283
19284 * minibuffer.el (completion--insert-strings): Don't get confused by
19285 completion entries that end with an LF char.
19286
19287 2011-09-01 Eli Zaretskii <eliz@gnu.org>
19288
19289 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
19290
19291 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
19292
19293 * window.el (display-buffer): Restore interactive spec.
19294 (display-buffer-same-window, display-buffer-other-window):
19295 New functions.
19296 (pop-to-buffer-1): New function. Use the above.
19297 (pop-to-buffer, pop-to-buffer-same-window): Use it.
19298 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
19299
19300 * view.el (view-buffer-other-window, view-buffer-other-frame):
19301 Just use pop-to-buffer.
19302
19303 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19304
19305 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
19306
19307 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
19308
19309 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
19310
19311 2011-08-31 Richard Stallman <rms@gnu.org>
19312
19313 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
19314 of the separation of rmail-view-buffer from rmail-buffer.
19315 If you say no to "replace original", the decrypt is in the
19316 view buffer. If you say yes, the decrypt goes into the
19317 rmail buffer also.
19318
19319 2011-08-31 Martin Rudalics <rudalics@gmx.at>
19320
19321 * window.el (display-buffer-window): Rewrite doc-string.
19322 (display-buffer-record-window): New function.
19323 (display-buffer-macro-specifiers)
19324 (display-buffer-even-window-sizes, display-buffer-set-height)
19325 (display-buffer-set-width, display-buffer-in-window)
19326 (display-buffer-reuse-window, display-buffer-split-specifiers)
19327 (display-buffer-side-specifiers, display-buffer-split-window-1)
19328 (display-buffer-split-window, display-buffer-split-atom-window)
19329 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
19330 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
19331 (display-buffer-other-window-means-other-frame)
19332 (display-buffer-normalize-special)
19333 (display-buffer-normalize-default)
19334 (display-buffer-normalize-argument)
19335 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
19336 (display-buffer-normalize-specifiers, display-buffer-frame)
19337 (display-buffer-same-window, display-buffer-same-frame)
19338 (display-buffer-other-window)
19339 (display-buffer-same-frame-other-window)
19340 (display-buffer-other-frame, pop-to-buffer-same-window)
19341 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
19342 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
19343 (switch-to-buffer-same-frame)
19344 (switch-to-buffer-other-window-same-frame)
19345 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
19346 (display-buffer-alist-set-1, display-buffer-alist-set-2)
19347 (display-buffer-alist-set): Remove.
19348 (display-buffer-function, special-display-buffer-names)
19349 (special-display-regexps, special-display-function):
19350 In doc-string refer to display-buffer-window and quit-restore
19351 parameter.
19352 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
19353 (special-display-frame-alist, special-display-popup-frame)
19354 (same-window-buffer-names, same-window-regexps, same-window-p)
19355 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
19356 (split-window-preferred-function, split-height-threshold)
19357 (split-width-threshold, window-splittable-p)
19358 (split-window-sensibly, window--try-to-split-window)
19359 (window--frame-usable-p, even-window-heights)
19360 (window--even-window-heights, window--display-buffer-1)
19361 (window--display-buffer-2, display-buffer-other-frame):
19362 Restore old Emacs 23 code, order and doc-strings where applicable.
19363 (display-buffer-default, display-buffer-assq-regexp): New functions.
19364 (display-buffer-alist): Rewrite doc-string.
19365 (display-buffer-default-action)
19366 (display-buffer-overriding-action): New variables.
19367 (display-buffer, switch-to-buffer): Rewrite.
19368 (pop-to-buffer): Restore Emacs 23 behavior but use
19369 window-normalize-buffer-to-display.
19370 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
19371 Restore Emacs 23 behavior but use
19372 window-normalize-buffer-to-switch-to.
19373 (pop-to-buffer-same-window): Rewrite.
19374 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
19375 Rewrite using Emacs 23 options.
19376
19377 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
19378
19379 * net/tramp.el (tramp-root-regexp): Remove.
19380 (tramp-completion-file-name-regexp-unified)
19381 (tramp-completion-file-name-regexp-separate)
19382 (tramp-completion-file-name-regexp-url): Don't use leading volume
19383 letter on w32 systems. (Bug#5303, Bug#9311)
19384 (tramp-drop-volume-letter): Simplify definition.
19385 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
19386
19387 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
19388
19389 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
19390 (bug#9356).
19391
19392 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
19393
19394 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
19395
19396 2011-08-29 Juri Linkov <juri@jurta.org>
19397
19398 * isearch.el (isearch-done): Don't display message "Mark saved"
19399 when arg `edit' is non-nil to prevent its flicker in the echo area.
19400
19401 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
19402
19403 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
19404 obsolete packages for deletion.
19405
19406 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
19407
19408 * help-mode.el (help-mode-map): Add special-mode-map to parent.
19409 (help-mode): Derive help-mode from special-mode. Don't invoke
19410 view-mode from help-mode.
19411 (help-xref-override-view-map): Remove.
19412 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
19413 view-mode is not used anymore.
19414
19415 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
19416
19417 * server.el (server-port): Doc fix.
19418
19419 * cus-theme.el (custom-theme-choose-mode): Inherit from
19420 special-mode (Bug#9124).
19421 (custom-theme-choose-mode-map): Add special-mode to parent.
19422
19423 2011-08-28 Alan Mackenzie <acm@muc.de>
19424
19425 * progmodes/cc-fonts.el
19426 (c-make-font-lock-BO-decl-search-function): New function.
19427 (c-basic-matchers-after - "Fontify the clauses after various
19428 keywords"): Extract the three keyword lists for the 3 erroneous
19429 constructs from the list of four, and use the new function above
19430 in place of an old one.
19431
19432 2011-08-28 Deniz Dogan <deniz@dogan.se>
19433
19434 * net/rcirc.el (rcirc-insert-prev-input)
19435 (rcirc-insert-next-input): Remove unused argument.
19436
19437 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19438
19439 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
19440
19441 2011-08-27 Alan Mackenzie <acm@muc.de>
19442
19443 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
19444 handle function pointer parameters properly.
19445
19446 2011-08-27 Martin Rudalics <rudalics@gmx.at>
19447
19448 * window.el (display-buffer-reuse-window): Fix case where
19449 selected window was reused with non-nil OTHER-WINDOW argument.
19450 (Bug#9381)
19451
19452 2011-08-27 Deniz Dogan <deniz@dogan.se>
19453
19454 * net/rcirc.el (rcirc-check-auth-status): Adding support for
19455 oftc's NickServ messages.
19456
19457 2011-08-27 Glenn Morris <rgm@gnu.org>
19458
19459 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
19460
19461 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
19462
19463 * emacs-lisp/package.el (package-install): Call package-initialize
19464 if called interactively.
19465
19466 2011-08-26 Leo Liu <sdl.web@gmail.com>
19467
19468 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
19469
19470 2011-08-25 Juri Linkov <juri@jurta.org>
19471
19472 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
19473 `search-whitespace-regexp' (bug#9364).
19474
19475 2011-08-25 Juri Linkov <juri@jurta.org>
19476
19477 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
19478 `regexp-search-ring' to their global values to protect from
19479 updating by `read-from-minibuffer' (bug#9185).
19480
19481 2011-08-25 Juri Linkov <juri@jurta.org>
19482
19483 * textmodes/ispell.el (ispell-command-loop): Add newline
19484 at the end of the "Use option `i'..." line.
19485
19486 2011-08-25 Juri Linkov <juri@jurta.org>
19487
19488 * battery.el (display-battery-mode): If `battery-status-function'
19489 or `battery-mode-line-format' is nil, display the message and set
19490 `display-battery-mode' to nil (bug#9363).
19491
19492 2011-08-25 Eli Zaretskii <eliz@gnu.org>
19493
19494 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
19495 bidi-string-mark-left-to-right; they are unnecessary now.
19496
19497 2011-08-25 Deniz Dogan <deniz@dogan.se>
19498
19499 * net/quickurl.el: Documentation typo fixes.
19500
19501 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
19502
19503 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
19504
19505 2011-08-25 Glenn Morris <rgm@gnu.org>
19506
19507 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
19508
19509 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
19510 (smtpmail-via-smtp): Handle nil response from smtp.
19511
19512 2011-08-24 Juri Linkov <juri@jurta.org>
19513
19514 * proced.el (proced-marked): Inherit from `error' instead of
19515 `font-lock-warning-face'.
19516
19517 * ibuffer.el (ibuffer-marked-face): Change default face from
19518 `font-lock-warning-face' to `warning'.
19519 (ibuffer-deletion-face): Change default face from
19520 `font-lock-type-face' to `error'.
19521
19522 * battery.el (battery-update): Use the face `error' instead of
19523 `font-lock-warning-face' (bug#6117).
19524
19525 2011-08-24 Juri Linkov <juri@jurta.org>
19526
19527 * faces.el (success): Change face color from "Green3" to
19528 "ForestGreen" on light background (bug#9353).
19529
19530 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
19531
19532 * window.el (quit-window): Rename from quit-restore-window.
19533 Use same arglist as old quit-window.
19534 (frame-auto-delete): Doc fix.
19535
19536 * view.el (view-mode-exit): Use quit-window.
19537
19538 2011-08-24 Juri Linkov <juri@jurta.org>
19539
19540 * isearch.el (isearch-ring-adjust1): Start visiting previous
19541 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
19542 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
19543 for empty search string (when the last search string is reused
19544 automatically) to adjust the isearch ring to the last element and
19545 prepare the correct index for further M-p commands (bug#9185).
19546
19547 2011-08-24 Kenichi Handa <handa@m17n.org>
19548
19549 * international/ucs-normalize.el: If decomposition property of
19550 CHAR is the default one (i.e. a list of CHAR itself), treat it as
19551 nil.
19552 (nfd, nfkd): Likewise.
19553
19554 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
19555
19556 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
19557 from process filters aren't reliably transmitted to the surrounding
19558 accept-process-output.
19559 (mpc-proc-check): New function.
19560 (mpc-proc-sync): Use it (bug#8293)
19561
19562 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
19563
19564 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
19565 Add compatibility functions (bug#9313).
19566
19567 2011-08-23 Eli Zaretskii <eliz@gnu.org>
19568
19569 * cus-start.el (all): Add entry for bidi-paragraph-direction.
19570
19571 * international/uni-bidi.el: Regenerate.
19572
19573 2011-08-23 Kenichi Handa <handa@m17n.org>
19574
19575 * international/charprop.el:
19576 * international/uni-bidi.el:
19577 * international/uni-category.el:
19578 * international/uni-combining.el:
19579 * international/uni-comment.el:
19580 * international/uni-decimal.el:
19581 * international/uni-decomposition.el:
19582 * international/uni-digit.el:
19583 * international/uni-lowercase.el:
19584 * international/uni-mirrored.el:
19585 * international/uni-name.el:
19586 * international/uni-numeric.el:
19587 * international/uni-old-name.el:
19588 * international/uni-titlecase.el:
19589 * international/uni-uppercase.el: Regenerate.
19590
19591 2011-08-23 Martin Rudalics <rudalics@gmx.at>
19592
19593 * help.el (help-window-setup): Fix message displayed when other
19594 window is reused. (Bug#9341)
19595
19596 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
19597
19598 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
19599 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
19600
19601 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
19602 Mark obsolete.
19603 * shell.el (shell-parse-pcomplete-arguments): New function.
19604 (shell-completion-vars): Use it instead (bug#9160).
19605
19606 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
19607
19608 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
19609 strings and comments (bug#9333).
19610
19611 * emacs-lisp/debug.el (debug-arglist): New function.
19612 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
19613 (debug-on-entry-1): Handle interpreted closures (bug#9120).
19614
19615 2011-08-22 Juri Linkov <juri@jurta.org>
19616
19617 * progmodes/compile.el (compilation-mode-font-lock-keywords):
19618 Revert regexp that highlights output switches to its old
19619 pre-2010-10-28 value and remove one `?' from it (bug#9319).
19620
19621 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
19622 to check for empty output (bug#9226).
19623
19624 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
19625
19626 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
19627 symbol-constituent as the default, as that stops font-lock from
19628 working properly (Bug#8843).
19629
19630 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19631
19632 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
19633 `coding-system-for-*' around the process open call to avoid
19634 auth-source side effects.
19635 (smtpmail-try-auth-methods): Expand the secret password.
19636 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
19637 probe hangs.
19638
19639 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
19640
19641 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
19642
19643 * emacs-lisp/find-func.el (find-function-noselect): New arg
19644 lisp-only.
19645
19646 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
19647 signal an error for built-in functions (Bug#6664).
19648
19649 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19650
19651 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
19652 (smtpmail-try-auth-methods): Use it.
19653
19654 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
19655
19656 * font-lock.el (font-lock-fontify-region)
19657 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
19658 (font-lock-default-unfontify-buffer)
19659 (font-lock-default-fontify-region)
19660 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
19661
19662 * progmodes/compile.el (compilation-error-properties):
19663 Fix confusion between file struct and message struct (Bug#9319).
19664 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
19665 `ant' regexp.
19666
19667 * net/browse-url.el (browse-url-firefox): Don't call
19668 browse-url-firefox-sentinel unless using -remote (Bug#9328).
19669
19670 2011-08-20 Glenn Morris <rgm@gnu.org>
19671
19672 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
19673
19674 * tutorial.el (tutorial--default-keys): Update some default bindings.
19675
19676 * files.el (hack-local-variables): Fully ignore case for "mode:".
19677
19678 2011-08-20 Alan Mackenzie <acm@muc.de>
19679
19680 Resolve invalid use of a regexp in regexp-opt.
19681
19682 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
19683 detection for a java annotation.
19684
19685 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
19686 detection for a java annotation.
19687
19688 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
19689 handling for java.
19690 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
19691
19692 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
19693
19694 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
19695 (Bug#9274).
19696
19697 2011-08-20 Alan Mackenzie <acm@muc.de>
19698
19699 Fontify CPP expressions correctly when starting in the middle of
19700 such a construct. Mainly for when jit-lock etc. starts a chunk
19701 here.
19702
19703 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
19704 variable.
19705 (c-make-font-lock-search-form): New function, extracted from
19706 c-make-font-lock-search-function.
19707 (c-make-font-lock-search-function): Use the above function.
19708 (c-make-font-lock-context-search-function): New function.
19709 (c-cpp-matchers): Enhance the preprocessor expression case with
19710 the above function
19711 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
19712 which takes an expression.
19713
19714 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
19715
19716 2011-08-20 Martin Rudalics <rudalics@gmx.at>
19717
19718 * window.el (display-buffer-reuse-window)
19719 (display-buffer-pop-up-window): Don't reuse or split a side
19720 window.
19721
19722 2011-08-19 Glenn Morris <rgm@gnu.org>
19723
19724 * files.el (hack-local-variables-prop-line, hack-local-variables):
19725 Downcase "Mode:". (Bug#9331)
19726
19727 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
19728
19729 * international/characters.el: Add L and R categories.
19730
19731 * subr.el (bidi-string-mark-left-to-right): Rename from
19732 string-mark-left-to-right. Use category search.
19733
19734 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
19735
19736 2011-08-18 Juri Linkov <juri@jurta.org>
19737
19738 * faces.el (error, warning, success): New faces with definitions
19739 copied from old default values of `font-lock-warning-face',
19740 `compilation-warning', `compilation-info' (bug#6117).
19741
19742 * font-lock.el (font-lock-warning-face): Inherit from `error'.
19743
19744 * progmodes/compile.el (compilation-error): Inherit from `error'.
19745 (compilation-warning): Inherit from `warning'.
19746 (compilation-info): Inherit from `success'.
19747
19748 * dired.el (dired-marked): Inherit from `warning'.
19749 (dired-flagged): Inherit from `error'.
19750
19751 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19752
19753 * mail/smtpmail.el (auth-source): Require to avoid problems with
19754 binding variables (bug#9298). Also clean up some unused
19755 autoloads.
19756
19757 * net/network-stream.el (network-stream-open-starttls):
19758 Support using starttls.el without using gnutls-cli.
19759
19760 2011-08-17 Juri Linkov <juri@jurta.org>
19761
19762 * progmodes/grep.el (rgrep): Handle the case when
19763 `grep-find-command' is a cons cell (bug#9278).
19764
19765 2011-08-17 Martin Rudalics <rudalics@gmx.at>
19766
19767 * window.el (display-buffer-pop-up-frame): Run frame creation
19768 function with BUFFER current (as special-display-popup-frame
19769 does). Reported by Drew Adams.
19770
19771 2011-08-17 Daiki Ueno <ueno@unixuser.org>
19772
19773 * epa-mail.el: Simplify GnuPG group expansion using
19774 epg-expand-group.
19775 (epa-mail-group-alist, epa-mail-group-modtime)
19776 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
19777 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
19778 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
19779 Remove.
19780
19781 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
19782
19783 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
19784
19785 2011-08-16 Alan Mackenzie <acm@muc.de>
19786
19787 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
19788 Correct, to avoid the inside of macros.
19789
19790 2011-08-16 Richard Stallman <rms@gnu.org>
19791
19792 * epa-mail.el: Handle GnuPG group definitions.
19793 (epa-mail-group-alist, epa-mail-group-modtime)
19794 (epa-mail-gnupg-conf-file): New variables.
19795 (epa-mail-parse-groups, epa-mail-sync-groups)
19796 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
19797 (epa-mail-expand-recipients): New functions.
19798 (epa-mail-encrypt): Call epa-mail-expand-recipients.
19799
19800 * mail/rmail.el (rmail-epa-decrypt): New command.
19801
19802 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
19803 Don't bind buffer-read-only, just inhibit-read-only.
19804 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
19805 (epa-decrypt-armor-in-region): Make error message clearer.
19806
19807 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
19808
19809 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
19810 and "a2b" to "ab" for `prefix'.
19811
19812 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
19813
19814 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
19815 filter groups.
19816 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
19817 Fourquet (Bug#8804).
19818
19819 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
19820
19821 * startup.el (argi): Declare as global variable (bug#9275).
19822
19823 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
19824
19825 * subr.el (string-mark-left-to-right): Search the entire string
19826 for RTL script, not just the terminating character. Doc fix.
19827
19828 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
19829
19830 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
19831 New function.
19832 (js--regexp-literal, js-syntax-propertize-function): Remove.
19833 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
19834 (js-mode-map): Don't rebind electric keys.
19835 (js-insert-and-indent): Remove.
19836 (js-mode): Setup electric-layout and electric-indent instead.
19837
19838 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
19839
19840 2011-08-12 Daiki Ueno <ueno@unixuser.org>
19841
19842 * epa.el (epa-progress-callback-function): Fix the logic of
19843 displaying progress.
19844 * epa-file.el (epa-file-insert-file-contents): Make progress
19845 display more user-friendly.
19846 (epa-file-write-region): Ditto.
19847
19848 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
19849
19850 * subr.el (string-mark-left-to-right): New function.
19851
19852 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
19853 Use string-mark-left-to-right.
19854 (list-buffers-noselect): Caller changed.
19855
19856 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19857 Use string-mark-left-to-right.
19858 (tabulated-list-print): Recenter after moving point.
19859
19860 2011-08-10 Juri Linkov <juri@jurta.org>
19861
19862 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
19863 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
19864 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
19865
19866 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
19867
19868 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
19869 (Bug#7554).
19870
19871 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
19872
19873 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
19874 character. (Bug#6594)
19875
19876 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
19877
19878 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
19879 (image-dired--with-db-file): New macro.
19880 (image-dired-write-tags, image-dired-remove-tag)
19881 (image-dired-create-gallery-lists, image-dired-write-comments)
19882 (image-dired-get-comment, image-dired-mark-tagged-files)
19883 (image-dired-list-tags, image-dired-gallery-generate): Use it.
19884 (image-dired-gallery-generate): Use insert-file-contents.
19885
19886 * time.el (display-time-world-list, display-time-world-display):
19887 * time-stamp.el (time-stamp-string):
19888 * vc/add-log.el (add-change-log-entry): Use setenv instead of
19889 set-time-zone-rule (Bug#7337).
19890
19891 2011-08-08 Daiki Ueno <ueno@unixuser.org>
19892
19893 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
19894 (epg-error-to-string, epg-errors-to-string): New function.
19895 (epg-wait-for-completion): Reverse errors list.
19896 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
19897 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
19898 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
19899 (epg-sign-keys, epg-generate-key-from-file)
19900 (epg-generate-key-from-string): Format errors by using
19901 epg-errors-to-string (bug#9255).
19902 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
19903
19904 2011-08-07 Juri Linkov <juri@jurta.org>
19905
19906 * faces.el (list-faces-display): Remove extra angle bracket
19907 from `help-mode-map'.
19908
19909 * info.el (Info-history-toc-nodes): Doc fix.
19910
19911 * longlines.el (longlines-mode): Doc fix.
19912
19913 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
19914
19915 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
19916 of statements and in a few more cases (bug#9183).
19917
19918 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
19919 New functions.
19920 (cl-transform-lambda): Use them (bug#9239).
19921
19922 2011-08-05 Martin Rudalics <rudalics@gmx.at>
19923
19924 * window.el (display-buffer-same-window)
19925 (display-buffer-same-frame, display-buffer-other-window)
19926 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
19927 (pop-to-buffer-other-window)
19928 (pop-to-buffer-same-frame-other-window)
19929 (pop-to-buffer-other-frame): Make them defuns.
19930 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
19931
19932 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
19933
19934 * subr.el (make-composed-keymap): Move from C. Change calling
19935 convention, and improve docstring to bring attention to a subtle point.
19936 * minibuffer.el (completing-read-default): Adjust accordingly.
19937
19938 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
19939
19940 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
19941 (tramp-open-shell): Use `tramp-shell-quote-argument'.
19942
19943 * net/trampver.el: Update release number.
19944
19945 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
19946
19947 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
19948 "in" (bug#9190).
19949
19950 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19951
19952 * mail/sendmail.el (sendmail-query-once): Restore the current
19953 buffer after querying (bug#9074).
19954
19955 * dired.el (dired-flagged): Use different faces for marked and
19956 flagged files (bug#6117).
19957
19958 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
19959 (bug#4433).
19960
19961 * ido.el (ido-mode): Switch off the message if called
19962 non-interactively.
19963
19964 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
19965 before 587, since it appears that that's more likely to work for
19966 more people.
19967
19968 * cus-edit.el (custom-file): When running under emacs -q, always
19969 refuse to save the customizations, even if the .emacs file doesn't
19970 exist.
19971
19972 * info.el: Remove the `Info-beginning-of-buffer' function
19973 (bug#8325).
19974
19975 * net/network-stream.el (network-stream-open-starttls):
19976 Use `starttls-available-p' to see whether starttls.el can be used.
19977
19978 2011-08-01 Martin Rudalics <rudalics@gmx.at>
19979
19980 * window.el (display-buffer-in-window): Don't set dedicated status
19981 of window here (Bug#9215).
19982 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
19983 (display-buffer-pop-up-side-window)
19984 (display-buffer-in-side-window): Set dedicated status of window here.
19985
19986 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
19987
19988 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
19989 before binding generated-autoload-file.
19990
19991 2011-08-01 Deniz Dogan <deniz@dogan.se>
19992
19993 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
19994
19995 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
19996
19997 Sync with Tramp 2.2.2.
19998
19999 * net/trampver.el: Update release number.
20000
20001 2011-07-30 Juri Linkov <juri@jurta.org>
20002
20003 * dired-aux.el (dired-touch-initial): Remove function.
20004 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
20005 current time, and `default' to the last modification time of the
20006 current marked file (bug#6887).
20007
20008 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
20009
20010 * simple.el (goto-line): Use string-to-number to provide a
20011 numeric argument to read-number (bug#9163).
20012
20013 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
20014
20015 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
20016 connection process, it could be nil.
20017
20018 2011-07-27 Leo Liu <sdl.web@gmail.com>
20019
20020 Simplify url handling in rcirc-mode.
20021
20022 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
20023 (rcirc-browse-url-at-mouse): Remove.
20024 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
20025
20026 2011-07-26 Alan Mackenzie <acm@muc.de>
20027
20028 Fontify bitfield declarations properly.
20029
20030 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
20031 (c-symbol-chars): Now exported as a lang variable.
20032 (c-not-primitive-type-keywords): New lang variable.
20033
20034 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
20035 QT keyword "more" to prevent "more slots: ...." being spuriously
20036 parsed as a bitfield declaration.
20037
20038 * progmodes/cc-engine.el (c-beginning-of-statement-1):
20039 Refactor and enhance to handle bitfield declarations.
20040 (c-punctuation-in): New function.
20041 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
20042 declarations properly.
20043
20044 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
20045
20046 * calendar/icalendar.el (icalendar--all-events): Take care of
20047 multiple vcalendars in a single file.
20048 (icalendar--convert-float-to-ical): Checkdoc fixes.
20049
20050 2011-07-25 Deniz Dogan <deniz@dogan.se>
20051
20052 * image.el (insert-image): Clarifying docstring.
20053
20054 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
20055
20056 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
20057 `tramp-send-command-and-check' if there is no error.
20058 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
20059
20060 2011-07-22 Alan Mackenzie <acm@muc.de>
20061
20062 Prevent cc-langs.elc being loaded at run time.
20063
20064 * progmodes/cc-mode.el: Remove two autoload forms which loaded
20065 cc-langs.
20066
20067 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
20068 "(require 'cc-langs)". Quote a form so it will evaluate at
20069 (cc-mode's) compilation time.
20070
20071 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
20072
20073 * net/tramp.el (tramp-file-name-handler): Avoid recursive
20074 loading. (Bug#9114)
20075
20076 2011-07-21 Martin Rudalics <rudalics@gmx.at>
20077
20078 * window.el (display-buffer-pop-up-window)
20079 (display-buffer-pop-up-side-window)
20080 (display-buffer-in-side-window): Call display-buffer-set-height
20081 and display-buffer-set-width after setting the new window's
20082 buffer so `fit-window-to-buffer' and friends work on the right buffer.
20083
20084 2011-07-20 Sam Steingold <sds@gnu.org>
20085
20086 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
20087 (etags-tags-included-tables): Call `convert-standard-filename' on
20088 the file names contained in TAGS so that windows Emacs can handle
20089 TAGS files created by cygwin ctags.
20090
20091 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
20092
20093 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
20094 which apparently didn't work.
20095
20096 2011-07-19 Roland Winkler <winkler@gnu.org>
20097
20098 * proced.el (proced-send-signal): For *Marked Processes* buffer
20099 put point at beginning of buffer.
20100
20101 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
20102
20103 * proced.el (proced-format): Make header lines align with the text
20104 (bug#1779).
20105
20106 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
20107
20108 * view.el (view-buffer): Allow running in `special' modes if we're
20109 visiting a file (bug#8615).
20110
20111 2011-07-19 Martin Rudalics <rudalics@gmx.at>
20112
20113 * window.el (display-buffer-alist-of-strings-p)
20114 (display-buffer-alist-set-1, display-buffer-alist-set-2):
20115 New functions.
20116 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
20117 more accurately.
20118
20119 2011-07-18 Alan Mackenzie <acm@muc.de>
20120
20121 Fontify declarators properly when, e.g., a jit-lock chunk begins
20122 inside a declaration.
20123
20124 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
20125
20126 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
20127 New function.
20128 (c-complex-decl-matchers): Insert reference to
20129 c-font-lock-enclosing-decls.
20130
20131 * progmodes/cc-engine.el (c-backward-single-comment):
20132 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
20133 to nil around calls to (forward-comment -1).
20134
20135 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20136
20137 * image.el (put-image): Doc typo fix.
20138
20139 * progmodes/etags.el (tags-search): Doc typo fix.
20140
20141 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
20142 password if we get errors 550 to 554.
20143
20144 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
20145
20146 * net/gnutls.el (gnutls-log-level): Remove.
20147
20148 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
20149 indentation character (bug#6380).
20150
20151 * files.el (buffer-offer-save): Made permanently local (bug#6241).
20152
20153 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
20154 to clarify what the problem is (bug#4291).
20155
20156 * simple.el (current-kill): Clarify what
20157 `interprogram-paste-function' does (bug#7500).
20158 (auto-fill-mode): Document `auto-fill-function' in relation to
20159 `auto-fill-mode' (bug#2470).
20160
20161 2011-07-16 Lawrence Mitchell <wence@gmx.li>
20162
20163 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
20164 method if slot is read-only (bug#9035).
20165
20166 2011-07-16 Martin Rudalics <rudalics@gmx.at>
20167
20168 * frame.el (select-frame-set-input-focus): New argument NORECORD.
20169 * window.el (pop-to-buffer): Select window used even if it was
20170 selected before, see discussion of (Bug#8615), (Bug#6954).
20171 Pass argument NORECORD on to select-frame-set-input-focus.
20172
20173 2011-07-15 Glenn Morris <rgm@gnu.org>
20174
20175 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
20176 Respect help-form.
20177
20178 2011-07-09 Lawrence Mitchell <wence@gmx.li>
20179
20180 * net/gnutls.el (gnutls-min-prime-bits): New variable.
20181 (gnutls-negotiate): Use it.
20182
20183 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20184
20185 * net/gnutls.el (gnutls-negotiate):
20186 Upcase `gnutls-algorithm-priority'.
20187
20188 2011-07-15 Glenn Morris <rgm@gnu.org>
20189
20190 * jka-compr.el (jka-compr-verbose): Move from here...
20191 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
20192 Add missing :version tag.
20193 * info.el: No need to require jka-compr when compiling.
20194
20195 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20196
20197 * net/gnutls.el (gnutls-algorithm-priority): New variable.
20198 (gnutls-negotiate): Use it.
20199
20200 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
20201
20202 * info.el (Info-beginning-of-buffer): New command.
20203 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
20204 announcing `b' as the key (bug#8325).
20205 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
20206
20207 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
20208
20209 * international/mule-cmds.el
20210 (describe-specified-language-support): Make the error message
20211 clearer (bug#8905).
20212
20213 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
20214
20215 * isearch.el (isearch-barrier): Add a doc string, since it's
20216 mentioned in a function doc string (bug#8678).
20217
20218 2011-07-15 Martin Rudalics <rudalics@gmx.at>
20219
20220 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
20221 buffer argument (Bug#9083) and self-identifying label argument.
20222
20223 2011-07-15 Glenn Morris <rgm@gnu.org>
20224
20225 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
20226
20227 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20228
20229 * man.el (Man-fontify-manpage): Fix message when formatting the
20230 man page (bug#7929).
20231
20232 2011-07-14 Eli Zaretskii <eliz@gnu.org>
20233
20234 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
20235 argument LRM; if non-nil, append an invisible LRM character to the
20236 buffer name.
20237 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
20238 last argument non-nil, when formatting buffer names.
20239 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
20240 paragraph direction.
20241
20242 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20243
20244 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
20245 the man page name (bug#7929).
20246
20247 * image.el (put-image): Mention the `put-image' overlay property
20248 (bug#7834).
20249
20250 * scroll-bar.el (set-scroll-bar-mode): Mention that
20251 `scroll-bar-mode' lists the values (bug#7772).
20252
20253 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
20254 command (bug#7729).
20255
20256 * rect.el (apply-on-rectangle): Return the point after the last
20257 operation.
20258 (string-rectangle): Go to the point after the last operation
20259 (bug#7522).
20260
20261 * printing.el (pr-toggle-region): Clarify the documentation
20262 slightly (bug#7493).
20263
20264 * time.el (display-time-update):
20265 Allow `display-time-mail-function' to return nil (bug#7158).
20266 Fix suggested by Detlev Zundel.
20267
20268 * vc/diff.el (diff): Clarify the order the file names are read
20269 (bug#7111).
20270
20271 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
20272 the doc string (bug#7015).
20273
20274 * font-lock.el (font-lock-maximum-decoration): Mention what
20275 numeric levels mean (bug#6935).
20276
20277 * startup.el (initial-buffer-choice): Don't mention the `none'
20278 selection, which is against policy.
20279
20280 2011-07-14 Martin Rudalics <rudalics@gmx.at>
20281
20282 * window.el (display-buffer-normalize-special):
20283 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
20284
20285 2011-07-14 Eli Zaretskii <eliz@gnu.org>
20286
20287 * subr.el (version<, version<=, version=): Mention "-CVS" and
20288 "-12345" alpha version numbers.
20289
20290 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
20291
20292 * bindings.el: Add advertised binding for set-mark-command
20293 (Bug#5772).
20294
20295 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
20296
20297 * bindings.el (mode-line-other-buffer):
20298 * bookmark.el (bookmark-bmenu-2-window):
20299 * bs.el (bs-cycle-next, bs-cycle-previous):
20300 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
20301 switch-to-buffer.
20302
20303 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
20304 Delete.
20305
20306 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
20307
20308 * follow.el (follow-debug-message, follow-redisplay):
20309 * jka-cmpr-hook.el (with-auto-compression-mode):
20310 Fix typos in docstrings.
20311
20312 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20313
20314 * subr.el (with-silent-modifications): Clarify somewhat what the
20315 macro inhibits (bug#6525).
20316
20317 * simple.el (eval-expression): Note what it does if called
20318 interactively (bug#6495).
20319
20320 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
20321
20322 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
20323 Use pop-to-buffer buffer-or-name if it is nil.
20324
20325 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20326 Remove switch-to-buffer.
20327
20328 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20329
20330 * files.el (make-directory): Clarify that an error will be raised
20331 if there's an error (bug#6397).
20332
20333 * startup.el (initial-buffer-choice): Add `none' as a choice
20334 (bug#6234).
20335
20336 * subr.el (add-hook): Clarify section about buffer-local hooks
20337 (bug#6218).
20338
20339 * dired.el (dired-flagged): Clarify doc string (bug#6117).
20340
20341 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
20342
20343 * tabify.el (untabify): Preserve the current column so that point
20344 doesn't move (bug#6032).
20345
20346 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20347
20348 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
20349 Rewrite to avoid awkward possessive "s" (bug#5986).
20350
20351 2011-07-13 Glenn Morris <rgm@gnu.org>
20352
20353 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
20354 (dired-insert-directory): Give a message the first time
20355 if ls is found not to support --dired.
20356
20357 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20358
20359 * simple.el (toggle-truncate-lines): Clarify what is toggled
20360 (bug#5580). Text by Drew Adams.
20361
20362 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
20363
20364 * simple.el (blink-matching-open): Make the error message from the
20365 last change less verbose.
20366
20367 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
20368
20369 * font-lock.el (font-lock-comment-face): Use the high contrast
20370 "yellow" color for font-lock-comment-face on low color terminals
20371 using a dark background color (bug#4221).
20372
20373 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20374
20375 * dired.el (dired-insert-set-properties): Make the doc string
20376 reflect what it does now (bug#5325).
20377
20378 * simple.el (blink-matching-open): Say that we were unable to find
20379 the match within the limit, if we're limited (bug#5122).
20380
20381 * international/mule-cmds.el (prefer-coding-system): Add an
20382 example (bug#4869).
20383
20384 * progmodes/etags.el (tags-search): Document `file-list-form'
20385 (bug#4731).
20386
20387 2011-07-13 Lawrence Mitchell <wence@gmx.li>
20388
20389 * net/browse-url.el (browse-url-default-browser)
20390 (browse-url-browser-function): Make the default browser choice a
20391 bit more logical (bug#4300). Also clean up the doc string.
20392
20393 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
20394
20395 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
20396 binary endings (bug#4440).
20397
20398 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20399
20400 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
20401 which can be pretty annoying (bug#8971).
20402
20403 * jka-compr.el (jka-compr-verbose): New variable, and use
20404 throughout (bug#8971).
20405
20406 * info.el (Info-find-file): Fall back on the installation
20407 directory if we can't find the info node anywhere else.
20408
20409 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
20410
20411 * vc/vc.el (vc-revert-file):
20412 Don't set file time-stamp in the past. (Bug#5181)
20413
20414 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20415
20416 * files.el (after-find-file): Give a better error message when
20417 trying to find a symlink that points to a file that doesn't exist
20418 (bug#4398).
20419
20420 * progmodes/cc-vars.el: Remove (probably) misleading comment
20421 (bug#4396).
20422
20423 2011-07-12 Johan Bockgård <bojohan@gnu.org>
20424
20425 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
20426
20427 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
20428
20429 * mouse-sel.el: Hack restoring functionality, while keeping
20430 compatibility with 2010-07-03 changes to mouse selection.
20431 (mouse-sel-primary-overlay): New var.
20432 (mouse-sel-selection-alist): Use it.
20433 (mouse-sel-mode): Doc fix; remove points that are default features
20434 of mouse.el.
20435
20436 2011-07-12 Johan Bockgård <bojohan@gnu.org>
20437
20438 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20439 Fix previous fix (bug#2490).
20440
20441 2011-07-12 Roland Winkler <winkler@gnu.org>
20442
20443 * textmodes/bibtex.el (bibtex-initialize):
20444 Use pop-to-buffer-same-window.
20445 (bibtex-search-entries): Fix interactive call.
20446
20447 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20448
20449 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20450 Fontise bytecomp Error lines more correctly (bug#2490).
20451 Fix suggested by Johan Bockgård.
20452
20453 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
20454
20455 * dired-x.el (dired-guess-default): Use `delete-dups'.
20456
20457 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
20458
20459 * dired.el (dired-mark-prompt):
20460 * dired-aux.el (dired-read-shell-command): Doc fix.
20461
20462 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20463
20464 * mail/sendmail.el (sendmail-query-once):
20465 Use `customize-save-variable' unconditionally, now that it works under
20466 emacs -Q.
20467
20468 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
20469
20470 * cus-edit.el (custom-file): Take an optional no-error variable.
20471 (customize-save-variable): Set the variable, and give a warning if
20472 running under "emacs -q".
20473
20474 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
20475
20476 * loadhist.el (unload-feature-special-hooks):
20477 Add `auto-coding-functions', `fill-nobreak-predicate' and
20478 `find-directory-functions' (bug#5327).
20479
20480 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20481
20482 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
20483
20484 * cus-edit.el (custom-guess-name-alist): -alist variables should
20485 use the `alist' type (bug#3120). Suggested by Drew Adams.
20486
20487 * printing.el: Add documentation to all the `pr-toggle-' commands.
20488
20489 2011-07-11 Leo Liu <sdl.web@gmail.com>
20490
20491 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
20492 backends where it makes sense (bug#2623).
20493
20494 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20495
20496 * dired-x.el (dired-guess-default): Remove duplicate shell command
20497 entries (bug#2028).
20498 (dired-guess-default): Fix grammar in doc string (bug#2028).
20499 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
20500
20501 * subr.el (remove-duplicates): New conveniency function.
20502
20503 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
20504
20505 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
20506 (bug#1526).
20507
20508 2011-07-10 Martin Rudalics <rudalics@gmx.at>
20509
20510 * window.el (display-buffer-normalize-default): Don't invert
20511 meaning of even-window-heights. Reported by Eli Zaretskii
20512 <eliz@gnu.org>.
20513
20514 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
20515
20516 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
20517
20518 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
20519
20520 * window.el (display-buffer): Fix arguments to
20521 display-buffer-reuse-window in last change.
20522
20523 * faces.el (link): Use a less saturated blue on light backgrounds.
20524
20525 * startup.el (fancy-startup-text, fancy-about-text)
20526 (fancy-startup-tail): Use font-lock faces, for background safety.
20527
20528 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
20529
20530 * emulation/viper-cmd.el (viper-change-state-to-vi):
20531 Limit triggering of abbrev expansion (Bug#9038).
20532
20533 2011-07-09 Martin Rudalics <rudalics@gmx.at>
20534
20535 * window.el (display-buffer-default-specifiers): Remove.
20536 (display-buffer-macro-specifiers): Remove default specifiers.
20537 (display-buffer-alist): Default to nil.
20538 (display-buffer-reuse-window): New optional argument other-window.
20539 (display-buffer-pop-up-window): Allow splitting internal
20540 windows. Check whether a live window was created.
20541 (display-buffer-other-window-means-other-frame)
20542 (display-buffer-normalize-arguments): Rename to
20543 display-buffer-normalize-argument and rewrite. Set the
20544 other-window specifier.
20545 (display-buffer-normalize-special): New function.
20546 (display-buffer-normalize-options): Rename to
20547 display-buffer-normalize-default and rewrite.
20548 (display-buffer-normalize-options-inhibit): Remove.
20549 (display-buffer-normalize-specifiers): Rewrite.
20550 (display-buffer): Process other-window specifier and call
20551 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
20552 more faithfully.
20553 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
20554 (display-buffer-alist-set): Don't handle 'unset default values.
20555 (display-buffer-in-window, display-buffer-alist-set):
20556 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
20557 <tassilo@member.fsf.org>.
20558
20559 2011-07-09 Leo Liu <sdl.web@gmail.com>
20560
20561 * register.el (insert-register): Restore accidental change on
20562 2011-06-26. (Bug#9028)
20563
20564 2011-07-09 Glenn Morris <rgm@gnu.org>
20565
20566 * subr.el (remq): Handle the empty list. (Bug#9024)
20567
20568 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
20569
20570 * mail/sendmail.el (send-mail-function): No longer delay custom
20571 initialization.
20572 * custom.el (custom-initialize-delay): Doc fix.
20573
20574 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
20575
20576 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
20577
20578 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
20579
20580 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
20581 human-friendly prompt.
20582
20583 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
20584
20585 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
20586 provided by a particular plugin.
20587
20588 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
20589
20590 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
20591 save customizations (with "emacs -Q"), just set the variable
20592 instead of erroring out.
20593
20594 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
20595
20596 2011-07-08 Juri Linkov <juri@jurta.org>
20597
20598 * arc-mode.el (archive-zip-expunge, archive-zip-update)
20599 (archive-zip-update-case): Use 7z if found by `executable-find'.
20600 The order of searching the available programs is the same as in
20601 `archive-zip-extract' (bug#8968).
20602
20603 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20604
20605 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
20606 (menu-bar-options-menu): Tweak descriptions.
20607
20608 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
20609
20610 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
20611 menu items into verb phrases (bug#1421). Also refill to fit under
20612 80 columns.
20613
20614 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20615
20616 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
20617 (Info-read-node-name): Doc fix (Bug#1084).
20618
20619 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
20620 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
20621 (end-of-sexp, beginning-of-sexp)
20622 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
20623 (forward-symbol, forward-same-syntax, word-at-point)
20624 (sentence-at-point): Doc fix (Bug#1144).
20625
20626 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
20627
20628 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
20629 should cover it (bug#1281).
20630
20631 * cus-edit.el (custom-show): Mark as obsolete.
20632
20633 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
20634 negotiation fails, then possibly try again with a non-encrypted
20635 connection (bug#9017).
20636
20637 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
20638 be used.
20639
20640 2011-07-07 Richard Stallman <rms@gnu.org>
20641
20642 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
20643 property, and handle its changed format.
20644 Look for the correct line number.
20645 Use file's line contents (but not past first =) to find
20646 correct line in message.
20647
20648 2011-07-07 Kenichi Handa <handa@m17n.org>
20649
20650 * international/characters.el (build-unicode-category-table):
20651 Delete it.
20652 (unicode-category-table): Set it by unicode-property-table-internal.
20653
20654 * international/mule-cmds.el (char-code-property-alist): Move to
20655 to src/chartab.c.
20656 (get-char-code-property): Call unicode-property-table-internal to
20657 load a file. Call get-unicode-property-internal where necessary.
20658 (put-char-code-property): Call unicode-property-table-internal to
20659 load a file. Call put-unicode-property-internal where necessary.
20660 put-unicode-property-internal where necessary.
20661 (char-code-property-description):
20662 Call unicode-property-table-internal to load a file.
20663
20664 * international/charprop.el:
20665 * international/uni-bidi.el:
20666 * international/uni-category.el:
20667 * international/uni-combining.el:
20668 * international/uni-comment.el:
20669 * international/uni-decimal.el:
20670 * international/uni-decomposition.el:
20671 * international/uni-digit.el:
20672 * international/uni-lowercase.el:
20673 * international/uni-mirrored.el:
20674 * international/uni-name.el:
20675 * international/uni-numeric.el:
20676 * international/uni-old-name.el:
20677 * international/uni-titlecase.el:
20678 * international/uni-uppercase.el: Regenerate.
20679
20680 * loadup.el: Load international/charprop.el before
20681 international/characters.
20682
20683 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20684
20685 * window.el (next-buffer, previous-buffer): Signal an error if
20686 called from a minibuffer window.
20687
20688 * bindings.el: Revert 2011-07-04 change.
20689
20690 2011-07-06 Richard Stallman <rms@gnu.org>
20691
20692 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
20693 (rmail-mime-insert-bulk, rmail-mime-insert-text):
20694 Treat markers like ints.
20695 (rmail-mime-entity): Doc fix.
20696
20697 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20698
20699 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
20700 defcustom again for backwards compatibility.
20701
20702 * simple.el (shell-command-on-region): Fill.
20703
20704 * dired-aux.el (dired-kill-line): Add a doc string.
20705
20706 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
20707 to "\\sw\\|\\s_" (bug#358).
20708
20709 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
20710 (dired-unmark-backward): Ditto.
20711 (dired-flag-backup-files): Ditto.
20712
20713 * dired-x.el (dired-mark-sexp): Ditto.
20714
20715 2011-07-06 Richard Stallman <rms@gnu.org>
20716
20717 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
20718 (rmail-mime-entity): New arg TRUNCATED.
20719 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
20720 New functions.
20721 (rmail-mime-save): Warn if entity is truncated.
20722 (rmail-mime-toggle-hidden): Likewise, for showing.
20723 (rmail-mime-process-multipart): Record when an entity is truncated.
20724
20725 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
20726 if ENTITY is a string.
20727
20728 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20729
20730 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
20731 of faces when `M-C-x'-ing their definitions (bug#8378).
20732 Also clean up the code slightly.
20733
20734 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
20735 because that makes the colors go away.
20736
20737 * mail/sendmail.el (send-mail-function): Change the default to
20738 `sendmail-query-once'.
20739 (sendmail-query-once): Add an autoload cookie.
20740
20741 * net/network-stream.el (network-stream-open-starttls): Try using
20742 a plain connection even if the server offered STARTTLS, and we
20743 kinda wanted to use it, if Emacs doesn't have any STARTTLS
20744 capability. This should make smtpmail.el work in slightly more
20745 configurations.
20746
20747 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
20748
20749 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
20750 New defun.
20751 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
20752
20753 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
20754
20755 * progmodes/sql.el: Version 3.0
20756 (sql-product-alist): Add product :completion-object,
20757 :completion-column, and :statement attributes.
20758 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
20759 (sql-mode-syntax-table): Mark all punctuation.
20760 (sql-font-lock-keywords-builder): Temporarily remove fallback on
20761 ansi keywords.
20762 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
20763 (sql-mode-oracle-font-lock-keywords): Improve.
20764 (sql-oracle-show-reserved-words): New function for development.
20765 (sql-product-font-lock): Simplify for source code buffers.
20766 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
20767 New functions.
20768 (sql-highlight-product): Set product specific syntax table.
20769 (sql-mode-map): Add statement movement functions.
20770 (sql-ansi-statement-starters, sql-oracle-statement-starters):
20771 New variable.
20772 (sql-statement-regexp, sql-beginning-of-statement)
20773 (sql-end-of-statement, sql-signum): New functions.
20774 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
20775 (sql-show-sqli-buffer): Bug fix.
20776 (sql-interactive-mode): Store connection data as buffer local.
20777 (sql-connect): Add NEW-NAME parameter. Redesign interaction
20778 with sql-interactive-mode.
20779 (sql-save-connection): Save buffer local settings.
20780 (sql-connection-menu-filter): Change menu entry name.
20781 (sql-product-interactive): Bug fix.
20782 (sql-preoutput-hold): New variable.
20783 (sql-interactive-remove-continuation-prompt): Bug fixes.
20784 (sql-debug-redirect): New variable.
20785 (sql-str-literal): New function.
20786 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
20787 Redesign.
20788 (sql-oracle-save-settings, sql-oracle-restore-settings)
20789 (sql-oracle-list-all, sql-oracle-list-table): New functions.
20790 (sql-completion-object, sql-completion-column)
20791 (sql-completion-sqlbuf): New variables.
20792 (sql-build-completions-1, sql-build-completions)
20793 (sql-try-completion): New functions.
20794 (sql-read-table-name): Use them.
20795 (sql-contains-names): New buffer local variable.
20796 (sql-list-all, sql-list-table): Use it.
20797 (sql-oracle-completion-types): New variable.
20798 (sql-oracle-completion-object, sql-sqlite-completion-object)
20799 (sql-postgres-completion-object): New functions.
20800
20801 2011-07-06 Glenn Morris <rgm@gnu.org>
20802
20803 * window.el (pop-to-buffer): Doc fix.
20804
20805 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
20806
20807 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
20808
20809 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
20810
20811 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
20812
20813 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
20814
20815 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
20816
20817 * button.el (button): Inherit from link face. Suggested by Dan
20818 Nicolaescu.
20819
20820 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20821
20822 * progmodes/gdb-mi.el: Fit in 80 columns.
20823 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
20824 switch-to-buffer.
20825
20826 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
20827 if imenu is simply not configured (bug#8941).
20828
20829 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
20830
20831 * allout.el (allout-post-undo-hook): New allout outline-change
20832 event hook to signal undo activity.
20833 (allout-post-command-business): Run allout-post-undo-hook if an
20834 undo just occurred.
20835 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
20836 * allout-widgets.el (allout-widgets-after-undo-function):
20837 Ensure the integrity of the current item's decoration after it has been
20838 in the vicinity of an undo.
20839 (allout-widgets-mode): Include allout-widgets-after-undo-function
20840 on the new allout-post-undo-hook.
20841
20842 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20843
20844 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
20845 Let define-derived-mode define it.
20846 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
20847 cycles of abbrev-table inheritance (bug#8998).
20848
20849 2011-07-05 Roland Winkler <winkler@gnu.org>
20850
20851 * textmodes/bibtex.el: Add support for biblatex.
20852 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
20853 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
20854 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
20855 (bibtex-entry-alist, bibtex-field-alist): New variables.
20856 (bibtex-entry-field-alist): Obsolete alias for
20857 bibtex-BibTeX-entry-alist.
20858 (bibtex-entry-alist, bibtex-field-alist): New widgets.
20859 (bibtex-set-dialect): New command.
20860 (bibtex-entry-type, bibtex-entry-head)
20861 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
20862 Bind via bibtex-set-dialect.
20863 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
20864 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
20865 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
20866 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
20867 Define via bibtex-set-dialect.
20868 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
20869 Obey bibtex-no-opt-remove-re.
20870 (bibtex-vec-push, bibtex-vec-incr): New functions.
20871 (bibtex-format-entry, bibtex-field-list)
20872 (bibtex-print-help-message, bibtex-validate)
20873 (bibtex-search-entries): Use new format of bibtex-entry-alist.
20874
20875 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20876
20877 * progmodes/compile.el (compilation-goto-locus):
20878 * net/tramp-cmds.el (tramp-append-tramp-buffers):
20879 * bs.el (bs-cycle-next, bs-cycle-previous):
20880 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
20881 * bindings.el (mode-line-other-buffer):
20882 * autoinsert.el (auto-insert):
20883 * arc-mode.el (archive-extract):
20884 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
20885
20886 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20887
20888 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
20889 Fix check of `emacs-lock-unlockable-modes'.
20890 Coerce true values of `emacs-lock--try-unlocking' to t.
20891
20892 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20893
20894 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
20895 * emacs-lock.el: New file.
20896
20897 2011-07-05 Julien Danjou <julien@danjou.info>
20898
20899 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
20900 than `boundp' to check if face is set.
20901
20902 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20903
20904 * register.el (registerv-make):
20905 * window.el (window-min-height): Fix typos in docstrings.
20906
20907 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
20908
20909 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
20910 Update doc string.
20911
20912 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
20913
20914 * server.el (server-execute): Catch quit and call
20915 `server-return-error' to pass the error back to emacsclient and
20916 close the connection (bug#8942).
20917
20918 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
20919
20920 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
20921 insecure exception for current topic. Also note that auto-saves
20922 are handled differently.
20923
20924 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
20925 State variables for tracking auto-save inhibition situation.
20926
20927 (allout-write-contents-hook-handler): Rename from
20928 'allout-write-file-hook-handler', and describe how it depends on
20929 write-contents-functions sensitivity to non-nil value to prevent
20930 file write.
20931
20932 (allout-auto-save-hook-handler): Remove. auto-save does not check
20933 this in individual buffers, only in the starting buffer, so this
20934 is not the right way for us to inhibit auto-save in a buffer
20935 according to its condition.
20936
20937 (allout-mode): Use new allout-write-contents-hook-handler, and
20938 only with write-contents-functions. Remove auto-save provisions -
20939 they're implemented elsewhere.
20940
20941 (allout-before-change-handler): If undo is in progress, note that
20942 for attention of allout-post-command-business.
20943
20944 (allout-post-command-business): If the command we're following was
20945 an undo, check for change in the status of encrypted items and
20946 adjust auto-save inhibitions accordingly.
20947
20948 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
20949 according to whether there are or aren't any plain-text topics
20950 pending encryption.
20951
20952 (allout-inhibit-auto-save-info-for-decryption):
20953 Adjust buffer-saved-size and some allout state to inhibit auto-saves
20954 if there are plain-text topics pending encryption.
20955
20956 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
20957 buffer-saved-size and some allout state to not inhibit auto-saves
20958 if there are no longer any plain-text topics pending encryption.
20959
20960 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
20961 No longer provide for exemption of the current topic.
20962
20963 2011-07-04 Juri Linkov <juri@jurta.org>
20964
20965 Add 7z operations to delete and save changed members (bug#8968).
20966 * arc-mode.el (archive-7z-expunge, archive-7z-update):
20967 New defcustoms.
20968 (archive-7z-write-file-member): New function.
20969 (archive-7z-summarize): Fix the number of dashes in the
20970 listing output.
20971
20972 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
20973
20974 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
20975 (bug#8958).
20976
20977 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
20978
20979 * bindings.el: Ignore next-buffer and previous-buffer in
20980 minibuffer-local-map.
20981
20982 * font-lock.el (font-lock-builtin-face): Change light background
20983 color to dark slate blue (Bug#6693).
20984
20985 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
20986
20987 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
20988
20989 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
20990
20991 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
20992 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20993 Add switch-to-buffer.
20994
20995 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
20996
20997 * isearch.el (isearch-search-fun-function): Clarify further the
20998 meaning of the function returned.
20999
21000 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
21001
21002 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
21003
21004 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
21005 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
21006 Use it.
21007 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
21008 `tramp-default-remote-path' does not exist.
21009 (tramp-send-command-and-read): New optional argument NOERROR.
21010 (tramp-open-connection-setup-interactive-shell)
21011 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
21012 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
21013 (tramp-process-sentinel): Flush also process' connection property.
21014 (tramp-sh-handle-start-file-process): Do not set process
21015 sentinel. It is done now ...
21016 (tramp-maybe-open-connection): ... here. (Bug#8929)
21017
21018 2011-07-04 MON KEY <monkey@sandpframing.com>
21019
21020 * play/animate.el (animate-string): Doc fixes and allow changing
21021 the buffer name (bug#5417).
21022
21023 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
21024
21025 * play/animate.el (animation-buffer-name): Rename from *animate*.
21026
21027 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
21028
21029 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
21030 This is simpler and helps future-proof the code.
21031 (timer-until): Use time-subtract and float-time.
21032 (timer--time-less-p): Use time-less-p.
21033
21034 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
21035
21036 * type-break.el (timep): Use the value of `float-time' to avoid a
21037 byte-compiler warning.
21038
21039 * server.el (server-eval-and-print): Return any result, even nil.
21040
21041 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
21042
21043 * type-break.el: Accept time formats that the builtins accept.
21044 (timep, type-break-time-difference): Accept any format that
21045 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
21046 This is simpler and helps future-proof the code.
21047 (type-break-time-difference): Round rather than ignoring
21048 subseconds components.
21049
21050 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21051
21052 * info.el (Info-apropos-matches): Make non-interactive, since it
21053 doesn't seem to do anything useful as a command (bug#8829).
21054
21055 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
21056
21057 * frame.el (frame-background-mode, frame-set-background-mode):
21058 Move from faces.el.
21059 (frame-default-terminal-background): New function.
21060
21061 * custom.el (custom-push-theme): Don't record faces in `changed'
21062 theme; this doesn't work correctly for per-frame face settings.
21063 (disable-theme): Use face-set-after-frame-default to reset faces.
21064 (custom--frame-color-default): New function.
21065
21066 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21067
21068 * dired.el (dired-flagging-regexp): Remove unused variable
21069 (bug#8769).
21070
21071 2011-03-29 Kevin Ryde <user42@zip.com.au>
21072
21073 * progmodes/compile.el (compilation-error-regexp-alist-alist):
21074 `perl-Test2' extend to match possible "fail #N" rep count
21075 (bug#8377).
21076
21077 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21078
21079 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
21080 `smtpmail-via-smtp' now returns the error instead of nil.
21081
21082 * isearch.el (isearch-search-fun-function): Clarify the doc string
21083 (bug#8101).
21084
21085 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
21086
21087 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
21088 unnecessary spaces (bug#8987).
21089
21090 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21091
21092 * net/network-stream.el (open-network-stream): Use the
21093 :end-of-capability command thoughout.
21094
21095 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
21096
21097 * net/network-stream.el (open-network-stream): Add the
21098 :end-of-capability command parameter, used by pop3.el.
21099
21100 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21101
21102 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
21103
21104 * fringe.el (fringe-query-style): Remove redundant text " (type ?
21105 for list)" (bug#6475).
21106
21107 * files.el (file-expand-wildcards): Ignore non-readable
21108 sub-directories while trying to find matches instead of signaling
21109 an error (bug#6297).
21110
21111 * man.el (Man-reference-regexp): Allow matching possible
21112 word-wrapped references (bug#6289).
21113
21114 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
21115 for consistency with the other vc buffers (bug#6197).
21116 (vc-checkin): Ditto.
21117
21118 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
21119
21120 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
21121
21122 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21123
21124 * custom.el (defcustom): Clarify that :set is only used in the
21125 Customize user interface (bug#6089).
21126
21127 * progmodes/flymake.el (flymake-mode): If the buffer isn't
21128 associated with a file, refuse to run instead of erroring out
21129 (bug#6084).
21130
21131 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
21132 the doc string, since it appears that using `fill-column' always
21133 controls the width (bug#7845).
21134
21135 * simple.el (shell-command-on-region): Say where the error output
21136 went if `shell-command-default-error-buffer' is set (bug#6857).
21137
21138 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
21139
21140 * allout.el (allout-yank-processing): Adjust cursor position for
21141 backwards-deleted space.
21142
21143 (allout-rebullet-heading): Register changes with
21144 allout-exposure-changed-hook, so the modified topic is properly
21145 decorated.
21146
21147 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21148
21149 * minibuffer.el (completion-in-region): Document PREDICATE
21150 (bug#7136).
21151
21152 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
21153 of keyword/argument pairs (bug#6904).
21154
21155 * replace.el (multi-occur):
21156 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
21157
21158 2011-07-02 Drew Adams <drew.adams@oracle.com>
21159
21160 * dired.el (dired-mark-if): Make the message about whether it's
21161 marking or unmarking clearer (bug#8523).
21162
21163 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21164
21165 * disp-table.el (display-table-print-array): New function.
21166 (describe-display-table): Use it to print the vectors more pretty
21167 (Bug#8859).
21168
21169 2011-07-02 Martin Rudalics <rudalics@gmx.at>
21170
21171 * window.el (window-state-get-1): Don't assign clone numbers.
21172 Add clone-of item to list of window parameters.
21173 (window-state-put-2): Don't process clone numbers.
21174 (display-buffer-alist): Fix doc-string.
21175
21176 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
21177
21178 * subr.el (remq): Don't allocate if it's not needed.
21179 (keymap--menu-item-binding, keymap--menu-item-with-binding)
21180 (keymap--merge-bindings): New functions.
21181 (keymap-canonicalize): Use them to refine the canonicalization.
21182 * minibuffer.el (minibuffer-local-completion-map)
21183 (minibuffer-local-must-match-map): Move initialization from C.
21184 (minibuffer-local-filename-completion-map): Move initialization from C;
21185 don't inherit from anything here.
21186 (minibuffer-local-filename-must-match-map): Make obsolete.
21187 (completing-read-default): Use make-composed-keymap to combine
21188 minibuffer-local-filename-completion-map with either
21189 minibuffer-local-must-match-map or
21190 minibuffer-local-filename-completion-map.
21191
21192 2011-07-01 Glenn Morris <rgm@gnu.org>
21193
21194 * type-break.el (type-break-time-sum): Use dolist.
21195
21196 * textmodes/flyspell.el (flyspell-word-search-backward):
21197 Replace CL function.
21198
21199 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21200
21201 * mouse.el (mouse--strip-first-event): New function.
21202 (function-key-map): Use it to map fringe clicks to normal clicks
21203 by default.
21204
21205 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
21206 (vc-bzr-revision-completion-table): Add support for annotate and date.
21207
21208 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
21209 inherit from parent.
21210
21211 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
21212
21213 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
21214 (dired-show-file-type): Doc fixup (bug#8818).
21215
21216 * dired.el (dired-mode): Fix up the doc string as suggested by
21217 Drew Adams (bug#8817).
21218
21219 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
21220 cookie, since the manual says that it should be possible to add
21221 this function to `find-file-hook' (bug#8709).
21222
21223 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
21224
21225 * progmodes/cfengine.el: Moved all cfengine3.el functionality
21226 here. Noted Ted Zlatanov as the maintainer.
21227 (cfengine-common-settings, cfengine-common-syntax): New functions
21228 to set up common things between `cfengine-mode' and
21229 `cfengine3-mode'.
21230 (cfengine3-mode): New mode.
21231 (cfengine3-defuns cfengine3-defuns-regex
21232 (cfengine3-class-selector-regex cfengine3-category-regex)
21233 (cfengine3-vartypes cfengine3-font-lock-keywords)
21234 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
21235 (cfengine3-indent-line): Add from cfengine3.el.
21236
21237 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
21238
21239 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
21240
21241 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
21242
21243 2011-07-01 Martin Rudalics <rudalics@gmx.at>
21244
21245 * window.el (same-window-buffer-names, same-window-regexps)
21246 (same-window-p, special-display-frame-alist)
21247 (special-display-popup-frame, special-display-function)
21248 (special-display-buffer-names, special-display-regexps)
21249 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
21250 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21251 (split-window-preferred-function, split-height-threshold)
21252 (split-width-threshold, even-window-heights)
21253 (display-buffer-mark-dedicated, window-splittable-p)
21254 (split-window-sensibly, window-safely-shrinkable-p):
21255 Un-obsolete.
21256 (display-buffer): Don't spread args with function specifier
21257 because special-display-popup-frame won't like it.
21258
21259 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
21260
21261 Time-stamp simplifications and fixes.
21262 These improve accuracy slightly, and future-proof the code
21263 against some potential changes to current-time format.
21264
21265 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
21266 by using time-since and float-time.
21267
21268 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
21269 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
21270 + NNN microseconds".
21271
21272 * type-break.el (type-break-time-sum): Rewrite using time-add.
21273
21274 * play/hanoi.el (hanoi-current-time-float): Remove.
21275 All uses replaced by float-time.
21276
21277 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
21278 This yields a more-accurate answer.
21279 (rng-time-to-float): Remove; no longer needed.
21280
21281 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
21282
21283 * calendar/timeclock.el (timeclock-seconds-to-time):
21284 Defalias to seconds-to-time, since they're the same thing.
21285
21286 * emacs-lisp/elp.el (elp-elapsed-time):
21287 * emacs-lisp/benchmark.el (benchmark-elapse):
21288 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
21289
21290 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21291
21292 * window.el (bury-buffer): Don't iconify the only frame.
21293 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
21294 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
21295
21296 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
21297
21298 * eshell/em-smart.el (eshell-smart-display-navigate-list):
21299 Add mouse-yank-primary.
21300
21301 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
21302
21303 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
21304
21305 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21306
21307 * emacs-lisp/find-func.el (find-library--load-name): New fun.
21308 (find-library-name): Use it to find relative load names when provided
21309 absolute file name (bug#8803).
21310
21311 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
21312
21313 * textmodes/flyspell.el (flyspell-word): Consider words that
21314 differ only in case as potential doublons (bug#5687).
21315
21316 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
21317 Remove two rather uninteresting debugging-like messages to make
21318 debbugs.el more silent.
21319
21320 * comint.el (comint-password-prompt-regexp): Accept "Response" as
21321 a password-like phrase.
21322
21323 2011-06-30 Masatake YAMATO <yamato@redhat.com>
21324
21325 * progmodes/cc-guess.el: New file.
21326
21327 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
21328
21329 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
21330 derived from `c-basic-common-init'.
21331
21332 * progmodes/cc-mode.el (top-level): Require cc-guess.
21333 (c-basic-common-init): Use `cc-choose-style-for-mode'.
21334
21335 2011-06-30 Lawrence Mitchell <wence@gmx.li>
21336
21337 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
21338
21339 2011-06-30 Alan Mackenzie <acm@muc.de>
21340
21341 * progmodes/cc-engine.el (c-guess-continued-construct):
21342 Correct the handling of template-args-cont, particularly for when font
21343 lock is disabled. Name this case as "CASE G".
21344
21345 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
21346
21347 * allout.el (allout-yank-processing): Fix injection of extra space
21348 between bullet and non-whitespace character in first topic when
21349 pasting, ensuring that the actual spacing in the pasted topic
21350 following the bullet char is preserved. This extra space was
21351 causing pasted encrypted topics to get a decrypted status even
21352 when the content was actually still encrypted. Now the decryption
21353 status from before the paste is preserved.
21354
21355 (allout-flag-region): Set all allout overlays so they evaporate
21356 when reduced to zero length (evanescent), to prevent overlay
21357 leakage.
21358
21359 2011-06-30 Glenn Morris <rgm@gnu.org>
21360
21361 * w32-fns.el (w32-charset-info-alist): Declare.
21362
21363 * find-dired.el (find-grep-options): Simplify.
21364
21365 * term/ns-win.el (ns-set-resource): Declare.
21366
21367 * ses.el (row, col): Declare dynamic variables honestly.
21368
21369 * textmodes/reftex-parse.el (index-tags): Declare.
21370
21371 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
21372
21373 * cus-edit.el (customize-push-and-save): New function.
21374
21375 * files.el (hack-local-variables-confirm): Use it.
21376
21377 * custom.el (load-theme): New arg NO-CONFIRM.
21378 Use customize-push-and-save (Bug#8720).
21379 (custom-enabled-themes): Doc fix.
21380
21381 * cus-theme.el (customize-create-theme)
21382 (custom-theme-merge-theme): Callers to load-theme changed.
21383
21384 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
21385
21386 * thingatpt.el (thing-at-point-short-url-regexp): Require that
21387 short URLs have at least one dot in them (bug #7614).
21388
21389 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
21390 nil, because using a pty is apparently too slow (bug #895).
21391
21392 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
21393
21394 * mail/sendmail.el (sendmail-query-once): New function.
21395 (sendmail-query-once-function): New variable.
21396
21397 2011-06-29 Glenn Morris <rgm@gnu.org>
21398
21399 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
21400
21401 * ses.el (top-level): Require cl when compiling.
21402 (ses-set-localvars): Fix error statement.
21403 Call it at compile time to silence a storm of warnings.
21404
21405 2011-06-29 Martin Rudalics <rudalics@gmx.at>
21406
21407 * window.el (normalize-live-buffer): Rename to
21408 window-normalize-buffer.
21409 (normalize-live-frame): Rename to window-normalize-frame.
21410 (normalize-any-window): Rename to window-normalize-any-window.
21411 (normalize-live-window): Rename to window-normalize-live-window.
21412 (make-window-atom): Rename to window-make-atom.
21413 (window-resize-reset): Rename to window--resize-reset.
21414 (window-resize-reset-1): Rename to window--resize-reset-1.
21415 (resize-mini-window): Rename to window--resize-mini-window.
21416 (resize-subwindows-skip-p): Rename to
21417 window--resize-subwindows-skip-p.
21418 (resize-subwindows-normal): Rename to
21419 window--resize-subwindows-normal.
21420 (resize-subwindows): Rename to window--resize-subwindows.
21421 (resize-other-windows): Rename to window--resize-siblings.
21422 (resize-this-window): Rename to window--resize-this-window.
21423 (resize-root-window): Rename to window--resize-root-window.
21424 (resize-root-window-vertically): Rename to
21425 window--resize-root-window-vertically.
21426 (normalize-buffer-to-display): Rename to
21427 window-normalize-buffer-to-display.
21428 (normalize-buffer-to-switch-to): Rename to
21429 window-normalize-buffer-to-switch-to.
21430 Correspondingly update all callers of the functions listed
21431 above.
21432 (display-buffer-alist, display-buffer-normalize-arguments)
21433 (display-buffer-normalize-options, display-buffer)
21434 (display-buffer-alist-set): Use "function" instead of
21435 "fun-with-args".
21436
21437 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
21438
21439 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
21440 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
21441 debbugs.gnu.org. Mention acknowledgment email.
21442
21443 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
21444
21445 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
21446 buffer multibyteness, since it shouldn't matter.
21447
21448 2011-06-28 Martin Rudalics <rudalics@gmx.at>
21449
21450 * window.el (display-buffer-in-side-window): Handle dedicated
21451 windows as in display-buffer-reuse-window.
21452 (display-buffer-normalize-alist): Use value of override
21453 specifier.
21454 (display-buffer-normalize-specifiers): Use value of
21455 other-window-means-other-frame specifier.
21456 (display-buffer-alist): Rewrite some texts in widgets.
21457 (display-buffer): Spread arguments when calling function
21458 specified by fun-with-args.
21459
21460 2011-06-28 Deniz Dogan <deniz@dogan.se>
21461
21462 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
21463 Unnest `let'.
21464
21465 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
21466 selectors (Bug#5732).
21467 (css-proprietary-nmstart-re): Use `regexp-opt'.
21468
21469 2011-06-27 Jari Aalto <jari.aalto@cante.net>
21470
21471 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
21472 (eshell-ls-date-format): New defcustom.
21473 (eshell-ls-file): Use it.
21474
21475 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
21476
21477 * help-fns.el (describe-variable): Fix message for terminal-local vars.
21478
21479 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
21480
21481 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
21482 (ange-ftp-make-tmp-name): New arg.
21483 (ange-ftp-file-local-copy): Use it.
21484
21485 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
21486
21487 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
21488 no-conversion (Bug#8870).
21489
21490 2011-06-27 Martin Rudalics <rudalics@gmx.at>
21491
21492 * window.el (window-right, window-left, window-child)
21493 (window-child-count, window-last-child)
21494 (window-iso-combination-p, walk-window-tree-1)
21495 (window-atom-check-1, window-tree-1, delete-window)
21496 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
21497 new naming conventions - window-vchild, window-hchild,
21498 window-next and window-prev are now called window-top-child,
21499 window-left-child, window-next-sibling and window-prev-sibling
21500 respectively.
21501 (resize-window-reset): Rename to window-resize-reset.
21502 (resize-window-reset-1): Rename to window-resize-reset-1.
21503 (resize-window): Rename to window-resize.
21504 (window-min-height, window-min-width)
21505 (resize-mini-window, resize-this-window, resize-root-window)
21506 (resize-root-window-vertically, adjust-window-trailing-edge)
21507 (enlarge-window, shrink-window, maximize-window)
21508 (minimize-window, delete-window, quit-restore-window)
21509 (split-window, balance-windows, balance-windows-area-adjust)
21510 (balance-windows-area, window-state-put-2)
21511 (display-buffer-even-window-sizes, display-buffer-set-height)
21512 (display-buffer-set-width, set-window-text-height)
21513 (fit-window-to-buffer): Rename all "resize-window" prefixed
21514 calls to use the "window-resize" prefix convention.
21515 (display-buffer-alist): Fix symbol for label specifier.
21516 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
21517 corresponding specifier.
21518 Reported by Juanma Barranquero <lekktu@gmail.com>.
21519
21520 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
21521
21522 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
21523 convention.
21524 (ses-call-printer): Does not pass an empty string to formatter when the
21525 cell is empty to keep from barking printer Calc math-format-value.
21526
21527 2011-06-27 Richard Stallman <rms@gnu.org>
21528
21529 * battery.el (battery-mode-line-limit): New variable.
21530 (battery-update): Handle it.
21531
21532 * mail/rmailmm.el (rmail-mime-process-multipart):
21533 Handle truncated messages.
21534
21535 2011-06-27 Glenn Morris <rgm@gnu.org>
21536
21537 * progmodes/flymake.el (flymake-err-line-patterns):
21538 Allow for column numbers in the ant/javac pattern. (Bug#8866)
21539
21540 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
21541
21542 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
21543 (ses--clean-!, ses--clean-_): New functions.
21544 (ses-range): Add configurability of readout order, and conversion
21545 to Calc vector.
21546
21547 * ses.el (ses-repair-cell-reference-all): New function.
21548 (ses-cell-symbol): Set macro as safe, so that it can be used in
21549 formulas.
21550
21551 * ses.el: Update cycle detection algorithm.
21552 (ses-localvars): Add ses--Dijkstra-attempt-nb and
21553 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
21554 (ses-set-localvars): New function.
21555 (ses-make-cell): Add property-list as a cell element.
21556 (ses-cell-property-get-fun, ses-cell-property-get)
21557 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
21558 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
21559 New functions.
21560 (ses-cell-property-set, ses-cell-property-pop)
21561 (ses-cell-property-get-handle): New macro.
21562 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
21563 New aliases, used for code readability.
21564 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
21565 cycle detection.
21566 (ses-self-reference-early-detection): New defcustom.
21567 (ses-formula-references): Robustify against self-referring cells.
21568 (ses-mode): Use ses-set-localvars.
21569 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
21570 before lauching the update processing.
21571 (ses-initialize-Dijkstra-attempt): New function.
21572 (ses-recalculate-cell): Update for cycle detection based on
21573 Dijkstra algorithm.
21574
21575 * ses.el: Fix commenting and indenting convention.
21576
21577 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
21578
21579 * bs.el (bs-cycle-next): Complete last change.
21580
21581 2011-06-27 Drew Adams <drew.adams@oracle.com>
21582
21583 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
21584
21585 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
21586
21587 * net/network-stream.el (network-stream-open-starttls):
21588 Don't re-get capabilities unless we've reestablished connection.
21589 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
21590
21591 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
21592 to binary to possibly avoid line encoding issues on Windows (among
21593 other things).
21594
21595 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
21596
21597 * net/network-stream.el (open-network-stream): Return an :error
21598 saying what the problem was, if possible.
21599
21600 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
21601 server.
21602
21603 * net/network-stream.el (network-stream-open-starttls): If we
21604 wanted to use STARTTLS, and the server offered it, but we weren't
21605 able to because we had no STARTTLS support, then close the connection.
21606 (open-network-stream): Return an :error element, if present.
21607
21608 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
21609
21610 * hl-line.el (hl-line-sticky-flag): Doc fix.
21611 (global-hl-line-sticky-flag): New option (Bug#8323).
21612 (global-hl-line-highlight): Obey it.
21613
21614 * vc/vc.el (vc-revert-show-diff): Default to t.
21615
21616 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
21617
21618 * allout-widgets.el (allout-widgets-post-command-business):
21619 Stop decorating intermediate isearch matches. They're not being
21620 undecorated when an isearch is continued past, and isearch
21621 automatically collapses them. This leads to "widget leaks", where
21622 decorated items accumulate in collapsed areas. Lines with lots of
21623 hidden widgets can slow down cursor travel, substantially.
21624 Too much complicated machinery would be needed to ensure undecoration,
21625 so we're doing without this nicety.
21626
21627 (allout-widgets-tally-string): Don't try to do a hash-table-count
21628 of allout-widgets-tally when it's nil. This eliminates spurious "Error
21629 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
21630 *Messages* when allout-widgets-maintain-tally is t.
21631
21632 2011-06-26 Martin Rudalics <rudalics@gmx.at>
21633
21634 * window.el (display-buffer-normalize-argument): Rename to
21635 display-buffer-normalize-arguments. Handle special meaning of
21636 LABEL argument. Respect special-display-function when popping up
21637 a new frame. Fix code searching for a window showing the buffer
21638 on another frame.
21639 (display-buffer-normalize-specifiers):
21640 Call display-buffer-normalize-arguments.
21641 (display-buffer-in-window): Don't undedicate the window if its
21642 buffer remains the same.
21643 Reported by Drew Adams <drew.adams@oracle.com>.
21644 (display-buffer-alist): Add choice for same-window macro
21645 specfier.
21646 (display-buffer): Mention special meaning of LABEL argument in
21647 doc-string. Fix quoting. Don't pop up a new frame even as
21648 fallback.
21649
21650 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
21651
21652 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
21653 avoid deleting the current window in some cases (bug#8911).
21654
21655 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
21656
21657 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
21658 (Bug#8934)
21659
21660 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
21661
21662 * net/network-stream.el (network-stream-open-starttls):
21663 Use built-in TLS support if `gnutls-available-p' is true.
21664 (network-stream-open-tls): Ditto.
21665
21666 2011-06-26 Leo Liu <sdl.web@gmail.com>
21667
21668 * register.el (registerv): New struct.
21669 (registerv-make): New function.
21670 (jump-to-register, describe-register-1, insert-register):
21671 Support the jump-func, print-func and insert-func slot of a registerv
21672 struct. (Bug#8415)
21673
21674 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
21675
21676 * vc/vc.el (vc-revert-show-diff): New defcustom.
21677 (vc-diff-internal): New arg specifying diff buffer.
21678 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
21679 reuse an existing *vc-diff* buffer (Bug#8927).
21680
21681 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
21682
21683 2011-06-26 Glenn Morris <rgm@gnu.org>
21684
21685 * progmodes/f90.el (f90-critical-indent): New option.
21686 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
21687 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
21688 (f90-mode): Doc fix.
21689 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
21690 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
21691 (f90-beginning-of-block, f90-next-block, f90-indent-region)
21692 (f90-match-end): Handle block, critical.
21693
21694 2011-06-25 Glenn Morris <rgm@gnu.org>
21695
21696 * calendar/diary-lib.el (diary-included-files): Doc fix.
21697 (diary-include-files): New function, extracted from
21698 diary-include-other-diary-files and diary-mark-included-diary-files.
21699 (diary-include-other-diary-files, diary-mark-included-diary-files):
21700 Just call diary-include-files.
21701 (diary-mark-entries): Reset diary-included-files on first call.
21702
21703 * calendar/diary-lib.el (diary-mark-entries)
21704 (diary-mark-included-diary-files):
21705 Visit included diary-files in temp buffers.
21706
21707 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
21708 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
21709 (f90-start-block-re, f90-imenu-generic-expression)
21710 (f90-looking-at-program-block-start, f90-no-block-limit):
21711 Add support for submodules.
21712
21713 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
21714 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
21715
21716 2011-06-25 Eli Zaretskii <eliz@gnu.org>
21717
21718 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
21719 buffer-file-type before setting its value, to avoid disastrous
21720 global effects on decoding files for DOS/Windows systems. (Bug#8780)
21721
21722 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
21723
21724 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
21725
21726 * ses.el (ses-unload-function):
21727 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
21728
21729 * proced.el (proced-unload-function):
21730 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
21731
21732 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
21733
21734 * server.el (server-create-window-system-frame): Add parameters arg.
21735 (server-process-filter): Doc fix. Handle frame-parameters.
21736
21737 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
21738
21739 Fix bug#8730, bug#8781.
21740
21741 * loadhist.el (unload--set-major-mode): New function.
21742 (unload-feature): Use it.
21743
21744 * progmodes/python.el (python-after-info-look): Add autoload cookie.
21745 (python-unload-function): New function.
21746
21747 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
21748
21749 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
21750
21751 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
21752
21753 * net/browse-url.el (browse-url-firefox-program): Add icecat to
21754 the candidates list.
21755
21756 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
21757
21758 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
21759
21760 2011-06-23 Richard Stallman <rms@gnu.org>
21761
21762 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
21763 (rmail-variables): Set next-error-move-function.
21764 (rmail-what-message): Take argument POS.
21765 (rmail-next-error-move): New function.
21766
21767 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
21768
21769 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
21770 messages for adjacent non-terminals.
21771
21772 2011-06-23 Richard Stallman <rms@gnu.org>
21773
21774 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
21775 (rmail-show-message-1): Preserve buffer modified flag.
21776 (rmail-start-mail): Don't specify use of rmail-mail-return;
21777 that's done by mail-bury now.
21778 (rmail-mail-return): Handle arg NEWBUF.
21779
21780 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
21781
21782 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
21783 SIZE is a number.
21784
21785 2011-06-23 Martin Rudalics <rudalics@gmx.at>
21786
21787 * window.el (get-lru-window, get-mru-window)
21788 (get-largest-window): Never return a minibuffer window.
21789 (display-buffer-pop-up-window): Fix a bug that could lead to
21790 reusing the minibuffer window.
21791 (display-buffer): Pass original specifier argument to
21792 display-buffer-function instead of the normalized one.
21793 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
21794
21795 2011-06-22 Leo Liu <sdl.web@gmail.com>
21796
21797 * minibuffer.el (completing-read-function)
21798 (completing-read-default): Move from minibuf.c.
21799
21800 2011-06-22 Richard Stallman <rms@gnu.org>
21801
21802 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
21803 to Rmail even if not started by a special Rmail command.
21804
21805 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
21806 Copy the buffer currently showing just one message.
21807
21808 2011-06-22 Roland Winkler <winkler@gnu.org>
21809
21810 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
21811 (bibtex-clean-entry): First delete the old key so that a
21812 customized algorithm for generating the new key does not get
21813 confused by the old key.
21814 (bibtex-url): Obey regexp of first step.
21815 (bibtex-search-entries): Do not use add-to-list with local
21816 list-var.
21817
21818 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
21819
21820 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
21821 stored a user name, then query for the password first, instead of
21822 waiting for SMTP to give an error message and the trying again.
21823
21824 2011-06-22 Lawrence Mitchell <wence@gmx.li>
21825
21826 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
21827 BUFFER in call-process.
21828
21829 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
21830
21831 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
21832 QUIT twice.
21833 (smtpmail-try-auth-methods): Require user name and password from
21834 auth-source.
21835
21836 2011-06-22 Martin Rudalics <rudalics@gmx.at>
21837
21838 * window.el (display-buffer-default-specifiers)
21839 (display-buffer-alist): Remove entries for pop-up-frame-alist.
21840 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
21841 (split-window): Normalize SIDE argument (Bug#8916).
21842
21843 * frame.el (pop-up-frame-alist, pop-up-frame-function)
21844 (special-display-frame-alist, special-display-popup-frame):
21845 Remove duplicate declarations. These are now in window.el.
21846
21847 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21848
21849 * mail/smtpmail.el (smtpmail-via-smtp):
21850 Set :use-starttls-if-possible so that we always use STARTTLS if the
21851 server supports it. SMTP servers that support STARTTLS commonly
21852 require it.
21853
21854 * net/network-stream.el (network-stream-open-starttls): Support
21855 upgrading to STARTTLS always, even if we don't have built-in support.
21856 (open-network-stream): Add the :always-query-capabilities keyword.
21857
21858 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
21859 upgrades with `open-network-stream', and rely solely on
21860 auth-source for all credentials. Big changes throughout the file,
21861 but in particular:
21862 (smtpmail-auth-credentials): Remove.
21863 (smtpmail-starttls-credentials): Remove.
21864 (smtpmail-via-smtp): Check for servers saying they want AUTH after
21865 MAIL FROM, too.
21866
21867 * net/network-stream.el (network-stream-open-starttls):
21868 Provide support for client certificates both for external and built-in
21869 STARTTLS.
21870 (auth-source): Require.
21871 (open-network-stream): Document the :client-certificate keyword.
21872 (network-stream-certificate): Change cert-cert to cert and
21873 cert-key to key.
21874
21875 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
21876
21877 * net/tramp-cache.el (top): Don't load the persistency file when
21878 "emacs -Q" has been called.
21879
21880 2011-06-21 Tim Harper <timcharper@gmail.com>
21881
21882 * term/ns-win.el (ns-initialize-window-system):
21883 Set application-specific `ApplePressAndHoldEnabled' system
21884 resource to NO as it is not yet supported by the NS port.
21885
21886 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
21887
21888 * misc.el (list-dynamic-libraries--refresh): Compute header here...
21889 (list-dynamic-libraries): ...not here.
21890
21891 2011-06-21 Leo Liu <sdl.web@gmail.com>
21892
21893 * subr.el (sha1): Implement sha1 using secure-hash.
21894
21895 2011-06-21 Martin Rudalics <rudalics@gmx.at>
21896
21897 * window.el (display-buffer-alist): In default value do not
21898 enforce searching a window on any but the selected frame.
21899 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
21900 (display-buffer-select-window): Remove function.
21901 (display-buffer-in-window): When a window on another frame gets
21902 reused, do not select it any more but just raise its frame if
21903 necessary (Bug#8851) and (Bug#8856).
21904 (display-buffer-normalize-options): Handle pop-up-frames related
21905 options more faithfully.
21906 (pop-to-buffer): Don't rely on `display-buffer' selecting the
21907 window if it is on another frame.
21908 (display-buffer-alist, display-buffer-default-specifiers):
21909 Don't make new frame unsplittable by default.
21910 (display-buffer-normalize-argument): Fix doc-string typo and use
21911 'same-frame-other-window instead of 'other-window when associating
21912 with display-buffer-macro-specifiers.
21913
21914 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
21915
21916 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
21917 New functions.
21918 (5x5-mode-map, 5x5-mode-menu): Bind them.
21919 (5x5-draw-grid): Tweak the solver's rendering.
21920
21921 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
21922
21923 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
21924 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
21925
21926 2011-06-21 Drew Adams <drew.adams@oracle.com>
21927
21928 * menu-bar.el: Use function variable instead of switch-to-buffer.
21929 (menu-bar-select-buffer-function): New variable.
21930 (menu-bar-update-buffers): Use it (bug#8876).
21931
21932 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
21933
21934 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
21935 variable's status.
21936
21937 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
21938
21939 * x-dnd.el (x-dnd-version-from-flags)
21940 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
21941 and long as number (Bug#8899).
21942 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
21943
21944 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
21945
21946 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
21947 (completion-try-completion, completion-all-completions): Compute the
21948 metadata argument if it's missing; make it optional (bug#8795).
21949
21950 * wid-edit.el: Use lex-bind and move towards completion-at-point.
21951 (widget-complete): Use new :completion-function property.
21952 (widget-completions-at-point): New function.
21953 (default): Use :completion-function instead of :complete.
21954 (widget-default-completions): Rename from widget-default-complete;
21955 Rewrite.
21956 (widget-string-complete, widget-file-complete, widget-color-complete):
21957 Remove functions.
21958 (file, symbol, function, variable, coding-system, color):
21959 * international/mule-cmds.el (default-input-method, charset)
21960 (language-info-custom-alist):
21961 * cus-edit.el (face): Use new property :completions.
21962
21963 * progmodes/pascal.el (pascal-completions-at-point): New function.
21964 (pascal-mode): Use it.
21965 (pascal-mode-map): Use completion-at-point.
21966 (pascal-toggle-completions): Make obsolete.
21967 (pascal-complete-word, pascal-show-completions):
21968 * progmodes/octave-mod.el (octave-complete-symbol):
21969 Redefine as obsolete alias.
21970 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
21971 Signal absence of completion info for old Octave,
21972 (inferior-octave-complete): Redefine as obsolete alias.
21973 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
21974 (meta-completions-at-point): Rename from meta-complete-symbol and
21975 adapt it for use on completion-at-point-functions.
21976 (meta-common-mode): Use it.
21977 (meta-looking-at-backward, meta-match-buffer): Remove.
21978 (meta-complete-symbol): Redefine as obsolete alias.
21979 (meta-common-mode-map): Use completion-at-point.
21980 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
21981 (makefile-mode-map): Use completion-at-point.
21982 (makefile-completions-at-point): Rename from makefile-complete and
21983 adapt it for use on completion-at-point-functions.
21984 (makefile-mode): Use it.
21985 (makefile-complete): Redefine as obsolete alias.
21986
21987 2011-06-20 Deniz Dogan <deniz@dogan.se>
21988
21989 * net/rcirc.el: Delete trailing whitespaces once and for all.
21990
21991 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
21992
21993 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
21994
21995 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
21996
21997 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
21998
21999 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
22000
22001 2011-06-19 Martin Rudalics <rudalics@gmx.at>
22002
22003 * window.el (display-buffer-other-window-means-other-frame):
22004 Call display-buffer-normalize-alist.
22005 (display-buffer-normalize-specifiers-1): Rename to
22006 display-buffer-normalize-argument. New argument other-frame.
22007 Rewrite.
22008 (display-buffer-normalize-specifiers-2): Rename to
22009 display-buffer-normalize-options.
22010 (display-buffer-normalize-alist-1): New function.
22011 (display-buffer-normalize-specifiers-3): Rename to
22012 display-buffer-normalize-alist.
22013 Call display-buffer-normalize-alist-1.
22014 (display-buffer-normalize-options-inhibit): New variable.
22015 (display-buffer-normalize-specifiers): Rewrite calling
22016 display-buffer-normalize-alist,
22017 display-buffer-normalize-argument, and
22018 display-buffer-normalize-options. Don't call the latter if
22019 display-buffer-normalize-options-inhibit is non-nil.
22020 (frame-auto-delete): New option.
22021 (window-deletable-p): Use frame-auto-delete.
22022 (window-list-no-nils, window-state-ignored-parameters)
22023 (window-state-get-1, window-state-get, window-state-put-list)
22024 (window-state-put-1, window-state-put-2, window-state-put):
22025 New functions.
22026 (display-buffer-normalize-options): Move special-display-p group
22027 after pop-up-frame group (Bug#8851) and (Bug#8856).
22028
22029 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
22030
22031 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
22032 groups (Bug#8776).
22033 (rx-submatch-n): New function.
22034 (rx): Document it.
22035
22036 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
22037 (Bug#8768).
22038
22039 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
22040
22041 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
22042
22043 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
22044 anytime existing face settings are present (Bug#8889).
22045
22046 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
22047 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
22048 Remove unused argument.
22049
22050 2011-06-18 Martin Rudalics <rudalics@gmx.at>
22051
22052 * window.el (display-buffer-default-specifiers):
22053 Remove pop-up-frame. Add pop-up-window-min-height,
22054 pop-up-window-min-width, and another reuse-window specifier
22055 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
22056 (display-buffer-normalize-specifiers-2):
22057 Handle split-height-threshold and split-width-threshold also when
22058 pop-up-windows is unset. Add a reuse-window specifier for the
22059 case popping up a new window fails.
22060 (special-display-popup-frame): Remove double quoting.
22061 (display-buffer-normalize-specifiers-1): Fix thinko.
22062
22063 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
22064
22065 * shell.el (shell-completion-vars): Set pcomplete-termination-string
22066 according to comint-completion-addsuffix.
22067
22068 * pcomplete.el: Convert to lexical binding and fix bug#8819.
22069 (pcomplete-suffix-list): Mark as obsolete.
22070 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
22071 pcomplete-seen in the closure.
22072 (pcomplete-comint-setup): Setup completion-at-point as well.
22073 (pcomplete--entries): New function.
22074 (pcomplete--env-regexp): New var.
22075 (pcomplete-entries): Rewrite to work with partial-completion and
22076 without relying on pcomplete-suffix-list.
22077 (pcomplete-pare-list): Remove, unused.
22078
22079 2011-06-17 Martin Rudalics <rudalics@gmx.at>
22080
22081 * window.el (display-buffer-alist): Set pop-up-window-min-height
22082 and pop-up-window-min-width in default value. Reported by
22083 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
22084 other-window-means-other-frame.
22085 (display-buffer-macro-specifiers): Comment out entry for
22086 other-window specifier.
22087 (display-buffer-other-window-means-other-frame): New function.
22088 (display-buffer-normalize-specifiers-1): New arguments
22089 buffer-name and label. Treat other-window case specially.
22090 (display-buffer-normalize-specifiers-2): Treat other-window case
22091 specially.
22092 (display-buffer-normalize-specifiers-3): New function.
22093 (display-buffer-normalize-specifiers):
22094 Call display-buffer-normalize-specifiers-3.
22095
22096 2011-06-17 Martin Rudalics <rudalics@gmx.at>
22097
22098 * window.el (same-window-p): Fix two typos introduced when
22099 adding with-no-warnings.
22100 (display-buffer-normalize-specifiers-1): Don't check
22101 pop-up-frames for 'unset initialization.
22102 (display-buffer-normalize-specifiers-2): Major rewrite using
22103 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
22104 (pop-up-frames, display-buffer-reuse-frames)
22105 (display-buffer-mark-dedicated): Don't initialize to 'unset.
22106 Suggested by David Engster <deng@randomsample.de>.
22107 (even-window-heights): Initialize to 'unset.
22108 (display-buffer-alist-set): Handle new 'unset initializations.
22109 (display-buffer-macro-specifiers): Don't pop up a new frame in the
22110 other window case.
22111
22112 2011-06-16 Martin Rudalics <rudalics@gmx.at>
22113
22114 * window.el (display-buffer-normalize-specifiers-1):
22115 Respect current value of pop-up-frames for most reasonable values of
22116 second argument of display-buffer (Bug#8865).
22117 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
22118 (switch-to-buffer-other-window-same-frame)
22119 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
22120 Adams (Bug#8875).
22121 (display-buffer): Don't check noninteractive when calling
22122 display-buffer-pop-up-frame.
22123 (display-buffer-pop-up-frame): Never pop up a frame in
22124 noninteractive mode (Bug#8857).
22125 (enlarge-window, shrink-window): Don't report an error when the
22126 window can't be resized as requested (Bug#8862).
22127
22128 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
22129
22130 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
22131
22132 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
22133
22134 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
22135
22136 2011-06-15 Alan Mackenzie <acm@muc.de>
22137
22138 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
22139 for declarators, disable knr checking to speed up for normal files.
22140 2: Refactor, replacing a sequence of nested if forms by a cond form.
22141
22142 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
22143
22144 * net/network-stream.el (open-network-stream): Add the keyword
22145 :always-query-capabilities for the case where you want to force a
22146 `plain' network connection, but the protocol still requires the
22147 capabilitiy command (i.e., SMTP and EHLO).
22148
22149 * subr.el (process-live-p): Rename from `process-alive-p' for
22150 consistency with other `-live-p' functions.
22151
22152 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
22153
22154 * window.el (same-window-buffer-names, same-window-regexps)
22155 (special-display-frame-alist, special-display-popup-frame)
22156 (special-display-function, special-display-buffer-names)
22157 (special-display-regexps, pop-up-frame-alist)
22158 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
22159 (pop-up-windows, split-window-preferred-function)
22160 (split-height-threshold, split-width-threshold, even-window-heights)
22161 (display-buffer-mark-dedicated): Don't encourage the use of
22162 display-buffer-alist from Elisp code.
22163
22164 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
22165
22166 * progmodes/python.el (python-mode): Derive from prog-mode.
22167 * progmodes/ps-mode.el (ps-mode):
22168 * progmodes/mixal-mode.el (mixal-mode):
22169 * progmodes/cfengine.el (cfengine-mode):
22170 * progmodes/ld-script.el (ld-script-mode): Likewise.
22171
22172 2011-06-15 Martin Rudalics <rudalics@gmx.at>
22173
22174 * window.el (display-buffer-alist): Trim default value to avoid
22175 popping up a new frame (Bug#8857) or reusing an arbitrary window
22176 on another frame.
22177 (display-buffer): Do not fall back on popping up a new frame in
22178 batch mode (Bug#8857).
22179
22180 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
22181
22182 * cus-theme.el (describe-theme-1): Use custom-theme-p.
22183 (custom-theme-summary): New function.
22184 (customize-themes): Use it.
22185
22186 2011-06-13 Glenn Morris <rgm@gnu.org>
22187
22188 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
22189
22190 2011-06-13 Martin Rudalics <rudalics@gmx.at>
22191
22192 * help.el (help-window): Remove variable.
22193 (help-window-point-marker, temp-buffer-max-height)
22194 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
22195 (help-print-return-message): Don't set help-window.
22196 (resize-temp-buffer-window): Rewrite cod eand doc-string.
22197 (help-window-setup-finish): Remove.
22198 (help-window-display-message, help-window-setup)
22199 (with-help-window): Major rewrite based on new
22200 display-buffer-window variable.
22201
22202 * help-mode.el (help-mode-finish): Remove help-window related
22203 code.
22204
22205 * view.el (view-exits-all-viewing-windows): Remove reference to
22206 view-return-to-alist in doc-string.
22207 (view-return-to-alist): Make obsolete.
22208 (view-buffer): Call pop-to-buffer-same-window and remove
22209 undo-window code.
22210 (view-buffer-other-window): Call pop-to-buffer-other-window and
22211 simplify code. Ignore second argument.
22212 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
22213 simplify code. Ignore second argument.
22214 (view-return-to-alist-update): Make obsolete.
22215 (view-mode-enter): Rename second argument to QUIT-RESTORE.
22216 Rewrite using quit-restore window parameters.
22217 (view-mode-exit): Rename second argument to EXIT-ONLY.
22218 Rewrite using quit-restore-window.
22219 (View-exit, View-exit-and-edit, View-leave, View-quit)
22220 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
22221 appropriate arguments.
22222 (view-end-message): Use quit-restore window parameter.
22223
22224 * window.el (display-buffer-function): Rewrite doc-string.
22225 (display-buffer-window, display-buffer-alist): New variables.
22226 (display-buffer-split-specifiers)
22227 (display-buffer-side-specifiers)
22228 (display-buffer-macro-specifiers): New constants.
22229 (display-buffer-even-window-sizes, display-buffer-set-height)
22230 (display-buffer-set-width, display-buffer-select-window)
22231 (display-buffer-in-window, display-buffer-reuse-window)
22232 (display-buffer-split-window-1, display-buffer-split-window)
22233 (display-buffer-split-atom-window, display-buffer-pop-up-window)
22234 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
22235 (display-buffer-in-side-window, normalize-buffer-to-display)
22236 (display-buffer-normalize-specifiers-1)
22237 (display-buffer-normalize-specifiers-2)
22238 (display-buffer-normalize-specifiers, display-buffer-frame):
22239 New functions.
22240 (display-buffer): Major rewrite.
22241 (display-buffer-other-window, display-buffer-other-frame)
22242 (pop-to-buffer, switch-to-buffer-other-window)
22243 (switch-to-buffer-other-frame): Rewrite.
22244 (display-buffer-same-window, display-buffer-same-frame)
22245 (display-buffer-same-frame-other-window)
22246 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
22247 (pop-to-buffer-other-window)
22248 (pop-to-buffer-same-frame-other-window)
22249 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
22250 (switch-to-buffer-other-window-same-frame): New functions.
22251 (same-window-p, special-display-p): Rewrite disabling warnings.
22252 Make obsolete.
22253 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
22254 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
22255 Make obsolete
22256 (same-window-buffer-names, same-window-regexps)
22257 (special-display-frame-alist, special-display-popup-frame)
22258 (special-display-function, special-display-buffer-names)
22259 (special-display-regexps, pop-up-frame-alist)
22260 (pop-up-frame-function, split-window-preferred-function)
22261 (split-height-threshold, split-width-threshold)
22262 (even-window-heights): Make obsolete.
22263
22264 2011-06-12 Glenn Morris <rgm@gnu.org>
22265
22266 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
22267 Misc simplifications.
22268
22269 2011-06-12 Martin Rudalics <rudalics@gmx.at>
22270
22271 * window.el (window-safely-shrinkable-p): Restore function which
22272 was inadvertently removed in change from 2011-06-11. Declare as
22273 obsolete.
22274
22275 * calendar/calendar.el (calendar-generate-window):
22276 Use window-iso-combined-p instead of combination of one-window-p and
22277 window-safely-shrinkable-p.
22278
22279 2011-06-12 Glenn Morris <rgm@gnu.org>
22280
22281 * progmodes/fortran.el (fortran-mode-syntax-table):
22282 * progmodes/f90.el (f90-mode-syntax-table):
22283 Set % to punctuation. (Bug#8820)
22284 (f90-find-tag-default): Remove, no longer needed.
22285
22286 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
22287
22288 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
22289
22290 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
22291
22292 * image.el (image-animated-p): Return animation delay in seconds.
22293 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
22294 (image-animate-timeout): Remove DELAY argument. Don't assume
22295 every subimage has the same delay; get it from image-animated-p.
22296 (image-animate): Caller changed.
22297
22298 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
22299
22300 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
22301 to ignored backtrace functions.
22302
22303 2011-06-11 Glenn Morris <rgm@gnu.org>
22304
22305 * calendar/appt.el (appt-disp-window-function): Doc fix.
22306 (appt-check): Handle overlapping appointments. (Bug#8337)
22307
22308 2011-06-11 Martin Rudalics <rudalics@gmx.at>
22309
22310 * window.el (window-tree-1, window-tree): New functions, moving
22311 the latter to window.el.
22312 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
22313 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
22314 (bw-refresh-edges): Remove.
22315 (balance-windows-1, balance-windows-2): New functions.
22316 (balance-windows): Rewrite in terms of window tree functions,
22317 balance-windows-1 and balance-windows-2.
22318 (bw-adjust-window): Remove.
22319 (balance-windows-area-adjust): New function with functionality of
22320 bw-adjust-window but using resize-window.
22321 (set-window-text-height): Rewrite doc-string.
22322 Use normalize-live-window and resize-window.
22323 (enlarge-window-horizontally, shrink-window-horizontally):
22324 Rename argument to DELTA.
22325 (window-buffer-height): New function.
22326 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
22327 Rewrite using new window resize routines.
22328 (kill-buffer-and-window, mouse-autoselect-window-select):
22329 Use ignore-errors instead of condition-case.
22330 (quit-window): Call delete-frame instead of delete-windows-on
22331 for the only buffer on frame.
22332
22333 2011-06-10 Martin Rudalics <rudalics@gmx.at>
22334
22335 * loadup.el (top-level): Load window before files for the sake
22336 of replace-buffer-in-windows.
22337
22338 * files.el (read-buffer-to-switch)
22339 (switch-to-buffer-other-window)
22340 (switch-to-buffer-other-frame, display-buffer-other-frame):
22341 Move to window.el.
22342
22343 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
22344 (previous-buffer): Move to window.el.
22345
22346 * bindings.el (unbury-buffer): Move to window.el.
22347
22348 * window.el (delete-other-windows-vertically): Move after
22349 definition of delete-other-windows.
22350 (other-window, delete-windows-on, replace-buffer-in-windows):
22351 Move here from window.c.
22352 (record-window-buffer, unrecord-window-buffer)
22353 (set-window-buffer-start-and-point, switch-to-prev-buffer)
22354 (switch-to-next-buffer): New functions.
22355 (get-next-valid-buffer, last-buffer, next-buffer): Move here
22356 from simple.el. Call switch-to-next-buffer.
22357 (previous-buffer): Move here from simple.el.
22358 Call switch-to-prev-buffer.
22359 (bury-buffer): Move here from buffer.c. Switch to previous
22360 buffer when window cannot be deleted.
22361 (unbury-buffer): Move here from bindings.el.
22362 (ctl-x-map): Move binding for other-window from window.c to
22363 here.
22364 (read-buffer-to-switch, switch-to-buffer-other-window)
22365 (switch-to-buffer-other-frame): Move here from files.el.
22366 (normalize-buffer-to-switch-to): New functions.
22367 (switch-to-buffer): Move here from buffer.c.
22368 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
22369
22370 2011-06-10 Martin Rudalics <rudalics@gmx.at>
22371
22372 * window.el (window-min-height, window-min-width): Move here
22373 from window.c. Add defcustoms and rewrite doc-strings.
22374 (resize-mini-window, resize-window): New functions.
22375 (adjust-window-trailing-edge, enlarge-window, shrink-window):
22376 Move here from window.c.
22377 (maximize-window, minimize-window): New functions.
22378 (delete-window, delete-other-windows, split-window): Move here
22379 from window.c.
22380 (window-split-min-size): New function.
22381 (split-window-keep-point): Mention split-window-above-each-other
22382 instead of split-window-vertically.
22383 (split-window-above-each-other, split-window-vertically):
22384 Rename split-window-vertically to split-window-above-each-other
22385 and provide defalias for old definition.
22386 (split-window-side-by-side, split-window-horizontally):
22387 Rename split-window-horizontally to split-window-side-by-side
22388 and provide defalias for the old definition.
22389 (ctl-x-map): Move bindings for delete-window,
22390 delete-other-windows and enlarge-window here from window.c.
22391 Replace bindings for split-window-vertically and
22392 split-window-horizontally by bindings for
22393 split-window-above-each-other and split-window-side-by-side.
22394
22395 * cus-start.el (all): Remove entries for window-min-height and
22396 window-min-width. Add entries for window-splits and
22397 window-nest.
22398
22399 2011-06-09 Glenn Morris <rgm@gnu.org>
22400
22401 * calendar/appt.el (appt-mode-line): New function.
22402 (appt-check, appt-disp-window): Use it.
22403
22404 * files.el (hack-one-local-variable-eval-safep):
22405 Allow minor-modes with explicit +/-1 arguments.
22406
22407 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
22408
22409 * term/xterm.el (xterm): Add defgroup.
22410 (xterm-extra-capabilities): Add defcustom to supply known xterm
22411 capabilities, skip querying them, or query them (default).
22412 (terminal-init-xterm): Use it.
22413 (terminal-init-xterm-modify-other-keys): New function to set up
22414 modifyOtherKeys support to simplify `terminal-init-xterm'.
22415
22416 2011-06-09 Martin Rudalics <rudalics@gmx.at>
22417
22418 * window.el (resize-window-reset, resize-window-reset-1)
22419 (resize-subwindows-skip-p, resize-subwindows-normal)
22420 (resize-subwindows, resize-other-windows, resize-this-window)
22421 (resize-root-window, resize-root-window-vertically)
22422 (window-deletable-p, window-or-subwindow-p)
22423 (frame-root-window-p): New functions.
22424
22425 2011-06-09 Glenn Morris <rgm@gnu.org>
22426
22427 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
22428 (ange-ftp-get-files): Use it.
22429
22430 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
22431
22432 * mail/sendmail.el (mail-recover-1, mail-recover):
22433 * files.el (recover-file, recover-session):
22434 Handle dired-listing-switches not being just a single short option.
22435
22436 2011-06-09 Glenn Morris <rgm@gnu.org>
22437
22438 * calendar/appt.el (appt-display-message, appt-disp-window):
22439 Handle lists of appointments.
22440
22441 2011-06-08 Martin Rudalics <rudalics@gmx.at>
22442
22443 * window.el (one-window-p): Move down in code.
22444 Rewrite doc-string.
22445 (window-current-scroll-bars): Rewrite doc-string.
22446 Normalize live window argument.
22447 (walk-windows, get-window-with-predicate, count-windows):
22448 Rewrite doc-string. Use window-list-1.
22449 (window-in-direction-2, window-in-direction, get-mru-window):
22450 New functions.
22451
22452 2011-06-08 Reuben Thomas <rrt@sc3d.org>
22453
22454 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
22455 Doc fix (Bug#8713).
22456
22457 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
22458
22459 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
22460
22461 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
22462
22463 * loadhist.el (unload-feature-special-hooks):
22464 Add `comint-output-filter-functions'.
22465
22466 2011-06-08 Ivan Kanis <gnu@kanis.fr>
22467
22468 * calendar/appt.el (appt-check): Move some initializations into the let.
22469
22470 2011-06-08 Martin Rudalics <rudalics@gmx.at>
22471
22472 * window.el (window-height): Defalias to window-total-height.
22473 (window-width): Defalias to window-body-width.
22474
22475 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
22476
22477 * image-mode.el (image-toggle-animation): New command.
22478 (image-mode-map): Bind it to RET.
22479 (image-mode): Update message.
22480 (image-toggle-display-image): Avoid a spurious cache flush.
22481 (image-transform-rotation): Doc fix.
22482 (image-transform-properties): Return quickly in the normal case.
22483 (image-animate-loop): Rename from image-animate-max-time.
22484
22485 * image.el (image-animate-max-time): Move to image-mode.el.
22486 (create-animated-image): Remove unnecessary function.
22487 (image-animate): Rename from image-animate-start. New arg.
22488 (image-animate-stop): Remove; just use image-animate-timer.
22489 (image-animate-timer): Use car-safe.
22490 (image-animate-timeout): Rename argument.
22491
22492 2011-06-07 Martin Rudalics <rudalics@gmx.at>
22493
22494 * window.el (get-lru-window, get-largest-window): Move here from
22495 window.c. Rename first argument to ALL-FRAMES.
22496 Rephrase doc-strings.
22497 (get-buffer-window-list): Rewrite using window-list-1.
22498 Rephrase doc-string.
22499 (window-safe-min-height, window-safe-min-width): New constants.
22500 (window-size-ignore, window-min-size, window-min-size-1)
22501 (window-sizable, window-sizable-p, window-size-fixed-1)
22502 (window-size-fixed-p, window-min-delta-1, window-min-delta)
22503 (window-max-delta-1, window-max-delta, window-resizable)
22504 (window-resizable-p, window-total-height, window-total-width)
22505 (window-body-width): New functions.
22506 (window-full-height-p, window-full-width-p): Rewrite using
22507 window-total-size.
22508 (window-body-height): Rewrite using window-body-size.
22509
22510 2011-06-06 Martin Rudalics <rudalics@gmx.at>
22511
22512 * window.el (window-right, window-left, window-child)
22513 (window-child-count, window-last-child, window-any-p)
22514 (normalize-live-buffer, normalize-live-frame)
22515 (normalize-any-window, normalize-live-window)
22516 (window-iso-combination-p, window-iso-combined-p)
22517 (window-iso-combinations)
22518 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
22519 (windows-with-parameter, window-with-parameter)
22520 (window-atom-root, make-window-atom, window-atom-check-1)
22521 (window-atom-check, window-side-check, window-check):
22522 New functions.
22523 (ignore-window-parameters, window-sides, window-sides-vertical)
22524 (window-sides-slots): New variables.
22525 (window-size-fixed): Move down in code. Minor doc-string fix.
22526
22527 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
22528
22529 * comint.el (comint-dynamic-complete-as-filename)
22530 (comint-dynamic-complete-filename): Correctly call
22531 completion-in-region.
22532
22533 2011-06-05 Deniz Dogan <deniz@dogan.se>
22534
22535 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
22536 in last change.
22537
22538 2011-06-05 Deniz Dogan <deniz@dogan.se>
22539
22540 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
22541 (rcirc): Use it to prompt for encryption.
22542
22543 2011-06-05 Roland Winkler <winkler@gnu.org>
22544
22545 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
22546 (bibtex-search-entries): New command bound to C-c C-a.
22547 (bibtex-display-entries): New function.
22548
22549 2011-06-05 Roland Winkler <winkler@gnu.org>
22550
22551 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
22552 (bibtex-insert-kill): After yanking insert newline if necessary.
22553 (bibtex-initialize): Call bibtex-string-files-init only once.
22554 (bibtex-mode): Do not call easy-menu-add.
22555 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
22556 (bibtex-yank): Set arg properly if nil.
22557
22558 2011-06-05 Roland Winkler <winkler@gnu.org>
22559
22560 * textmodes/bibtex.el (bibtex-search-entry-globally):
22561 New variable.
22562 (bibtex-search-entry): Use it.
22563
22564 2011-06-05 Roland Winkler <winkler@gnu.org>
22565
22566 * textmodes/bibtex.el (bibtex-entry-format): New option
22567 sort-fields.
22568 (bibtex-format-entry, bibtex-reformat): Honor this option.
22569 (bibtex-parse-entry): Return fields in proper order.
22570
22571 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
22572
22573 * doc-view.el (doc-view-remove-if): Move computation of result out
22574 of `dolist' to silence misleading lexical-binding warning.
22575
22576 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
22577
22578 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
22579 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
22580
22581 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
22582
22583 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
22584 "SunOS 5.10".
22585
22586 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
22587
22588 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
22589 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
22590 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
22591 (tramp-parse-putty):
22592 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
22593 (tramp-completion-function-alist-ssh)
22594 (tramp-completion-function-alist-telnet)
22595 (tramp-completion-function-alist-su)
22596 (tramp-completion-function-alist-putty): Set `tramp-autoload'
22597 cookie.
22598
22599 * net/tramp-ftp.el:
22600 * net/tramp-sh.el:
22601 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
22602 load "tramp.el" `tramp-set-completion-function'.
22603
22604 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
22605
22606 * shell.el: Require and use pcomplete.
22607 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
22608 (shell-completion-vars): Set pcomplete-default-completion-function.
22609
22610 2011-06-04 Deniz Dogan <deniz@dogan.se>
22611
22612 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
22613 `memq' (Bug#8799).
22614
22615 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
22616
22617 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
22618
22619 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
22620
22621 * bs.el (bs--mark-unmark, bs--nth-wrapper):
22622 * mpc.el (mpc-select-extend, mpc-songpointer-context):
22623 * vc/log-view.el (log-view-beginning-of-defun):
22624 * vc/smerge-mode.el (smerge-apply-resolution-patch)
22625 (smerge-refine-forward, smerge-refine-chopup-region):
22626 Silence warning for unused `dotimes' counter variables.
22627
22628 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
22629
22630 * net/tramp.el (tramp-with-progress-reporter): Rename from
22631 with-progress-reporter. Use `declare'.
22632 * net/tramp-smb.el:
22633 * net/tramp-sh.el:
22634 * net/tramp-gvfs.el: Update all uses.
22635
22636 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
22637
22638 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
22639 buffer isn't killed before making it current.
22640
22641 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
22642
22643 Silence various byte-compiler warnings.
22644 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
22645 `access-type' and new obsolescence format.
22646 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
22647 new format.
22648 (byte-compile-check-variable): New `access-type' argument.
22649 Only warn if the access-type is obsolete.
22650 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
22651 (byte-compile-variable-set): Adjust callers.
22652 * help-fns.el (describe-variable): Adjust to new obsolescence format.
22653 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
22654 setting it as obsolete.
22655 * simple.el (minibuffer-completing-symbol):
22656 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
22657 access as obsolete.
22658 * minibuffer.el (minibuffer-completing-file-name): Don't make it
22659 obsolete yet.
22660 * international/quail.el (quail-mouse-choose-completion): Remove unused
22661 code referring to obsolete var.
22662 (quail-choose-completion-string): Remove.
22663 * server.el (server-clients-with, server-kill-buffer-query-function)
22664 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
22665 * proced.el (proced-send-signal):
22666 * emacs-lisp/lisp.el (lisp-complete-symbol):
22667 Replace completion-annotate-function with completion-extra-properties.
22668
22669 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
22670
22671 * simple.el (goto-line): Use read-number.
22672 (overriding-map-is-bound): Remove.
22673 (saved-overriding-map): Change default.
22674 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
22675 Take the map as argument.
22676 (universal-argument, negative-argument, digit-argument): Use it.
22677 (restore-overriding-map): Adjust.
22678 (do-auto-fill): Use fill-forward-paragraph.
22679 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
22680
22681 * minibuffer.el (minibuffer-inactive-mode-map): New var.
22682 (minibuffer-inactive-mode): New major mode.
22683 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
22684 the *Messages* buffer" hack.
22685 (mouse-popup-menubar): Don't burp if the event is a normal key.
22686
22687 Miscellaneous tweaks.
22688 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
22689 lexical scoping as in subr.el's dolist and dotimes.
22690 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
22691 Silence compiler warning.
22692 * thingatpt.el (forward-whitespace): Trivial coding style fix.
22693 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
22694 * international/ccl.el (ccl-compile): Trivial simplification.
22695 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
22696 * emacs-lisp/testcover.el (testcover-end): Remove spurious
22697 `printflag' argument.
22698 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
22699 Purecopy the whole obsolescence data.
22700
22701 2011-06-01 Leo Liu <sdl.web@gmail.com>
22702
22703 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
22704 improve doc-string as suggested by Marco Pessotto
22705 <melmothx@gmail.com>.
22706 (rcirc-print): Fix last change.
22707
22708 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22709
22710 * minibuffer.el (complete-with-action): Return nil for the metadata and
22711 boundaries of non-functional tables.
22712 (completion-table-dynamic): Return nil for the metadata.
22713 (completion-table-with-terminator): Add default case, using
22714 complete-with-action.
22715 (completion--metadata): New function.
22716 (completion-all-sorted-completions, minibuffer-completion-help): Use it
22717 to try and avoid pathological performance problems.
22718 (completion--embedded-envvar-table): Return `category' metadata.
22719
22720 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
22721
22722 * subr.el (process-alive-p): New tiny convenience function.
22723
22724 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22725
22726 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
22727 content but also its previous major mode.
22728
22729 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
22730
22731 * emacs-lisp/debug.el (debug): Restore the previous content of the
22732 *Backtrace* buffer when we exit with C-M-c.
22733
22734 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22735
22736 * minibuffer.el: Add metadata method to completion tables.
22737 (completion-category-overrides): New defcustom.
22738 (completion-metadata, completion--field-metadata)
22739 (completion-metadata-get, completion--styles)
22740 (completion--cycle-threshold): New functions.
22741 (completion-try-completion, completion-all-completions):
22742 Add `metadata' argument to choose completion-styles.
22743 (completion--do-completion): Use metadata to choose cycling.
22744 (completion-all-sorted-completions): Use metadata for sorting.
22745 Remove :completion-cycle-penalty which is not needed any more.
22746 (completion--try-word-completion): Add `metadata' argument.
22747 (minibuffer-completion-help): Check metadata for annotation function
22748 and sorting.
22749 (completion-file-name-table): Return `category' metadata.
22750 (minibuffer-completing-file-name): Make obsolete.
22751 * simple.el (minibuffer-completing-symbol): Make obsolete.
22752 * icomplete.el (icomplete-completions): Pass new `metadata' param to
22753 completion-try-completion.
22754
22755 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
22756
22757 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
22758
22759 2011-05-30 Leo Liu <sdl.web@gmail.com>
22760
22761 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
22762 (rcirc-print): Decode all incoming messages (bug#8744).
22763 (rcirc-decode-coding-system): Allow value nil for automatic coding
22764 system detection.
22765
22766 2011-06-01 Glenn Morris <rgm@gnu.org>
22767
22768 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
22769
22770 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22771
22772 * image.el (image-animate-max-time): Allow nil and t values.
22773 Default to nil.
22774 (create-animated-image): Doc fix.
22775 (image-animate-start): Remove second arg; just use
22776 image-animate-max-time.
22777 (image-animate-timeout): Doc fix. Args changed.
22778
22779 * image-mode.el (image-toggle-display-image): Ensure that the
22780 image spec passed to the animate timer is the same object as in
22781 the buffer's display property (Bug#6981).
22782 (image-transform-properties): Doc fix.
22783
22784 * image.el (image-animate-max-time): Default to nil.
22785
22786 2011-05-29 Martin Rudalics <rudalics@gmx.at>
22787
22788 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
22789 entire buffer list (Bug#8184).
22790
22791 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22792
22793 * image.el (imagemagick-types-inhibit)
22794 (imagemagick-register-types): Doc fix.
22795
22796 2011-05-29 Deniz Dogan <deniz@dogan.se>
22797
22798 * net/rcirc.el (rcirc): Use the user's stored encryption method by
22799 default.
22800
22801 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22802
22803 * select.el: Don't perform clipboard-manager saving in hooks;
22804 leave the hooks empty.
22805
22806 2011-05-28 Leo Liu <sdl.web@gmail.com>
22807
22808 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
22809 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
22810 (occur-edit-mode): New major mode (Bug#8463).
22811 (occur-after-change-function): New function.
22812 (occur-engine): Give Occur tags a read-only property.
22813
22814 2011-05-28 Kevin Ryde <user42@zip.com.au>
22815
22816 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
22817
22818 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22819
22820 * bindings.el (help-echo): Make the initial non-indicator dash
22821 empty on graphical terminals (Bug#7295).
22822
22823 * files.el (auto-mode-alist): Move config rule after the
22824 in-stripping one (Bug#8547).
22825
22826 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
22827
22828 * startup.el (normal-splash-screen): Remove gratuitous mode-line
22829 setting (Bug#8740).
22830
22831 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
22832
22833 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
22834 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
22835 (Bug#8539).
22836
22837 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22838
22839 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
22840
22841 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
22842
22843 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
22844 (hs-hide-block-at-point, hs-find-block-beginning)
22845 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
22846 (Bug#8279).
22847
22848 2011-05-28 Glenn Morris <rgm@gnu.org>
22849
22850 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
22851
22852 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22853
22854 * help-fns.el (describe-function-1): If the function is a derived
22855 major mode, print the parent mode.
22856
22857 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
22858 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
22859
22860 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
22861
22862 * minibuffer.el (completion--capf-wrapper): Check applicability before
22863 returning non-nil for non-exclusive completion data.
22864 * progmodes/etags.el (tags-completion-at-point-function):
22865 * info-look.el (info-lookup-completions-at-point): Mark as
22866 non-exclusive.
22867 (info-complete): Adjust accordingly.
22868
22869 * info-look.el: Convert to lexical-binding and completion-at-point.
22870 (info-lookup-completions-at-point): New function.
22871 (info-complete): Use it and completion-in-region.
22872
22873 2011-05-28 Drew Adams <drew.adams@oracle.com>
22874
22875 * isearch.el: Let M-e start with point at the first mismatched char.
22876 (isearch-fail-pos): New function.
22877 (isearch-edit-string): Use it.
22878
22879 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
22880
22881 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
22882
22883 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
22884
22885 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
22886 traversal functions for avl-trees.
22887 (avl-tree--stack): New struct.
22888 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
22889 (avl-tree-enter): Add optional `updatefun' arg.
22890 (avl-tree--do-enter): Add optional `updatefun' arg.
22891 Change return value.
22892 (avl-tree-delete): Add optional `test' and `nilflag' args.
22893 (avl-tree--do-delete): Add `test' and `nilflag' args.
22894 Change return value.
22895 (avl-tree-member): Add optional `nilflag'
22896 (avl-tree-member-p): New function.
22897 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
22898 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
22899 (avl-tree-stack-empty-p): New functions.
22900
22901 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
22902 avl-tree--del-balance1 and make it work both ways.
22903 (avl-tree--del-balance2): Remove.
22904 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
22905 make it work both ways.
22906 (avl-tree--enter-balance2): Remove.
22907 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
22908 New macros.
22909 (avl-tree--mapc, avl-tree-map): Add direction argument.
22910
22911 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
22912
22913 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
22914
22915 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
22916
22917 * select.el: Support clipboard managers with built-in function
22918 x-clipboard-manager-save, via delete-frame-functions and
22919 kill-emacs-hook.
22920 (xselect-convert-to-targets): Add MULTIPLE target to list.
22921 (xselect-convert-to-save-targets): New function.
22922
22923 2011-05-27 Kenichi Handa <handa@m17n.org>
22924
22925 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
22926 let-binding rfc2047-encode-encoded-words to nil.
22927
22928 2011-05-27 Glenn Morris <rgm@gnu.org>
22929
22930 * mail/emacsbug.el: Don't require url-util.
22931
22932 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
22933
22934 * files.el (set-auto-mode):
22935 Also respect mode: entries at the end of the file. (Bug#8586)
22936
22937 2011-05-26 Glenn Morris <rgm@gnu.org>
22938
22939 * files.el (hack-local-variables-prop-line, hack-local-variables):
22940 Downcase mode names, as seems to be traditional.
22941 (hack-local-variables, hack-local-variables-apply): Doc fixes.
22942
22943 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
22944 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
22945
22946 2011-05-25 Julien Danjou <julien@danjou.info>
22947
22948 * textmodes/rst.el (rst-define-level-faces): Do not define face
22949 symbol if it is already defined.
22950
22951 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
22952
22953 * play/5x5.el (5x5-new-game, 5x5-randomize):
22954 Reset 5x5-solver-output to nil when a new grid is cast.
22955 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
22956 these debugging traces, as defmacro breaks the compiled code.
22957
22958 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
22959
22960 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
22961
22962 2011-05-24 Leo Liu <sdl.web@gmail.com>
22963
22964 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
22965 (vc-bzr-sha1): Adapt.
22966
22967 * sha1.el: Remove. Function `sha1' is now builtin.
22968
22969 * bindings.el: Provide sha1 feature.
22970
22971 2011-05-24 Kenichi Handa <handa@m17n.org>
22972
22973 * mail/sendmail.el: Require `rfc2047'.
22974 (mail-insert-from-field): Do not perform RFC2047 encoding.
22975 (mail-encode-header): New function.
22976 (sendmail-send-it): Set buffer-file-coding-system of the work
22977 buffer to the return value of select-message-coding-system.
22978 Call mail-encode-header.
22979
22980 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
22981
22982 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
22983
22984 * mail/supercite.el (sc-default-cite-frame):
22985 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
22986
22987 2011-05-24 Glenn Morris <rgm@gnu.org>
22988
22989 * progmodes/python.el (brm-menu): Declare.
22990
22991 * emulation/viper.el (viper-set-hooks): Declare.
22992
22993 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
22994 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
22995 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
22996 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
22997 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
22998 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
22999
23000 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
23001
23002 Add an :exit-function for completion-at-point.
23003
23004 * minibuffer.el (completion--done): New fun.
23005 (completion--do-completion): Use it. New arg `expect-exact'.
23006 (minibuffer-complete, minibuffer-complete-word): Don't output message,
23007 since completion--do-completion does it for us now.
23008 (minibuffer-force-complete): Use completion--done and
23009 completion--replace. Handle sole-completion case with more care.
23010 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
23011 (completion-extra-properties): New var.
23012 (completion-annotate-function): Make obsolete.
23013 (minibuffer-completion-help): Adjust accordingly.
23014 Use completion-list-insert-choice-function.
23015 (completion-at-point, completion-help-at-point):
23016 Bind completion-extra-properties.
23017 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
23018 * simple.el (completion-list-insert-choice-function): New var.
23019 (completion-setup-function): Preserve it.
23020 (choose-completion): Pay attention to it, shuffle the code a bit.
23021 (choose-completion-string): New arg `insert-function'.
23022
23023 * textmodes/bibtex.el: Convert to lexical binding.
23024 (bibtex-mode-map): Use completion-at-point.
23025 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
23026 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
23027 (bibtex-complete): Define as obsolete alias.
23028 (bibtex-complete-internal): Remove.
23029 (bibtex-format-entry): Remove unused sub-group in regexp.
23030 * shell.el (shell--command-completion-data)
23031 (shell-environment-variable-completion):
23032 * pcomplete.el (pcomplete-completions-at-point):
23033 * comint.el (comint--complete-file-name-data): Use :exit-function
23034 instead of completion-table-with-terminator so it also works for
23035 choose-completion.
23036
23037 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
23038
23039 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
23040
23041 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
23042 (bug#8710).
23043
23044 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
23045
23046 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
23047
23048 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
23049 customization variable and implement: If non-nil, auto-fill will
23050 be inhibited while on topic's header line.
23051
23052 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
23053
23054 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
23055 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
23056 always have a solution in grid size = 5 cases.
23057 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
23058 (5x5-solver-output, 5x5-log-buffer): New vars.
23059 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
23060 Make these variables buffer local to achieve 5x5 multi-session-ness.
23061 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
23062 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
23063 (5x5-solve-suggest): New funs.
23064 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
23065 randomize a grid so that we ensure that there is always a solution.
23066 (5x5-make-random-grid): Allow other movement than flipping.
23067
23068 2011-05-23 Kevin Ryde <user42@zip.com.au>
23069
23070 * emacs-lisp/advice.el (ad-read-advised-function):
23071 Use `function-called-at-point' as the default, if it has
23072 advice and passes PREDICATE.
23073
23074 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
23075
23076 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
23077 byte-compile-lambda if it's actually a lambda.
23078
23079 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
23080 Fix function quoting. Use backquote better.
23081
23082 2011-05-22 Yuanle Song <sylecn@gmail.com>
23083
23084 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
23085 matching (Bug#8516).
23086
23087 2011-05-22 Jari Aalto <jari.aalto@cante.net>
23088
23089 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
23090 different face (Bug#8178).
23091
23092 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
23093
23094 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
23095 defface (Bug#8144).
23096
23097 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
23098
23099 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
23100 funcall as well (bug#8712). Warn when performing those conversions.
23101 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
23102
23103 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
23104
23105 2011-05-22 Glenn Morris <rgm@gnu.org>
23106
23107 * files.el (hack-local-variables-prop-line): Small simplifications.
23108 (hack-local-variables, hack-local-variables-prop-line):
23109 If MODE-ONLY, return the mode, rather than just `t'.
23110
23111 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
23112
23113 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
23114
23115 2011-05-21 Glenn Morris <rgm@gnu.org>
23116
23117 * files.el (hack-local-variables-prop-line, hack-local-variables):
23118 If only interested in the mode, don't bother doing the other stuff.
23119
23120 * image-mode.el (image-after-revert-hook):
23121 Redraw all frames on which the image is visible. (Bug#8567)
23122
23123 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
23124
23125 * wid-edit.el (widget-checklist-match-inline):
23126 Fix 2011-04-19 change. (Bug#8649)
23127
23128 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
23129
23130 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
23131 Also allow singlespace after single-letter capitals followed by a dot.
23132
23133 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
23134 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
23135
23136 2011-05-20 Nix <nix@esperi.org.uk>
23137
23138 * files.el (basic-save-buffer-2):
23139 Fix handling of break-hardlink-on-save with non-existent files.
23140
23141 2011-05-19 Deniz Dogan <deniz@dogan.se>
23142
23143 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
23144 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
23145
23146 2011-05-19 Glenn Morris <rgm@gnu.org>
23147
23148 * progmodes/f90.el (f90-type-def-re):
23149 Handle "type, bind(c)". (Bug#8691)
23150
23151 * emacs-lisp/autoload.el (batch-update-autoloads):
23152 Set autoload-excludes by parsing loadup.el rather than Makefiles.
23153
23154 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
23155
23156 * net/tramp.el (tramp-process-actions): Set "first-password-request"
23157 property for the correct connection in case of multihops.
23158
23159 2011-05-18 Glenn Morris <rgm@gnu.org>
23160
23161 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
23162 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
23163
23164 Rationalize calendar handling of day and month abbrev-arrays.
23165 * calendar/calendar.el (calendar-customized-p): New function.
23166 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
23167 (calendar-day-name-array, calendar-month-name-array): Doc fix.
23168 Add :set function.
23169 (calendar-abbrev-length, calendar-day-abbrev-array)
23170 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
23171 (calendar-day-abbrev-array, calendar-month-abbrev-array):
23172 Elements may no longer be nil.
23173 (calendar-day-name, calendar-month-name):
23174 Update for changed nature of abbrev arrays.
23175 * calendar/diary-lib.el (diary-name-pattern):
23176 Update for changed nature of abbrev arrays.
23177 (diary-mark-entries-1): Update calendar-make-alist calls.
23178 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
23179 * calendar/cal-html.el (cal-html-day-abbrev-array):
23180 Simply inherit from calendar-day-abbrev-array.
23181
23182 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
23183
23184 * progmodes/grep.el (grep-mode): Disable default
23185 compilation-directory-matcher setting (bug#8684).
23186
23187 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
23188
23189 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
23190 instead of "head" and "tail". There were problems with SunOS 5.9,
23191 and it performs better.
23192
23193 2011-05-17 Glenn Morris <rgm@gnu.org>
23194
23195 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
23196
23197 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
23198 Replace obsolete function.
23199
23200 * shell.el (pcomplete-parse-arguments-function): Declare.
23201
23202 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
23203 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
23204 (appt-check): Doc fixes.
23205 (appt-disp-window-function, appt-delete-window-function):
23206 Remove needless special case in custom :type.
23207 (appt-display-count): Default to 0, not nil.
23208 (appt-check): Reset appt-display-count to 0, not nil.
23209
23210 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
23211
23212 * progmodes/python.el (python-font-lock-keywords):
23213 Add the Python 3.X keyword "nonlocal" (bug#8639).
23214
23215 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
23216
23217 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
23218
23219 2011-05-16 Kevin Ryde <user42@zip.com.au>
23220
23221 * info-look.el (makefile-automake-mode): New setups, looking in
23222 automake manual, then makefile-mode.
23223 (makefile-mode): Remove automake manual, have it just in
23224 makefile-automake-mode since there's various things different or
23225 not relevant to plain make.
23226 (makefile-mode): Remove "other-modes" non-existent automake-mode,
23227 believe a hypothetical automake-mode would go to makefile-mode,
23228 not the other way around.
23229
23230 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
23231
23232 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
23233 hunk-end tags (Bug#8672).
23234
23235 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
23236 vc-annotate-show-diff-revision-at-line (Bug#8671).
23237
23238 2011-05-14 Glenn Morris <rgm@gnu.org>
23239
23240 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
23241 in the middle of an existing one with multiple authors. (Bug#8645)
23242 (change-log-font-lock-keywords): Also handle multiple author lines
23243 with leading tabs. (Bug#8644)
23244
23245 * calendar/appt.el (appt-check): Rename some local variables.
23246 Some simplification/reordering.
23247
23248 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
23249 (feedmail-sendmail-f-doesnt-sell-me-out)
23250 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
23251 (feedmail-debug-sit-for, feedmail-queue-express-hook)
23252 (feedmail-queue-runner-message-sender): Set :version.
23253 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
23254 (bbdb-dwim-net-address, vm-mail): Declare.
23255 (feedmail-binmail-gnulinuxish-template):
23256 Rename from feedmail-binmail-linuxish-template.
23257 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
23258 Use insert-buffer-substring.
23259
23260 2011-05-14 Bill Carpenter <bill@carpenter.org>
23261
23262 * mail/feedmail.el (feedmail-patch-level): Increase.
23263 (feedmail-debug): New custom group.
23264 (feedmail-confirm-outgoing-timeout)
23265 (feedmail-sendmail-f-doesnt-sell-me-out)
23266 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
23267 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
23268 (feedmail-sender-line, feedmail-from-line)
23269 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
23270 (feedmail-spray-this-address)
23271 (feedmail-spray-address-fiddle-plex-list)
23272 (feedmail-queue-use-send-time-for-date)
23273 (feedmail-queue-use-send-time-for-message-id)
23274 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
23275 (feedmail-buffer-eating-function):
23276 Doc fixes.
23277 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
23278 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
23279 (feedmail-message-action-scroll-down): New functions.
23280 (feedmail-queue-directory, feedmail-queue-draft-directory):
23281 Use expand-file-name.
23282 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
23283 Remove C-v help entry.
23284 (feedmail-queue-buffer-file-name): New variable.
23285 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
23286 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
23287 (feedmail-message-action-send-strong, feedmail-message-action-edit)
23288 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
23289 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
23290 (feedmail-message-action-toggle-spray)
23291 (feedmail-run-the-queue-no-prompts)
23292 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
23293 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
23294 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
23295 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
23296 (feedmail-envelope-deducer, feedmail-fiddle-from)
23297 (feedmail-fiddle-sender, feedmail-default-date-generator)
23298 (feedmail-fiddle-date, feedmail-fiddle-message-id)
23299 (feedmail-fiddle-spray-address)
23300 (feedmail-fiddle-list-of-spray-fiddle-plexes)
23301 (feedmail-fiddle-list-of-fiddle-plexes)
23302 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
23303 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
23304 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
23305 Change default. Doc fix.
23306 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
23307 (feedmail-binmail-linuxish-template): New constant.
23308 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
23309 Respect feedmail-sendmail-f-doesnt-sell-me-out.
23310 (feedmail-send-it): Add debug call.
23311 Use feedmail-queue-buffer-file-name, and
23312 feedmail-send-it-immediately-wrapper.
23313 (feedmail-message-action-send): Add debug call.
23314 Use feedmail-send-it-immediately-wrapper.
23315 (feedmail-queue-express-to-queue): Add debug call.
23316 Run feedmail-queue-express-hook.
23317 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
23318 (feedmail-message-action-help-blat):
23319 Rename from feedmail-queue-send-edit-prompt-help-first.
23320 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
23321 Check line-endings. Handle errors better.
23322 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
23323 Doc fix. Add debug call.
23324 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
23325 Use feedmail-queue-send-edit-prompt-inner.
23326 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
23327 (feedmail-queue-send-edit-prompt-inner): New function, extracted
23328 from feedmail-queue-send-edit-prompt.
23329 (feedmail-queue-send-edit-prompt-help)
23330 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
23331 (feedmail-tidy-up-slug): Add debug call.
23332 Respect feedmail-queue-slug-suspect-regexp.
23333 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
23334 (feedmail-dump-message-to-queue): Add debug call.
23335 Expand queue-directory.
23336 (feedmail-dump-message-to-queue): Change message slightly.
23337 Use feedmail-say-chatter.
23338 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
23339 (feedmail-send-it-immediately-wrapper): New function.
23340 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
23341 Insert empty string rather than newline. Handle full-frame case.
23342 Use catch/throw. Use feedmail-say-chatter.
23343 (feedmail-fiddle-from): Try mail-host-address.
23344 (feedmail-default-message-id-generator): Doc fix.
23345 Bind system-time-locale. Handle missing end.
23346 (feedmail-fiddle-x-mailer): Add debug call.
23347 Handle feedmail-x-mailer-line being nil.
23348 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
23349 Add debug call. Use buffer-substring-no-properties.
23350 (feedmail-say-debug, feedmail-say-chatter): New functions.
23351 (feedmail-find-eoh): Give an explicit error.
23352
23353 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
23354
23355 * net/newst-treeview.el (newsticker-treeview-face): Change default
23356 family from helvetica to sans.
23357 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
23358 etc/images/newsticker.
23359
23360 * net/newst-reader.el (newsticker-feed-face): Change default
23361 family from helvetica to sans.
23362
23363 * net/newst-plainview.el (newsticker-new-item-face)
23364 (newsticker-old-item-face, newsticker-immortal-item-face)
23365 (newsticker-obsolete-item-face, newsticker-date-face)
23366 (newsticker-statistics-face): Change default family from
23367 helvetica to sans.
23368 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
23369 etc/images/newsticker.
23370
23371 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
23372 (newsticker--process-auto-mark-filter-match): Tell user about
23373 auto-marking.
23374
23375 2011-05-13 Didier Verna <didier@xemacs.org>
23376
23377 Common Lisp indentation improvements on defmethod and lambda-lists.
23378 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
23379 TODO entries.
23380 (lisp-lambda-list-keyword-parameter-indentation)
23381 (lisp-lambda-list-keyword-parameter-alignment)
23382 (lisp-lambda-list-keyword-alignment): New customizable user options.
23383 (lisp-indent-defun-method): Improve docstring.
23384 (extended-loop-p): Fix comment.
23385 (lisp-indent-lambda-list-keywords-regexp): New variable.
23386 (lisp-indent-lambda-list): New function.
23387 (lisp-indent-259): Use it.
23388 (lisp-indent-defmethod): Support for more than one
23389 method qualifier and properly indent methods lambda-lists.
23390 (defgeneric): Provide a missing common-lisp-indent-function property.
23391
23392 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
23393
23394 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
23395 bounds for the empty string (bug#8667).
23396
23397 2011-05-13 Glenn Morris <rgm@gnu.org>
23398
23399 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
23400
23401 * mail/sendmail.el (sendmail-program): Try executable-find first.
23402 (sendmail-send-it): `sendmail-program' cannot be unbound.
23403
23404 * calendar/appt.el (appt-make-list): Simplify.
23405 (appt-time-msg-list): Doc fix.
23406 (appt-check): Change mode-line message at the time of the appointment.
23407
23408 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
23409
23410 * progmodes/ld-script.el (ld-script-keywords)
23411 (ld-script-builtins): Update keywords list.
23412
23413 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23414
23415 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
23416
23417 * shell.el (shell-completion-vars): New function.
23418 (shell-mode):
23419 * simple.el (read-shell-command): Use it.
23420 (blink-matching-open): No need for " [...]" in minibuffer-message.
23421
23422 2011-05-12 Glenn Morris <rgm@gnu.org>
23423
23424 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
23425 (appt-check): Simplify.
23426
23427 2011-05-12 Eli Zaretskii <eliz@gnu.org>
23428
23429 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
23430 literal "/dev/null".
23431
23432 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23433
23434 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
23435 Fix typo.
23436
23437 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
23438
23439 * progmodes/which-func.el (which-function):
23440 Use add-log-current-defun instead of add-log-current-defun-function,
23441 which might not be defined (Bug#8260).
23442
23443 2011-05-12 Glenn Morris <rgm@gnu.org>
23444
23445 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
23446 Let byte-compile-initial-macro-environment always take precedence.
23447
23448 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23449
23450 * net/rcirc.el: Add support for SSL/TLS connections.
23451 (rcirc-server-alist): New field `encryption'.
23452 (rcirc): Check `encryption' settings.
23453 (rcirc-connect): New arg `encryption'. Use open-network-stream.
23454 Merge make-local-variable into `set'.
23455 (rcirc--connection-open-p): New function.
23456 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
23457 the process is not a network process (e.g. running gnutls-cli).
23458 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
23459 Make rcirc-(en|de)code-coding-system local here.
23460 (rcirc-mode): Merge make-local-variable into `set'.
23461 (rcirc-parent-buffer): Make permanent buffer-local.
23462 (rcirc-multiline-minor-mode): Don't do it here.
23463 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
23464 there's no server buffer.
23465
23466 2011-05-11 Glenn Morris <rgm@gnu.org>
23467
23468 * newcomment.el (comment-kill): Prefix "unused" local.
23469
23470 * term/w32console.el (get-screen-color): Declare.
23471
23472 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
23473 Handle symbol elements of byte-compile-initial-macro-environment.
23474
23475 2011-05-10 Leo Liu <sdl.web@gmail.com>
23476
23477 * bookmark.el (bookmark-bmenu-mode-map):
23478 Bind bookmark-bmenu-search to `/'.
23479
23480 * mail/footnote.el: Convert to utf-8 encoding.
23481 (footnote-unicode-string, footnote-unicode-regexp): New variable.
23482 (Footnote-unicode): New function.
23483 (footnote-style-alist): Add unicode style to the list.
23484 (footnote-style): Doc fix.
23485
23486 2011-05-10 Jim Meyering <meyering@redhat.com>
23487
23488 Fix doubled-word typos.
23489 * international/quail.el (quail-insert-kbd-layout): and and -> and
23490 * kermit.el: and and -> and
23491 * net/ldap.el (ldap-search-internal): to to -> to
23492 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
23493 * progmodes/js.el (js-mode): and and -> and
23494 * textmodes/artist.el (artist-move-to-xy): at at -> at
23495 (artist-draw-region-trim-line-endings): if if -> if
23496 And Safetyc -> Safety.
23497 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
23498
23499 2011-05-10 Glenn Morris <rgm@gnu.org>
23500 Stefan Monnier <monnier@iro.umontreal.ca>
23501
23502 * files.el (hack-one-local-variable-eval-safep):
23503 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
23504
23505 2011-05-10 Glenn Morris <rgm@gnu.org>
23506
23507 * calendar/diary-lib.el (diary-list-entries-hook)
23508 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
23509 (diary-nongregorian-marking-hook, diary-list-entries)
23510 (diary-include-other-diary-files, diary-mark-entries)
23511 (diary-mark-included-diary-files): Doc fixes.
23512
23513 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
23514
23515 * misc.el: Require tabulated-list.el during compilation.
23516
23517 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
23518
23519 * progmodes/compile.el (compilation-start):
23520 Run compilation-filter-hook for the async case too.
23521 (compilation-filter-hook): Doc fix.
23522
23523 2011-05-09 Deniz Dogan <deniz@dogan.se>
23524
23525 * wdired.el: Remove outdated installation comment. Fix usage
23526 comment.
23527
23528 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
23529
23530 * misc.el: Implement new command `list-dynamic-libraries'.
23531 (list-dynamic-libraries--loaded-only-p): New variable.
23532 (list-dynamic-libraries--refresh): New function.
23533 (list-dynamic-libraries): New command.
23534
23535 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
23536
23537 * progmodes/compile.el (compilation-error-regexp-alist-alist):
23538 Fix the ant regexp to handle end-line and end-column info from jikes.
23539 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
23540 higher priority to avoid clobbering by gnu.
23541
23542 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
23543
23544 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
23545 if the face has existing theme settings (Bug#8454).
23546
23547 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
23548
23549 * progmodes/perl-mode.el (perl-imenu-generic-expression):
23550 Only match variables declared via `my' or `our' (Bug#8261).
23551
23552 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
23553 special file names `.' and `..' (Bug#8259).
23554
23555 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
23556
23557 * progmodes/grep.el (grep-mode-font-lock-keywords):
23558 Remove buffer-changing entries.
23559 (grep-filter): New function.
23560 (grep-mode): Add it to compilation-filter-hook.
23561
23562 * progmodes/compile.el (compilation-filter-hook)
23563 (compilation-filter-start): New defvars.
23564 (compilation-filter): Call compilation-filter-hook prior to
23565 updating the process mark.
23566
23567 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
23568
23569 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
23570
23571 2011-05-07 Eli Zaretskii <eliz@gnu.org>
23572
23573 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
23574 mailclient-send-it even if window-system is nil. (Bug#8595)
23575
23576 * term/w32console.el (terminal-init-w32console):
23577 Call get-screen-color and use its output to set the frame
23578 background-mode. (Bug#8597)
23579
23580 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
23581
23582 Make bytecomp.el understand that defmethod defines funs (bug#8631).
23583 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
23584 New functions.
23585 (defgeneric, eieio--defmethod): Use them.
23586 (eieio-defgeneric): Remove.
23587 (defmethod): Call defgeneric in a way visible to the byte-compiler.
23588
23589 2011-05-07 Glenn Morris <rgm@gnu.org>
23590
23591 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
23592 Use let rather than let*.
23593 (timeclock-find-discrep): Remove unused local.
23594
23595 * calendar/diary-lib.el (diary-comment-start): Doc fix.
23596
23597 * calendar/appt.el (appt-time-msg-list): Doc fix.
23598
23599 2011-05-06 Noah Friedman <friedman@splode.com>
23600
23601 * apropos.el (apropos-print-doc): Only use
23602 emacs-lisp-docstring-fill-column when it is bound to an integer,
23603 per that variable's documentation.
23604
23605 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
23606
23607 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
23608 and warnings are not silently discarded (e.g. use -d instead of -P).
23609
23610 2011-05-06 Glenn Morris <rgm@gnu.org>
23611
23612 * calendar/appt.el (appt-message-warning-time): Doc fix.
23613 (appt-warning-time-regexp): New option.
23614 (appt-make-list): Respect appt-message-warning-time.
23615
23616 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
23617 New options.
23618 (diary-add-to-list): Strip comments from the displayed string.
23619 (diary-mode): Set comment-start and comment-end.
23620
23621 * vc/diff-mode.el (smerge-refine-subst): Declare.
23622 (diff-refine-hunk): Don't require smerge-mode when compiling.
23623
23624 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
23625
23626 * simple.el (list-processes): Return nil as the docstring says.
23627
23628 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
23629
23630 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
23631 to "".
23632 (ange-ftp-write-region, ange-ftp-insert-file-contents)
23633 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
23634 determining of binary transfer. (Bug#7383)
23635
23636 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
23637
23638 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23639 Fix port computation bug. (Bug#8618)
23640
23641 2011-05-05 Glenn Morris <rgm@gnu.org>
23642
23643 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
23644
23645 * simple.el (shell-dynamic-complete-functions)
23646 (comint-dynamic-complete-functions): Declare.
23647
23648 * net/network-stream.el (gnutls-negotiate):
23649 * simple.el (tabulated-list-print): Fix declarations.
23650
23651 * progmodes/gud.el (syntax-symbol, syntax-point):
23652 Remove unnecessary and incorrect declarations.
23653
23654 * emacs-lisp/check-declare.el (check-declare-scan):
23655 Handle byte-compile-initial-macro-environment in bytecomp.el.
23656
23657 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
23658
23659 Fix earlier half-done eieio-defmethod change (bug#8338).
23660 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
23661 Streamline and change calling convention.
23662 (defmethod): Adjust accordingly and simplify.
23663 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
23664 new eieio--defmethod.
23665 (slot-boundp): Minor CSE simplification.
23666
23667 2011-05-05 Milan Zamazal <pdm@zamazal.org>
23668
23669 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
23670 (glasses-make-readable): Use glasses-separate-capital-groups.
23671
23672 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
23673
23674 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
23675 (warning-series): Doc fix.
23676 (display-warning): Don't try to create the buffer if we just found it.
23677
23678 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
23679
23680 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
23681 (autoload-find-generated-file): New function.
23682 (generate-file-autoloads): Bind generated-autoload-file to
23683 buffer-file-name.
23684 (update-file-autoloads, update-directory-autoloads):
23685 Use autoload-find-generated-file. If called interactively, prompt for
23686 output file (Bug#7989).
23687 (batch-update-autoloads): Doc fix.
23688
23689 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
23690
23691 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
23692
23693 2011-05-04 Glenn Morris <rgm@gnu.org>
23694
23695 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
23696 function, so it follows changes in calendar-date-style.
23697 (diary-fancy-date-matcher): New function.
23698 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
23699 (diary-fancy-font-lock-fontify-region-function):
23700 Use diary-fancy-date-pattern as a function.
23701
23702 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
23703 non-numbers for `year' etc pseudo-variables. (Bug#8583)
23704
23705 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
23706
23707 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
23708 instead of positional arguments. Allow :keylist and :crlfiles
23709 arguments.
23710 (open-gnutls-stream): Call it.
23711
23712 * net/network-stream.el (network-stream-open-starttls): Adjust to
23713 call `gnutls-negotiate' with :process and :hostname arguments.
23714
23715 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
23716
23717 * minibuffer.el (completion--message): New function.
23718 (completion--do-completion, minibuffer-complete)
23719 (minibuffer-force-complete, minibuffer-complete-word): Use it.
23720 (completion--do-completion): Don't ignore completion-auto-help when in
23721 icomplete-mode.
23722
23723 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
23724 internal encoding (e.g. tibetan zero is not whitespace).
23725 (global-whitespace-mode): Prefer save-current-buffer.
23726 (whitespace-trailing-regexp): Remove useless save-match-data.
23727 (whitespace-empty-at-bob-regexp): Minor simplification.
23728
23729 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
23730
23731 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
23732
23733 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
23734
23735 * textmodes/ispell.el (ispell-add-per-file-word-list):
23736 Use `concat' to create string for insertion.
23737
23738 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
23739
23740 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
23741 Avoid open-line which runs post-self-insert-hook.
23742 (bibtex-fill-entry): Remove unused `end' var.
23743
23744 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
23745
23746 * textmodes/ispell.el (ispell-add-per-file-word-list):
23747 Protect against `nil' value of `comment-start' (Bug#8579).
23748
23749 2011-05-03 Leo Liu <sdl.web@gmail.com>
23750
23751 * isearch.el (isearch-yank-pop): New command.
23752 (isearch-mode-map): Bind it to `M-y'.
23753 (isearch-forward): Mention it.
23754
23755 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
23756
23757 * simple.el (minibuffer-complete-shell-command): Remove.
23758 (minibuffer-local-shell-command-map): Use completion-at-point.
23759 (read-shell-command): Setup completion vars here instead.
23760 (read-expression-map): Bind TAB to symbol completion.
23761
23762 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
23763 error directly rather via storing it into `results'.
23764
23765 2011-05-02 Leo Liu <sdl.web@gmail.com>
23766
23767 * vc/diff.el: Fix description.
23768
23769 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23770
23771 * server.el (server-eval-at): New function.
23772
23773 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
23774
23775 * net/network-stream.el (open-network-stream): Take a :nowait
23776 parameter and pass it on to `make-network-process'.
23777 (network-stream-open-plain): Ditto.
23778
23779 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
23780
23781 * faces.el (face-spec-set-match-display): Don't match toolkit
23782 options on terminal frames.
23783
23784 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
23785
23786 * progmodes/pascal.el: Use lexical binding.
23787 (pascal-mode-map): Remove author preferences.
23788
23789 * pcomplete.el (pcomplete-std-complete): Don't abuse
23790 completion-at-point.
23791
23792 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
23793
23794 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
23795 removing code that has been dead since 1991 or so.
23796
23797 * startup.el (command-line): When warning about "_emacs", use a
23798 delayed warning to allow the user to filter it out.
23799
23800 2011-04-28 Deniz Dogan <deniz@dogan.se>
23801
23802 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
23803 user has not joined.
23804
23805 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
23806
23807 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
23808 aren't any completions at point.
23809
23810 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
23811
23812 * subr.el (display-delayed-warnings): New function.
23813 (delayed-warnings-hook): New variable.
23814
23815 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
23816
23817 * minibuffer.el (completion-at-point, completion-help-at-point):
23818 Don't presume that a given completion-at-point-function will always
23819 use the same calling convention.
23820
23821 * pcomplete.el (pcomplete-completions-at-point):
23822 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
23823 pcomplete-seen is non-nil.
23824 (pcomplete-comint-setup): Also recognize the new comint/shell
23825 completion functions.
23826 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
23827 pcomplete-seen is non-nil.
23828
23829 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
23830
23831 * calendar/icalendar.el (diary-lib): Add require statement.
23832 (icalendar--create-uid): Read out a uid from a text-property on
23833 the first character in the entry. This allows for code to add its
23834 own uid to the entry.
23835 (icalendar--convert-float-to-ical): Add export of
23836 `diary-float'-entries save for those with the optional DAY
23837 argument.
23838
23839 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
23840
23841 * subr.el (shell-quote-argument): Use alternate escaping strategy
23842 when we spot a variable reference in a string.
23843
23844 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
23845
23846 * cus-start.el (all): Define customization for debug-on-event.
23847
23848 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
23849
23850 * subr.el (shell-quote-argument): Escape correctly under Windows.
23851
23852 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
23853
23854 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
23855
23856 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
23857
23858 * net/tramp.el (tramp-process-actions): Add POS argument.
23859 Delete region between POS and (pos).
23860
23861 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23862 Use `nil' position in `tramp-process-actions' call.
23863 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
23864
23865 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
23866 position in `tramp-process-actions' call.
23867
23868 * net/trampver.el: Update release number.
23869
23870 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
23871
23872 * custom.el (defcustom): Obey lexical-binding.
23873
23874 Fix octave-inf completion problems reported by Alexander Klimov.
23875 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
23876 Inherit from octave-mode-syntax-table.
23877 (inferior-octave-mode): Set info-lookup-mode.
23878 (inferior-octave-completion-at-point): New function.
23879 (inferior-octave-complete): Use it and completion-in-region.
23880 (inferior-octave-dynamic-complete-functions): Use it as well, and use
23881 comint-filename-completion.
23882 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
23883 symbol elements which shouldn't be word elements.
23884 (octave-font-lock-keywords, octave-beginning-of-defun)
23885 (octave-function-header-regexp): Adjust regexps accordingly.
23886 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
23887
23888 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
23889
23890 * net/gnutls.el (gnutls-errorp): Declare before first use.
23891
23892 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
23893
23894 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
23895 verify-error, and verify-hostname-error parameters. Check whether
23896 default trustfile exists before going to use it. Add missing
23897 argument to gnutls-message-maybe call. Return value.
23898 Reported by Claudio Bley <claudio.bley@gmail.com>.
23899 (open-gnutls-stream): Add usage example.
23900
23901 * net/network-stream.el (network-stream-open-starttls): Give host
23902 parameter to `gnutls-negotiate'.
23903 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
23904 * subr.el (shell-quote-argument): Escape correctly under Windows.
23905
23906 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
23907
23908 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
23909 Use correct match group (bug#8438).
23910
23911 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
23912
23913 * emacs-lisp/package.el (package-built-in-p): Fix typo.
23914 (package-menu--generate): New arg specifying packages to show.
23915 (package-menu-refresh, package-menu-execute, list-packages):
23916 Callers changed.
23917 (package-show-package-list): New function, replacing deleted
23918 package--list-packages (renamed because it is non-internal).
23919
23920 * finder.el (finder-list-matches): Use package-show-package-list
23921 instead of deleted package--list-packages.
23922
23923 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
23924 Based on a previous implementation by Juanma Barranquero (Bug#8366).
23925 (vc-annotate-mode-map): Bind it to RET.
23926
23927 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
23928
23929 * progmodes/etags.el (next-file): Don't use set-buffer to change
23930 buffers (Bug#8478).
23931
23932 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
23933
23934 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
23935
23936 * apropos.el (apropos-label-face): Avoid variable-pitch face.
23937 (apropos-accumulator): Doc fix.
23938 (apropos-function, apropos-macro, apropos-command)
23939 (apropos-variable, apropos-face, apropos-group, apropos-widget)
23940 (apropos-plist): Add face property.
23941 (apropos-symbols-internal): Fix indentation.
23942 (apropos-print): Simplify help, and recognize apropos-multi-type.
23943 (apropos-print-doc): Use button-type-get to extract the button's
23944 face property. Fill docstring (Bug#8352).
23945
23946 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
23947
23948 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
23949
23950 * play/mpuz.el (mpuz-silent): Doc fix.
23951 (mpuz-mode-map): Use mapc.
23952 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
23953 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
23954 Fix typos in docstrings.
23955
23956 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
23957 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
23958
23959 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
23960
23961 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
23962
23963 * minibuffer.el (completion--do-completion): Avoid the "Next char
23964 not unique" prompt if icomplete-mode is enabled (Bug#5849).
23965
23966 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
23967 mouse-2 into unread-command-events, it is interpreted correctly.
23968
23969 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
23970 (image-toggle-display): Doc fix.
23971
23972 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
23973
23974 * textmodes/page.el (what-page): Use line-number-at-pos to
23975 calculate line number (Bug#6825).
23976
23977 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
23978
23979 * eshell/esh-mode.el (find-tag-interactive): Declare function.
23980 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
23981 Pass argument NO-DEFAULT to `find-tag-interactive'.
23982
23983 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
23984
23985 Lexical-binding cleanup.
23986
23987 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
23988 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
23989 * progmodes/ada-prj.el (ada-prj-initialize-values)
23990 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
23991 (ada-prj-show-value):
23992 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
23993 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
23994 (antlr-invalidate-context-cache, antlr-options-menu-filter)
23995 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
23996 * progmodes/bug-reference.el (bug-reference-push-button):
23997 * progmodes/fortran.el (fortran-line-length):
23998 * progmodes/glasses.el (glasses-change):
23999 * progmodes/octave-mod.el (octave-fill-paragraph):
24000 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
24001 (python-pdbtrack-grub-for-buffer, python-sentinel):
24002 * progmodes/sql.el (sql-save-connection):
24003 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
24004 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
24005 Mark unused parameters.
24006
24007 * progmodes/compile.el (compilation--flush-directory-cache)
24008 (compilation--flush-parse, compile-internal): Mark unused parameters.
24009 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
24010 (compilation-next-error-function): Remove unused variable `timestamp'.
24011
24012 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
24013 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
24014
24015 * progmodes/dcl-mode.el (dcl-end-of-command):
24016 Remove unused variable `start'.
24017 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
24018 (dcl-option-value-basic, dcl-option-value-offset)
24019 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
24020 Mark unused parameters.
24021 (dcl-save-local-variable): Remove unused variable `val'.
24022 (mode): Declare.
24023
24024 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
24025 Mark unused parameters.
24026 (delphi-ignore-changes): Move before first use.
24027 (delphi-charset-token-at): Remove unused variable `start'.
24028 (delphi-else-start): Remove unused variable `if-count'.
24029 (delphi-comment-block-start, delphi-comment-block-end):
24030 Remove unused variable `kind'.
24031 (delphi-indent-line): Remove unused variable `new-point'.
24032
24033 * progmodes/ebrowse.el (ebrowse-files-list)
24034 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
24035 Mark unused parameters. Don't quote `lambda'.
24036 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
24037 Don't quote `lambda'.
24038 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
24039 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
24040 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
24041 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
24042 Use `ignore-errors'.
24043 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
24044 (ebrowse-view/find-file-and-search-pattern)
24045 (ebrowse-view/find-member-declaration/definition):
24046 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
24047 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
24048 Rename parameter PREFIX-ARG to PREFIX.
24049 (ebrowse-tags-read-name): Remove unused variables `start' and
24050 `member-info'.
24051 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
24052 to `tags-file'.
24053
24054 * progmodes/etags.el (local-find-tag-hook): Declare.
24055 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
24056 Mark unused parameters.
24057
24058 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
24059 (executable-interpret): Mark unused parameter.
24060
24061 * progmodes/flymake.el (flymake-process-sentinel)
24062 (flymake-after-change-function)
24063 (flymake-create-temp-with-folder-structure)
24064 (flymake-get-include-dirs-dot): Mark unused parameters.
24065 (flymake-safe-delete-directory): Remove unused variable `err'.
24066
24067 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
24068 (speedbar-timer-fn, speedbar-line-text)
24069 (speedbar-change-expand-button-char, speedbar-delete-subblock)
24070 (speedbar-center-buffer-smartly): Declare functions.
24071 (gdb-find-watch-expression): Remove unused variable `array'.
24072 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
24073 (gdb-starting): Mark unused parameters.
24074 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
24075 (gdb-table-string): Remove unused variable `res'.
24076 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
24077 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
24078 (gdb-display-buffer): Remove unused variable `cur-size'.
24079
24080 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
24081 allow lexical-binding compilation.
24082 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
24083 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
24084 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
24085 Mark unused parameters.
24086 (gud-gdb-marker-filter): Remove unused variable `match'.
24087 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
24088 lambda expressions and funcall them, instead of using `fset'.
24089
24090 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
24091 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
24092
24093 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
24094 variable `header-beg'; use `let'.
24095
24096 * progmodes/icon.el (indent-icon-exp): Remove unused variables
24097 `restart', `last-sexp' and `at-do'.
24098
24099 * progmodes/js.el (js--debug): Mark unused parameter.
24100 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
24101 (js--splice-into-items): Remove unused variable `item'.
24102 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
24103
24104 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
24105 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
24106 (makefile-complete): Remove unused variable `try'.
24107 (makefile-fill-paragraph, makefile-match-function-end):
24108 Mark unused parameters.
24109
24110 * progmodes/octave-inf.el (inferior-octave-complete):
24111 Remove unused variable `proc'.
24112 (inferior-octave-output-digest): Mark unused parameter.
24113
24114 * progmodes/perl-mode.el (perl-calculate-indent):
24115 Remove unused variable `err'.
24116
24117 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
24118 (prolog-indent-line): Mark unused parameters.
24119 (prolog-indent-line): Remove unused variable `beg'.
24120
24121 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
24122 (reporter-dont-compact-list): Declare.
24123
24124 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
24125 Remove unused variable `char'.
24126 (sh-debug): Mark unused parameter.
24127 (sh-get-indent-info): Remove unused variable `start'.
24128 (sh-calculate-indent): Remove unused variable `var'.
24129
24130 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
24131 (simula-electric-keyword): Remove unused variable `null'.
24132 (simula-search-backward, simula-search-forward): Remove unused
24133 variables `begin' and `end'.
24134
24135 * progmodes/vera-mode.el (vera-guess-basic-syntax):
24136 Remove unused variable `pos'.
24137 (vera-electric-tab, vera-comment-uncomment-region):
24138 Mark unused parameters.
24139 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
24140
24141 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
24142
24143 * emacs-lisp/package.el (package--builtins, package-alist)
24144 (package-load-descriptor, package-built-in-p, package-activate)
24145 (define-package, package-installed-p)
24146 (package-compute-transaction, package-buffer-info)
24147 (package--push): Doc fix. Distinguish more clearly between
24148 version strings and version lists.
24149
24150 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
24151
24152 Lexical-binding cleanup.
24153
24154 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
24155 (5x5-make-mutate-best):
24156 * play/fortune.el (fortune-in-buffer):
24157 * play/gomoku.el (gomoku-init-display):
24158 * play/solitaire.el (solitaire, solitaire-do-check):
24159 * play/tetris.el (tetris-default-update-speed-function):
24160 Mark unused parameters.
24161
24162 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
24163 (bubbles--shift): Remove unused variable `char-org'.
24164 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
24165 (bubbles--show-images): Remove unused variable `char'.
24166
24167 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
24168 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
24169 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
24170 (decipher-analyze-buffer): Use ?\s.
24171 (decipher-make-checkpoint): Remove unused variable `mapping'.
24172
24173 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
24174
24175 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
24176 Remove unused variable `result'; use `let'.
24177
24178 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
24179 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
24180 (gametree-children-shown-p, gametree-compute-reduced-score):
24181 Use `ignore-errors'.
24182
24183 * play/handwrite.el (ps-lpr-switches): Declare.
24184 (handwrite): Remove unused variables `pmin' and `lastp'.
24185
24186 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
24187
24188 * play/landmark.el (landmark-init-display)
24189 (landmark-update-naught-weights): Mark unused parameters.
24190 (landmark-y): Remove unused variable `noise'. Simplify.
24191 (landmark-human-plays): Remove unused variable `score'.
24192
24193 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
24194 (mpuz-try-proposal): Remove unused variable `game'.
24195
24196 * play/zone.el (life-patterns): Declare.
24197
24198 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
24199
24200 * vc/vc.el (ediff-vc-internal): Declare function.
24201
24202 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
24203
24204 * shell.el: Use lexical-binding and std completion UI.
24205 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
24206 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
24207 comint-preoutput-filter-functions rather than on
24208 comint-output-filter-functions.
24209 (shell-command-completion, shell--command-completion-data)
24210 (shell-filename-completion, shell-environment-variable-completion)
24211 (shell-c-a-p-replace-by-expanded-directory): New functions.
24212 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
24213 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
24214 (shell-dynamic-complete-environment-variable): Use them.
24215 (shell-dynamic-complete-as-environment-variable)
24216 (shell-dynamic-complete-as-command): Remove.
24217 (shell-match-partial-variable): Match past point.
24218 * comint.el: Clean up use of completion-at-point-functions.
24219 (comint-completion-at-point): New function.
24220 (comint-mode): Use it completion-at-point-functions.
24221 (comint-dynamic-complete): Make it obsolete.
24222 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
24223 (comint-c-a-p-replace-by-expanded-history): New function.
24224 (comint-dynamic-complete-functions)
24225 (comint-replace-by-expanded-history): Use it.
24226 * minibuffer.el (completion-table-with-terminator): Allow dynamic
24227 termination strings. Try harder to avoid second try-completion.
24228 (completion-in-region-mode-map): Disable bindings that don't work yet.
24229
24230 * comint.el: Use lexical-binding. Require CL.
24231 (comint-dynamic-complete-functions): Use comint-filename-completion.
24232 (comint-completion-addsuffix): Tweak custom type.
24233 (comint-filename-completion, comint--common-suffix)
24234 (comint--common-quoted-suffix, comint--table-subvert)
24235 (comint--complete-file-name-data): New functions.
24236 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
24237 (comint-dynamic-list-filename-completions): Use them.
24238 (comint-dynamic-simple-complete): Make obsolete.
24239
24240 * minibuffer.el (completion-in-region-mode):
24241 Keep completion-in-region-mode--predicate global.
24242 (completion-in-region--postch):
24243 Assume completion-in-region-mode--predicate is not null.
24244
24245 * progmodes/flymake.el (flymake-start-syntax-check-process):
24246 Obey `dir'. Simplify.
24247
24248 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
24249 we're in VC after all.
24250
24251 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
24252
24253 * vc/vc.el (vc-diff-build-argument-list-internal)
24254 (vc-version-ediff, vc-ediff): New commands.
24255 (vc-version-diff): Use vc-diff-build-argument-list-internal.
24256
24257 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
24258
24259 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
24260 add sanity check.
24261
24262 * obsolete/erc-hecomplete.el: Make obsolete.
24263 * obsolete/: Standardize obsolescence info in the header.
24264
24265 2011-04-20 Glenn Morris <rgm@gnu.org>
24266
24267 * calendar/solar.el (solar-horizontal-coordinates):
24268 Use the longitude argument rather than `calendar-longitude'.
24269 (solar-date-next-longitude): Remove unused locals.
24270
24271 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
24272
24273 * whitespace.el: New version 13.2.1.
24274
24275 2011-04-20 felix <EmacsWiki> (tiny change)
24276
24277 * whitespace.el (global-whitespace-mode): Keep highlight when
24278 switching between major modes on a file.
24279
24280 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
24281
24282 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
24283 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
24284 multi-line comments as well.
24285
24286 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
24287
24288 Lexical-binding cleanup.
24289
24290 * arc-mode.el (archive-mode-revert):
24291 * cmuscheme.el (scheme-interactively-start-process):
24292 * custom.el (custom-initialize-delay):
24293 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
24294 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
24295 * emacs-lock.el (emacs-lock-clear-sentinel):
24296 * ezimage.el (defezimage):
24297 * follow.el (follow-avoid-tail-recenter):
24298 * fringe.el (set-fringe-mode-1):
24299 * generic-x.el (bat-generic-mode-compile):
24300 * help-mode.el (help-info-variable, help-do-xref)
24301 (help-mode-revert-buffer):
24302 * help.el (view-emacs-todo):
24303 * iswitchb.el (iswitchb-completion-help):
24304 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
24305 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
24306 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
24307 * locate.el (locate-update):
24308 * longlines.el (longlines-encode-region)
24309 (longlines-after-change-function):
24310 * outline.el (outline-isearch-open-invisible):
24311 * ps-def.el (declare-function, charset-dimension, char-width)
24312 (encode-char):
24313 * ps-mule.el (ps-mule-plot-string):
24314 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
24315 (recentf-edit-list-select, recentf-edit-list-validate)
24316 (recentf-open-files-action):
24317 * rect.el (delete-whitespace-rectangle-line)
24318 (rectangle-number-line-callback):
24319 * register.el (window-configuration-to-register)
24320 (frame-configuration-to-register):
24321 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
24322 * select.el (xselect-convert-to-string, xselect-convert-to-length)
24323 (xselect-convert-to-targets, xselect-convert-to-delete)
24324 (xselect-convert-to-filename, xselect-convert-to-charpos)
24325 (xselect-convert-to-lineno, xselect-convert-to-colno)
24326 (xselect-convert-to-os, xselect-convert-to-host)
24327 (xselect-convert-to-user, xselect-convert-to-class)
24328 (xselect-convert-to-name, xselect-convert-to-integer)
24329 (xselect-convert-to-atom, xselect-convert-to-identity):
24330 * subr.el (declare, ignore, process-kill-without-query)
24331 (text-clone-maintain):
24332 * terminal.el (te-get-char, te-tic-sentinel):
24333 * tool-bar.el (tool-bar-make-keymap):
24334 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
24335 * type-break.el (type-break-mode, type-break-noninteractive-query):
24336 * view.el (View-back-to-mark):
24337 * wid-browse.el (widget-browse-action, widget-browse-widget)
24338 (widget-browse-widgets, widget-browse-sexp):
24339 * widget.el (define-widget-keywords):
24340 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
24341 Mark unused parameters.
24342
24343 * align.el (align-adjust-col-for-rule): Mark unused parameter.
24344 (align-areas): Remove unused variable `look'.
24345 (align-region): Remove unused variables `real-end' and `pos-list'.
24346
24347 * apropos.el (apropos-score-doc): Remove unused variable `i'.
24348
24349 * bindings.el (mode-line-modified, mode-line-remote):
24350 Mark unused parameters.
24351 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
24352
24353 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
24354 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
24355
24356 * comint.el (comint-history-isearch-pop-state)
24357 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
24358 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
24359 (comint-substitute-in-file-name): Doc fix.
24360
24361 * completion.el (cmpl-statistics-block): Mark unused parameter.
24362 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
24363 (save-completions-to-file, load-completions-from-file):
24364 Remove unused local variable `e'.
24365
24366 * composite.el (compose-chars): Remove unused variable `len'.
24367 (lgstring-insert-glyph): Remove unused variable `g'.
24368 (compose-glyph-string): Remove unused variables `ascent',
24369 `descent', `lbearing' and `rbearing'.
24370 (compose-glyph-string-relative): Remove unused variables
24371 `lbearing', `rbearing' and `wadjust'.
24372 (compose-gstring-for-graphic): Remove unused variables `header',
24373 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
24374 (compose-gstring-for-terminal): Remove unused variables `header'
24375 and `nchars'. Use `let', not `let*'.
24376
24377 * cus-edit.el (Custom-set, Custom-save, custom-reset)
24378 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
24379 (Custom-buffer-done, custom-buffer-create-internal)
24380 (custom-browse-visibility-action, custom-browse-group-tag-action)
24381 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
24382 (widget-magic-mouse-down-action, custom-toggle-parent)
24383 (custom-add-parent-links, custom-toggle-hide-variable)
24384 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
24385 (custom-toggle-hide-face, face, hook, custom-group-link-action)
24386 (custom-face-menu-create, custom-variable-menu-create, get)
24387 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
24388 (custom-reset-standard-save-and-update): Remove unused variable `value'.
24389 (customize-apropos): Remove unused variable `tests'.
24390 (custom-group-value-create): Remove unused variable `hidden-p'.
24391 (sort-fold-case): Declare.
24392
24393 * cus-theme.el (custom-reset-standard-faces-list)
24394 (custom-reset-standard-variables-list): Declare.
24395 (customize-create-theme, custom-theme-revert, custom-theme-write)
24396 (custom-theme-choose-mode, customize-themes, custom-theme-save):
24397 Mark unused parameters.
24398
24399 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
24400
24401 * delim-col.el (delimit-columns-max): Move defvar before first use.
24402
24403 * descr-text.el (describe-char-categories): Don't quote `lambda'.
24404 (describe-char): Don't quote `lambda'. Mark unused parameter.
24405
24406 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
24407 (auto-insert): Declare.
24408 (desktop-restore-file-buffer): Rename desktop-* parameters;
24409 mark unused ones.
24410 (desktop-create-buffer): Rename desktop-* parameters and bind them.
24411 (desktop-buffer): Rename desktop-* parameters.
24412
24413 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
24414 (dframe-reposition-frame-xemacs, dframe-help-echo)
24415 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
24416 Mark unused parameters.
24417
24418 * dired-aux.el (backup-extract-version-start, overwrite-query)
24419 (overwrite-backup-query, rename-regexp-query)
24420 (rename-non-directory-query): Declare.
24421 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
24422 (dired-add-entry): Remove unused variable `orig-file-name'.
24423 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
24424 Use parameter PRESERVE-TIME instead of accessing dynamic variable
24425 `dired-copy-preserve-time' directly.
24426 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
24427 (dired-insert-subdir-newpos): Rename unused variable `pos'.
24428
24429 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
24430 (dired-virtual-revert, dired-make-relative-symlink):
24431 Mark unused parameters.
24432 (manual-program): Declare.
24433 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
24434 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
24435 wrapped in `with-no-warnings' to avoid replacing one warning by another.
24436
24437 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
24438
24439 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
24440
24441 * echistory.el (electric-history-in-progress, Helper-return-blurb):
24442 Declare.
24443
24444 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
24445
24446 * electric.el (Electric-command-loop): Rename parameter
24447 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
24448
24449 * expand.el (expand-in-literal): Remove unused variable `here'.
24450
24451 * facemenu.el (facemenu-add-new-color):
24452 Remove unused variable `docstring'.
24453
24454 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
24455 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
24456 (face-attr-construct): Mark unused parameter. Doc fix.
24457 (read-color): Remove unused variable `hex-string'.
24458
24459 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
24460 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
24461 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
24462 (display-buffer-other-frame): Remove unused variable `old-window'.
24463 (kill-buffer-hook): Declare.
24464 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
24465 Mark unused parameters.
24466 (after-find-file): Pass 1 to `auto-save-mode', not t.
24467
24468 * files-x.el (auto-insert): Declare.
24469 (modify-file-local-variable-prop-line): Remove unused variable `val'.
24470
24471 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
24472 variable `buf'. Mark unused parameter.
24473 (find-lisp-insert-directory): Mark unused parameter.
24474
24475 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
24476 (format-encode-region): Remove unused variables `cur-buf' and `result'.
24477 (format-common-tail): Remove, unused.
24478 (format-deannotate-region): Remove unused variable `loc'.
24479 (format-annotate-region): Remove unused variable `p'.
24480 (format-annotate-single-property-change): Remove unused variables
24481 `default' and `tail'.
24482
24483 * forms.el (read-file-filter): Declare.
24484 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
24485
24486 * frame.el (frame-creation-function-alist): Mark unused parameter.
24487 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
24488
24489 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
24490 Remove unused parameters.
24491 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
24492 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
24493
24494 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
24495 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
24496 (hfy-prepare-tag-map): Mark unused parameters.
24497 (htmlfontify-buffer): Use `called-interactively-p'.
24498
24499 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
24500 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
24501 (ibuffer-do-occur): Mark unused parameters.
24502 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
24503 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
24504
24505 * ibuffer.el: Don't quote `lambda'.
24506 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
24507 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
24508 Mark unused parameters.
24509
24510 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
24511 (ido-completing-read): Mark unused parameters.
24512 (ido-copy-current-word): Mark unused parameters;
24513 remove unused variable `name'.
24514 (ido-sort-merged-list): Remove unused parameter `dirs'.
24515
24516 * ielm.el (ielm-input-sender): Mark unused parameter.
24517 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
24518 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
24519 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
24520 `ielm-string' as a dynamic variable accessible from the IELM prompt.
24521 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
24522
24523 * image-dired.el (image-dired-display-thumbs): Remove unused
24524 variables `curr-file' and `count'.
24525 (image-dired-remove-tag): Remove unused variable `start'.
24526 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
24527 variable `curr-file'
24528 (image-dired-rotate-original): Remove unused variable `temp-file'.
24529 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
24530 Remove unused variable `file'.
24531 (image-dired-gallery-generate): Remove unused variable `curr'.
24532 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
24533
24534 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
24535
24536 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
24537
24538 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
24539
24540 * isearch.el (minibuffer-history-symbol): Declare.
24541 (isearch-edit-string): Remove unused variable `err'.
24542 (isearch-message-prefix, isearch-message-suffix):
24543 Mark unused parameters.
24544
24545 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
24546
24547 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
24548
24549 * makesum.el (double-column): Remove unused variable `cnt'.
24550
24551 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
24552 (ido-ignore-item-temp-list): Declare.
24553
24554 * mouse-drag.el (mouse-drag-throw): Remove unused variables
24555 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
24556 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
24557 (mouse-drag-drag): Remove unused variables `mouse-delta' and
24558 `mouse-col-delta'.
24559
24560 * mouse-sel.el (mouse-extend-internal):
24561 Remove unused variable `orig-window-frame'.
24562
24563 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
24564 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
24565 Move declarations before first use.
24566 (pcomplete-opt): Mark unused parameters; doc fix.
24567
24568 * proced.el (proced-revert): Mark unused parameter.
24569 (proced-send-signal): Remove unused variable `err'.
24570
24571 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
24572 Rename parameter PREFIX-ARG to ARG.
24573 (ps-basic-plot-string, ps-basic-plot-whitespace):
24574 Mark unused parameters.
24575
24576 * replace.el (replace-count): Define.
24577 (occur-revert-function): Mark unused parameters.
24578 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
24579 (isearch-case-fold-search, isearch-string): Declare.
24580 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
24581 bind `case-fold-search'. Remove unused variables `beg' and `end',
24582 and simplify.
24583 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
24584 COUNT and bind `replace-count'.
24585 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
24586 to COUNT.
24587
24588 * savehist.el (print-readably, print-string-length): Declare.
24589
24590 * shadowfile.el (shadow-expand-cluster-in-file-name):
24591 Remove unused variable `cluster'.
24592 (shadow-copy-file): Remove unused variable `i'.
24593 (shadow-noquery, shadow-clusters, shadow-site-cluster)
24594 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
24595 (shadow-define-literal-group, shadow-define-regexp-group)
24596 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
24597
24598 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
24599 (shell): Use `called-interactively-p'.
24600 (shell-directory-tracker): Remove unused variable `chdir-failure'.
24601
24602 * simple.el (compilation-context-lines, comint-file-name-quote-list)
24603 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
24604 (delete-backward-char): Remove unused variable `ocol'.
24605 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
24606 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
24607 (event-apply-hyper-modifier, event-apply-shift-modifier)
24608 (event-apply-control-modifier, event-apply-meta-modifier):
24609 Mark unused parameters.
24610 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
24611 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
24612
24613 * speedbar.el (speedbar-ignored-directory-expressions)
24614 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
24615 (speedbar-find-file, speedbar-dir-follow)
24616 (speedbar-directory-buttons-follow, speedbar-tag-find)
24617 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
24618 (speedbar-buffers-line-directory, speedbar-buffer-click):
24619 Mark unused parameters.
24620 (speedbar-tag-file): Remove unused variable `mode'.
24621 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
24622
24623 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
24624
24625 * talk.el (talk): Remove unused variable `display'.
24626
24627 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
24628 (tar-write-region-annotate): Mark unused parameter.
24629
24630 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
24631 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
24632 Declare them, wrapped in `with-no-warnings' to avoid replacing one
24633 warning by another.
24634
24635 * time-stamp.el (time-stamp-string-preprocess):
24636 Remove unused variable `require-padding'.
24637
24638 * tree-widget.el (widget-glyph-enable): Declare.
24639 (tree-widget-action): Mark unused parameter.
24640
24641 * w32-fns.el (x-get-selection): Mark unused parameter.
24642 (autoload-make-program, generated-autoload-file): Declare.
24643
24644 * wdired.el (wdired-revert): Mark unused parameters.
24645 (wdired-xcase-word): Remove unused variable `err'.
24646
24647 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
24648 (whitespace-help-scroll): Remove unused variable `data-help'.
24649
24650 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
24651 (widget-image-insert, widget-after-change, default)
24652 (widget-default-format-handler, widget-default-notify)
24653 (widget-default-prompt-value, widget-info-link-action)
24654 (widget-url-link-action, widget-function-link-action)
24655 (widget-variable-link-action, widget-file-link-action)
24656 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
24657 (widget-field-prompt-internal, widget-field-action, widget-field-match)
24658 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
24659 (widget-insert-button-action, widget-delete-button-action, visibility)
24660 (widget-documentation-link-action, widget-documentation-string-action)
24661 (widget-const-prompt-value, widget-regexp-match, symbol)
24662 (widget-coding-system-prompt-value)
24663 (widget-key-sequence-value-to-external, sexp)
24664 (widget-sexp-value-to-internal, character, vector, cons)
24665 (widget-choice-prompt-value, widget-boolean-prompt-value)
24666 (widget-color--choose-action): Mark unused parameters.
24667 (widget-item-match-inline, widget-choice-match-inline)
24668 (widget-checklist-match, widget-checklist-match-inline)
24669 (widget-group-match): Rename parameter VALUES to VALS.
24670 (widget-field-value-set): Remove unused variable `size'.
24671 (widget-color-action): Remove unused variables `value' and `start'.
24672
24673 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
24674 variable `dir'. Doc fix.
24675 (windmove-find-other-window): Don't pass it.
24676
24677 * window.el (count-windows): Mark unused parameter.
24678 (bw-adjust-window): Remove unused variable `err'.
24679
24680 * woman.el (woman-file-name): Remove unused variable `default'.
24681 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
24682 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
24683 (global-font-lock-mode): Declare.
24684 (woman-decode-region): Mark unused parameter.
24685 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
24686
24687 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
24688 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
24689 (x-dnd-handle-moz-url): Remove unused variable `title'.
24690 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
24691
24692 * xml.el (xml-parse-tag, xml-parse-attlist):
24693 Remove unused variable `pos'.
24694
24695 2011-04-19 Glenn Morris <rgm@gnu.org>
24696
24697 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
24698 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
24699 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
24700 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
24701 * calendar/cal-html.el (cal-html-insert-minical):
24702 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
24703 (calendar-mark-date-pattern):
24704 Prefix "unused" locals.
24705
24706 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
24707 optional argument `style'.
24708
24709 * calendar/appt.el (appt-make-list):
24710 * calendar/cal-china.el (calendar-chinese-date-string):
24711 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
24712 (diary-hebrew-yahrzeit):
24713 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
24714 * calendar/calendar.el (calendar-generate-window):
24715 * calendar/time-date.el (time-to-days):
24716 Remove unused local variables.
24717
24718 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
24719
24720 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
24721 glyphless-char-display table.
24722 (tabulated-list-glyphless-char-display): New var.
24723
24724 2011-04-18 Sam Steingold <sds@gnu.org>
24725
24726 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
24727 to acknowledgments.
24728
24729 2011-04-17 Glenn Morris <rgm@gnu.org>
24730
24731 * calendar/diary-lib.el (diary-sexp-entry):
24732 * calendar/holidays.el (holiday-sexp):
24733 Set debug-on-error rather than the removed stack-trace-on-error.
24734
24735 2011-04-16 Glenn Morris <rgm@gnu.org>
24736
24737 * progmodes/f90.el: Use lexical-binding.
24738 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
24739
24740 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
24741
24742 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
24743 (mail-mode): Setup mailalias completion here instead.
24744 * mail/mailalias.el: Use lexical-binding.
24745 (pattern, mailalias-done): Declare dynamic.
24746 (mail-completion-at-point-function): New function, from mail-complete.
24747 (mail-complete): Use it.
24748 (mail-completion-expand): New function.
24749 (mail-get-names): Use it.
24750 (mail-directory, mail-directory-process, mail-directory-stream):
24751 Don't use `pattern' for lexically bound arg.
24752
24753 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
24754
24755 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
24756 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
24757 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
24758
24759 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
24760 (byte-save-window-excursion, byte-temp-output-buffer-setup)
24761 (byte-interactive-p): Define them again, for use when inlining
24762 old code.
24763
24764 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
24765
24766 * loadup.el: Use `string-to-number', not `string-to-int'.
24767
24768 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
24769
24770 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
24771 gud-gdb-complete-command.
24772 (gud-gdb-completions): New function, from gud-gdb-complete-command.
24773 (gud-gdb-completion-at-point): New function.
24774 (gud-gdb-completions): Remove.
24775
24776 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
24777
24778 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
24779 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
24780 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
24781 whether `executable-find' is bound.
24782
24783 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
24784
24785 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
24786
24787 * minibuffer.el (completion-in-region-mode-predicate)
24788 (completion-in-region-mode--predicate): New vars.
24789 (completion-in-region, completion-in-region--postch)
24790 (completion-in-region-mode): Use them.
24791 (completion--capf-wrapper): Also return the hook function.
24792 (completion-at-point, completion-help-at-point):
24793 Adjust and provide a predicate.
24794
24795 Preserve arg names for advice of subr and lexical functions (bug#8457).
24796 * help-fns.el (help-function-arglist): Consolidate the subr and
24797 new-byte-code cases. Add argument `preserve-names' to extract names
24798 from the docstring when needed.
24799 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
24800 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
24801 (ad-arglist): Use help-function-arglist's new arg.
24802 (ad-definition-type): Use cond.
24803
24804 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
24805
24806 * autorevert.el (auto-revert-handler):
24807 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
24808 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
24809 Don't quote lambda.
24810
24811 * image-mode.el (image-transform-set-scale):
24812 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
24813
24814 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
24815
24816 * net/network-stream.el (network-stream-open-starttls): Only do
24817 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
24818 Upgrades via gnutls-cli are too slow to be done opportunistically.
24819
24820 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
24821
24822 * dframe.el (dframe-current-frame): Remove spurious quote.
24823
24824 2011-04-12 Glenn Morris <rgm@gnu.org>
24825
24826 * calendar/cal-tex.el (cal-tex-end-document):
24827 Try to automatically use latin1 input if needed.
24828
24829 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
24830 Don't try to cons a mark onto an empty element.
24831
24832 2011-04-11 Leo Liu <sdl.web@gmail.com>
24833
24834 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
24835 buffers.
24836 (ido-kill-buffer-at-head): Support killing virtual buffers.
24837
24838 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
24839
24840 * minibuffer.el (completion-show-inline-help): New var.
24841 (completion--do-completion, minibuffer-complete)
24842 (minibuffer-force-complete, minibuffer-complete-word):
24843 Inhibit minibuffer messages if completion-show-inline-help is nil.
24844
24845 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
24846 to avoid interference from inline help (Bug#5849).
24847
24848 2011-04-10 Leo Liu <sdl.web@gmail.com>
24849
24850 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
24851 Fix typo.
24852
24853 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
24854
24855 * image-mode.el (image-toggle-display-image): Signal an error if
24856 not in Image mode.
24857 (image-transform-mode, image-transform-resize)
24858 (image-transform-set-rotation): Doc fix.
24859 (image-transform-set-resize): Delete.
24860 (image-transform-set-scale, image-transform-fit-to-height)
24861 (image-transform-fit-to-width): Handle image-toggle-display-image
24862 and image-transform-resize directly.
24863
24864 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
24865
24866 * doc-view.el (doc-view-fit-width-to-window)
24867 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
24868 New functions for fitting the shown image to the Emacs window size.
24869 (doc-view-mode-map): Add bindings for the new functions.
24870
24871 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
24872
24873 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
24874 Fix typo in docstring.
24875
24876 2011-04-08 Eli Zaretskii <eliz@gnu.org>
24877
24878 * files.el (file-size-human-readable): Produce one digit after
24879 decimal, like "ls -lh" does.
24880
24881 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
24882 the file size representation.
24883
24884 * simple.el (list-processes): If async subprocesses are not
24885 available, error out with a clear error message.
24886
24887 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
24888
24889 * help.el (help-form-show): New function, to be called from C.
24890 Put help-form output in a buffer named differently than *Help*.
24891
24892 2011-04-08 Eli Zaretskii <eliz@gnu.org>
24893
24894 * files.el (file-size-human-readable): New function.
24895
24896 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
24897 computing the representation inline. Don't require `cl'.
24898
24899 2011-04-08 Glenn Morris <rgm@gnu.org>
24900
24901 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
24902
24903 * net/browse-url.el (browse-url-firefox):
24904 Test system-type, not system-configuration.
24905
24906 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
24907 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
24908 Use log-edit-empty-buffer-p. (Bug#7598)
24909
24910 * net/rlogin.el (rlogin-process-connection-type): Simplify.
24911 (rlogin-mode-map): Initialize in the defvar.
24912 (rlogin): Use ignore-errors.
24913
24914 * replace.el (occur-mode-map): Some fixes for menu items.
24915
24916 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
24917
24918 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
24919
24920 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
24921
24922 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
24923 issuing unused warnings.
24924
24925 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
24926 macro directly.
24927
24928 * simple.el: Lisp reimplement of list-processes. Based on an
24929 earlier reimplementation by Leo Liu, but using tabulated-list.el.
24930 (process-menu-mode): New major mode.
24931 (list-processes--refresh, list-processes):
24932 (process-menu-visit-buffer): New functions.
24933
24934 * files.el (save-buffers-kill-emacs): Don't assume any return
24935 value of list-processes, which is undocumented anyway.
24936
24937 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
24938
24939 * emacs-lisp/tabulated-list.el: New file.
24940
24941 * emacs-lisp/package.el: Use Tabulated List mode.
24942 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
24943 (package-menu-mode): Derive from tabulated-list-mode. Set up the
24944 table format using Tabulated List mode variables.
24945 (package--push): New macro, replacing package-list-maybe-add.
24946 (package-menu--generate): Use package--push. Renamed from
24947 package--generate-package-list.
24948 (package-menu-refresh, list-packages): Use it.
24949 (package-menu--print-info): Rename from package-print-package.
24950 Return insertion data instead of inserting it directly.
24951 (package-menu-describe-package, package-menu-execute):
24952 Use tabulated-list-get-id.
24953 (package-menu-mark-delete, package-menu-mark-install)
24954 (package-menu-mark-unmark, package-menu-backup-unmark)
24955 (package-menu-mark-obsolete-for-deletion):
24956 Use tabulated-list-put-tag.
24957 (package--list-packages, package-menu-revert)
24958 (package-menu-get-package, package-menu-get-version)
24959 (package-menu-sort-by-column): Functions deleted.
24960 (package-menu-package-list, package-menu-sort-key): Vars deleted.
24961 (package-menu--status-predicate, package-menu--version-predicate)
24962 (package-menu--name-predicate)
24963 (package-menu--description-predicate): Handle arguments in the
24964 Tabulated List format.
24965 (package-list-packages-no-fetch): Call list-packages.
24966
24967 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
24968
24969 * files.el (after-find-file-from-revert-buffer): Remove variable.
24970 (after-find-file): Don't bind it.
24971 (revert-buffer-in-progress-p): New variable.
24972 (revert-buffer): Bind it.
24973 Pass nil for `after-find-file-from-revert-buffer'.
24974
24975 * saveplace.el (save-place-find-file-hook): Use new variable
24976 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
24977
24978 2011-04-06 Glenn Morris <rgm@gnu.org>
24979
24980 * Makefile.in (AUTOGEN_VCS): New variable.
24981 (autoloads): Use $AUTOGEN_VCS.
24982
24983 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
24984 * calendar/calendar.el (calendar-mode-map):
24985 Check for toolkit scroll bars. (Bug#8305)
24986
24987 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
24988
24989 * minibuffer.el (completion-in-region--postch)
24990 (completion-in-region-mode): Remove unnecessary messages.
24991
24992 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
24993
24994 * font-lock.el (font-lock-refresh-defaults):
24995 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
24996 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
24997
24998 * info.el (Info-directory-list, Info-read-node-name-2)
24999 (Info-split-parameter-string): Doc fixes.
25000 (Info-virtual-nodes): Reflow docstring.
25001 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
25002 (Info-apropos-toc-nodes, info-finder, Info-get-token)
25003 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
25004 Fix typos in docstrings.
25005 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
25006 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
25007 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
25008 (Info-restore-desktop-buffer): Mark unused parameters.
25009 (Info-directory-find-file, Info-directory-find-node)
25010 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
25011 (Info-virtual-index-find-node, Info-apropos-find-file)
25012 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
25013 Mark unused parameters; fix typos in docstrings.
25014 (Info-virtual-index): Remove unused local variable `nodename'.
25015
25016 2011-04-05 Deniz Dogan <deniz@dogan.se>
25017
25018 * net/rcirc.el: Update my e-mail address.
25019 (rcirc-mode-map): Remove M-o binding.
25020
25021 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
25022
25023 * startup.el (command-line): Save the cursor's theme-face
25024 directly, instead of using face-override-spec.
25025
25026 * custom.el (load-theme): Minor optimization in assigning faces.
25027
25028 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
25029
25030 * help-fns.el (describe-variable): Complete all variables having
25031 documentation, including keywords.
25032 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
25033
25034 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
25035
25036 Convert to lexical-binding.
25037
25038 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
25039 (bs--get-marked-string, bs--get-modified-string)
25040 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
25041 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
25042 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
25043
25044 * ehelp.el (electric-help-execute-extended)
25045 (electric-help-ctrl-x-prefix):
25046 * hexl.el (hexl-revert-buffer-function):
25047 * linum.el (linum-after-change, linum-after-scroll):
25048 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
25049
25050 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
25051
25052 2011-04-04 Daiki Ueno <ueno@unixuser.org>
25053
25054 * epa-dired.el:
25055 * epa-mail.el:
25056 * epa-hook.el:
25057 * epa-file.el:
25058 * epa.el:
25059 * epg.el: Use lexical binding.
25060
25061 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
25062
25063 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
25064
25065 * textmodes/flyspell.el (flyspell-word): Recognize default
25066 dictionary case for flyspell-mark-duplications-exceptions.
25067 Use regexp matching for languages.
25068 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
25069 default dictionary (Bug#7926).
25070
25071 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
25072
25073 * emacs-lisp/package.el (package--with-work-buffer):
25074 Recognize https URLs.
25075
25076 * net/network-stream.el: Move from gnus/proto-stream.el.
25077 Change prefix to network-stream throughout.
25078 (open-protocol-stream): Merge into open-network-stream, leaving
25079 open-protocol-stream as an alias. Handle nil BUFFER args.
25080
25081 * subr.el (open-network-stream): Move to net/network-stream.el.
25082
25083 2011-04-02 Glenn Morris <rgm@gnu.org>
25084
25085 * find-dired.el (find-exec-terminator): New option.
25086 (find-ls-option): Test for -ls support.
25087 (find-ls-subdir-switches): Test for -b in find-ls-option.
25088 (find-dired, find-grep-dired): Doc fixes.
25089 (find-dired): Use find-exec-terminator.
25090
25091 * find-dired.el (find-ls-option, find-ls-subdir-switches)
25092 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
25093 (find-name-arg): Remove purecopy.
25094
25095 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
25096 (grep-compute-defaults): Check for `-exec COMMAND +' support.
25097 Set grep-find-use-xargs, grep-find-command, and grep-find-template
25098 accordingly. Don't add the null-device if not needed.
25099
25100 * files.el (save-some-buffers): Doc fix.
25101
25102 2011-04-02 Eli Zaretskii <eliz@gnu.org>
25103
25104 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
25105
25106 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
25107
25108 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
25109 Use `dolist' rather than `mapcar'.
25110
25111 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
25112
25113 Add lexical binding.
25114
25115 * subr.el (apply-partially): Use new closures rather than CL.
25116 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
25117 (dolist, dotimes): Use slightly different expansion for lexical code.
25118 (functionp): Move to C.
25119 (letrec): New macro.
25120 (with-wrapper-hook): Use it and apply-partially instead of CL.
25121 (eval-after-load): Preserve lexical-binding.
25122 (save-window-excursion, with-output-to-temp-buffer): Turn them
25123 into macros.
25124
25125 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
25126
25127 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
25128 than the arglist.
25129 (help-add-fundoc-usage): Don't add `Not documented'.
25130 (help-function-arglist): Handle closures, subroutines, and new
25131 byte-code-functions.
25132 (help-make-usage): Remove leading underscores.
25133 (describe-function-1): Handle closures.
25134 (describe-variable): Use special-variable-p for completion.
25135
25136 * files.el (lexical-binding): Declare safe.
25137
25138 * emacs-lisp/pcase.el: Don't use destructuring-bind.
25139 (pcase--memoize): Rename from pcase-memoize. Change weakness.
25140 (pcase): Add `let' pattern.
25141 Change memoization so it actually works.
25142 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
25143 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
25144 <let>: New case.
25145
25146 * emacs-lisp/macroexp.el: Use lexical binding.
25147 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
25148 Don't convert ' to #' without checking that it's indeed quoting
25149 a lambda.
25150
25151 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
25152 Use eval-sexp-add-defvars.
25153 (eval-sexp-add-defvars): New fun.
25154
25155 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
25156
25157 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
25158 Don't autoload.
25159 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
25160 than the internal `byte-compile-lambda'.
25161 (defmethod): Don't hide code under quotes.
25162 (eieio-defmethod): New `code' argument.
25163
25164 * emacs-lisp/eieio-comp.el: Remove.
25165
25166 * emacs-lisp/edebug.el (edebug-eval-defun)
25167 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
25168 (edebug-toggle): Avoid `eval'.
25169
25170 * emacs-lisp/disass.el (disassemble-internal): Handle new
25171 `closure' objects.
25172 (disassemble-1): Handle new byte codes.
25173
25174 * emacs-lisp/cl.el (pushnew): Silence warning.
25175
25176 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
25177 (cl-byte-compile-throw): Remove.
25178 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
25179
25180 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
25181 closures.
25182
25183 * emacs-lisp/cconv.el: New file.
25184
25185 * emacs-lisp/bytecomp.el: Use lexical binding instead of
25186 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
25187 (byte-compile-initial-macro-environment):
25188 Handle declare-function here.
25189 (byte-compile--lexical-environment): New var.
25190 (byte-stack-ref, byte-stack-set, byte-discardN)
25191 (byte-discardN-preserve-tos): New lap codes.
25192 (byte-interactive-p): Don't use any more.
25193 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
25194 New macros.
25195 (byte-compile-lapcode): Use them and handle new lap codes.
25196 (byte-compile-obsolete): Remove.
25197 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
25198 (byte-compile-arglist-warn): Check late def of inlinable funs.
25199 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
25200 since they should have been expanded by now.
25201 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
25202 (byte-compile-from-buffer): Remove unused second arg.
25203 (byte-compile-preprocess): New function.
25204 (byte-compile-toplevel-file-form): New function to distinguish
25205 file-form calls from outside from file-form calls from hunk-handlers.
25206 (byte-compile-file-form): Simplify.
25207 (byte-compile-file-form-defsubst): Remove.
25208 (byte-compile-file-form-defmumble): Simplify now that
25209 byte-compile-lambda always returns a byte-code-function.
25210 (byte-compile): Preprocess.
25211 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
25212 Remove, not used any more.
25213 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
25214 (byte-compile-make-args-desc): New funs.
25215 (byte-compile-lambda): Handle lexical functions. Always return
25216 a byte-code-function.
25217 (byte-compile-reserved-constants): New var, to make up room for
25218 closed-over variables.
25219 (byte-compile-constants-vector): Obey it.
25220 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
25221 (byte-compile-macroexpand-declare-function): New function.
25222 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
25223 byte-code-functions.
25224 (byte-compile-form): Check obsolescence here.
25225 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
25226 (byte-compile-variable-ref): Remove.
25227 (byte-compile-dynamic-variable-op): New fun.
25228 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
25229 (byte-compile-variable-set): New funs.
25230 (byte-compile-discard): Add 2 args.
25231 (byte-compile-stack-ref, byte-compile-stack-set)
25232 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
25233 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
25234 macroexpand-all instead.
25235 (byte-compile-quote-form): Remove.
25236 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
25237 (byte-compile-bind, byte-compile-unbind): New funs.
25238 (byte-compile-let): Handle let* and lexical binding.
25239 (byte-compile-let*): Remove.
25240 (byte-compile-catch, byte-compile-unwind-protect)
25241 (byte-compile-track-mouse, byte-compile-condition-case):
25242 Handle a new :fun-body form, used for lexical scoping.
25243 (byte-compile-save-window-excursion)
25244 (byte-compile-with-output-to-temp-buffer): Remove.
25245 (byte-compile-defun): Simplify.
25246 (byte-compile-stack-adjustment): New fun.
25247 (byte-compile-out): Use it.
25248 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
25249
25250 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
25251 handler any more.
25252
25253 * emacs-lisp/byte-opt.el: Use lexical binding.
25254 (byte-inline-lapcode): Remove (to bytecomp).
25255 (byte-compile-inline-expand): Pay attention to inlining to/from
25256 lexically bound code.
25257 (byte-compile-unfold-lambda): Don't handle byte-code-functions
25258 any more.
25259 (byte-optimize-form-code-walker): Don't handle save-window-excursion
25260 any more and don't call compiler-macros.
25261 (byte-compile-splice-in-already-compiled-code): Remove.
25262 (byte-code): Don't inline any more.
25263 (disassemble-offset): Receive `bytes' as argument rather than via
25264 dynamic scoping.
25265 (byte-compile-tag-number): Declare before first use.
25266 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
25267 `return' even if make-spliceable.
25268 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
25269 obsolete interactive-p.
25270 (byte-optimize-lapcode): Optimize new lap-codes.
25271 Don't trip up on new form of `byte-constant' lap code.
25272
25273 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
25274
25275 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
25276
25277 * custom.el (custom-initialize-default, custom-declare-variable):
25278 Use `defvar'.
25279
25280 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
25281 New variables.
25282 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
25283 (COMPILE_FIRST): Add macroexp and cconv.
25284 * makefile.w32-in: Mirror changes in Makefile.in.
25285
25286 * vc/cvs-status.el:
25287 * vc/diff-mode.el:
25288 * vc/log-edit.el:
25289 * vc/log-view.el:
25290 * vc/smerge-mode.el:
25291 * textmodes/bibtex-style.el:
25292 * textmodes/css-mode.el:
25293 * startup.el:
25294 * uniquify.el:
25295 * minibuffer.el:
25296 * newcomment.el:
25297 * reveal.el:
25298 * server.el:
25299 * mpc.el:
25300 * emacs-lisp/smie.el:
25301 * doc-view.el:
25302 * dired.el:
25303 * abbrev.el: Use lexical binding.
25304
25305 2011-04-01 Eli Zaretskii <eliz@gnu.org>
25306
25307 * info.el (info-display-manual): New function.
25308
25309 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
25310
25311 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
25312
25313 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
25314
25315 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
25316 an entry for that server in rcirc-authinfo. (Bug#8385)
25317
25318 2011-03-31 Glenn Morris <rgm@gnu.org>
25319
25320 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
25321
25322 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
25323
25324 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
25325
25326 * progmodes/python.el (python-default-interpreter)
25327 (python-python-command-args, python-jython-command-args)
25328 (python-which-shell, python-which-args, python-which-bufname)
25329 (python-file-queue, python-comint-output-filter-function)
25330 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
25331 variables and functions.
25332
25333 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
25334
25335 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
25336 (completion-in-region-mode): New minor mode.
25337 (completion-in-region): Use it.
25338 (completion-in-region--data, completion-in-region-mode-map): New vars.
25339 (completion-in-region--postch): New function.
25340 (completion--capf-misbehave-funs, completion--capf-safe-funs):
25341 New vars.
25342 (completion--capf-wrapper): New function.
25343 (completion-at-point): Use it to track well-behavedness of
25344 hook functions.
25345 (completion-help-at-point): New command.
25346
25347 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
25348
25349 * vc/add-log.el (add-change-log-entry): Don't use whitespace
25350 syntax class to search for whitespace on a single line
25351 (Message-ID: <4D938140.4030905@redhat.com>).
25352
25353 2011-03-30 Leo Liu <sdl.web@gmail.com>
25354
25355 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
25356 New commands.
25357 (edit-abbrevs-map): Bind them here.
25358 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
25359
25360 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
25361
25362 * allout.el (allout-hide-by-annotation, allout-flag-region):
25363 Reduce possibility of overlay leakage by making them volatile.
25364
25365 * allout-widgets.el (allout-widgets-tally): Define as nil so the
25366 hash is not shared between buffers. Mode initialization is
25367 responsible for giving it a useful starting value.
25368 (allout-item-span): Reduce possibility of overlay leakage by
25369 making them volatile.
25370 (allout-widgets-count-buttons-in-region): Add diagnostic function
25371 for tracking down button overlay leaks.
25372
25373 2011-03-29 Leo Liu <sdl.web@gmail.com>
25374
25375 * ido.el (ido-read-internal): Use the default history var
25376 minibuffer-history if no HISTORY is specified.
25377
25378 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
25379
25380 * net/imap.el (imap-shell-open, imap-process-connection-type):
25381 Use imap-process-connection-type for 'shell' streams as well as
25382 Kerberos, SSL, other subprocesses.
25383
25384 2011-03-28 Leo Liu <sdl.web@gmail.com>
25385
25386 * abbrev.el (abbrev-table-empty-p): New function.
25387 (prepare-abbrev-list-buffer): Place empty abbrev tables after
25388 nonempty ones. (Bug#5937)
25389
25390 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
25391
25392 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
25393
25394 2011-03-27 Leo Liu <sdl.web@gmail.com>
25395
25396 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
25397 for foreground and background colors.
25398 (ansi-color-make-color-map): Adapt.
25399
25400 2011-03-25 Leo Liu <sdl.web@gmail.com>
25401
25402 * midnight.el (midnight-time-float): Remove. Note it calculates
25403 the microsecond component incorrectly and seconds-to-time does the
25404 same job.
25405 Remove redundant (require 'timer).
25406
25407 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
25408 (ido-completions): Remove unused arguments. (Bug#8329)
25409
25410 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
25411
25412 * minibuffer.el (completion--flush-all-sorted-completions):
25413 Remove itself from hook.
25414 (completion-at-point): Let the functions perform the completion
25415 immediately and return nil or t.
25416 * comint.el (comint-dynamic-complete-functions): Now identical to
25417 completion-at-point-functions.
25418 (comint-dynamic-list-input-ring): Remove unused var `index'.
25419 (comint--match-partial-filename, comint--unquote&expand-filename):
25420 New funs, split from comint-match-partial-filename.
25421 (comint-dynamic-complete): Use completion-at-point.
25422 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
25423
25424 2011-03-24 Drew Adams <drew.adams@oracle.com>
25425
25426 * thingatpt.el: Support `defun'.
25427
25428 2011-03-23 Leo Liu <sdl.web@gmail.com>
25429
25430 * abbrevlist.el: Move to obsolete/abbrevlist.el.
25431
25432 * help-mode.el (help-mode-finish): Tweak regexp.
25433
25434 2011-03-23 Glenn Morris <rgm@gnu.org>
25435
25436 * eshell/esh-opt.el (eshell-eval-using-options):
25437 Do not bind unused local variable `eshell-option-stub'.
25438
25439 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
25440
25441 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
25442
25443 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
25444 keymap variable in `with-no-warnings' to avoid a warning when the
25445 keymap has been already `defconst'ed.
25446
25447 2011-03-22 Leo Liu <sdl.web@gmail.com>
25448
25449 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
25450 encode all chars in abbrevs; otherwise use emacs-mule or
25451 utf-8-emacs. (Bug#8308)
25452
25453 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
25454
25455 * simple.el (backward-delete-char-untabify):
25456 Avoid warning about using `delete-backward-char'.
25457
25458 * image.el (image-type-file-name-regexps): Make it variable.
25459 `imagemagick-register-types' modifies it, and the user may want
25460 to add new extensions for known image types.
25461 (imagemagick-register-types): Throw error if not using ImageMagick.
25462
25463 2011-03-22 Leo Liu <sdl.web@gmail.com>
25464
25465 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
25466 located before rcirc-prompt-end-marker.
25467 (rcirc-complete): Error if point is not after rcirc prompt.
25468 Handle the case when table is nil.
25469 (rcirc-user-authenticated): Define to fix compiler warning.
25470
25471 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
25472
25473 * custom.el (custom--inhibit-theme-enable): Make it affect only
25474 custom-theme-set-variables and custom-theme-set-faces.
25475 (provide-theme): Ignore custom--inhibit-theme-enable.
25476 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
25477 (custom-enabling-themes): Delete variable.
25478 (enable-theme): Accept only loaded themes as arguments.
25479 Ignore the special custom-enabled-themes variable.
25480 (custom-enabled-themes): Forbid themes from setting this.
25481 Eliminate use of custom-enabling-themes.
25482 (custom-push-theme): Quote "changed" custom var entry.
25483
25484 2011-03-21 Leo Liu <sdl.web@gmail.com>
25485
25486 * ido.el (ido-read-internal): Add ido-selected to history instead
25487 of user input.
25488
25489 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
25490
25491 * subr.el (deferred-action-list, deferred-action-function):
25492 Mark obsolete.
25493
25494 2011-03-21 Leo Liu <sdl.web@gmail.com>
25495
25496 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
25497 change on 2011-02-13 (bug#8309).
25498
25499 * minibuffer.el (read-file-name-function): Change default value.
25500 (read-file-name--defaults): Rename from read-file-name-defaults.
25501 (read-file-name-default): Rename from read-file-name.
25502 (read-file-name): Call read-file-name-function.
25503
25504 2011-03-21 Glenn Morris <rgm@gnu.org>
25505
25506 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
25507 Doc fixes.
25508
25509 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
25510
25511 * cus-theme.el: Add missing provide statement.
25512 (customize-create-theme): Extract theme value correctly.
25513 (custom-theme-visit-theme): Autoload.
25514 (customize-create-theme): Prompt before inserting default faces.
25515
25516 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
25517
25518 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
25519 units and musical notes.
25520
25521 2011-03-20 Leo Liu <sdl.web@gmail.com>
25522
25523 * ido.el (ido-read-internal): Use completing-read-default.
25524 (ido-completing-read): Fix compatibility with completing-read.
25525
25526 2011-03-20 Christian Ohler <ohler@gnu.org>
25527
25528 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
25529 (ert-delete-all-tests): Use `called-interactively-p' rather than
25530 `interactive-p'.
25531 (ert--make-xrefs-region): Respect END.
25532
25533 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
25534
25535 * dired-aux.el (dired-create-directory): Signal an error if the
25536 directory already exists (Bug#8246).
25537
25538 * facemenu.el (list-colors-display): Call list-faces-display
25539 inside with-help-window.
25540 (list-colors-print): Use display property to align the final
25541 column, instead of checking window-width.
25542
25543 2011-03-19 Eli Zaretskii <eliz@gnu.org>
25544
25545 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
25546 windows-nt systems.
25547 (emerge-protect-metachars): Quote correctly for ms-dos and
25548 windows-nt systems.
25549
25550 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
25551
25552 * info.el (info-initialize): Replace all uses of `:' with
25553 path-separator for compatibility with non-Unix systems.
25554 Cache quoting of path-separator. (Bug#8258)
25555
25556 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
25557
25558 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
25559 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
25560 (mouse-avoidance-mode): Fix typos in docstrings.
25561
25562 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
25563
25564 * startup.el (package-subdirectory-regexp): Move from package.el.
25565 Omit \\` and \\', and let callers add them.
25566
25567 * emacs-lisp/package.el (package-strip-version)
25568 (package-load-all-descriptors): Add \\` and \\' to
25569 package-subdirectory-regexp before using it.
25570 (package-untar-buffer): New arg DIR; ensure that file untars only
25571 into this expected directory. Remove superfluous delete-region.
25572 (package-unpack): Caller changed.
25573 (package-tar-file-info): Use package-subdirectory-regexp.
25574
25575 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
25576
25577 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
25578 diff-mode-shared-map (bug#8284).
25579 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
25580
25581 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
25582
25583 * calendar/time-date.el (format-seconds): Use assoc instead of
25584 assoc-string, since assoc-string doesn't exist in XEmacs.
25585
25586 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
25587
25588 * custom.el (custom-known-themes): Reflow docstring.
25589 (custom-theme-load-path): Fix typo in docstring.
25590 (load-theme): Fix typo in error message.
25591 (custom-available-themes, custom-variable-theme-value):
25592 Use `let', not `let*'.
25593
25594 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
25595
25596 * calc/README: Mention inclusion of musical notes.
25597
25598 * calc/calc-units.el (calc-lu-quant): Rename from
25599 `calc-logunits-quantity'.
25600 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
25601 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
25602 (calc-db): Rename from `calc-dblevel'.
25603 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
25604 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
25605 (calc-np): Rename from `calc-nplevel'.
25606 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
25607 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
25608 (calc-lu-plus): Rename from `calc-logunits-add'.
25609 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
25610 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
25611 (calc-lu-minus): Rename from `calc-logunits-sub'.
25612 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
25613 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
25614 (calc-lu-times): Rename from `calc-logunits-mul'.
25615 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
25616 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
25617 (calc-lu-divide): Rename from `calc-logunits-div'.
25618 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
25619 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
25620
25621 * calc/calc-ext.el (calc-init-extensions): Update the names of the
25622 functions being autoloaded.
25623
25624 * calc/calc.el (calc-lu-power-reference): Rename from
25625 `calc-logunits-power-reference'.
25626 (calc-lu-field-reference): Rename from
25627 `calc-logunits-field-reference'.
25628
25629 * calc/calc-help.el (calc-l-prefix-help):
25630 Mention musical note functions.
25631
25632 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
25633
25634 * minibuffer.el (completion-all-sorted-completions):
25635 Use :completion-cycle-penalty text property if present.
25636
25637 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
25638
25639 * allout.el (allout-yank-processing): Adjust for new rebulleting
25640 regime so bullet being yanked is used without prompting the user
25641 for a choice.
25642
25643 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
25644
25645 * startup.el (command-line): Warn the user that _emacs is deprecated.
25646
25647 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
25648
25649 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
25650 (delphi-verbose, delphi-comment-face, delphi-string-face)
25651 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
25652 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
25653 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
25654 (delphi-new-comment-line, delphi-font-lock-defaults)
25655 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
25656 Fix typos in docstrings.
25657
25658 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
25659
25660 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
25661 Invert the roles of character and string values for INSTEAD, so a
25662 string is used for the more common case of a defaulting prompt.
25663
25664 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25665
25666 * progmodes/ruby-mode.el (ruby-backward-sexp):
25667 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
25668 * play/gamegrid.el (gamegrid-make-face):
25669 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
25670 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
25671 * notifications.el (notifications-notify):
25672 * net/xesam.el (xesam-search-engines):
25673 * net/quickurl.el (quickurl-list-insert):
25674 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
25675
25676 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
25677
25678 * startup.el (command-line): Update package subdirectory regexp.
25679
25680 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25681
25682 * allout.el (allout-abbreviate-flattened-numbering)
25683 (allout-mode-deactivate-hook): Fix up obsolescence "date".
25684
25685 * subr.el (read-char-choice): Only show the cursor after the prompt,
25686 not after the answer.
25687
25688 2011-03-15 Kevin Ryde <user42@zip.com.au>
25689
25690 * help-fns.el (variable-at-point): Skip leading quotes, if any
25691 (bug#8253).
25692
25693 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25694
25695 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
25696 warning message.
25697
25698 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
25699
25700 * shell.el (shell): When called interactively, offer to change the
25701 shell file name on remote hosts.
25702
25703 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
25704
25705 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
25706 integration for LDAP parameters. The host, base, user or binddn,
25707 and secret tokens can be specified in a netrc file, for instance.
25708 This is optional because an `auth-source' parameter must be
25709 specified in the search attributes.
25710
25711 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
25712
25713 * help.el (describe-mode): Link to the mode's definition (bug#8185).
25714
25715 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
25716
25717 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
25718 into declaration. Remove redundant and harmful binding.
25719
25720 2011-03-12 Eli Zaretskii <eliz@gnu.org>
25721
25722 * files.el (file-ownership-preserved-p): Pass `integer' as an
25723 explicit 2nd argument to `file-attributes'. If the file's owner
25724 is the Administrators group on Windows, and the current user is
25725 Administrator, consider that a match.
25726
25727 * server.el (server-ensure-safe-dir): Consider server directory
25728 safe on MS-Windows if its owner is the Administrators group while
25729 the current Emacs user is Administrator. Use `=' to compare
25730 numerical UIDs, since they could be integers or floats.
25731
25732 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
25733
25734 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
25735
25736 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
25737
25738 Sync with Tramp 2.2.1.
25739
25740 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
25741
25742 * net/trampver.el: Update release number.
25743
25744 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
25745
25746 * progmodes/compile.el (compilation--previous-directory): Fix up
25747 various nil/dead-marker mismatches (bug#8014).
25748 (compilation-directory-properties, compilation-error-properties):
25749 Don't call it at a position past the one we're about to change.
25750
25751 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
25752 Disable obsolescence warnings in the file that declares it.
25753
25754 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
25755
25756 * allout-widgets.el (allout-widgets-tally):
25757 Initialize allout-widgets-tally as a hash table rather than nil to
25758 prevent mode-line redisplay warnings. Also, clarify the module
25759 description and fix a comment typo.
25760
25761 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
25762
25763 * help-fns.el (describe-variable): Don't complete keywords.
25764 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
25765
25766 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
25767
25768 * emacs-lisp/package.el (package-version-join): Impose a standard
25769 string representation for pre/alpha/beta version lists.
25770 (package-unpack-single): Standardize the directory name by passing
25771 it through package-version-join.
25772 (package-strip-rcs-id): Accept any version string that does not
25773 signal an error in version-to-list.
25774
25775 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
25776
25777 * simple.el (delete-trailing-whitespace): Return nil for the
25778 benefit of `write-file-functions'.
25779
25780 2011-03-10 Glenn Morris <rgm@gnu.org>
25781
25782 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
25783
25784 * vc/vc-git.el (vc-git-program): New option.
25785 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
25786 (vc-git--call): Use it.
25787
25788 * eshell/esh-util.el (eshell-condition-case): Doc fix.
25789
25790 * cus-edit.el (Custom-newline): If no button at point, look
25791 for a subgroup button at start-of-line. (Bug#2298)
25792
25793 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
25794
25795 2011-03-10 Julien Danjou <julien@danjou.info>
25796
25797 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
25798 `cursor-type' is nil.
25799
25800 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
25801
25802 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
25803
25804 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
25805
25806 * allout.el: Change so yank of distinctive-bullet items
25807 preserves the existing header prefix, rebulleting it if necessary,
25808 rather than replacing it. This is necessary for proper operation
25809 of cooperative addons like allout-widgets.
25810 (allout-make-topic-prefix, allout-rebullet-heading):
25811 Change SOLICIT arg to INSTEAD, and interpret additionally a string
25812 value as alternate bullet to be used, instead of prompting the user
25813 for a bullet character.
25814
25815 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
25816
25817 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25818 Do not use `tramp-file-name-port', because this returns also
25819 `tramp-default-port'.
25820
25821 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
25822
25823 * net/rcirc.el (rcirc-handler-001): Remove useless
25824 with-rcirc-process-buffer.
25825 (rcirc-check-auth-status): Swap arguments to string-match.
25826
25827 2011-03-09 Glenn Morris <rgm@gnu.org>
25828
25829 * shell.el (shell-mode):
25830 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
25831
25832 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
25833 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
25834
25835 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
25836
25837 * emacs-lisp/package.el (package-refresh-contents)
25838 (package-menu-execute): Use condition-case-no-debug.
25839
25840 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
25841
25842 * simple.el (shell-command-to-string): Use `process-file'.
25843
25844 * emacs-lisp/package.el (package-tar-file-info): Handle also
25845 remote files.
25846
25847 * emacs-lisp/package-x.el (package-upload-buffer-internal):
25848 Use `equal' for upload base check.
25849
25850 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
25851
25852 * textmodes/texinfo.el (texinfo-environments):
25853 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
25854
25855 2011-03-08 Glenn Morris <rgm@gnu.org>
25856
25857 * cus-start.el (cursor-in-non-selected-windows):
25858 Fix :set quoting oddness. (Bug#8192)
25859
25860 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
25861 in some setf expressions. (Bug#2159)
25862
25863 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
25864
25865 * custom.el (custom-available-themes): Return themes in
25866 alphabetical order.
25867
25868 See ChangeLog.15 for earlier changes.
25869
25870 ;; Local Variables:
25871 ;; coding: utf-8
25872 ;; End:
25873
25874 Copyright (C) 2011-2013 Free Software Foundation, Inc.
25875
25876 This file is part of GNU Emacs.
25877
25878 GNU Emacs is free software: you can redistribute it and/or modify
25879 it under the terms of the GNU General Public License as published by
25880 the Free Software Foundation, either version 3 of the License, or
25881 (at your option) any later version.
25882
25883 GNU Emacs is distributed in the hope that it will be useful,
25884 but WITHOUT ANY WARRANTY; without even the implied warranty of
25885 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25886 GNU General Public License for more details.
25887
25888 You should have received a copy of the GNU General Public License
25889 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.