* lisp/progmodes/sh-script.el: Implement `sh-mode' own
[bpt/emacs.git] / lisp / ChangeLog
1 2013-04-10 Masatake YAMATO <yamato@redhat.com>
2
3 * progmodes/sh-script.el: Implement `sh-mode' own
4 `add-log-current-defun-function' (bug#14112).
5 (sh-current-defun-name): New function.
6 (sh-mode): Use the function.
7
8 2013-04-09 Bastien Guerry <bzg@gnu.org>
9
10 * simple.el (choose-completion-string): Fix docstring (bug#14163).
11
12 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
13
14 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
15
16 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
17 timer (bug#14156).
18
19 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
20
21 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
22 declaration.
23
24 2013-04-07 Leo Liu <sdl.web@gmail.com>
25
26 * pcmpl-x.el: New file.
27
28 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
29
30 Do not set x-display-name until X connection is established.
31 This is needed to prevent from weird situation described at
32 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
33 * frame.el (make-frame): Set x-display-name after call to
34 window system initialization function, not before.
35 * term/x-win.el (x-initialize-window-system): Add optional
36 display argument and use it.
37 * term/w32-win.el (w32-initialize-window-system):
38 * term/ns-win.el (ns-initialize-window-system):
39 * term/pc-win.el (msdos-initialize-window-system):
40 Add compatible optional display argument.
41
42 2013-04-06 Eli Zaretskii <eliz@gnu.org>
43
44 * files.el (normal-backup-enable-predicate): On MS-Windows and
45 MS-DOS compare truenames of temporary-file-directory and of the
46 file, so that 8+3 aliases (usually found in $TEMP on Windows)
47 don't fail comparison by compare-strings. Also, compare file
48 names case-insensitively on MS-Windows and MS-DOS.
49
50 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
51
52 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
53 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
54
55 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
56
57 * whitespace.el (whitespace-color-on, whitespace-color-off):
58 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
59
60 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
61
62 * ispell.el (ispell-set-spellchecker-params):
63 Really set `ispell-args' for all equivs.
64
65 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
66
67 * ido.el (ido-completions): Use extra elements of ido-decorations
68 (bug#14143).
69 (ido-decorations): Update docstring.
70
71 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
72
73 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
74 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
75 nil during initialization, in order not to miss changes since the
76 file was opened. (Bug#14140)
77
78 2013-04-05 Leo Liu <sdl.web@gmail.com>
79
80 * kmacro.el (kmacro-call-macro): Fix bug#14135.
81
82 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
83
84 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
85
86 2013-04-04 Glenn Morris <rgm@gnu.org>
87
88 * electric.el (electric-pair-inhibit-predicate): Add :version.
89
90 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
91
92 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
93 when a package is required several times (bug#14082).
94
95 2013-04-04 Roland Winkler <winkler@gnu.org>
96
97 * faces.el (read-face-name): Behave as promised by the docstring.
98 Assume that arg default is a list of faces.
99 (describe-face): Call read-face-name with list of default faces.
100
101 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
102
103 * bookmark.el: Fix deletion of bookmarks (bug#13972).
104 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
105 (bookmark-bmenu-execute-deletions): Only skip first line if it's
106 the header.
107 (bookmark-exit-hook-internal): Save even if list is empty.
108
109 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
110
111 * emacs-lisp/package.el (package-pinned-packages): New var.
112 (package--add-to-archive-contents): Obey it (bug#14118).
113
114 2013-04-03 Alan Mackenzie <acm@muc.de>
115
116 Handle `parse-partial-sexp' landing inside a comment opener
117 (Bug#13244). Also adapt to the new values of element 7 of a parse
118 state.
119
120 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
121 parameter `not-in-delimiter'. Handle being inside comment opener.
122 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
123 character in case we're typing a '*' after a '/'.
124 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
125 instead by passing the parameter to c-state-pp-to-literal.
126
127 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
128 for elt. 7 of a parse state.
129
130 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
131
132 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
133 * international/latin1-disp.el, international/mule-util.el:
134 * language/cyril-util.el, language/european.el, language/ind-util.el:
135 * language/lao-util.el, language/thai.el, language/tibet-util.el:
136 * language/tibetan.el, language/viet-util.el:
137 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
138
139 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
140
141 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
142 (electric-pair-post-self-insert-function): Use it.
143 (electric-pair-default-inhibit): New function, extracted from
144 electric-pair-post-self-insert-function.
145
146 2013-03-31 Roland Winkler <winkler@gnu.org>
147
148 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
149
150 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
151
152 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
153
154 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
155
156 Un-indent after "pass" and "return" statements (Bug#13888)
157 * progmodes/python.el (python-indent-block-enders): New var.
158 (python-indent-calculate-indentation): Use it.
159
160 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
161
162 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
163 defun. Defining it as defalias could introduce too eager
164 byte-compiler optimization. (Bug#14030)
165
166 2013-03-30 Chong Yidong <cyd@gnu.org>
167
168 * iswitchb.el (iswitchb-read-buffer): Fix typo.
169
170 2013-03-30 Leo Liu <sdl.web@gmail.com>
171
172 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
173 (kmacro-execute-from-register): Pass the keyboard macro to
174 kmacro-call-macro or repeating won't work correctly.
175
176 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
177
178 * progmodes/subword.el: Back to using `forward-symbol'.
179
180 * subr.el (forward-whitespace, forward-symbol)
181 (forward-same-syntax): Move from thingatpt.el.
182
183 2013-03-29 Leo Liu <sdl.web@gmail.com>
184
185 * kmacro.el (kmacro-to-register): New command.
186 (kmacro-execute-from-register): New function.
187 (kmacro-keymap): Bind to 'x'. (Bug#14071)
188
189 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
190
191 * mpc.el: Use defvar-local and setq-local.
192 (mpc--proc-connect): Connection failures are not bugs.
193 (mpc-mode-map): `follow-link' only applies to the buffer's content.
194 (mpc-volume-map): Bind to the up-events.
195
196 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
197
198 * progmodes/subword.el (superword-mode): Use `forward-sexp'
199 instead of `forward-symbol'.
200
201 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
202
203 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
204 (edebug--recursive-edit): Use it.
205 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
206 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
207
208 2013-03-28 Leo Liu <sdl.web@gmail.com>
209
210 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
211
212 2013-03-27 Eli Zaretskii <eliz@gnu.org>
213
214 * facemenu.el (list-colors-callback): New defvar.
215 (list-colors-redisplay): New function.
216 (list-colors-display): Install list-colors-redisplay as the
217 revert-buffer-function. (Bug#14063)
218
219 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
220
221 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
222 and suffixes don't overlap (bug#14061).
223
224 * case-table.el: Use lexical-binding.
225 (case-table-get-table): New function.
226 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
227
228 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
229
230 * progmodes/subword.el: Add `superword-mode' to do word motion
231 over symbol_words (parallels and leverages `subword-mode' which
232 does word motion inside MixedCaseWords).
233
234 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
235
236 * eshell/em-unix.el: Move su and sudo to...
237 * eshell/em-tramp.el: ...Eshell tramp module
238
239 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
240
241 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
242 Change return value to be a sexp. Delay `get-buffer' to after
243 restoring the desktop (bug#13951).
244
245 2013-03-26 Leo Liu <sdl.web@gmail.com>
246
247 * register.el: Move semantic tag handling back to
248 cedet/semantic/senator.el. (Bug#14052)
249
250 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
251
252 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
253 into the prompt either (bug#13963).
254
255 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
256
257 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
258 part of "(error-foo)".
259
260 2013-03-24 Juri Linkov <juri@jurta.org>
261
262 * replace.el (list-matching-lines-prefix-face): New defcustom.
263 (occur-1): Pass `list-matching-lines-prefix-face' to the function
264 `occur-engine' if `face-differs-from-default-p' returns t.
265 (occur-engine): Add `,' inside backquote construct to evaluate
266 `prefix-face'. Propertize the prefix with the `prefix-face' face.
267 Pass `prefix-face' to the functions `occur-context-lines' and
268 `occur-engine-add-prefix'.
269 (occur-engine-add-prefix, occur-context-lines): Add optional arg
270 `prefix-face' and propertize the prefix with `prefix-face'.
271 (Bug#14017)
272
273 2013-03-24 Leo Liu <sdl.web@gmail.com>
274
275 * nxml/rng-valid.el (rng-validate-while-idle)
276 (rng-validate-quick-while-idle): Guard against deleted buffer.
277 (Bug#13999)
278
279 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
280 is the last entry in kill-buffer-hook.
281
282 * files.el (kill-buffer-hook): Doc fix.
283
284 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
285
286 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
287 Make it safe-local.
288
289 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
290
291 2013-03-23 Leo Liu <sdl.web@gmail.com>
292
293 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
294 Remove.
295
296 * nxml/rng-valid.el (rng-validate-mode)
297 (rng-after-change-function, rng-do-some-validation):
298 * nxml/rng-maint.el (rng-validate-buffer):
299 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
300 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
301 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
302 (nxml-extend-after-change-region): Use with-silent-modifications.
303
304 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
305 timer-idle-list.
306
307 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
308 (rng-next-error-1, rng-previous-error-1): Do not let-bind
309 timer-idle-list. (Bug#13999)
310
311 2013-03-23 Juri Linkov <juri@jurta.org>
312
313 * info.el (info-index-match): New face.
314 (Info-index, Info-apropos-matches): Add a nested subgroup to the
315 main pattern and add text properties with the new face to matches
316 in index entries relative to the beginning of the index entry.
317 (Bug#14015)
318
319 2013-03-21 Eric Ludlam <zappo@gnu.org>
320
321 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
322 Inhibit read only while inserting objects.
323
324 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
325
326 * progmodes/cfengine.el: Update docs to mention
327 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
328 symbol motion. Remove "_" from the word syntax.
329
330 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
331
332 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
333 syntax for both `cfengine2-mode' and `cfengine3-mode'.
334
335 2013-03-20 Juri Linkov <juri@jurta.org>
336
337 * info.el (Info-next-reference-or-link)
338 (Info-prev-reference-or-link): New functions.
339 (Info-next-reference, Info-prev-reference): Use them.
340 (Info-try-follow-nearest-node): Handle footnote navigation.
341 (Info-fontify-node): Fontify footnotes. (Bug#13989)
342
343 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
344
345 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
346 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
347
348 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
349
350 Suppress unnecessary non-ASCII chatter during build process.
351 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
352 (batch-skkdic-convert): Suppress most of the chatter.
353 It's not needed so much now that machines are faster,
354 and its non-ASCII component was confusing; see Dmitry Gutov in
355 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
356
357 2013-03-20 Leo Liu <sdl.web@gmail.com>
358
359 * ido.el (ido-chop): Fix bug#10994.
360
361 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
362
363 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
364 Remove vars.
365 (whitespace-color-on, whitespace-color-off):
366 Use `font-lock-fontify-buffer' (Bug#13817).
367
368 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
369
370 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
371 remapping in mode-line.
372 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
373
374 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
375
376 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
377 value for `whitespace-line' face (Bug#13875).
378 (whitespace-font-lock-keywords): Change description.
379 (whitespace-color-on): Don't save `font-lock-keywords' value, save
380 the constructed keywords instead.
381 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
382
383 2013-03-19 Leo Liu <sdl.web@gmail.com>
384
385 * progmodes/compile.el (compilation-display-error): New command.
386 (compilation-mode-map, compilation-minor-mode-map): Bind it to
387 C-o. (Bug#13992)
388
389 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
390
391 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
392
393 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
394
395 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
396
397 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
398
399 * net/tramp-compat.el (tramp-compat-user-error): New defun.
400
401 * net/tramp-adb.el (tramp-adb-handle-shell-command):
402 * net/tramp-gvfs.el (top):
403 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
404 (tramp-handle-shell-command): Use it.
405 (tramp-dissect-file-name): Raise an error when hostname is a
406 method name, and neither method nor user is specified.
407
408 * net/trampver.el: Update release number.
409
410 2013-03-18 Leo Liu <sdl.web@gmail.com>
411
412 Make sure eldoc can be turned off properly.
413 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
414 eldoc-mode.
415 (eldoc-display-message-p): Revert last change.
416 (eldoc-display-message-no-interference-p)
417 (eldoc-print-current-symbol-info): Tweak.
418
419 2013-03-18 Tassilo Horn <tsdh@gnu.org>
420
421 * doc-view.el (doc-view-new-window-function): Check the new window
422 overlay's display property instead the char property of the
423 buffer's first char. Use `with-selected-window' instead of
424 `save-window-excursion' with `select-window'.
425 (doc-view-document->bitmap): Check the current doc-view overlay's
426 display property instead the char property of the buffer's first char.
427
428 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
429
430 Automate the build of ja-dic.el (Bug#13984).
431 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
432 from the input, rather than assume that it's been done for us by the
433 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
434 the current date into a ja-dic.el comment, as that complicates
435 regression testing.
436
437 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
438
439 * whitespace.el: Fix double evaluation.
440 (whitespace-space, whitespace-hspace, whitespace-tab)
441 (whitespace-newline, whitespace-trailing, whitespace-line)
442 (whitespace-space-before-tab, whitespace-indentation)
443 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
444 obsolete defvars.
445 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
446 (whitespace-color-on): Use a single font-lock-add-keywords call.
447 Fix double-evaluation of face variables.
448
449 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
450
451 * net/tramp-adb.el (tramp-adb-parse-device-names):
452 Use `start-process' instead of `call-process'. Otherwise, the
453 function might be blocked under MS Windows. (Bug#13299)
454
455 2013-03-17 Leo Liu <sdl.web@gmail.com>
456
457 Extend eldoc to display info in the mode-line. (Bug#13978)
458 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
459 (eldoc-mode-line-string): New variable.
460 (eldoc-minibuffer-message): New function.
461 (eldoc-message-function): New variable.
462 (eldoc-message): Use it.
463 (eldoc-display-message-p)
464 (eldoc-display-message-no-interference-p):
465 Support eldoc-post-insert-mode.
466
467 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
468 (eval-expression): Run it.
469
470 2013-03-17 Roland Winkler <winkler@gnu.org>
471
472 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
473 strings in the list of return values.
474
475 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
476
477 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
478 radix before checking for HMS forms.
479
480 2013-03-16 Leo Liu <sdl.web@gmail.com>
481
482 * progmodes/scheme.el: Add indentation and font-locking for λ.
483 (Bug#13975)
484
485 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
486
487 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
488 token before point (bug#13942).
489
490 2013-03-16 Leo Liu <sdl.web@gmail.com>
491
492 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
493
494 2013-03-16 Eli Zaretskii <eliz@gnu.org>
495
496 * startup.el (command-line-normalize-file-name): Fix handling of
497 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
498 <xfq.free@gmail.com> in
499 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
500
501 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
502
503 Sync with Tramp 2.2.7.
504
505 * net/trampver.el: Update release number.
506
507 2013-03-14 Tassilo Horn <tsdh@gnu.org>
508
509 * doc-view.el Fix bug#13887.
510 (doc-view-insert-image): Don't modify overlay associated to
511 non-live windows, and implement horizontal centering of image in
512 case it's smaller than the window.
513 (doc-view-new-window-function): Force redisplay of new windows on
514 doc-view buffers.
515
516 2013-03-13 Karl Fogel <kfogel@red-bean.com>
517
518 * saveplace.el (save-place-alist-to-file): Don't sort
519 `save-place-alist', just pretty-print it (bug#13882).
520
521 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
522
523 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
524 whether `default-file-name-coding-system' is bound. It isn't in
525 XEmacs.
526
527 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
528
529 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
530 backquotes for `obsolete' (bug#13929).
531
532 * international/mule.el (find-auto-coding): Include file name in
533 obsolescence warning (bug#13922).
534
535 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
536
537 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
538 for CFEngine 3-specific indentation.
539 (cfengine3-indent-line): Use it. Fix up category regex.
540 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
541
542 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
543
544 * type-break.el (type-break-file-name):
545 * textmodes/remember.el (remember-data-file):
546 * strokes.el (strokes-file):
547 * shadowfile.el (shadow-initialize):
548 * saveplace.el (save-place-file):
549 * ps-bdf.el (bdf-cache-file):
550 * progmodes/idlwave.el (idlwave-config-directory):
551 * net/quickurl.el (quickurl-url-file):
552 * international/kkc.el (kkc-init-file-name):
553 * ido.el (ido-save-directory-list-file):
554 * emulation/viper.el (viper-custom-file-name):
555 * emulation/vip.el (vip-startup-file):
556 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
557 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
558
559 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
560
561 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
562 * language/thai-word.el: Switch to UTF-8.
563
564 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
565
566 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
567
568 2013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
569
570 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
571 Use with-current-buffer and don't move point.
572 (net-utils-run-simple): Remove useless code.
573 (net-utils-remove-ctl-m): Remove unused custom.
574
575 2013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
576
577 * international/characters.el (glyphless-set-char-table-range): New fun.
578 (update-glyphless-char-display): Use it (bug#13744).
579
580 2013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
581
582 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
583 namespaces in the syntax, indent closer for hanging brace
584 correctly, allow single-quote delimited 'strings', and make
585 `cfengine3-mode' the default.
586
587 2013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
588
589 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
590 Use lexical-binding. Fix up docstring according to conventions.
591 (gdbmi-debug-mode): New var.
592 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
593 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
594 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
595 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
596 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
597 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
598 (gdbmi-bnf-incomplete-record-result): New functions.
599 (gdb-car<): Remove function.
600 (gdbmi-record-list): Remove variable.
601 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
602 (gdbmi-bnf-result-state-configs): New const.
603 (gud-gdbmi-marker-filter): Rewrite.
604 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
605 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
606 Add `token' argument.
607 (gdb-done, gdb-error): New functions.
608 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
609
610 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
611
612 * term/xterm.el (xterm--report-background-handler): Don't burp
613 upon timeout.
614 (xterm--version-handler): Extract from terminal-init-xterm.
615 (xterm--query): Don't mishandle timeout. Remove debugging messages.
616 Allow multiple handlers.
617 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
618
619 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
620 (xterm--report-background-handler, xterm--query): New functions.
621 (terminal-init-xterm): Use them.
622
623 2013-03-11 Michael R. Mauger <michael@mauger.com>
624
625 * progmodes/sql.el Version 3.2
626 Please note that my address changed to <michael@mauger.com>;
627 the <mmaug@yahoo.com> address remains active.
628 (sql-connection-alist): Updates documentation to fix bug#13715.
629 (sql-connect): Handle missing `sql-connection-alist' correctly.
630 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
631 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
632 property.
633 (sql-default-value): New function.
634 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
635 values were not used.
636 (sql-rename-buffer): Make sure alternate buffer name has no text
637 properties.
638 (sql-input-sender, sql-execute-feature): Fetch variable with
639 `buffer-local-value' rather than `with-current-buffer'.
640 (sql-*): Use #' function syntax consistently.
641 (sql-*): Use message/error/user-error consistently.
642
643 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
644
645 * xt-mouse.el (xterm-mouse-event-read): Remove.
646 (xterm-mouse--read-event-sequence-1000)
647 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
648
649 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
650
651 * term/xterm.el (xterm-function-map): Support format used with
652 formatOtherKeys=1 (bug#13839).
653
654 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
655 (with-no-warnings): Use `declare'.
656
657 * whitespace.el (whitespace-enable-predicate): New variable.
658 (whitespace-enable-predicate): Use it.
659
660 * comint.el (comint-send-input, comint-snapshot-last-prompt)
661 (comint-output-filter, comint-update-fence):
662 Use with-silent-modifications.
663
664 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
665
666 * replace.el (occur-read-regexp-defaults-function): New var.
667 (occur-read-regexp-defaults): New defun.
668 (occur-read-primary-args): Propagate above change (bug#13892).
669
670 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
671
672 * mouse.el (mouse-drag-track): Remove left-over debugging code.
673
674 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
675
676 Major rewrite due to changed D-Bus interface of GVFS 1.14.
677
678 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
679 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
680 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
681 New defconst.
682 (tramp-gvfs-file-name-handler-alist) [directory-files]
683 [directory-files-and-attributes, file-exists-p, file-modes]:
684 Use Tramp default handler.
685 [file-acl, file-selinux-context, process-file, set-file-acl]:
686 [set-file-modes, set-file-selinux-context, shell-command]:
687 [start-file-process]: Remove handler.
688 [verify-visited-file-modtime]: New handler.
689 (tramp-gvfs-dbus-string-to-byte-array)
690 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
691 calls of `dbus-string-to-byte-array' and
692 `tramp-gvfs-dbus-byte-array-to-string'.
693 (tramp-gvfs-handle-copy-file)
694 (tramp-gvfs-handle-delete-directory)
695 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
696 (tramp-gvfs-handle-file-directory-p)
697 (tramp-gvfs-handle-file-executable-p)
698 (tramp-gvfs-handle-file-name-all-completions)
699 (tramp-gvfs-handle-file-readable-p)
700 (tramp-gvfs-handle-file-writable-p)
701 (tramp-gvfs-handle-insert-directory)
702 (tramp-gvfs-handle-insert-file-contents)
703 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
704 (tramp-gvfs-handle-set-visited-file-modtime)
705 (tramp-gvfs-handle-write-region): Rewrite.
706 (tramp-gvfs-handle-file-acl)
707 (tramp-gvfs-handle-file-selinux-context)
708 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
709 (tramp-gvfs-handle-set-file-modes)
710 (tramp-gvfs-handle-set-file-selinux-context)
711 (tramp-gvfs-handle-shell-command)
712 (tramp-gvfs-handle-start-file-process)
713 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
714 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
715 over the symlinks. Fix user handling.
716 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
717 of the D-Bus signals.
718 (tramp-gvfs-connection-mounted-p): Handle different names of the
719 D-Bus methods.
720 (tramp-gvfs-mount-spec-entry): New defun.
721 (tramp-gvfs-mount-spec): Use it.
722 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
723 there is a share name. Handle different names of the D-Bus
724 signals and methods. Set connection properties needed for
725 `tramp-check-cached-permissions'.
726 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
727 Return t or nil.
728
729 * net/tramp.el (tramp-backtrace): Move up.
730 (tramp-error): Dump a backtrace into the debug buffer when
731 `tramp-verbose > 9.
732 (tramp-file-mode-type-map, tramp-file-mode-from-int)
733 (tramp-file-mode-permissions, tramp-get-local-uid)
734 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
735 tramp-sh.el.
736
737 * net/tramp-sh.el (tramp-file-mode-type-map)
738 (tramp-check-cached-permissions, tramp-file-mode-from-int)
739 (tramp-file-mode-permissions, tramp-get-local-uid)
740 (tramp-get-local-gid): Move to tramp.el.
741
742 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
743
744 Separate mouse-1-click-follows-link from mouse-drag-region.
745 * mouse.el (mouse--down-1-maybe-follows-link): New function.
746 (key-translation-map): Use it to implement mouse-1-click-follows-link.
747 (mouse-drag-line, mouse-drag-track):
748 Remove mouse-1-click-follows-link code.
749 (mouse--remap-link-click-p): Remove.
750
751 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
752
753 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
754 (hi-lock-read-regexp-defaults): New defun.
755 (hi-lock-line-face-buffer, hi-lock-face-buffer)
756 (hi-lock-face-phrase-buffer): Propagate above change.
757 Update docstring (bug#13892).
758
759 * subr.el (find-tag-default-as-regexp): New defun.
760 * replace.el (read-regexp): Propagate above change.
761
762 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
763
764 * calc/calc-units.el (calc-convert-units): Fix the way that default
765 new units are stored.
766
767 2013-03-07 Matthias Meulien <orontee@gmail.com>
768
769 * bookmark.el: Define a face to highlight bookmark names in
770 bookmark menu buffers, where the default is a bold face similarly
771 to buffer names in buffer menu buffers.
772 (bookmark-menu-bookmark): New face to highlight bookmark names.
773 (bookmark-insert-location): Remove duplicated text property to
774 conform to buffer list (see `list-buffers').
775 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
776 `bookmark-menu-bookmark' to bookmark names.
777
778 2013-03-07 Matthias Meulien <orontee@gmail.com>
779 Karl Fogel <kfogel@red-bean.com>
780
781 * bookmark.el: Display the bookmark list header similarly to the
782 buffer list header (see `list-buffers'), where the default is now
783 an immovable/immutable header line.
784 (bookmark-bmenu-use-header-line): New variable.
785 (bookmark-bmenu-inline-header-height): New name for
786 `bookmark-bmenu-header-height', to avoid confusion with the code
787 for the new immovable header. All references changed.
788 (bookmark-bmenu-set-header): New function.
789 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
790 Conditionalize header construction accordingly.
791 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
792 the inline header height.
793 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
794 Conditionalize the skipping of the inline header height.
795
796 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
797
798 * progmodes/js.el (js--multi-line-declaration-indentation):
799 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
800
801 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
802
803 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
804 Only propertize regexp when not inside a string (Bug#13885).
805
806 2013-03-06 Alan Mackenzie <acm@muc.de>
807
808 Correct the position of point in some line-up functions.
809 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
810 (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
811 point at column 0 rather than at a random place in the line.
812
813 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
814
815 * net/tramp-compat.el (tramp-compat-delete-directory):
816 Implement TRASH argument.
817
818 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
819
820 Keep pre-existing highlighting in completion candidates (Bug#13250).
821 * minibuffer.el (completions-first-difference): State that the
822 face is "added" in the docstring.
823 (completions-common-part): Same. And don't inherit from default.
824 (completion-hilit-commonality): Prepend 'completions-common-part
825 and 'completion-first-difference faces to the 'face property,
826 instead of replacing the value(s).
827 (completion--insert-strings): Same with 'completions-annotations face.
828 (completion-hilit-commonality): Use 'face instead of
829 'font-lock-face, because it gets priority if the completion
830 strings already have 'face set.
831
832 2013-03-04 Alan Mackenzie <acm@muc.de>
833
834 Replace `last-command-event' by `last-command-char' in XEmacs.
835 * progmodes/cc-defs.el (c-last-command-char): New macro.
836 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
837 (c-semi&comma-no-newlines-before-nonblanks)
838 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
839 in place of `last-command-event'.
840 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
841 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
842 (c-electric-paren, c-electric-continued-statement): Use the new
843 macro in place of `last-command-event'.
844
845 2013-03-04 Glenn Morris <rgm@gnu.org>
846
847 * files.el (inhibit-local-variables-regexps):
848 Add .diff and .patch. (Bug#13862)
849
850 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
851
852 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
853 whether the "su" command is available on the device.
854
855 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
856
857 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
858 (tramp-adb-handle-process-file): Remove superfluous setting.
859 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
860 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
861 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
862
863 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
864
865 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
866 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
867 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
868 Use dict-key rather than dict-name for the error message.
869
870 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
871
872 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
873 when reverting (bug#13831).
874
875 2013-03-01 Agustín Martín Domingo <agustin.martin@hispalinux.es>
876
877 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
878 Always expand affix-file before storing to protect against changed
879 `default-directory'.
880 (ispell-print-if-debug): Make sure message is printed at the end
881 of the debug buffer.
882
883 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
884
885 * net/tramp.el (tramp-obsolete-methods): New defconst.
886 (tramp-warned-obsolete-methods): New defvar.
887 (tramp-find-method): Check for obsolete methods. Map them to a
888 replacement method if appropriate.
889
890 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
891 Remove methods.
892 (top): Remove completion functions for "scp1", "scp2", "ssh1",
893 "ssh2" and "plink1".
894
895 2013-02-28 Dale Sedivec <dale@codefu.org>
896
897 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
898 Return valid syntax-table property value when converting
899 quotes within text from string syntax to punctuation syntax (bug#13844).
900
901 2013-02-28 Juri Linkov <juri@jurta.org>
902
903 * dired-aux.el (dired-diff): If file at point is a backup file,
904 use its original as the default value, and reverse the order
905 of arguments to the `diff' call. Doc fix. (Bug#13772)
906
907 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
908
909 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
910 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
911
912 2013-02-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
913
914 Initial support for hunspell dictionaries auto-detection (Bug#13639)
915
916 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
917 Ask hunspell about available and default dictionaries.
918 (ispell-parse-hunspell-affix-file): Extract relevant info from
919 hunspell affix file.
920 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
921 `ispell-dictionary-alist' entry for given dictionary after info
922 provided by `ispell-parse-hunspell-affix-file'.
923 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
924 of parsed hunspell dicts and associated affix files.
925 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
926 of parsed hunspell dicts and associated parameters.
927 (ispell-set-spellchecker-params):
928 Call `ispell-find-hunspell-dictionaries' if hunspell and not
929 previously done.
930 (ispell-start-process):
931 Call `ispell-hunspell-fill-dictionary-entry' for current
932 dictionary if it is not initialized.
933
934 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
935
936 * imenu.el: Comment nitpicks.
937
938 2013-02-28 Sam Steingold <sds@gnu.org>
939
940 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
941 See <http://stackoverflow.com/questions/14720205>.
942
943 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
944
945 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
946 (net-utils-mode): Use it.
947 (net-utils--revert-cmd): New var.
948 (net-utils-run-simple): Set it, and remove bogus interactive spec.
949 (traceroute): Use net-utils-run-simple.
950
951 2013-02-28 Glenn Morris <rgm@gnu.org>
952
953 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
954
955 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
956
957 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
958 (doc-view-fallback-mode): Remove overlays here.
959 (doc-view-toggle-display): Instead of here. Don't throw away
960 image-mode-winprops-alist.
961 (doc-view-goto-page): Don't mess with hscroll.
962
963 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
964
965 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
966 &optional (bug#13819).
967
968 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
969
970 * net/tramp-adb.el (tramp-adb-parse-device-names)
971 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
972
973 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
974
975 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
976 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
977 defined. POSIX environments fall back to the "C" locale then and
978 emit a warning, which shall be suppressed.
979
980 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
981
982 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
983 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
984
985 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
986
987 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
988
989 2013-02-25 Juri Linkov <juri@jurta.org>
990
991 * replace.el (read-regexp): Let-bind `default' to the first
992 element of `defaults' if it's a list, otherwise it should be
993 a string or nil. Let-bind `suggestions' to `defaults' if it's
994 a list, otherwise make a list with the string value. Doc fix.
995 (Bug#13805)
996
997 2013-02-25 Eli Zaretskii <eliz@gnu.org>
998
999 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
1000 that match "\`\.#", to avoid compiling lock files, even if they
1001 are readable (as they are on MS-Windows).
1002
1003 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
1004
1005 * files.el (basic-save-buffer): Remove redundant directory-creation.
1006
1007 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
1008
1009 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
1010 Add option to force `pi' to remain symbolic.
1011 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
1012 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
1013 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
1014 derivatives, when necessary.
1015
1016 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
1017
1018 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
1019 (ps-mode-octal-region): Use string-make-unibyte.
1020
1021 2013-02-23 Glenn Morris <rgm@gnu.org>
1022
1023 * emulation/viper-cmd.el (viper-submit-report):
1024 * progmodes/ps-mode.el (ps-mode-maintainer-address):
1025 * progmodes/vera-mode.el (vera-mode-help-address):
1026 * textmodes/artist.el (artist-maintainer-address):
1027 * textmodes/reftex.el (reftex-report-bug):
1028 * vc/ediff-util.el (ediff-submit-report):
1029 Add bug-gnu-emacs to bug report address.
1030
1031 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
1032 Remove bug report entries.
1033 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
1034
1035 * emacs-lisp/bytecomp.el (byte-compile-level): New.
1036 (byte-compile-file, byte-compile-from-buffer):
1037 Use separate input/output buffers for each level of recursive
1038 byte-compile-file calls. (Bug#13787)
1039
1040 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
1041
1042 * net/tramp.el (tramp-methods): Fix docstring.
1043 (tramp-ssh-controlmaster-options): Rename it from
1044 `tramp-ssh-controlmaster-template'. Return a string.
1045 (tramp-default-method): Adapt check for
1046 `tramp-ssh-controlmaster-options'.
1047
1048 * net/tramp-sh.el (tramp-methods):
1049 Replace `tramp-ssh-controlmaster-template' by "%c".
1050 (tramp-do-copy-or-rename-file-out-of-band)
1051 (tramp-maybe-open-connection): Use it in format spec. Ensure,
1052 that it is applied for the first hop only.
1053
1054 2013-02-22 Juri Linkov <juri@jurta.org>
1055
1056 * isearch.el (isearch-lazy-highlight-new-loop):
1057 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
1058 to `isearch-other-end' if it is not nil. (Bug#13402)
1059
1060 * replace.el (replace-highlight): Let-bind `isearch-other-end'
1061 to `match-beg'.
1062
1063 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
1064 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
1065 and `isearch-error' to nil.
1066
1067 2013-03-16 Fabián Ezequiel Gallina <fgallina@cuca>
1068
1069 * progmodes/python.el (python-info-current-defun):
1070 Enhance match-data cluttering prevention.
1071
1072 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
1073
1074 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
1075
1076 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1077 Handle multibyte file names.
1078
1079 2013-02-22 Glenn Morris <rgm@gnu.org>
1080
1081 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
1082 (sgml-transformation-function): Give it a :set function.
1083 (sgml-tag): Doc fix.
1084
1085 * cmuscheme.el (scheme-buffer):
1086 * progmodes/inf-lisp.el (inferior-lisp-buffer):
1087 * progmodes/tcl.el (inferior-tcl-buffer):
1088 * textmodes/tex-mode.el (tex-command): Doc fixes.
1089
1090 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
1091
1092 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
1093
1094 2013-02-21 Bastien Guerry <bzg@gnu.org>
1095
1096 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
1097
1098 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
1099
1100 * progmodes/python.el (python-info-current-defun):
1101 Enhance match-data cluttering prevention.
1102
1103 2013-02-21 Glenn Morris <rgm@gnu.org>
1104
1105 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
1106 loaded while outline-regexp is let bound. (Bug#9584)
1107
1108 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
1109
1110 * progmodes/python.el (python-info-current-defun): Fix failed
1111 defun name retrieval because of unwanted match-data cluttering.
1112
1113 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
1114
1115 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
1116 defconst. Apply independent check for ControlPersist.
1117
1118 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
1119 temporarily, via "env".
1120
1121 2013-02-21 Glenn Morris <rgm@gnu.org>
1122
1123 * info.el (Info-enable-edit): Remove.
1124 (Info-edit): Disable it rather than using Info-enable.
1125 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
1126 (Info-cease-edit): Make editing of Info files obsolete.
1127
1128 * informat.el (Info-tagify):
1129 Handle buffers not visiting files. (Bug#13763)
1130
1131 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
1132
1133 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
1134
1135 2013-02-21 Glenn Morris <rgm@gnu.org>
1136
1137 * files.el (basic-save-buffer): Move check for existing parent
1138 directory after hooks. (Bug#13773)
1139
1140 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
1141
1142 * simple.el (command-execute): Move from C. Add obsolete check.
1143 (extended-command-history): Move from C.
1144
1145 2013-02-20 Ulrich Müller <ulm@gentoo.org>
1146
1147 * jka-cmpr-hook.el (jka-compr-compression-info-list)
1148 (jka-compr-mode-alist-additions): Handle .txz suffix for
1149 XZ-compressed tar archives (bug#13770).
1150
1151 2013-02-20 Bastien Guerry <bzg@gnu.org>
1152
1153 * outline.el (outline-regexp, outline-heading-end-regexp):
1154 Make variables, not options (bug#13731).
1155
1156 2013-02-20 Glenn Morris <rgm@gnu.org>
1157
1158 * image.el (image-current-frame): Change from variable to function.
1159 (image-show-frame): Rename from image-nth-frame. Update callers.
1160 * image-mode.el (image-multi-frame): New variable.
1161 (image-mode-map, image-mode, image-goto-frame):
1162 Use image-multi-frame rather than image-current-frame.
1163 (image-mode, image-goto-frame): Use image-current-frame as
1164 function rather than as variable.
1165
1166 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
1167 * emacs-lisp/cl-macs.el (cl--make-type-test)
1168 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
1169
1170 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
1171
1172 * net/tramp-cache.el (tramp-get-hash-table): New defun.
1173 (tramp-get-file-property, tramp-set-file-property)
1174 (tramp-get-connection-property, tramp-set-connection-property): Use it.
1175 (tramp-flush-file-property, tramp-flush-directory-property):
1176 Rename argument to KEY.
1177 (tramp-flush-connection-property): Simplify a little bit.
1178 (tramp-connection-property-p): New defun.
1179 (top): Reapply saved values only if there isn't a corresponding
1180 entry in `tramp-connection-properties'.
1181
1182 2013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
1183
1184 * progmodes/python.el (python-indent-context):
1185 Fix python-info-line-ends-backslash-p call.
1186 (python-info-line-ends-backslash-p)
1187 (python-info-beginning-of-backslash): Respect line-number argument.
1188 (python-info-current-line-comment-p):
1189 Fix behavior when not at beginning-of-line.
1190 (python-util-position): Remove function.
1191 (python-util-goto-line): New function.
1192
1193 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
1194
1195 * eshell/em-unix.el (eshell/su): Require tramp.
1196 (eshell/sudo): Require tramp. Remove now unnecessary check.
1197
1198 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
1199 `tramp-current-connection' in order to avoid an error when several
1200 commands are invoked in a short time in eshell and friends.
1201
1202 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
1203
1204 Cleanup some of EIEIO's namespace.
1205 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
1206 Use it to define all the class-* and object-* field accessors (renamed
1207 to eieio--class-* and eieio--object-*). Update all uses.
1208 (eieio--class-num-slots, eieio--object-num-slots): Rename from
1209 class-num-slots and object-num-slots.
1210 (eieio--check-type): New macro.
1211 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
1212 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
1213 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
1214 (object-assoc-list-safe): Use it.
1215 (eieio-defclass): Tighten regexp.
1216 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
1217 Remove unreachable code.
1218 (object-class-fast): Declare obsolete.
1219 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
1220 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
1221 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
1222 Rename from class-name, object-name, object-set-name-string,
1223 object-class, object-class-name, class-parents, class-children,
1224 class-precedence-list, class-parent; with obsolete alias.
1225 (class-of, class-direct-superclasses, class-direct-subclasses):
1226 Declare obsolete.
1227 (eieio-defmethod): Use `memq'; remove unreachable code.
1228 * emacs-lisp/eieio-base.el (eieio-persistent-read):
1229 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
1230 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
1231
1232
1233 2013-02-18 Aidan Gauland <aidalgol@no8wireless.co.nz>
1234
1235 * eshell/em-cmpl.el: Correct "context-related help" keybinding in
1236 commentary.
1237
1238 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
1239
1240 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
1241 Use font-lock-keyword-face for macros and special forms (bug#8345).
1242
1243 2013-02-17 Didier Verna <didier@didierverna.net>
1244
1245 * net/network-stream.el (network-stream-open-starttls):
1246 Check that response to the starttls-command is non-nil. (Bug#13706)
1247
1248 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
1249
1250 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
1251 Don't assume all identifier chars have syntax word.
1252 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1253 Remove bar-not-symbol. Adjust callers.
1254 (lisp-mode-variables): Don't set a font-lock-syntax-table.
1255
1256 2013-02-17 Leo Liu <sdl.web@gmail.com>
1257
1258 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
1259
1260 2013-02-17 Glenn Morris <rgm@gnu.org>
1261
1262 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
1263
1264 * image-mode.el (image-mode-map): Add image-dired menu entry.
1265
1266 * image-dired.el (tumme): Make this alias obsolete.
1267
1268 2013-02-16 Glenn Morris <rgm@gnu.org>
1269
1270 * image.el (image-animated-types): Remove.
1271 (image-multi-frame-p): Rename from image-animated-p, and generalize.
1272 (image-animated-p): Make obsolete alias.
1273 (image-animate, image-nth-frame, image-animate-timeout):
1274 Use image-multi-frame-p.
1275 (image-animate-timeout): If no delay, use image-default-frame-delay.
1276 * image-mode.el (image-mode, image-toggle-animation):
1277 Use image-multi-frame-p. (Bug#763, bug#10739)
1278 (image-mode): Adjust startup message for a multi-frame image.
1279
1280 * image-mode.el (image-mode-map): Give it a menu.
1281
1282 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
1283
1284 * net/tramp-cache.el (tramp-connection-properties): New customer
1285 option.
1286 (tramp-get-connection-property): Use it.
1287
1288 * net/tramp-compat.el (top): Require 'trampver.
1289
1290 * net/tramp-sh.el (tramp-remote-process-environment):
1291 Set tramp-autoload cookie.
1292
1293 2013-02-16 Kevin Ryde <user42@zip.com.au>
1294
1295 * info-look.el (info-lookup-select-mode): If major-mode has no
1296 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
1297
1298 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
1299
1300 * replace.el (read-regexp): Tighten the regexp that matches tag.
1301 When tag is retrieved with `find-tag-default', use regexp that
1302 matches tag at point. Also update docstring (Bug#13687).
1303
1304 2013-02-16 Eli Zaretskii <eliz@gnu.org>
1305
1306 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
1307 add watch for the file, not its parent directory, since w32notify
1308 sets up the watch for the directory internally. (Bug#13725)
1309
1310 2013-02-16 Glenn Morris <rgm@gnu.org>
1311
1312 * image.el (image-default-frame-delay): New variable.
1313 (image-animated-p): Use image-default-frame-delay.
1314 (image-minimum-frame-delay): New constant.
1315 (image-animate-timeout): Use image-minimum-frame-delay.
1316
1317 * image.el (image-nth-frame): New, split from image-animate-timeout.
1318 (image-animate-timeout): Use image-nth-frame.
1319 * image-mode.el (image-goto-frame, image-next-frame)
1320 (image-previous-frame): New commands.
1321 (image-mode-map): Add new frame commands.
1322
1323 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
1324
1325 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
1326 If col-desc already has help-echo, use it. (Bug#13563)
1327
1328 2013-02-16 Glenn Morris <rgm@gnu.org>
1329
1330 * image.el (image-current-frame): New variable.
1331 (image-animate-timeout): Set image-current-frame.
1332 * image-mode.el (image-mode): For animated images,
1333 display a frame counter via mode-line-process.
1334
1335 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
1336
1337 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
1338
1339 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
1340
1341 2013-02-15 Alan Mackenzie <acm@muc.de>
1342
1343 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
1344 global minor mode has been enabled, call the minor mode function
1345 for a new buffer once only, after the major mode hook, whilst
1346 allowing that hook explicitly to disable the minor mode.
1347 (MODE-disable-in-buffer): New (generated) function.
1348 (disable-MODE): New (generated) buffer local variable.
1349
1350 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
1351
1352 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
1353 `iswitchb-next-match' and `iswitchb-prev-match' resply.
1354 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
1355 `ido-next-match' and `ido-prev-match' resply.
1356 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
1357 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
1358 `icomplete-backward-completions' (Bug#13708).
1359
1360 2013-02-15 Glenn Morris <rgm@gnu.org>
1361
1362 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
1363
1364 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
1365
1366 * net/goto-addr.el (goto-address-fontify): Add start and end args.
1367 (goto-address-fontify-region): Use them instead of narrowing, so
1368 syntax-ppss has access to the whole buffer.
1369
1370 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
1371
1372 * progmodes/python.el: Explain how to restore "cc-mode"-like
1373 forward-sexp movement in header documentation (Bug#13642).
1374 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
1375 comments and strings (GH bug 114).
1376
1377 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
1378
1379 * progmodes/python.el (python-info-current-defun): Fix current
1380 defun detection (Bug#13618).
1381
1382 2013-02-15 Chong Yidong <cyd@gnu.org>
1383
1384 * xml.el (xml-parse-string): Fix typo in handling of bad character
1385 references.
1386
1387 2013-02-15 Glenn Morris <rgm@gnu.org>
1388
1389 * play/fortune.el (fortune-compile): Simplify and fix previous change.
1390
1391 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
1392
1393 * net/tramp.el (tramp-debug-message):
1394 Add `tramp-condition-case-unless-debug'.
1395 (tramp-debug-on-error): New defvar.
1396 (tramp-condition-case-unless-debug): New defun.
1397 (tramp-file-name-handler): Use it.
1398
1399 2013-02-14 Juri Linkov <juri@jurta.org>
1400
1401 * info.el (Info-isearch-filter): Treat non-nil values of
1402 `search-invisible' including its default value `open'
1403 like the value `t' to match hidden text. (Bug#13402)
1404
1405 2013-02-14 Glenn Morris <rgm@gnu.org>
1406
1407 * help-fns.el (find-lisp-object-file-name): Give special treatment
1408 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
1409
1410 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
1411
1412 * net/quickurl.el (quickurl-save-urls):
1413 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
1414
1415 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
1416
1417 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
1418 depth for unfinished percent literal. Not using it in the caller.
1419 (ruby-move-to-block): Jump over multiline literals of all types,
1420 ignoring code-looking contents inside them.
1421 (ruby-add-log-current-method): Improve performance at the expense
1422 of accuracy. `ruby-block-contains-point' is relatively slow, so
1423 only use it for method and singleton class blocks.
1424
1425 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
1426
1427 Use ControlMaster where applicable. (Bug#13677)
1428
1429 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
1430 replacing `tramp-detect-ssh-controlmaster'.
1431 (tramp-default-method): Use it.
1432
1433 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
1434 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
1435 arguments.
1436 [scpc, rsyncc]: Remove methods.
1437 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
1438 and "ssh2_old".
1439 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
1440 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
1441
1442 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1443
1444 * emacs-lisp/package.el (package--initialized): Move before first use.
1445
1446 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
1447
1448 * icomplete.el (icomplete-hide-common-prefix): New user option.
1449 (icomplete-first-match): New face.
1450 (icomplete-completions): Correct handling of "complete but not
1451 unique" (Bug#12638).
1452
1453 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
1454
1455 * descr-text.el (describe-char): Display the script (bug#13698).
1456
1457 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1458
1459 * tmm.el: Use lexical-binding and current-active-maps.
1460 (tmm-menubar): Use map-keymap and pcase.
1461 (tmm--completion-table): New function.
1462 (tmm-prompt): Use it to fix the menu order.
1463 (tmm-get-keybind): Use current-active-maps.
1464
1465 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
1466
1467 Add dired-hide-details-mode. (Bug#6799)
1468
1469 * locate.el (locate-mode): Set parent mode property to dired-mode.
1470
1471 * find-dired.el (find-dired): Call dired-insert-set-properties on
1472 initial information line. Set process mark on end of buffer.
1473 (find-dired-sentinel):
1474 Call dired-insert-set-properties on summary.
1475
1476 * dired.el (dired-hide-details-hide-symlink-targets)
1477 (dired-hide-details-hide-information-lines): New options.
1478 (dired-insert-directory):
1479 Set properties after final treatment of output.
1480 (dired-insert-set-properties):
1481 Set dired-hide-details-* properties.
1482 (dired-mode-map): Bind dired-hide-details-mode.
1483 (dired-mode): Set buffer-invisibility-spec to a list.
1484 (dired-next-line): Skip hidden lines.
1485 (dired-previous-line): Use dired-next-line.
1486 (dired-hide-details-mode): New minor mode.
1487 (dired-hide-details-update-invisibility-spec): New function.
1488
1489 2013-02-13 Glenn Morris <rgm@gnu.org>
1490
1491 * play/yow.el: Move to obsolete/. (Bug#9384)
1492
1493 2013-02-13 Juri Linkov <juri@jurta.org>
1494
1495 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
1496 to select `ediff-control-frame' and set input focus correctly on Xfce.
1497 (Bug#12218)
1498
1499 2013-02-13 Juri Linkov <juri@jurta.org>
1500
1501 * image-mode.el (image-mode-map):
1502 * doc-view.el (doc-view-mode-map):
1503 * vc/ediff-util.el (ediff-setup-keymap):
1504 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
1505
1506 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
1507
1508 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
1509 performance. Instead of recalculating indentation fully for each
1510 line, sum up indentation depth based only on visited lines.
1511 (ruby-parse-partial): Increase the depth after "do" even when END
1512 is right after it.
1513 (ruby-parse-partial): When END is in the middle of a percent
1514 literal, increase the depth if the delimiter chars belong to the
1515 paren syntax class.
1516
1517 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
1518
1519 * play/fortune.el (fortune-compile): Also make the compiled file
1520 if it does not exist at all, not just if it is old. (Bug#5338)
1521
1522 2013-02-13 Glenn Morris <rgm@gnu.org>
1523
1524 * emacs-lisp/package.el (package-menu-execute): Doc fix.
1525
1526 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
1527
1528 * lisp/emacs-lisp/package.el (package-menu-execute):
1529 Add optional noquery argument. (Bug#13625)
1530
1531 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
1532
1533 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
1534 if DIR exists and PARENTS is non-nil.
1535
1536 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
1537
1538 * progmodes/js.el (js--multi-line-declaration-indentation):
1539 Silence byte-compiler warning.
1540
1541 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
1542
1543 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
1544
1545 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
1546 only if it doesn't exist.
1547
1548 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1549 Set process marker.
1550
1551 2013-02-12 Tassilo Horn <tsdh@gnu.org>
1552
1553 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
1554 UserInstallation when calling soffice to work around LibreOffice
1555 bug 37531.
1556
1557 2013-02-12 Glenn Morris <rgm@gnu.org>
1558
1559 * files.el (basic-save-buffer):
1560 Offer to create a non-existing directory. (Bug#3016)
1561
1562 * calc/calc-graph.el (calc-graph-show-dumb):
1563 * calendar/calendar.el (calendar-mode-map):
1564 * cus-edit.el (custom-mode-map):
1565 * ehelp.el (electric-help-map):
1566 * emulation/vip.el (vip-mode-map):
1567 * epa.el (epa-key-list-mode-map):
1568 * info.el (Info-mode-map):
1569 * mail/rmail.el (rmail-mode-map):
1570 * mail/rmailsum.el (rmail-summary-mode-map):
1571 * man.el (Man-mode-map):
1572 * net/newst-plainview.el (newsticker-mode-map):
1573 * progmodes/cpp.el (cpp-edit-mode-map):
1574 * progmodes/grep.el (grep-mode-map):
1575 * progmodes/idlw-help.el (idlwave-help-mode-map):
1576 * simple.el (special-mode-map):
1577 * startup.el (splash-screen-keymap):
1578 * view.el (view-mode-map):
1579 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
1580
1581 2013-02-11 Elias Pipping <pipping@lavabit.com>
1582
1583 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
1584 (bug#13679).
1585
1586 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
1587
1588 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
1589
1590 2013-02-11 Glenn Morris <rgm@gnu.org>
1591
1592 * vc/diff.el (diff-use-labels): New variable.
1593 (diff-no-select): Use --label rather than -L, and first
1594 check that it is supported. (Bug#11067)
1595
1596 * files.el (enable-dir-local-variables): New variable.
1597 (hack-dir-local-variables): Respect enable-dir-local-variables.
1598 * tutorial.el (help-with-tutorial):
1599 Ignore directory-local variables. (Bug#11127)
1600
1601 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
1602 (vc-svn-global-switches): ... to here. (Bug#13513)
1603
1604 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
1605
1606 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
1607 Handle "foo (bar, default: xxx): " prompts.
1608
1609 2013-02-10 Chong Yidong <cyd@gnu.org>
1610
1611 * files.el (basic-save-buffer-1): Do not set
1612 buffer-file-coding-system-explicit (Bug#4533).
1613
1614 * mail/emacsbug.el (report-emacs-bug): Change binding of
1615 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
1616
1617 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
1618
1619 * calc/calc.el (calc-allow-units-as-numbers): New variable.
1620 * calc/calc-units.el (calc-convert-units): Use new variable.
1621
1622 2013-02-09 Eli Zaretskii <eliz@gnu.org>
1623
1624 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
1625
1626 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
1627 buffer-file-type.
1628
1629 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
1630 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
1631 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
1632 coding-system-for-write instead.
1633
1634 * jka-compr.el (jka-compr-write-region): Don't bind
1635 buffer-file-type.
1636
1637 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
1638 buffer-file-type.
1639
1640 * files.el (file-name-buffer-file-type-alist): Remove defvar.
1641 (insert-file-contents-literally): Remove reference to
1642 file-name-buffer-file-type-alist.
1643
1644 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
1645 make-obsolete.
1646 (find-buffer-file-type-match, find-buffer-file-type): Remove.
1647 (find-buffer-file-type-coding-system): Remove references to
1648 find-buffer-file-type-match, find-buffer-file-type, and
1649 buffer-file-type.
1650 Don't put find-buffer-file-type-coding-system into
1651 file-coding-system-alist.
1652 (find-file-binary, find-file-text): Bind coding-system-for-read
1653 instead of file-name-buffer-file-type-alist.
1654
1655 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
1656
1657 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
1658 converter (Bug#13622).
1659 (doc-view-unoconv-program): Make obsolete alias.
1660 (doc-view-odf->pdf-converter-program): New variable.
1661 (doc-view-odf->pdf-converter-function): New variable.
1662 (doc-view-mode-p): Use it.
1663 (doc-view-odf->pdf-converter-unoconv):
1664 Rename from `doc-view-odf->pdf-converter-unoconv'.
1665 (doc-view-odf->pdf-converter-soffice): New function.
1666 (doc-view-convert-current-doc):
1667 Use `doc-view-odf->pdf-converter-function'.
1668
1669 2013-02-09 Chong Yidong <cyd@gnu.org>
1670
1671 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
1672 view-echo-area-messages (Bug#13340).
1673
1674 * help.el (view-echo-area-messages): Use display-buffer.
1675
1676 * dired-x.el (dired-do-run-mail): Prompt for confirmation
1677 (Bug#13561).
1678
1679 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
1680
1681 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
1682 Eval body right away, now that we do eager macroexpansion (bug#13605).
1683
1684 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
1685 (fundamental-mode): Use run-mode-hooks.
1686
1687 * eshell/esh-proc.el (eshell/kill): Fix last change.
1688 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
1689
1690 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
1691
1692 * eshell/esh-proc.el (eshell/kill): Rewrite.
1693
1694 * eshell/em-ls.el (show-almost-all): Declare.
1695 (eshell-do-ls): Add support for -A argument.
1696
1697 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
1698
1699 * icomplete.el (icomplete-forward-completions)
1700 (icomplete-backward-completions): Handle corner case (bug#13602).
1701
1702 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
1703
1704 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
1705 be nil. Handle this. (Bug#13636)
1706
1707 2013-02-07 Richard Stallman <rms@gnu.org>
1708
1709 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
1710 `save-buffer-coding-system'.
1711
1712 2013-02-07 Alan Mackenzie <acm@muc.de>
1713
1714 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
1715 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
1716 (c-parse-state-get-strategy): Don't return 'BOD any more.
1717 (c-append-lower-brace-pair-to-state-cache):
1718 Extra parameter HERE instead of narrowing.
1719 Widen to top of buffer before searching backwards for a brace pair.
1720 (c-state-push-any-brace-pair): Add HERE parameter to function call.
1721 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
1722 Narrow to parameter HERE, in place of being called narrowed.
1723 (c-remove-stale-state-cache): Extra parameter HERE in place of
1724 narrowing. Check there's an open brace in the cache before
1725 searching for its match.
1726 (c-invalidate-state-cache-1): Add HERE parameter to function call.
1727 (c-parse-state-1): Don't narrow here for 'forward strategy,
1728 instead passing extra parameter HERE to several functions.
1729 Remove 'BOD strategy.
1730
1731 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
1732
1733 * emacs-lisp/package.el (describe-package-1): Tell what archive is
1734 used to install the package.
1735
1736 2013-02-06 Glenn Morris <rgm@gnu.org>
1737
1738 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
1739 if we can't get user input. (Bug#6567)
1740
1741 * startup.el (command-line): If simple.el is missing,
1742 test and warn about for some possible causes.
1743
1744 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
1745
1746 * cus-start.el (all): Add ns-use-native-fullscreen.
1747
1748 2013-02-05 Glenn Morris <rgm@gnu.org>
1749
1750 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
1751
1752 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
1753 Fix directory creation in fallback case.
1754
1755 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1756
1757 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
1758 (vc-update-change-log): Use dolist.
1759
1760 2013-02-04 Chong Yidong <cyd@gnu.org>
1761
1762 * thingatpt.el: Rewrite the URL detection routines, absorbing some
1763 code from ffap.el.
1764 (thing-at-point-beginning-of-url-regexp): New var.
1765 (thing-at-point-uri-schemes): Update list of URI schemes.
1766 (thing-at-point-url-regexp): Variable deleted.
1767 (thing-at-point-markedup-url-regexp): Disallow newlines.
1768 (thing-at-point-newsgroup-regexp)
1769 (thing-at-point-newsgroup-heads)
1770 (thing-at-point-default-mail-uri-scheme): New variables.
1771 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
1772 method to find the possible bounds of the URI at point.
1773 New optional argument to find ill-formed URIs.
1774 (thing-at-point-url-at-point): Rewrite. New arguments for finding
1775 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
1776 the scheme-adding heuristics from ffap-url-at-point.
1777 (thing-at-point--bounds-of-well-formed-url): New function.
1778 Do parens matching to decide whether to include parens in the URI
1779 (Bug#9153).
1780
1781 * ffap.el: Require thingatpt.
1782 (ffap-url-at-point): Delegate URI detection to thing-at-point.
1783 All URI-valid characters are now recognized (Bug#5673).
1784 (ffap-string-at-point): Use use-region-p.
1785 (ffap-url-regexp): Extra character is handled by thing-at-point.
1786 (ffap-string-at-point-mode-alist): Allow parentheses.
1787 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
1788 Convert to aliases; code moved to thingatpt.el.
1789 (ffap-gnus-hook): Use setq-local.
1790
1791 2013-02-04 Glenn Morris <rgm@gnu.org>
1792
1793 * emacs-lisp/ert.el (ert--explain-format-atom):
1794 Don't try to print non-characters as characters. (Bug#13543)
1795
1796 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
1797
1798 * net/tramp.el (tramp-debug-message): Extend function exclude list.
1799 (tramp-backtrace): New defun.
1800 (tramp-handle-insert-file-contents): Use `visit' when inserting
1801 the local copy.
1802
1803 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
1804 Use `remote-file-name-inhibit-cache'.
1805
1806 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
1807
1808 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
1809 (bug#13614).
1810
1811 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
1812 current-load-list (bug#13366).
1813
1814 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
1815
1816 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1817 Identify g++ template instantiation trace. (Bug#12287)
1818 (compilation-mode-hook, compilation-start-hook)
1819 (compilation-window-height): Simplify docstrings. (Bug#13379)
1820
1821 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1822
1823 * mouse.el (mouse-drag-track): Always deactivate the mark before
1824 running the final event's command since that command is in charge of
1825 activating the mark if needed (bug#13523).
1826
1827 2013-02-02 Juri Linkov <juri@jurta.org>
1828
1829 * replace.el (perform-replace): Move let-bindings of isearch-*
1830 variables deeper to the loop that searches for the next match.
1831 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
1832 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
1833 (Bug#13579)
1834
1835 * isearch.el (isearch-search-fun-default): Check for null
1836 first element of isearch-cmds as a precaution when it's used
1837 with inactive isearch.
1838
1839 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
1840
1841 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
1842 error when buffer in question is narrowed so position 1 is out of
1843 visible part.
1844
1845 2013-02-02 Glenn Morris <rgm@gnu.org>
1846
1847 * textmodes/remember.el (remember-clipboard): Doc fix.
1848
1849 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1850
1851 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
1852 properties (bug#13179).
1853
1854 2013-02-02 Juri Linkov <juri@jurta.org>
1855
1856 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
1857 instead of hard-coded default face `match'. (Bug#9438)
1858
1859 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
1860
1861 * vc/vc-arch.el (vc-arch-registered):
1862 * vc/vc-bzr.el (vc-bzr-registered):
1863 * vc/vc-cvs.el (vc-cvs-registered):
1864 * vc/vc-git.el (vc-git-registered):
1865 * vc/vc-hg.el (vc-hg-registered):
1866 * vc/vc-mtn.el (vc-mtn-registered):
1867 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
1868 (Bug#13139)
1869
1870 * info.el (Info-next-reference, Info-prev-reference): Add numeric
1871 prefix argument. (Bug#11656)
1872
1873 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
1874
1875 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
1876
1877 2013-02-01 Glenn Morris <rgm@gnu.org>
1878
1879 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
1880 if the backend is known not to support it.
1881
1882 * imenu.el (imenu-default-create-index-function):
1883 Tweak infinite loop test to check for forward motion as well as none.
1884
1885 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
1886
1887 * net/soap-client.el (soap-invoke): Encode the string for
1888 `url-request-data' as UTF-8.
1889 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
1890
1891 2013-02-01 Glenn Morris <rgm@gnu.org>
1892
1893 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
1894
1895 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
1896
1897 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
1898
1899 * net/tramp.el (tramp-tramp-file-p): Comment check for
1900 `string-as-unibyte'. The function does not exist on XEmacs, and
1901 likely we need another approach.
1902
1903 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
1904 `tramp-gw-*' variables are bound.
1905
1906 2013-01-31 Glenn Morris <rgm@gnu.org>
1907
1908 * files.el (basic-save-buffer-2): Choose coding system for
1909 writing the file before backing it up, to reduce delay between
1910 backing up and writing the new version. (Bug#13522)
1911
1912 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
1913
1914 * simple.el (cycle-spacing): New command.
1915 (just-one-space): Use it.
1916
1917 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
1918
1919 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
1920 (opascal-newline-always-indents): Remove custom.
1921 (opascal-tab, opascal-newline): Remove commands.
1922 (opascal-new-comment-line): Insert "\n" instead of calling newline.
1923 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
1924 (opascal-save-match-data): Remove, use save-match-data instead.
1925 (opascal-save-state): Use with-silent-modifications.
1926
1927 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
1928 (bug#13585).
1929
1930 2013-01-30 Juri Linkov <juri@jurta.org>
1931
1932 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
1933 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
1934 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
1935
1936 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1937
1938 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
1939 column if we're just deleting the backslashes.
1940 (makefile-fill-paragraph): Use eolp.
1941
1942 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
1943
1944 * autorevert.el (auto-revert-use-notify): Fix docstring.
1945
1946 2013-01-30 Leo Liu <sdl.web@gmail.com>
1947
1948 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
1949
1950 2013-01-30 Glenn Morris <rgm@gnu.org>
1951
1952 * mouse.el (mouse-drag-line): Avoid pushing same event onto
1953 unread-command-events twice in some cases. This tries to implement
1954 the 2012-07-26 changes in a different way. (Bug#13560)
1955
1956 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
1957
1958 * progmodes/python.el
1959 (python-pdbtrack-comint-output-filter-function): Enhancements on
1960 stacktrace detection. (thanks @gnovak)
1961
1962 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1963
1964 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
1965 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
1966 Use defvar-local.
1967 (jit-lock-register): Use setq-local.
1968
1969 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
1970
1971 * calc-units.el (math-default-units-table): Remove initial value.
1972 (calc-convert-units): Treat expressions where all the units cancel as
1973 if they didn't have units.
1974
1975 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
1976
1977 * net/tramp.el (tramp-process-connection-type): Fix docstring.
1978 (tramp-completion-reread-directory-timeout): Fix type.
1979 (tramp-connection-min-time-diff): New defcustom.
1980
1981 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
1982
1983 2013-01-30 Glenn Morris <rgm@gnu.org>
1984
1985 * imenu.el (imenu-default-create-index-function):
1986 Put back a version of the infinite loop test removed 2013-01-23.
1987
1988 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
1989
1990 * progmodes/python.el (python-shell-parse-command):
1991 Find python-shell-interpreter with modified environment.
1992
1993 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1994
1995 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
1996
1997 2013-01-29 Alan Mackenzie <acm@muc.de>
1998
1999 Amend to fontify /regexp/s in actions correctly.
2000 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
2001 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
2002 are no longer included.
2003 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
2004 What used to be these variables without "-line" in the name.
2005 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
2006 (c-awk-non-arith-op-bra-re): Now also matches {.
2007 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
2008 "return", and "case".
2009 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
2010 by /.
2011 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
2012 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
2013
2014 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
2015
2016 * autorevert.el (auto-revert-use-notify):
2017 Use `custom-initialize-default' for initialization. (Bug#13583)
2018
2019 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
2020
2021 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2022 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
2023 in `tramp-file-name-handler'.
2024 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
2025 compatibility.
2026 (tramp-compute-multi-hops): Check, whether
2027 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
2028
2029 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2030
2031 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
2032 (bug#13297).
2033
2034 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
2035
2036 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
2037 checks made superfluous by the \_< operator.
2038 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
2039 temporarily) broken indentation.
2040 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2041 Highlight nested constants, too. \_< broke that.
2042
2043 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
2044
2045 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
2046 instead of "\\b".
2047
2048 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
2049
2050 * autorevert.el (auto-revert-handler): Notifications which result
2051 from a saved file shall not be taken into account. (Bug#13557)
2052
2053 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
2054
2055 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
2056 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
2057 (lisp-mode): Pass t for it. (Bug#13556)
2058
2059 2013-01-25 Alan Mackenzie <acm@muc.de>
2060
2061 AWK Mode: Fix indentation bug at top level. Bug #12274.
2062
2063 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
2064 just before CASE 5D.
2065
2066 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
2067
2068 * net/socks.el (socks-nslookup-host): Use string-to-number.
2069
2070 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
2071
2072 * autorevert.el (auto-revert-remote-files)
2073 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
2074 (auto-revert-notify-enabled, auto-revert-use-notify)
2075 (auto-revert-notify-watch-descriptor-hash-list)
2076 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
2077 (auto-revert-notify-event-descriptor)
2078 (auto-revert-notify-event-action)
2079 (auto-revert-notify-event-file-name): Doc fix.
2080 (global-auto-revert-mode): Reorder checks.
2081 (auto-revert-notify-rm-watch): Respect changed values of
2082 `auto-revert-notify-watch-descriptor-hash-list'.
2083 (auto-revert-notify-add-watch): Check for
2084 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
2085 `inotify-add-watch'. Watch `default-directory' instead of
2086 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
2087 has a changed meaning now. (Bug#13540)
2088 (auto-revert-notify-handler): Change implementation wrt events
2089 returning from a directory.
2090 (auto-revert-handler): Reorder implementation for checks of remote
2091 files.
2092 (auto-revert-buffers): Fix parentheses error.
2093
2094 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
2095
2096 * progmodes/python.el: Enhancements to header documentation about
2097 skeletons. (Bug#5716)
2098
2099 * imenu.el (imenu-default-create-index-function): Remove useless
2100 infinite loop check. (Bug#13438)
2101
2102 2013-01-25 Alan Mackenzie <acm@muc.de>
2103
2104 Fix a bug in the state cache mechanism. Refactor this a bit.
2105
2106 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
2107 `cache-pos' element from the return value.
2108 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
2109 buffer to enable proper searching from beyond HERE. Amend the
2110 test for detecting the sought brace pair. Amend the value written
2111 to the "brace desert cache" when the brace isn't found.
2112 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
2113 and several other variables analogously.
2114 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
2115 parameter to a locally calculated variable.
2116 (c-parse-state-1): Change the calling conventions to the two
2117 defuns involving `cache-pos'.
2118
2119 2013-01-25 Chong Yidong <cyd@gnu.org>
2120
2121 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
2122
2123 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
2124
2125 * paren.el (show-paren-function): Make sure to set 'priority and
2126 'face only if the overlay does exist.
2127
2128 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
2129
2130 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
2131
2132 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
2133 basic attributes.
2134 (tramp-sh-handle-set-file-acl): Improve error checking.
2135
2136 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
2137
2138 * doc-view.el (doc-view-display): Force mode line update until all
2139 document is converted. Suggested by Stefan Monnier (Bug#13164).
2140
2141 2013-01-23 Bastien Guerry <bzg@gnu.org>
2142
2143 * paren.el (show-paren-function): Make sure an overlay exists
2144 before trying to delete it. Also use `pos' as a position only
2145 when it is an integer.
2146
2147 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
2148
2149 * play/gametree.el (gametree-break-line-here): Use point-marker.
2150
2151 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
2152
2153 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2154 Mark descriptive parts with `display' property.
2155
2156 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2157
2158 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
2159 New variable to map standard dict names to hunspell ones.
2160 (ispell-set-spellchecker-params): Make sure specific dict names
2161 are used for standard dicts with hunspell.
2162
2163 2013-01-21 Tassilo Horn <tsdh@gnu.org>
2164
2165 * textmodes/reftex-cite.el (reftex-format-citation): Add format
2166 chars for note (%N) and url (%U).
2167 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
2168
2169 2013-01-21 Juri Linkov <juri@jurta.org>
2170
2171 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
2172 in addition to existing separate binding `meta f10' in `global-map'.
2173 (Bug#13484)
2174
2175 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
2176
2177 Improve XEmacs compatibility.
2178
2179 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
2180
2181 * net/tramp-adb.el (top): Require `time-date'.
2182 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
2183 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
2184 Use `tramp-file-name-handler'.
2185 (tramp-adb-maybe-open-connection):
2186 Use `tramp-compat-set-process-query-on-exit-flag'.
2187
2188 * net/tramp-sh.el (tramp-sh-handle-file-acl):
2189 Use `tramp-compat-funcall'.
2190
2191 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
2192 `tramp-compat-funcall'.
2193
2194 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
2195
2196 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
2197 reimplementation using "adb shell command ..." instead of running
2198 remote shell interactively.
2199
2200 2013-01-20 Glenn Morris <rgm@gnu.org>
2201
2202 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
2203 Add native profiler menu entries.
2204
2205 * profiler.el (profiler-running-p): New function.
2206 (profiler-cpu-profile): Use profiler-running-p.
2207 (profiler-report-mode-map): Add some more menu entries.
2208
2209 2013-01-19 Glenn Morris <rgm@gnu.org>
2210
2211 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
2212 fixes 2012-12-07 change. (Bug#13499)
2213
2214 2013-01-19 Leo Liu <sdl.web@gmail.com>
2215
2216 * dired.el (dired-get-marked-files): Prune erroneous values due to
2217 last change. (Bug#13152)
2218
2219 2013-01-19 Glenn Morris <rgm@gnu.org>
2220
2221 * progmodes/etags.el (tags-table-check-computed-list):
2222 Preserve point in tags buffer. (Bug#13412)
2223
2224 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
2225
2226 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
2227 Chong Yidong <cyd@gnu.org>
2228
2229 * image-mode.el (image-next-file, image-previous-file):
2230 New commands (Bug#8453).
2231 (image-mode-map): Bind them to n and p.
2232 (image-mode--images-in-directory): New helper function.
2233
2234 2013-01-19 Chong Yidong <cyd@gnu.org>
2235
2236 * image-mode.el (image-mode-fit-frame): Add a frame argument.
2237 Suggested by Drew Adams (Bug#7730). Handle window decorations;
2238 save and restore the old window configuration.
2239
2240 2013-01-18 Leo Liu <sdl.web@gmail.com>
2241
2242 * progmodes/js.el: Tweak autoload cookie for alias.
2243
2244 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
2245
2246 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
2247 buffer local, again. This was lost with the fix on 2013-01-12.
2248
2249 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
2250
2251 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
2252 order to support several eshell buffers in parallel.
2253
2254 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
2255
2256 * autorevert.el (auto-revert-use-notify): In the :set function, do
2257 not modify `kill-buffer-hook'.
2258 (auto-revert-notify-rm-watch):
2259 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
2260 (auto-revert-notify-add-watch): Do not call
2261 `auto-revert-notify-rm-watch', but add it to a buffer local
2262 `kill-buffer-hook'.
2263
2264 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2265
2266 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
2267 call to `eval' rather than a backquoted lambda.
2268
2269 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2270
2271 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
2272 to return an explicit nil.
2273 (advice--remove-function): Change accordingly.
2274
2275 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
2276 the use of nadvice.el.
2277
2278 * progmodes/which-func.el (which-function): Silence imenu errors
2279 (bug#13433).
2280
2281 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
2282
2283 * progmodes/sql.el: (sql-imenu-generic-expression):
2284 (sql-mode-font-lock-object-name): Match schema qualified names.
2285 (sql-connect): Use string keys.
2286 (sql-product-interactive): Wait for interpreter prompt.
2287 (sql-comint-oracle): Set process coding based on NLS_LANG.
2288
2289 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
2290
2291 * progmodes/sql.el (sql-output-to-send): Remove, unused.
2292 (sql-interactive-remove-continuation-prompt):
2293 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
2294
2295 2013-01-14 Leo Liu <sdl.web@gmail.com>
2296
2297 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
2298 (Bug#13420)
2299
2300 2013-01-14 Glenn Morris <rgm@gnu.org>
2301
2302 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2303 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
2304
2305 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
2306
2307 * progmodes/python.el (python-nav-end-of-statement):
2308 Fix cornercase when handling multiline strings.
2309
2310 2013-01-13 Richard Stallman <rms@gnu.org>
2311
2312 * mail/sendmail.el (mail-position-on-field): Add doc string.
2313
2314 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
2315 Get current message boundaries and pass them to
2316 message-forward-make-body-mime. Minor style changes.
2317
2318 2013-01-13 Eli Zaretskii <eliz@gnu.org>
2319
2320 * cus-start.el (all): Avoid warnings about
2321 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
2322
2323 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
2324
2325 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
2326
2327 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2328
2329 * jit-lock.el (jit-lock-debug-mode): New minor mode.
2330 (jit-lock--debug-fontifying): New var.
2331 (jit-lock--debug-fontify): New function.
2332 * subr.el (condition-case-unless-debug): Don't prevent catching the
2333 error, just let the debbugger run.
2334 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
2335 timer code and don't drop errors silently.
2336
2337 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
2338
2339 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
2340 `permanent-local' property.
2341 (auto-revert-notify-handler): Use `file-equal-p'.
2342
2343 2013-01-12 Eli Zaretskii <eliz@gnu.org>
2344
2345 * autorevert.el (auto-revert-notify-handler): Fix filtering of
2346 file notification by ACTION. For filtering by file name, compare
2347 only the non-directory part of the file name.
2348
2349 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
2350
2351 * autorevert.el: Use cl-lib instead of cl.
2352
2353 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
2354 (vc-bzr-checkin): Use it.
2355 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
2356 will preserve match-data.
2357
2358 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
2359
2360 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
2361 (js--declaration-keyword-re): New var.
2362 (js--multi-line-declaration-indentation): New function.
2363 (js--proper-indentation): Use it.
2364
2365 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
2366
2367 * calc/calc.el (calc-highlight-selections-with-faces)
2368 (calc-dispatch):
2369 * comint.el (comint-history-isearch-message):
2370 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
2371 * ffap.el (ffap-string-at-point-region, ffap-next)
2372 (ffap-string-at-point, ffap-string-around)
2373 (ffap-copy-string-as-kill, ffap-highlight-overlay)
2374 (ffap-literally):
2375 * font-lock.el (font-lock-keywords-alist)
2376 (font-lock-removed-keywords-alist):
2377 * help-mode.el (help-xref-symbol-regexp):
2378 * info.el (Info-find-emacs-command-nodes):
2379 * international/mule.el (add-to-coding-system-list):
2380 * isearch.el (isearch-message-function, isearch-fail-pos):
2381 * misearch.el (multi-isearch-next-buffer-function):
2382 * newcomment.el (comment-box):
2383 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
2384 (pr-setting-database):
2385 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
2386 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
2387 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
2388 (pike-font-lock-keywords-3):
2389 * progmodes/compile.el (compile):
2390 * progmodes/etags.el (tags-table-files)
2391 (tags-table-files-function, tags-included-tables-function):
2392 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
2393 (gdb-restore-windows):
2394 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
2395 (ps-n-up-filling-database):
2396 * server.el (server-buffer, server-log):
2397 * simple.el (newline, delete-backward-char, delete-forward-char)
2398 (minibuffer-history-isearch-message, kill-line, track-eol)
2399 (temporary-goal-column):
2400 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
2401 (flyspell-default-deplacement-commands):
2402 * textmodes/ispell.el (ispell-accept-output):
2403 * textmodes/sgml-mode.el (html-tag-help):
2404 * vc/compare-w.el (compare-ignore-whitespace)
2405 (compare-ignore-case, compare-windows-dehighlight):
2406 * vc/diff.el (diff):
2407 * whitespace.el (whitespace-point)
2408 (whitespace-font-lock-refontify, whitespace-bob-marker)
2409 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
2410
2411 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
2412
2413 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
2414 (auto-revert-notify-rm-watch): Ignore errors.
2415 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
2416 inotify, and '(size last-write-time) for w32notify.
2417 Set buffer-local `auto-revert-use-notify' to nil when adding a file
2418 watch fails - this is a fallback to the file modification check.
2419 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
2420 (auto-revert-notify-event-action)
2421 (auto-revert-notify-event-file-name): New defuns.
2422 (auto-revert-notify-handler): Use them. Implement first
2423 plausibility checks.
2424 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
2425
2426 2013-01-11 Julien Danjou <julien@danjou.info>
2427
2428 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
2429 max are almost equal. Also return the correct value for V which is
2430 already between 0 and 1.
2431
2432 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
2433
2434 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
2435
2436 2013-01-11 Eli Zaretskii <eliz@gnu.org>
2437
2438 * autorevert.el (auto-revert-notify-rm-watch)
2439 (auto-revert-notify-add-watch): Fix typos in w32notify function
2440 names.
2441
2442 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
2443
2444 * autorevert.el (auto-revert-notify-enabled): Move up.
2445 (auto-revert-use-notify): New defcustom.
2446 (auto-revert-mode, global-auto-revert-mode)
2447 (auto-revert-notify-add-watch, auto-revert-handler)
2448 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
2449 `auto-revert-notify-enabled'.
2450
2451 2013-01-10 Elias Pipping <pipping@exherbo.org>
2452
2453 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
2454 * doc-view.el (doc-view-document->bitmap):
2455 Use doc-view-single-page-converter-function instead of
2456 single-page-converter arg; adjust callers.
2457
2458 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
2459
2460 * progmodes/which-func.el (which-function): Understand Semantic's use
2461 of overlays in imenu--index-alist.
2462
2463 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
2464
2465 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
2466 (Man-man-k-use-anchor): New var.
2467 (Man-parse-man-k): New function.
2468 (Man-completion-table): Use it.
2469 (man): Flush the completion cache between uses.
2470
2471 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
2472
2473 * autorevert.el: Add file watch support.
2474 (auto-revert-notify-enabled): New defconst.
2475 (auto-revert-notify-watch-descriptor-hash-list)
2476 (auto-revert-notify-watch-descriptor)
2477 (auto-revert-notify-modified-p): New defvars.
2478 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
2479 (auto-revert-notify-handler): New defuns.
2480 (auto-revert-mode, global-auto-revert-mode): Remove file watches
2481 when mode is disabled.
2482 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
2483 (auto-revert-buffers): Add file watches for active buffers.
2484
2485 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
2486
2487 * cus-start.el (toplevel): Only allow float values for
2488 scroll-up-aggressively and scroll-down-aggressively.
2489 Allow any number for line-spacing.
2490
2491 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2492
2493 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
2494 (doc-view-pdf->png-converter-function): Use mupdf if available.
2495 (doc-view-djvu->png-converter-function)
2496 (doc-view-ps->png-converter-function): Remove.
2497 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
2498 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
2499 (doc-view-already-converted-p): Adjust accordingly.
2500 (doc-view-mode-p): Simplify.
2501 (doc-view-enlarge): Use setq-local.
2502 (doc-view-pdf->png-converter-ghostscript)
2503 (doc-view-djvu->png-converter-ddjvu)
2504 (doc-view-pdf->png-converter-mupdf): Rework to call
2505 doc-view-start-process directly.
2506 (doc-view-pdf/ps->png): Simplify accordingly.
2507 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
2508 (doc-view-document->bitmap): Rename from doc-view-document->png.
2509 (doc-view-convert-current-doc): Merge pdf and djvu cases.
2510 (doc-view-set-slice-from-bounding-box): Fix completion table.
2511 (doc-view-mode): Use add-hook for after-revert-hook.
2512
2513 2013-01-10 Glenn Morris <rgm@gnu.org>
2514
2515 * emacs-lisp/authors.el (authors-ignored-files)
2516 (authors-valid-file-names, authors-renamed-files-alist):
2517 Add some more entries.
2518
2519 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2520
2521 * image-mode.el (image-mode-winprops): Don't throw away the fallback
2522 `t' pseudo-window entry.
2523
2524 2013-01-10 Alan Mackenzie <acm@muc.de>
2525
2526 Fix bugs in the c-parse-state mechanism. Reuse some markers
2527 instead of continually generating new ones.
2528
2529 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
2530 (c-state-old-cpp-end-marker): New variables.
2531 (c-append-lower-brace-pair-to-state-cache): Start a backward
2532 search for "}" definitively outside CPP constructs.
2533 (c-remove-stale-state-cache): Inform the caller of a need to
2534 search back for a brace pair in certain circumstances.
2535 (c-state-maybe-marker): New macro.
2536 (c-parse-state): Reuse markers when appropriate.
2537
2538 2013-01-10 Glenn Morris <rgm@gnu.org>
2539
2540 * simple.el (execute-extended-command): Doc fix.
2541 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
2542
2543 2013-01-10 Chong Yidong <cyd@gnu.org>
2544
2545 * faces.el (read-face-name): Doc fix.
2546
2547 2013-01-10 Roland Winkler <winkler@gnu.org>
2548
2549 * emacs-lisp/crm.el: Allow any regexp for separators.
2550 (crm-default-separator): All spaces around the default comma separator.
2551 (crm--completion-command): New macro.
2552 (crm-completion-help, crm-complete, crm-complete-word): Use it.
2553 (crm-complete-and-exit): Handle non-single-char separators.
2554
2555 2013-01-09 Elias Pipping <pipping@lavabit.com>
2556
2557 * doc-view.el: Add support for DjVu (bug#13164).
2558 (doc-view-djvu->png-converter-function): New config var.
2559 (doc-view-single-page-converter-function, doc-view--image-type)
2560 (doc-view--image-file-extension): New vars.
2561 (doc-view-mode): Initialize them.
2562 (doc-view-goto-page): Use them.
2563 (doc-view-mode-p): Add support for ddjvu.
2564 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
2565 (doc-view-set-up-single-converter): New funs.
2566 (doc-view-pdf/ps->png): Extend for djvu.
2567 (doc-view-document->png): Rename from doc-view-pdf->png.
2568 (doc-view-convert-current-doc): Handle djvu.
2569 (doc-view-insert-image, doc-view-display)
2570 (doc-view-already-converted-p): Don't hardcode png.
2571 (doc-view-set-doc-type): Recognize djvu docs.
2572
2573 2013-01-09 Elias Pipping <pipping@lavabit.com>
2574
2575 * doc-view.el: Add support for mupdf converter (bug#13164).
2576 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
2577 (doc-view-ps->png-converter-function): New config vars.
2578 (doc-view-pdf->png-converter-ghostscript)
2579 (doc-view-ps->png-converter-ghostscript)
2580 (doc-view-pdf->png-converter-mupdf): New functions.
2581 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
2582
2583 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
2584
2585 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
2586 first in session cache: When `tramp-own-remote-path' is in
2587 `tramp-remote-path', the remote path is only set in the session
2588 cache.
2589
2590 2013-01-09 Glenn Morris <rgm@gnu.org>
2591
2592 * emacs-lisp/trace.el (trace-function-foreground)
2593 (trace-function-background): Doc fix.
2594
2595 2013-01-09 Juri Linkov <juri@jurta.org>
2596
2597 * international/mule-cmds.el (read-char-by-name): Move let-binding
2598 of completion-ignore-case around completing-read to fix regression
2599 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
2600 `string-match-p' using the nil value of `case-fold-search' and
2601 `completion-ignore-case' in `completion-pcm--all-completions'.
2602 (Bug#12615).
2603
2604 2013-01-09 Glenn Morris <rgm@gnu.org>
2605
2606 * progmodes/compile.el (compilation-parse-errors):
2607 Fix typo. (Bug#13369)
2608
2609 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
2610
2611 * comint.el (comint-send-input): Check size of buffer before
2612 waiting for process output, in case already accepted. (Bug#13290)
2613
2614 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
2615
2616 Spelling fixes.
2617 * net/tramp-adb.el (tramp-adb-get-toolbox):
2618 Fix misspelling of 'unknown'.
2619
2620 2013-01-08 Juri Linkov <juri@jurta.org>
2621
2622 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
2623 * progmodes/flymake.el (flymake-errline, flymake-warnline):
2624 Use underline style wave on terminals that support it. (Bug#13000)
2625
2626 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2627
2628 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
2629 the predicate returns nil.
2630
2631 * simple.el: Use lexical-binding.
2632 (primitive-undo): Use pcase.
2633 (minibuffer-history-isearch-push-state): Use a closure.
2634
2635 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2636
2637 * simple.el (primitive-undo): Move from undo.c.
2638
2639 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2640
2641 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
2642 (cvs-mode-remove-handled): Use it (bug#13380).
2643
2644 * emacs-lisp/nadvice.el (advice--tweak): New function.
2645 (advice--remove-function, advice--subst-main): Use it.
2646
2647 * emacs-lisp/advice.el: Update commentary.
2648
2649 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
2650
2651 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2652 Remove spurious entry.
2653
2654 2013-01-08 Glenn Morris <rgm@gnu.org>
2655
2656 * net/tramp.el (tramp-default-host-alist): Add :version.
2657
2658 2013-01-08 Juri Linkov <juri@jurta.org>
2659
2660 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
2661 single completion. (Bug#12456)
2662 (info--manual-names): Expand node completions into an explicit list
2663 before appending it to another list. Filter out internal buffers
2664 with the leading space in the buffer name. (Bug#10771)
2665
2666 2013-01-08 Juri Linkov <juri@jurta.org>
2667
2668 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
2669 that defaults to the Top node.
2670 (Info-goto-node, Info-read-node-name): Doc fix to mention that
2671 the short format (FILENAME) goes to the Top node.
2672 (Info-build-node-completions): Rename arg `file' to `filename'.
2673 (Bug#13365)
2674
2675 2013-01-07 Bastien Guerry <bzg@gnu.org>
2676
2677 * menu-bar.el (menu-bar-search-documentation-menu):
2678 Use `apropos-user-option' and fix the help message.
2679
2680 2013-01-07 Bastien Guerry <bzg@gnu.org>
2681
2682 * apropos.el (apropos-do-all): Update docstring.
2683 (apropos-user-option-button): New face.
2684 (apropos-user-option): Rename from `apropos-variable' and update
2685 docstring.
2686 (apropos-variable): Rewrite, now show all variables by default.
2687 (apropos-print): Mention "User option" instead of "Variable" when
2688 printing doc for user options. (Bug#13276)
2689
2690 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
2691
2692 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
2693 Handle filename correctly, when parsing "source -> target" symlink
2694 output.
2695 (tramp-adb-handle-set-file-times): New defun.
2696
2697 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
2698
2699 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
2700 advice list when the interactive-spec of ad-Advice-* changes.
2701
2702 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
2703
2704 * wid-edit.el (widget-default-get): Work for inlined elements.
2705 (Bug#12670)
2706
2707 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
2708
2709 * net/tramp.el (tramp-default-host-alist): New defcustom.
2710 (tramp-find-host): Use it.
2711 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
2712 `eshell-directory-change-hook'.
2713
2714 * net/tramp-adb.el (top): Add adb specific entry in
2715 `tramp-default-host-alist'.
2716 (tramp-adb-file-name-host): Remove function.
2717 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
2718 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
2719
2720 * net/tramp-sh.el: Move eshell integration code to tramp.el.
2721
2722 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
2723
2724 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
2725
2726 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
2727
2728 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
2729 consist of more than one digit.
2730 (tramp-adb-file-name-handler-alist):
2731 Use `tramp-handle-file-exists-p' consistently.
2732 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
2733 (tramp-adb-handle-file-exists-p): Remove function.
2734 (tramp-adb-file-name-host): New defun.
2735 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
2736 Use it.
2737 (tramp-adb-maybe-open-connection): Set "remote-path" property.
2738
2739 2013-01-06 Chong Yidong <cyd@gnu.org>
2740
2741 * vc/vc.el (vc-next-action): Detect buffer modifications
2742 conflicting with locking VCS operation (Bug#11490).
2743
2744 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
2745
2746 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
2747
2748 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
2749 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
2750
2751 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
2752
2753 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
2754 parsing of ls output using regular expression (handle filenames
2755 with spaces). Use virtual device number.
2756 (tramp-do-parse-file-attributes-with-ls): New defun (Code
2757 cleanup).
2758
2759 2013-01-04 Daiki Ueno <ueno@gnu.org>
2760
2761 * epg.el: Silence byte-compiler warnings.
2762 (epg--start): Use delete-char instead of delete-backward-char.
2763 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
2764
2765 2013-01-04 Daiki Ueno <ueno@gnu.org>
2766
2767 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
2768 Suggested by Eli Zaretskii <eliz@gnu.org>.
2769
2770 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
2771
2772 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
2773 non-negative integers. Otherwise, the default values are used.
2774 (tramp-convert-file-attributes): Convert uid and gid to integers.
2775
2776 2013-01-04 Glenn Morris <rgm@gnu.org>
2777
2778 * term.el (term-handle-colors-array): Ensure face attributes
2779 are fully specified, not nil. (Bug#13337)
2780
2781 * term.el (term-default-fg-color, term-default-bg-color):
2782 Fix custom type.
2783
2784 * progmodes/etags.el (tags-compression-info-list): Doc fix.
2785 (tag-find-file-of-tag-noselect): Check auto-compression-mode
2786 rather than 'jka-compr being loaded. (Bug#13338)
2787
2788 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
2789
2790 * icomplete.el (icomplete-completions):
2791 Honor icomplete-prospects-height once more following
2792 2012-11-29 changes. (Bug#13224)
2793
2794 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
2795
2796 * subr.el (internal--called-interactively-p--get-frame): Find aliases
2797 of called-interactively-p as well (bug#13237).
2798
2799 * view.el (view--enable, view--disable): Rename from view-mode-enable
2800 and view-mode-disable and assume it's called from view-mode.
2801 (view-mode-enable, view-mode-disable): Redefine as obsolete
2802 compatibility layer above view-mode.
2803 (view-mode-enter): Call `view-mode'.
2804
2805 * files.el (after-find-file): Call `view-mode'.
2806
2807 * doc-view.el (doc-view-scale-internally): New var.
2808 (doc-view-enlarge, doc-view-insert-image): Obey it.
2809
2810 2013-01-03 Daiki Ueno <ueno@gnu.org>
2811
2812 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
2813 exist. (Bug#13344)
2814
2815 2013-01-03 Glenn Morris <rgm@gnu.org>
2816
2817 * mail/rmail.el (rmail-set-header-1): Ignore case.
2818 Handle multi-line headers. (Bug#13330)
2819
2820 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
2821 Handle paragraph starting at beginning of buffer.
2822
2823 * subr.el (eval-after-load): Don't purecopy the form, so that it
2824 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
2825
2826 * emacs-lisp/byte-run.el (defun): Place cl declarations
2827 after any interactive spec. (Bug#13265)
2828
2829 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
2830
2831 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
2832 defun. Don't check for DECL if DOCSTRING isn't a string.
2833 (defun): Likewise.
2834
2835 2013-01-02 Glenn Morris <rgm@gnu.org>
2836
2837 * eshell/em-cmpl.el (eshell-pcomplete):
2838 More thoroughly imitate pcomplete. (Bug#13293)
2839
2840 * files.el (parse-colon-path): Doc fix. (Bug#12351)
2841 Return nil for empty path elements. (Bug#13296)
2842
2843 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
2844
2845 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
2846 order to improve efficiency (Based on Daniel Colascione's
2847 <dancol@dancol.org> patch). (Bug#13182)
2848
2849 2013-01-02 Glenn Morris <rgm@gnu.org>
2850
2851 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
2852
2853 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
2854
2855 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
2856 neither DOCSTRING nor DECL was given. (Bug#13316)
2857
2858 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
2859
2860 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
2861 `error' call.
2862 (tramp-do-copy-or-rename-file): Ignore errors when calling
2863 `set-file-extended-attributes'.
2864
2865 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2866 Add handler for `file-acl'.
2867 (tramp-smb-handle-file-acl): New defun.
2868
2869 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
2870
2871 * calc/README: Mention ISO 8601 week-numbering dates.
2872
2873 2013-01-01 Martin Rudalics <rudalics@gmx.at>
2874
2875 * view.el (view-mode-enable): New argument run-view-mode-hook.
2876 Run view-mode-hook only when it's non-nil (Bug#13315).
2877 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
2878 argument t.
2879
2880 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
2881
2882 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
2883 (No device connected, invalid device name). (Bug #13299)
2884
2885 2012-12-31 Martin Rudalics <rudalics@gmx.at>
2886
2887 * window.el (window-resizable--p): Rename to window-resizable-p.
2888 (window-resize-no-error): New function.
2889
2890 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
2891 broken in fix from 2012-12-28.
2892
2893 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
2894
2895 * subr.el (special-form-p): Don't signal errors on undef aliases.
2896
2897 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
2898
2899 * calc/calc-forms.el (math-parse-date): Try using
2900 `math-parse-iso-date' when it looks like it might be needed.
2901 Allow times of 24:00.
2902 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
2903 of 24:00.
2904
2905 2012-12-30 Glenn Morris <rgm@gnu.org>
2906
2907 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
2908 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
2909 (rmail-summary-displayed, rmail-summary): Declare.
2910 (mairix-rmail-display): Just require rmail.
2911
2912 2012-12-30 Chong Yidong <cyd@gnu.org>
2913
2914 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
2915 check for the tarball contents.
2916
2917 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
2918
2919 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
2920 tarfile content listings (Bug#13136).
2921
2922 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
2923
2924 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
2925 Insert the undecoded text of the message being forwarded. (Bug#9521)
2926
2927 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
2928
2929 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
2930 integers, if they are real numbers. (Bug#13282)
2931
2932 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
2933 Return `t' on success.
2934
2935 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2936 Add handler for `set-file-selinux-context'.
2937
2938 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
2939
2940 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
2941 (tramp-sh-handle-set-file-acl): Return `t' on success.
2942
2943 2012-12-29 Eli Zaretskii <eliz@gnu.org>
2944
2945 * files.el (backup-buffer-copy, basic-save-buffer-2):
2946 If set-file-extended-attributes fails, fall back on set-file-modes
2947 instead of signaling an error. (Bug#13298)
2948 (basic-save-buffer): Likewise.
2949
2950 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
2951
2952 * progmodes/python.el: Support other commands triggering
2953 python-indent-line so indentation cycling continues to work.
2954 (python-indent-trigger-commands): New defcustom.
2955 (python-indent-line): Use it.
2956
2957 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
2958
2959 * progmodes/python.el (python-shell-send-region): Add blank lines
2960 for non sent code so backtraces remain correct.
2961
2962 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
2963
2964 * progmodes/python.el: Remove cl dependency.
2965 (python-syntax-count-quotes): Replace incf call.
2966 (python-fill-string): Replace setf call.
2967
2968 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
2969
2970 * info.el (info-other-window): New arg, for consistency with info.
2971
2972 2012-12-28 Martin Rudalics <rudalics@gmx.at>
2973
2974 * mail/rmail.el (rmail-maybe-display-summary):
2975 Rewrite (Bug#13066).
2976
2977 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
2978
2979 * epg.el (epg--start): Modify process-environment locally.
2980
2981 2012-12-28 Daiki Ueno <ueno@gnu.org>
2982
2983 * epg.el: Support pinentry-curses.
2984 Suggested by Werner Koch in
2985 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
2986 (epg-agent-file, epg-agent-mtime): New variable.
2987 (epg--start): Record the modified time of gpg-agent socket file,
2988 to restore Emacs frame after pinentry-curses termination.
2989 (epg-wait-for-completion): Restore Emacs frame here.
2990
2991 2012-12-27 Juri Linkov <juri@jurta.org>
2992
2993 * info.el (Info-file-completions): New variable.
2994 (Info-read-node-name-1): Complete node names in the Info file
2995 when a file name is given. Call `Info-build-node-completions'
2996 with a file name.
2997 (Info-build-node-completions): Add new arg `file'. When it is
2998 non-nil, visit it in a temporary buffer and cache its completions in
2999 `Info-current-file-completions'. Move most of the function body to
3000 `Info-build-node-completions-1'.
3001 (Info-build-node-completions-1): New function with the body from
3002 `Info-build-node-completions'. (Bug#12456)
3003
3004 2012-12-27 Juri Linkov <juri@jurta.org>
3005
3006 * frame.el (frame-maximization-style): Remove user option.
3007 (cycle-frame-maximized): Remove function.
3008 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
3009 (toggle-frame-fullscreen): New command bound to <f11> instead of
3010 `toggle-frame-maximized'.
3011 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
3012
3013 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
3014
3015 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
3016
3017 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3018 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3019 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
3020 for `file-accessible-directory-p'. (Bug#13275)
3021
3022 2012-12-27 Sam Steingold <sds@gnu.org>
3023
3024 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
3025 continuations, see <http://stackoverflow.com/questions/3582436>.
3026
3027 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
3028
3029 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
3030 "module" and "def" to have indentation before them.
3031 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
3032
3033 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
3034
3035 2012-12-27 Alan Mackenzie <acm@muc.de>
3036
3037 Speed up fontification where there's large brace blocks.
3038 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
3039 to a call of c-beginning-of-decl-1.
3040
3041 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
3042
3043 * comint.el (comint-adjust-window-point): New function.
3044 (comint-postoutput-scroll-to-bottom):
3045 Call comint-adjust-window-point (Bug#13248).
3046
3047 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
3048
3049 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
3050 Rakefile regexp.
3051 (auto-mode-alist): Associate .gemspec files with ruby-mode
3052 (https://bugs.ruby-lang.org/issues/5453).
3053
3054 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
3055
3056 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
3057 Suppress coloring, if possible (required for BusyBox based systems like
3058 CyanogenMod).
3059 (tramp-adb-handle-file-attributes)
3060 (tramp-adb-handle-insert-directory)
3061 (tramp-adb-handle-file-name-all-completions): Use it.
3062 (tramp-adb-get-toolbox): New defun. Check for remote shell
3063 implementation (BusyBox or Toolbox).
3064
3065 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
3066
3067 * startup.el (initial-buffer-choice): Allow function as value
3068 (Bug#13251).
3069 (command-line-1): Handle case where initial-buffer-choice
3070 specifies a function.
3071 * server.el (server-execute): Handle case where
3072 initial-buffer-choice specifies a function.
3073
3074 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
3075
3076 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
3077 its own function.
3078 (smtpmail-try-auth-methods): Forget the user name/password if the
3079 login is unsuccessful (bug#12424).
3080
3081 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
3082
3083 * notifications.el (notifications-notify): Protect body with
3084 `with-demoted-errors'.
3085
3086 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3087 Check properties of remote device. Restart connection, if there is a
3088 change.
3089
3090 2012-12-21 Chong Yidong <cyd@gnu.org>
3091
3092 * sort.el (sort-subr): Doc fix (Bug#13056).
3093
3094 2012-12-21 Bastien Guerry <bzg@gnu.org>
3095
3096 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
3097
3098 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
3099
3100 * simple.el (process-file): Overwrite stderr file, if exists.
3101
3102 2012-12-21 Daiki Ueno <ueno@gnu.org>
3103
3104 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
3105 (epg-error): Set `error-message' property.
3106
3107 2012-12-21 Chong Yidong <cyd@gnu.org>
3108
3109 * international/mule-cmds.el (read-char-by-name): Signal an error
3110 if the user does not supply a valid character (Bug#13177).
3111
3112 * simple.el (transpose-subr-1): Preserve marker positions by
3113 changing the insertion sequence (Bug#13122).
3114
3115 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3116
3117 * simple.el (kill-region): Deactivate mark even for empty regions
3118 (Bug#13169).
3119
3120 2012-12-21 Chong Yidong <cyd@gnu.org>
3121
3122 * help-fns.el (describe-variable): Make sure we get the right
3123 buffer name (Bug#13105). Suggested by Kelly Dean.
3124
3125 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
3126
3127 * comint.el (comint-redirect-previous-input-string): New variable.
3128 (comint-redirect-setup, comint-redirect-cleanup)
3129 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
3130 (comint-redirect-preoutput-filter): Fix verbose message.
3131
3132 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
3133
3134 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
3135 is too long for Tramp. See discussion in
3136 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
3137
3138 * progmodes/compile.el (compilation-start): Remove line escape
3139 template.
3140
3141 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
3142
3143 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
3144 Adjust comment.
3145
3146 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
3147
3148 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
3149 following non-comment text (bug#13207).
3150 (lm-header-multiline): Continuation lines need to be indented more than
3151 the first line.
3152 (lm-homepage): New function.
3153 (lm-with-file): Don't be confused if narrowing is in effect.
3154
3155 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
3156
3157 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
3158 very beginning of a hunk (e.g. killing the first line).
3159
3160 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
3161
3162 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
3163 and text properties from returned ACL string.
3164 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
3165 for "setfacl" command.
3166
3167 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
3168
3169 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
3170 `tramp-cleanup-this-connection', when the process has died.
3171 (Bug#13151)
3172
3173 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3174
3175 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
3176
3177 2012-12-17 Kevin Ryde <user42@zip.com.au>
3178
3179 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
3180
3181 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
3182
3183 Add support for preserving ACL entries of files.
3184
3185 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
3186 `set-file-acl' handlers.
3187
3188 * net/tramp-adb.el (tramp-adb-handle-copy-file):
3189 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3190
3191 * net/tramp-compat.el (tramp-compat-copy-file):
3192 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3193
3194 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3195 Add `file-acl' and `set-file-acl' handlers.
3196 (tramp-gvfs-handle-copy-file):
3197 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3198 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
3199 New defuns.
3200
3201 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3202 Add `file-acl' and `set-file-acl' handlers.
3203 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
3204 (tramp-sh-handle-set-file-acl): New defuns.
3205 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
3206 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3207
3208 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3209 Add `file-acl' and `set-file-acl' handlers.
3210 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
3211
3212 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3213
3214 * help-macro.el (make-help-screen): Instead of switch-to-buffer
3215 use pop-to-buffer with NORECORD argument t. As buffer name, use
3216 *Metahelp* with a leading space (Bug#13190).
3217
3218 2012-12-16 Romain Francoise <romain@orebokech.com>
3219
3220 * files.el (file-extended-attributes)
3221 (set-file-extended-attributes): New functions.
3222 (backup-buffer): Use them to handle both SELinux context and ACL
3223 entries.
3224 (backup-buffer-copy): Work with an alist of extended attributes,
3225 rather than an SELinux context.
3226 (basic-save-buffer-2): Ditto.
3227
3228 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
3229
3230 * battery.el (battery-bsd-apm): New function.
3231
3232 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
3233
3234 * calc/calc.el (calc-standard-date-formats): Adjust one of the
3235 standard date formats.
3236
3237 2012-12-15 Juri Linkov <juri@jurta.org>
3238
3239 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
3240 `isearch-insert-char-by-name'.
3241 (with-isearch-suspended): New defmacro with body mostly from
3242 `isearch-edit-string' except the part that sets
3243 `isearch-new-string' and `isearch-new-message'.
3244 (isearch-edit-string): Use new macro `with-isearch-suspended' with
3245 body that sets `isearch-new-string' and `isearch-new-message'.
3246 (isearch-insert-char-by-name): New command.
3247 * international/mule-cmds.el (read-char-by-name): Let-bind
3248 `enable-recursive-minibuffers' to t.
3249 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
3250
3251 2012-12-15 Juri Linkov <juri@jurta.org>
3252
3253 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
3254 (Bug#13175)
3255
3256 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
3257
3258 * dired-x.el (dired-guess-shell-command): Put colon at the end of
3259 the prompt. (Bug#13045)
3260
3261 2012-12-14 Glenn Morris <rgm@gnu.org>
3262
3263 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
3264 Try to include filename in non-bytecomp warning. (Bug#13132)
3265
3266 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
3267
3268 Fix permissions bugs with setgid directories etc. (Bug#13125)
3269 * files.el (backup-buffer): Don't rely on 9th output of
3270 file-attributes, as it's now a placeholder. Instead, use the new
3271 optional arg of file-ownership-preserved-p.
3272 (file-ownership-preserved-p): New optional arg GROUP.
3273 Fix mishandling of setuid directories that would cause this
3274 function to return t when it should have returned nil.
3275 Document what happens if the file does not exist, and when
3276 it's not known whether the ownership will be preserved.
3277 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
3278 Likewise.
3279 (tramp-get-local-gid): Use group-gid for integer, as that's
3280 faster and more reliable.
3281
3282 2012-12-14 Julien Danjou <julien@danjou.info>
3283
3284 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
3285 Update keywords list, data type and PL/pgSQL.
3286
3287 2012-12-14 Dave Abrahams <dave@boostpro.com>
3288
3289 * vc/ediff-util.el (ediff-buffer-type): New function.
3290 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
3291 rather than taking it as as argument.
3292 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
3293
3294 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
3295
3296 * json.el: Add pretty-print option (bug#12634).
3297 (json-encoding-separator, json-encoding-default-indentation)
3298 (json--encoding-current-indentation, json-encoding-pretty-print)
3299 (json-encoding-lisp-style-closings): New vars.
3300 (json--with-indentation): New macro.
3301 (json-encode-hash-table, json-encode-alist, json-encode-plist)
3302 (json-encode-array): Use it to obey json-encoding-pretty-print.
3303 (json-pretty-print-buffer, json-pretty-print): New commands.
3304
3305 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
3306
3307 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3308 Extract `ruby-syntax-propertize-expansions'.
3309 (ruby-syntax-propertize-expansions): Only change syntax on
3310 certain string delimiters, to punctuation. This way the common
3311 functions like forward-word and thing-at-point still work.
3312 (ruby-match-expression-expansion): Improve readability.
3313 (ruby-block-contains-point): New function.
3314 (ruby-add-log-current-method): Handle several edge cases.
3315
3316 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
3317
3318 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
3319 unload-feature finishes even when aborting an ongoing edebug session.
3320 Also, do not worry about edebug-mode, unload-feature takes care of it.
3321
3322 2012-12-13 Andreas Schwab <schwab@suse.de>
3323
3324 * net/tls.el (tls-program): Update customize type.
3325
3326 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
3327
3328 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
3329 (edebug-setup-hook, cl-read-load-hooks): Use it.
3330 (edebug-unload-function): New function. (Bug#13163)
3331
3332 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
3333
3334 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
3335 Otherwise, there could be errors in autoloading. (Bug#13151)
3336
3337 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
3338
3339 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
3340 sequences.
3341
3342 2012-12-13 Alan Mackenzie <acm@muc.de>
3343
3344 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
3345 * progmodes/cc-engine.el (c-backward-comments): Add code to work
3346 around `forward-comment' not recognizing ^M as whitespace.
3347
3348 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
3349
3350 * progmodes/python.el (python-skeleton-class)
3351 (python-skeleton-def): Do not add space after defun name.
3352
3353 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3354
3355 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
3356 (cl--symbol-function): Remove (now that funbound is like nil).
3357
3358 2012-12-12 Glenn Morris <rgm@gnu.org>
3359
3360 * button.el (button--area-button-p): Fix typo.
3361
3362 2012-12-12 Sam Steingold <sds@gnu.org>
3363
3364 * frame.el (frame-maximization-style): New user option.
3365 (toggle-frame-maximized): Toggle frame maximization according to
3366 `frame-maximization-style', bound to <f11>.
3367 (cycle-frame-maximized): Cycle between all maximization styles and
3368 non-maximized frame, bound to shift-<f11>.
3369
3370 2012-12-12 David Cadé <codename68@gmail.com>
3371
3372 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
3373
3374 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
3375
3376 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
3377 (eieio-override-prin1): Don't quote kewords and booleans.
3378 (object-write) <eieio-default-superclass>: Don't put closing parens
3379 on new line, avoid needless empty lines, align values that are objects
3380 with the slot keyword (instead of beginning on the same line).
3381 (eieio-list-prin1): Align value with slot keyword; increase
3382 eieio-print-depth before printing members of the list.
3383
3384 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3385
3386 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
3387 a display text-property.
3388 (report-emacs-bug-hook): Don't bother deleting it any more.
3389
3390 * hilit-chg.el (highlight-save-buffer-state): Delete.
3391 Use with-silent-modifications instead.
3392 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
3393
3394 * button.el: Handle buttons in display text-properties.
3395 (button--area-button-p, button--area-button-string):
3396 Use (STRING . STRING-POS) representation instead of just STRING.
3397
3398 2012-12-11 Eli Zaretskii <eliz@gnu.org>
3399
3400 * makefile.w32-in (compile4-SH): Fix a typo that caused term
3401 subdirectory be skipped.
3402
3403 2012-12-11 Glenn Morris <rgm@gnu.org>
3404
3405 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
3406
3407 * progmodes/f90.el (f90-line-continued, f90-indent-region):
3408 Treat preprocessor lines embedded in continuations like comments.
3409 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
3410
3411 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
3412
3413 * calc/calc.el (calc-standard-date-formats): Add more date
3414 formats.
3415 * calc/calc-forms.el (math-parse-iso-date): New function.
3416 (math-parse-date): Use `math-parse-iso-date' when appropriate.
3417 (math-parse-iso-date-validate): Add extra error checking.
3418 (calc-date-notation): Add ability to access new date formats.
3419
3420 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3421
3422 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
3423 font-lock as well as when there's no text-property.
3424
3425 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
3426
3427 * hi-lock.el: Refine the choice of default face.
3428 (hi-lock-keyword->face): New function. Use it wherever we used
3429 cadadadr instead.
3430 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
3431 (hi-lock--last-face): Remove var.
3432 (hi-lock--unused-faces): New var to replace it.
3433 (hi-lock-read-face-name): Use/maintain it.
3434 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
3435 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
3436 if it has another face.
3437
3438 2012-12-10 Eli Zaretskii <eliz@gnu.org>
3439
3440 * subr.el (w32notify-handle-event): New function.
3441 (inotify-handle-event): Doc fix.
3442
3443 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3444
3445 * subr.el (inotify-event-p, inotify-handle-event): New functions.
3446
3447 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
3448
3449 * simple.el (just-one-space): Doc fix.
3450
3451 2012-12-10 Eli Zaretskii <eliz@gnu.org>
3452
3453 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
3454
3455 2012-12-10 Le Wang <l26wang@gmail.com>
3456
3457 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
3458 narrowed buffer (bug#12361).
3459
3460 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
3461
3462 * vc/vc-hooks.el (vc-state): Doc fix.
3463
3464 2012-12-10 Glenn Morris <rgm@gnu.org>
3465
3466 * mail/rmail.el (rmail-maybe-display-summary):
3467 Preserve buffer, in case select-window changes it. (Bug#13066)
3468
3469 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3470
3471 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
3472 cl-load-hook where they belong.
3473
3474 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3475
3476 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
3477
3478 2012-12-09 Eli Zaretskii <eliz@gnu.org>
3479
3480 Parallelize byte compilation on MS-Windows.
3481 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
3482 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
3483 (WINS_BASIC): Define as concatenation of the above.
3484 (compile): Subdivide into 4 separate and independent jobs that can
3485 be run in parallel.
3486 (compile0-CMD, compile0-SH): New targets for compiling
3487 COMPILE_FIRST files, which are prerequisites for the rest of the
3488 byte-compilation.
3489 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
3490 New targets for parallel compilation with cmd.exe.
3491 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
3492 compiling under a Unixy shell.
3493
3494 2012-12-09 Chong Yidong <cyd@gnu.org>
3495
3496 * simple.el (set-mark-default-inactive): Delete this
3497 accidentally-introduced option.
3498 (set-mark-command, exchange-point-and-mark): Remove calls.
3499
3500 2012-12-09 Glenn Morris <rgm@gnu.org>
3501
3502 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
3503 Respect a defcustom's :set function, if appropriate. (Bug#109)
3504 (eval-defun): Doc fix.
3505
3506 2012-12-08 Juri Linkov <juri@jurta.org>
3507
3508 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
3509 (Info-fontify-node, Info-bookmark-make-record): Remove the
3510 file extension from Info-current-file (Bug#13016).
3511
3512 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3513
3514 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
3515 point, still provide some default.
3516 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
3517 names, since we don't use it right now. Actually return the list.
3518 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
3519
3520 2012-12-07 Chong Yidong <cyd@gnu.org>
3521
3522 * novice.el (disabled-command-function): Remove a spurious help
3523 xref (Bug#13043). Suggested by Kelly Dean.
3524
3525 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
3526 syntax is specified (Bug#13025).
3527
3528 * info.el (Info-set-mode-line): Remove the file extension from
3529 Info-current-file if there is one (Bug#13016).
3530
3531 2012-12-07 Glenn Morris <rgm@gnu.org>
3532
3533 * mail/rmail.el (rmail-mime-decoded): New permanent local.
3534 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
3535 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
3536 and rmail-mime-decoded. (Bug#9841)
3537
3538 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
3539 (batch-unrmail, unrmail): Doc fixes.
3540 (unrmail): Respect unrmail-mbox-format.
3541 * mail/rmail.el (rmail-mbox-format): New option.
3542 (rmail-show-message-1): Respect rmail-mbox-format.
3543
3544 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3545
3546 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
3547
3548 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3549
3550 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
3551 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
3552 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
3553 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
3554 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
3555 (cl-progv): Don't rely on dynamic scoping to find the body.
3556 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
3557 (cl--proclaims-deferred): Rename from the "cl-" prefix.
3558 (cl-declaim): Use backquotes.
3559 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
3560 Use "cl--" prefix for the object's tag.
3561
3562 * ses.el: Use advice-add/remove.
3563 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
3564 (copy-region-as-kill, yank): Use advice-add.
3565 (ses-unload-function): Use advice-remove.
3566
3567 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
3568
3569 * button.el: Make them work in header-lines (bug#12817).
3570 (button-map): Add bindings for header-line and mode-line use.
3571 (button-get, button-put, button-label): `button' may now be a string.
3572 (button-activate): Don't make it a defsubst.
3573 (button--area-button-p, button--area-button-string): New functions.
3574 (make-text-button): Fix the return value when `beg' was a string.
3575 (push-button): Handle the mode-line case.
3576
3577 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3578
3579 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
3580 (sql-signum): Remove. Use `cl-signum' instead.
3581 (sql-read-passwd): Remove; use read-passwd instread.
3582 (sql-get-login-ext): Use read-string.
3583 (sql-get-login): Use dolist and pcase.
3584 (sql--completion-table): Rename from sql-try-completion.
3585 Use complete-with-action.
3586 (sql-mode): Don't change abbrev-all-caps globally.
3587 (sql-connect): Don't rely on dynamic scoping for `new-name'.
3588 (sql-postgres-completion-object): Initialize vars in their `let'.
3589 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
3590 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
3591 (sql-comint-interbase): Use a single append, without setq.
3592 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
3593
3594 * hi-lock.el: Rework the default face and the serialize regexp code.
3595 (hi-lock--auto-select-face-defaults): Remove.
3596 (hi-lock-string-serialize-serial): Remove.
3597 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
3598 make weak.
3599 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
3600 equal string.
3601 (hi-lock-set-pattern): Adjust accordingly.
3602 (hi-lock--regexps-at-point): Simplify accordingly.
3603 (hi-lock--auto-select-face-defaults): Remove.
3604 (hi-lock--last-face): New var to replace it.
3605 (hi-lock-read-face-name): Rewrite (bug#11095).
3606 (hi-lock-unface-buffer): Arrange for the face to be the next default.
3607
3608 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
3609
3610 * net/tramp.el (tramp-replace-environment-variables):
3611 Hide compiler warning.
3612 (tramp-file-name-for-operation): Remove `executable-find',
3613 `start-process', `call-process' and `call-process-region'.
3614
3615 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
3616
3617 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
3618 compatibility.
3619
3620 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
3621
3622 2012-12-06 Chong Yidong <cyd@gnu.org>
3623
3624 * ffap.el (ffap-replace-file-component): Fix typo.
3625
3626 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3627
3628 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
3629 fix open-paren-like token test (bug#12785).
3630
3631 2012-12-06 Glenn Morris <rgm@gnu.org>
3632
3633 * mail/rmailsum.el (rmail-new-summary): Tweak for
3634 rmail-maybe-display-summary changing buffer. (Bug#13066)
3635
3636 2012-12-06 Juri Linkov <juri@jurta.org>
3637
3638 * info.el (Info-fontify-node): Don't hide the last newline.
3639 (Bug#12272)
3640
3641 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
3642
3643 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
3644 so as to enable message-read-from-minibuffer to expand mail aliases.
3645
3646 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3647
3648 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
3649 the `intangible' property.
3650 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
3651
3652 2012-12-05 Deniz Dogan <deniz@dogan.se>
3653
3654 * net/rcirc.el (rcirc-urls): Update documentation.
3655 (rcirc-condition-filter): New function.
3656 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
3657 and exclude consecutive duplicate URLs (Bug#6082).
3658
3659 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
3660
3661 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3662 Check return code of copy command.
3663
3664 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
3665 Use group `tramp'. Add version.
3666
3667 2012-12-05 Chong Yidong <cyd@gnu.org>
3668
3669 * ffap.el (ffap-url-regexp): Don't require matching at front of
3670 string (Bug#4952).
3671 (ffap-url-p): If only a substring matches, return that.
3672 (ffap-url-at-point): Use the return value of ffap-url-p.
3673 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
3674 (find-file-at-point, dired-at-point, dired-at-point-prompter)
3675 (ffap-guess-file-name-at-point): Likewise.
3676 (ffap-replace-file-component): Fix typo.
3677
3678 * info.el (info-display-manual): Add existing Info buffers, whose
3679 files may not be in Info-directory-list, to the completion.
3680 (info--manual-names): New helper function.
3681
3682 2012-12-05 Glenn Morris <rgm@gnu.org>
3683
3684 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
3685 New functions, for detecting and resolving conflicts. (Bug#10709)
3686
3687 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
3688
3689 * hi-lock.el (hi-lock-auto-select-face): New user variable.
3690 (hi-lock-auto-select-face-defaults): New buffer local variable.
3691 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
3692 (hi-lock-unface-buffer): Prompt user with useful defaults.
3693 With prefix arg, unhighlight all hi-lock patterns in buffer.
3694
3695 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3696
3697 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
3698
3699 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
3700
3701 * Makefile.in (TRAMP_SRC):
3702 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
3703
3704 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
3705
3706 * net/tramp-adb.el: New package.
3707
3708 2012-12-04 Chong Yidong <cyd@gnu.org>
3709
3710 * terminal.el: Move to obsolete/.
3711
3712 * longlines.el: Move to obsolete/.
3713
3714 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
3715 Remove code referring to longlines mode.
3716
3717 2012-12-03 Juri Linkov <juri@jurta.org>
3718
3719 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
3720
3721 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3722
3723 * textmodes/ispell.el (ispell-init-process)
3724 (ispell-start-process, ispell-internal-change-dictionary):
3725 Make sure personal dictionary name is expanded after initial
3726 `default-directory' value. Use expanded strings for
3727 keep/restart checks and for value (Bug#13019).
3728
3729 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
3730
3731 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
3732
3733 2012-12-03 Leo Liu <sdl.web@gmail.com>
3734
3735 * files.el (dir-locals-read-from-file): Check file non-empty
3736 before reading. (Bug#13038)
3737
3738 2012-12-03 Glenn Morris <rgm@gnu.org>
3739
3740 * jka-cmpr-hook.el (jka-compr-get-compression-info):
3741 Remove any version extension before checking filename. (Bug#13006)
3742 (jka-compr-compression-info-list): Belated :version bump.
3743
3744 2012-12-03 Chong Yidong <cyd@gnu.org>
3745
3746 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
3747
3748 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
3749 (buffer-menu): Doc fix (Bug#12294).
3750
3751 2012-12-03 Roland Winkler <winkler@gnu.org>
3752
3753 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
3754 of diary-show-all-entries in the diary buffer (Bug#12994).
3755
3756 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
3757
3758 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
3759 "<STDIN>". This is binary safe.
3760
3761 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
3762
3763 * calc/calc-forms.el (math-absolute-from-iso-dt)
3764 (math-date-to-iso-dt, math-parse-iso-date-validate)
3765 (math-iso-dt-to-date): New functions.
3766 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
3767 (math-fd-isoweekday): New variables.
3768 (calc-date-notation, math-parse-standard-date, math-format-date)
3769 (math-format-date-part): Add support for more formatting codes.
3770
3771 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
3772
3773 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
3774 current buffer's file name when called interactively (Bug#12488).
3775
3776 2012-12-02 Juri Linkov <juri@jurta.org>
3777
3778 * info.el (info-display-manual): Don't clobber an existing Info
3779 buffer (Bug#10770). Add completion (Bug#10771).
3780
3781 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
3782
3783 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
3784 before using it for comparison (Bug#5297).
3785
3786 2012-12-01 Jari Aalto <jari.aalto@cante.net>
3787
3788 * textmodes/css-mode.el (css-current-defun-name): New function.
3789 (css-mode): Use it.
3790
3791 * textmodes/sgml-mode.el (html-current-defun-name): New function.
3792 (html-mode): Use it.
3793
3794 2012-12-01 Chong Yidong <cyd@gnu.org>
3795
3796 Modularize add-log-current-defun (Bug#2224).
3797 Suggested by Jari Aalto.
3798
3799 * vc/add-log.el (add-log-current-defun-function): Doc fix.
3800 (add-log-current-defun): Move mode-specific code to other files.
3801 (add-log-lisp-like-modes, add-log-c-like-modes)
3802 (add-log-tex-like-modes): Variables deleted.
3803
3804 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
3805 (lisp-mode-variables): Use it.
3806
3807 * progmodes/cc-mode.el (c-common-init):
3808 * progmodes/cperl-mode.el (cperl-mode): Set a value for
3809 add-log-current-defun-function.
3810
3811 * progmodes/m4-mode.el (m4-current-defun-name): New function.
3812 (m4-mode): Use it.
3813
3814 * progmodes/perl-mode.el (perl-current-defun-name): New.
3815 (perl-mode): Use it.
3816
3817 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
3818 Use lisp-current-defun-name.
3819
3820 * textmodes/tex-mode.el (tex-current-defun-name): New.
3821 (tex-common-initialization): Use it.
3822
3823 * textmodes/texinfo.el (texinfo-current-defun-name): New.
3824 (texinfo-mode): Use it.
3825
3826 2012-12-01 Chong Yidong <cyd@gnu.org>
3827
3828 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
3829 * progmodes/autoconf.el (autoconf-mode):
3830 * progmodes/js.el (js-mode):
3831 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
3832 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
3833 * progmodes/perl-mode.el (perl-mode):
3834 * progmodes/sh-script.el (sh-mode, sh-set-shell):
3835 * textmodes/css-mode.el (css-mode):
3836 * textmodes/sgml-mode.el (html-mode, sgml-mode)
3837 (sgml-tags-invisible, sgml-guess-indent):
3838 * textmodes/tex-mode.el (tex-common-initialization)
3839 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
3840 (doctex-mode, plain-tex-mode, latex-mode):
3841 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
3842
3843 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
3844
3845 * vc/vc-hg.el (vc-hg-next-revision):
3846 Ensure use of default "tip" output format. (Bug#6968)
3847
3848 2012-12-01 Kim F. Storm <storm@cua.dk>
3849
3850 * startup.el (fancy-startup-tail): Add a clickable link
3851 (Bug#2176).
3852
3853 2012-12-01 Chong Yidong <cyd@gnu.org>
3854
3855 * startup.el (fancy-startup-tail): Improve the message about
3856 auto-save files (Bug#2176).
3857
3858 * files.el (recover-session): Improve the descriptive message, and
3859 use substitute-command-keys.
3860
3861 2012-12-01 Glenn Morris <rgm@gnu.org>
3862
3863 * ido.el (ido-file-internal):
3864 Handle other-window, other-frame for dired. (Bug#13036)
3865
3866 2012-11-30 Glenn Morris <rgm@gnu.org>
3867
3868 * icomplete.el (icomplete-separator): Fix :version.
3869
3870 2012-11-30 Chong Yidong <cyd@gnu.org>
3871
3872 * shell.el (shell): For C-u M-x shell, use an inactive shell
3873 buffer as the default (Bug#1975).
3874 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
3875 (shell-mode): Use them to reapply ansi colorization if Shell mode
3876 is re-enabled.
3877
3878 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
3879
3880 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
3881
3882 2012-11-30 Samuel Bronson <naesten@gmail.com>
3883
3884 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
3885 flag to xargs, for compatibility with BSD xargs (Bug#11703).
3886
3887 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
3888
3889 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
3890 by move-to-column (Bug#3234).
3891
3892 2012-11-30 Chong Yidong <cyd@gnu.org>
3893
3894 * longlines.el (longlines-wrap-line, longlines-encode-region):
3895 Preserve text properties (Bug#1425).
3896
3897 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
3898
3899 * vc/vc.el (vc-register): Allow registering a file which is
3900 already registered with a different backend (Bug#10589).
3901
3902 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
3903 Stefan Monnier <monnier@iro.umontreal.ca>
3904
3905 * icomplete.el: Change separator; add ido-style commands.
3906 (icomplete-show-key-bindings): Remove custom var.
3907 (icomplete-get-keys): Remove function.
3908 (icomplete-forward-completions, icomplete-backward-completions):
3909 New commands.
3910 (icomplete-minibuffer-map): New var.
3911 (icomplete-minibuffer-setup): Use it.
3912 (icomplete-exhibit): Don't delay if the list of completions is known.
3913 (icomplete-separator): New custom.
3914 (icomplete-completions): Use it.
3915 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
3916 (minibuffer-force-complete-and-exit): New command.
3917 (minibuffer--complete-and-exit): New function extracted from
3918 minibuffer-complete-and-exit.
3919 (minibuffer-complete-and-exit): Use it.
3920
3921 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
3922 error message when the file doesn't exist (bug#12974).
3923
3924 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3925
3926 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
3927
3928 2012-11-29 Glenn Morris <rgm@gnu.org>
3929
3930 * files.el (hack-dir-local-variables): Warn if try to set
3931 coding via dir-locals, since it doesn't work. (Bug#7169)
3932
3933 Add desktop support for restoring vc-dir buffers. (Bug#10606)
3934 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
3935 Set buffer-local value of desktop-save-buffer.
3936 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
3937 New functions.
3938 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
3939 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
3940
3941 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
3942 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
3943 Doc fix.
3944 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
3945 Doc fixes.
3946
3947 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
3948
3949 * calc/calc-forms.el (calc-date-notation): Fix regexp
3950 used to find time codes. Fix symbol for seconds.
3951
3952 2012-11-27 Glenn Morris <rgm@gnu.org>
3953
3954 * emacs-lisp/derived.el (derived-mode-make-docstring):
3955 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
3956
3957 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3958
3959 * textmodes/table.el (table-insert): Don't use `symbol-name' on
3960 lexically scoped variables (bug#13005).
3961
3962 2012-11-27 Glenn Morris <rgm@gnu.org>
3963
3964 * vc/vc-hooks.el (vc-mistrust-permissions):
3965 Default to t, to avoid data-loss. (Bug#11490)
3966
3967 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
3968
3969 * progmodes/python.el (python-indent-guess-indent-offset):
3970 If indentation is guessed make python-indent-offset buffer-local.
3971
3972 Fix Imenu regression.
3973 * progmodes/python.el (python-nav-beginning-of-defun):
3974 Fix forward movement when statement(s) separates point from defun.
3975 (python-imenu-prev-index-position): New function.
3976
3977 2012-11-27 Eli Zaretskii <eliz@gnu.org>
3978
3979 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
3980
3981 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
3982 Don't set buffer-file-type. Return nil. (Bug#12989)
3983
3984 2012-11-27 Glenn Morris <rgm@gnu.org>
3985
3986 * hippie-exp.el (hippie-expand-try-functions-list):
3987 Re-autoload it. (Bug#12982)
3988
3989 2012-11-27 Eli Zaretskii <eliz@gnu.org>
3990
3991 * descr-text.el (describe-char-padded-string):
3992 Call internal-char-font only on GUI frames. (Bug#11964)
3993
3994 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
3995
3996 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
3997 and obsoletion message.
3998
3999 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4000
4001 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
4002 the constructs to keep outside of the `cl-block' (bug#12977).
4003
4004 2012-11-27 Chong Yidong <cyd@gnu.org>
4005
4006 * mouse.el (mouse-drag-line): Even if the line is not draggable,
4007 keep reading until we get the up-event anyway, in order to process
4008 the up-event for mouse-1-click-follows-link (Bug#12971).
4009
4010 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
4011
4012 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
4013 base function is not yet defined (bug#12965).
4014 (ad-activate-advised-definition): Use ad-compile-function.
4015 (ad-activate): Use cond.
4016
4017 2012-11-25 Leo Liu <sdl.web@gmail.com>
4018
4019 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
4020 (Bug#12979)
4021
4022 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
4023
4024 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
4025 reftex-section-info-function in order to be compatible with
4026 Texinfo integration.
4027
4028 * textmodes/reftex.el (reftex-section-pre-regexp)
4029 (reftex-section-post-regexp, reftex-section-info-function):
4030 New variable.
4031 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
4032 reftex-section-post-regexp, and reftex-section-info-function in order
4033 to be compatible with Texinfo integration.
4034
4035 * textmodes/reftex-toc.el (reftex-toc-promote-action):
4036 use reftex-section-pre-regexp variable in order to be compatible with
4037 Texinfo integration.
4038
4039 2012-11-25 Chong Yidong <cyd@gnu.org>
4040
4041 * faces.el: Make face-spec-set more analogous to setq.
4042 (face-spec-set): Change the third arg to specify whether this
4043 function is being called via defface, customize, or a third party.
4044 Set the appropriate symbol properties. Clear the override spec if
4045 setting via Custom. Initialize face if necessary. (Bug#4988)
4046 (face-spec-recalc): Allow theme faces to completely replace the
4047 defface spec, in the same way as custom faces (Bug#8454).
4048
4049 * cus-face.el (custom-declare-face): Move face initialization to
4050 face-spec-set.
4051 (custom-theme-set-faces): Don't initialize the face name here, as
4052 that is now done in face-spec-set.
4053
4054 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
4055 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
4056 Simplify by using the new arg to face-spec-set.
4057
4058 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
4059 reset face-override-spec too, and use custom-declare-face.
4060
4061 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
4062
4063 * term/ns-win.el (ns-initialize-window-system): Move creation of
4064 fontsets here (Bug#11964).
4065
4066 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
4067
4068 * ses.el (ses-rename-cell): Correct bug on mode-line update after
4069 cell renaming.
4070
4071 2012-11-24 Chong Yidong <cyd@gnu.org>
4072
4073 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
4074 obsolete.
4075
4076 * custom.el (custom-theme-set-variables): Use a topological sort
4077 for ordering by custom dependencies (Bug#12952).
4078 (custom--sort-vars, custom--sort-vars-1): New functions.
4079
4080 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
4081
4082 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
4083 lexical-binding (bug#12938).
4084
4085 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
4086
4087 * image-mode.el (image-transform-check-size): Use assertions only
4088 for images of type imagemagick.
4089
4090 Otherwise no error, image-transform-fit-to-{width,height} is
4091 silently ignored, as before. Doc fix.
4092
4093 2012-11-24 Chong Yidong <cyd@gnu.org>
4094
4095 * faces.el (color-defined-p): Doc fix (Bug#12853).
4096
4097 2012-11-24 Juri Linkov <juri@jurta.org>
4098
4099 * dired.el (dired-mark): Add optional arg `interactive'.
4100 Check for `use-region-p' if `interactive' is non-nil.
4101 (dired-unmark, dired-flag-file-deletion): Add optional arg
4102 `interactive'. Call `dired-mark' with the arg `interactive'.
4103 (Bug#10624)
4104
4105 * wdired.el: Revert 2012-10-17 change partly and replace it with
4106 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
4107 (wdired-finish-edit): Add marks for new file names to
4108 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
4109 after `revert-buffer'.
4110 (wdired-do-renames): Remove calls to `dired-remove-file',
4111 `dired-add-file', `dired-add-entry'. (Bug#11795)
4112
4113 2012-11-24 Alan Mackenzie <acm@muc.de>
4114
4115 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
4116
4117 Fix bugs in the state cache. Enhance a debugging mechanism.
4118 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
4119 "brace at column zero" strategy for C++.
4120 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
4121 (c-parse-state-point): New variable.
4122 (c-record-parse-state-state): Record old parse state with
4123 `copy-tree'. Record previous value of point.
4124 (c-debug-parse-state-double-cons): New debugging function.
4125 (c-debug-parse-state): Call the above new function.
4126 (c-toggle-parse-state-debug): Output a confirmatory message.
4127
4128 * progmodes/cc-mode.el (c-before-change, c-after-change):
4129 Call c-invalidate-state-cache from `c-before-change' instead of
4130 `c-after-change'.
4131
4132 2012-11-23 Chong Yidong <cyd@gnu.org>
4133
4134 * find-cmd.el (find-constituents): Add executable, ipath,
4135 readable, samefile, writable, daystart, regextype (Bug#12856).
4136
4137 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
4138
4139 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
4140
4141 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
4142
4143 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
4144 definition. This fixes a bootstrap failure.
4145 (calc-gregorian-switch): In menu, put dates before regions.
4146 This is easier to follow, lines up better in the menu, and lets us
4147 coalesce regions that switch at the same time. Give country
4148 names, not "Vatican", as that's better for non-expert users.
4149 Use names that are stable between the date of switch and now, e.g.,
4150 Bohemia and Moravia (which existed then and now) and not
4151 Czechoslovakia (which didn't exist then and doesn't exist now).
4152 What is now the U.S. mostly did not switch at the same time as
4153 Britain, so omit the U.S. Correct spelling of "Britain".
4154 Catholic Switzerland was too much of a mess, so omit it.
4155
4156 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
4157
4158 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
4159 after the variable is changed.
4160
4161 2012-11-21 Daniel Colascione <dancol@dancol.org>
4162
4163 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
4164 in SQL declarations for font-lock.
4165 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
4166
4167 2012-11-21 Glenn Morris <rgm@gnu.org>
4168
4169 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
4170 (face-italic-p): Add optional argument "inherit".
4171
4172 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
4173 Remove -p suffix from names, for consistency with other set-face-*.
4174 (set-face-inverse-video): Fix interactive spec.
4175 * play/gamegrid.el (gamegrid-make-mono-tty-face):
4176 * textmodes/table.el (table--update-cell-face):
4177 Use set-face-inverse-video rather than now obsolete alias.
4178
4179 2012-11-21 Eli Zaretskii <eliz@gnu.org>
4180
4181 * simple.el (line-move): Don't call line-move-partial if
4182 scroll-conservatively is in effect. (Bug#12927)
4183
4184 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4185
4186 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
4187 Fallback on completion-at-point rather than
4188 pcomplete-expand-and-complete, and only if pcomplete actually failed.
4189 (eshell-cmpl-initialize): Setup completion-at-point.
4190
4191 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
4192
4193 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
4194
4195 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
4196
4197 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
4198 are remote, check out-of-band property for both.
4199
4200 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4201
4202 * window.el (switch-to-buffer): Re-add the warning that was lost in the
4203 code rewrite.
4204
4205 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
4206
4207 More minor time fixes.
4208 * calendar/time-date.el: Commentary fix.
4209 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
4210 too much other code depends on (0 0) time stamps.
4211 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
4212 Add a couple of FIXME comments.
4213
4214 Minor cleanup for times as lists of four integers.
4215 * files.el (dir-locals-directory-cache):
4216 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
4217 Doc fixes.
4218 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
4219 * ps-bdf.el (bdf-file-newer-than-time):
4220 Process four-integers time stamps, not two. Doc fixes.
4221
4222 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4223
4224 * uniquify.el (uniquify-managed): Use defvar-local.
4225 (rename-buffer, create-file-buffer): Advise with advice-add.
4226 (uniquify-unload-function): Unadvise accordingly.
4227
4228 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
4229 (trace-buffer): Don't purecopy.
4230 (trace-entry-message, trace-exit-message): Add `context' arg.
4231 (trace--timer): New var.
4232 (trace-make-advice): Adjust for use in nadvice.
4233 Add `context' argument. Delay `display-buffer' via a timer.
4234 (trace-function-internal): Use advice-add.
4235 (trace--read-args): New function.
4236 (trace-function-foreground, trace-function-background): Use it.
4237 (trace-function): Rename to trace-function-foreground and redefine as
4238 an alias to that new name.
4239 (untrace-function, untrace-all): Adjust to the use of nadvice.
4240
4241 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
4242
4243 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
4244
4245 * subr.el (called-interactively-p-functions): New var.
4246 (internal--called-interactively-p--get-frame): New macro.
4247 (called-interactively-p, interactive-p): Rewrite in Lisp.
4248 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
4249 (called-interactively-p-functions): Use it.
4250 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
4251 (called-interactively-p-functions): Use it.
4252 * allout.el (allout-called-interactively-p): Don't assume
4253 called-interactively-p is a subr.
4254
4255 2012-11-20 Glenn Morris <rgm@gnu.org>
4256
4257 * profiler.el (profiler-report-mode-map): Add a menu.
4258 No need to bind `q' because we derive from special-mode.
4259 (profiler-report-find-entry): Handle calls from the menu-bar.
4260
4261 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
4262
4263 * emacs-lisp/byte-run.el (defun-declarations-alist):
4264 Allow a compiler-macro to be a lambda expression.
4265
4266 * progmodes/python.el: Use cl-lib. Move var declarations outside of
4267 eval-when-compile.
4268 (python-syntax-context): Add compiler-macro.
4269 (python-font-lock-keywords): Simplify with De Morgan.
4270
4271 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
4272
4273 * files.el (load-file): Require match in minibuffer selection, as was
4274 the case in Emacs-20 before we changed the spec to allow .elc files
4275 (bug#12935).
4276
4277 * json.el: Don't require cl since we don't use it.
4278 * color.el: Don't require cl.
4279 (color-complement): `caddr' -> `nth 2'.
4280
4281 * calendar/time-date.el (time-to-seconds): De-obsolete.
4282
4283 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
4284
4285 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
4286 year numbers.
4287 (math-date-to-julian-dt): Adjust the initial approximation for the
4288 year to deal with the new definition of the DATE.
4289
4290 2012-11-19 Daniel Colascione <dancol@dancol.org>
4291
4292 * term/w32-win.el (cygwin-convert-path-from-windows):
4293 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
4294
4295 2012-11-18 Chong Yidong <cyd@gnu.org>
4296
4297 * filecache.el (file-cache--read-list): New function.
4298 (file-cache-add-directory-list, file-cache-add-file-list)
4299 (file-cache-delete-file-list, file-cache-delete-directory-list):
4300 Use it to read a list of files or directories (Bug#12846).
4301 (file-cache-add-file, file-cache-add-directory)
4302 (file-cache-delete-file-list, file-cache-delete-file-regexp)
4303 (file-cache-delete-directory): Print an message.
4304
4305 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
4306
4307 * calc/calc-forms.el (math-date-to-dt): Use integer date when
4308 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
4309
4310 2012-11-18 Glenn Morris <rgm@gnu.org>
4311
4312 * image.el (insert-image, insert-sliced-image): Doc fix.
4313
4314 2012-11-18 Chong Yidong <cyd@gnu.org>
4315
4316 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
4317 (Bug#12810).
4318
4319 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
4320
4321 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
4322 response when the target file is in a subdirectory (Bug#12757).
4323
4324 2012-11-18 Chong Yidong <cyd@gnu.org>
4325
4326 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
4327
4328 2012-11-18 Glenn Morris <rgm@gnu.org>
4329
4330 * emacs-lisp/cl-lib.el (face-underline-p):
4331 Use set-face-underline rather than the alias set-face-underline-p.
4332
4333 * window.el (with-temp-buffer-window): Doc fix.
4334 * subr.el (with-output-to-temp-buffer):
4335 Add doc xref to with-temp-buffer-window.
4336
4337 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
4338
4339 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
4340 * calc/calc.el (math-format-date-cache): Declare.
4341
4342 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
4343
4344 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
4345 It also uses January 1, 1 AD as its day number 1.
4346 * calc/calc-forms.el (math-julian-date-beginning)
4347 (math-julian-date-beginning-int): Implement this.
4348
4349 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
4350
4351 * descr-text.el (quail-find-key):
4352 * dired.el (desktop-file-name):
4353 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
4354 * generic-x.el (comint-mode, comint-exec):
4355 * image-dired.el (widget-forward):
4356 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
4357 (speedbar-change-expand-button-char)
4358 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
4359 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
4360 * printing.el (easy-menu-add-item, easy-menu-remove-item)
4361 (widget-field-action, widget-value-set):
4362 * speedbar.el (imenu--make-index-alist):
4363 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
4364 (ring-length, ring-insert):
4365 * vcursor.el (compare-windows-skip-whitespace):
4366 * woman.el (dired-get-filename):
4367 Declare functions.
4368
4369 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
4370
4371 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
4372
4373 * calc/calc.el (calc-gregorian-switch): New variable.
4374
4375 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
4376 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
4377 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
4378 (math-leap-year-p): Add option to distinguish between Julian
4379 and Gregorian calendars.
4380 (math-day-number): Use `math-day-in-year' to do the computations.
4381 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
4382 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
4383 to do the computations.
4384 (math-date-to-dt): Use `math-date-to-julian-dt' and
4385 `math-date-to-gregorian-dt' to do the computations.
4386 (calcFunc-weekday, math-format-date-part): Use the new version of
4387 the DATE to determine the weekday.
4388 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
4389 when necessary.
4390
4391 2012-11-17 Eli Zaretskii <eliz@gnu.org>
4392
4393 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
4394 Cygwin; otherwise use 'file:'. (Bug#12914)
4395 (cygwin-convert-path-from-windows): Declare, to avoid
4396 byte-compiler warnings.
4397
4398 2012-11-17 Andreas Politz <politza@fh-trier.de>
4399
4400 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
4401 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
4402 prefix and negative numeric prefix args (Bug#12795).
4403
4404 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
4405
4406 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
4407 Don't signal an error with a score that is too low to add to the
4408 list of top scores. (Bug#12779)
4409
4410 2012-11-17 Chong Yidong <cyd@gnu.org>
4411
4412 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
4413
4414 * filecache.el (file-cache-add-file): Handle relative file name in
4415 the argument (Bug#12694).
4416
4417 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
4418
4419 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
4420
4421 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4422
4423 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
4424
4425 * emacs-lisp/cl-lib.el: Set more meaningful version number.
4426
4427 2012-11-16 Martin Rudalics <rudalics@gmx.at>
4428
4429 * window.el (enlarge-window, shrink-window): Don't mention return
4430 value in doc-string (Bug#12896).
4431 (window--display-buffer): Don't resize frames - it won't work
4432 with all window managers and defeat pop-up-frame-alist.
4433 (display-buffer-alist): In doc-string explain that CONDITION can
4434 be a function and which arguments are passed to it (Bug#12854).
4435 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
4436 expressions (Bug#12854).
4437 (display-buffer): Pass ACTION argument to
4438 display-buffer-assq-regexp.
4439
4440 2012-11-16 Glenn Morris <rgm@gnu.org>
4441
4442 * window.el (fit-frame-to-buffer-bottom-margin)
4443 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
4444
4445 * faces.el (face-underline-p): Use face-attribute-specified-or.
4446
4447 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
4448
4449 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
4450
4451 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4452
4453 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
4454
4455 2012-11-16 Glenn Morris <rgm@gnu.org>
4456
4457 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
4458 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
4459
4460 * faces.el (face-underline-p): Doc fix. Handle :underline being
4461 things other than `t' (a string, a list).
4462 (face-inverse-video-p): Doc fix.
4463 (set-face-underline): Rename it back from set-face-underline-p.
4464 Doc fix. Allow interactive input of values other than t.
4465 (read-face-attribute): Apply formatting to :underline,
4466 since like :box and :stipple it can take list values.
4467
4468 * term.el (ansi-term): Don't let C-x escape-char binding
4469 clobber the more standard C-c binding. (Bug#12842)
4470
4471 * subr.el (set-temporary-overlay-map): Doc fix.
4472
4473 2012-11-16 Martin Rudalics <rudalics@gmx.at>
4474
4475 * window.el (record-window-buffer)
4476 (display-buffer-record-window): When copying the markers to
4477 window-point preserve window-point-insertion-type. (Bug#12588)
4478
4479 2012-11-16 Glenn Morris <rgm@gnu.org>
4480
4481 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
4482 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
4483 Use new names for hooks rather than obsolete aliases.
4484
4485 2012-11-15 Daniel Colascione <dancol@dancol.org>
4486
4487 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
4488 prefix instead of "file:" so that when FILE-NAME begins with "//",
4489 as it does when the target file is on a network share, url-handler
4490 isn't confused.
4491
4492 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4493
4494 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
4495 a preactivated advice from an old advice.el; they're not compatible!
4496
4497 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
4498
4499 * emacs-lisp/nadvice.el (advice--make-interactive-form):
4500 Fix string-spec case.
4501
4502 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
4503
4504 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4505
4506 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
4507 (advice--buffer-local-function-sample): New var.
4508 (advice--set-buffer-local, advice--buffer-local): New functions.
4509 (add-function, remove-function): Use them.
4510
4511 2012-11-15 Drew Adams <drew.adams@oracle.com>
4512
4513 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
4514
4515 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4516
4517 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
4518 potential binding of print-gensym to t, and prettify (back)quotes in
4519 case they appear in args's default values (bug#12884).
4520
4521 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4522
4523 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
4524 (advice-eval-interactive-spec): New function.
4525 (advice--make-interactive-form): Support around advice (bug#12844).
4526
4527 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
4528
4529 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
4530 more strict. Add docstring.
4531 (ruby-expression-expansion-re): Extract from
4532 `ruby-match-expression-expansion'.
4533 (ruby-syntax-propertize-function): After everything else, search
4534 for expansions in string literals, mark their insides as
4535 whitespace syntax and save match data for font-lock.
4536 (ruby-font-lock-keywords): Use the 2nd group from expression
4537 expansion matches.
4538 (ruby-match-expression-expansion): Use the match data saved to the
4539 text property in ruby-syntax-propertize-function.
4540
4541 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4542
4543 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
4544 (bug#12879).
4545
4546 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4547
4548 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
4549 start/end keyword a bit harder. Works with different values of N.
4550 Add more comments.
4551 (ruby-end-of-block): Update accordingly.
4552
4553 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4554
4555 * woman.el (woman-file-name): Don't mess with unread-command-events
4556 (bug#12861).
4557
4558 * emacs-lisp/advice.el: Layer on top of nadvice.el.
4559 Remove out of date self-require hack.
4560 (ad-do-advised-functions): Use simple `dolist'.
4561 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
4562 (ad-advice-definition): Redefine as functions.
4563 (ad-advice-classes): Move before first use.
4564 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
4565 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
4566 (ad--defalias-fset): Remove functions.
4567 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
4568 (ad-get-orig-definition): Rewrite.
4569 (ad-make-advised-definition-docstring): Change base docstring.
4570 (ad-real-orig-definition): Rewrite.
4571 (ad-map-arglists): Change name of called function.
4572 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
4573 (ad-make-advised-definition): Simplify.
4574 (ad-assemble-advised-definition): Tweak for new calling context.
4575 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
4576 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
4577 function and call ad-activate if needed.
4578 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
4579 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
4580 (ad-compile-function): Compile ad-Advice-*.
4581 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
4582 (ad-start-advice, ad-stop-advice): Remove.
4583
4584 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4585
4586 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
4587 period before class method names, not after. Remove handling of
4588 one impossible case. Add comments.
4589
4590 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4591
4592 * emacs-lisp/advice.el: Remove support for freezing.
4593 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
4594 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
4595 Remove support for `freeze'.
4596
4597 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
4598 override the default.
4599 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
4600 cl--dotimes/dolist.
4601 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
4602 `cl' is loaded.
4603
4604 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
4605 from add-advice.
4606 (advice--strip-macro): New function.
4607 (advice--defalias-fset): Use them to handle macros.
4608 (advice-add): Use them.
4609 (advice-member-p): Correctly handle macros.
4610
4611 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4612
4613 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4614 Never font-lock the beginning of singleton class as heredoc.
4615
4616 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4617
4618 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
4619
4620 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
4621
4622 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
4623 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
4624 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
4625
4626 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
4627
4628 Fix end-of-defun misbehavior.
4629 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
4630 python-beginning-of-defun-function. Handle nested defuns
4631 correctly.
4632 (python-nav-end-of-defun): Rename from
4633 python-end-of-defun-function. Ensure forward movement.
4634 (python-info-current-defun): Reimplement to work as intended
4635 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
4636 parent defuns as soon as possible.
4637
4638 2012-11-13 Glenn Morris <rgm@gnu.org>
4639
4640 * progmodes/flymake.el (flymake-error-bitmap)
4641 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
4642 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
4643
4644 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4645
4646 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
4647 backward, always stop at indentation. Reverts the change from
4648 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
4649
4650 2012-11-13 Glenn Morris <rgm@gnu.org>
4651
4652 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
4653 Add ibuffer-filter-by-derived-mode.
4654
4655 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
4656 the same name shadowing each other.
4657
4658 * window.el (with-temp-buffer-window): Doc tweak.
4659
4660 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
4661
4662 * help.el (temp-buffer-max-height):
4663 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
4664 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
4665
4666 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
4667
4668 * emacs-lisp/nadvice.el: New package.
4669 * subr.el (special-form-p): New function.
4670 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
4671 (elp-all-instrumented-list): Remove var.
4672 (elp-not-profilable): Remove elp-wrapper.
4673 (elp-profilable-p): Use autoloadp and special-form-p.
4674 (elp--advice-name): New const.
4675 (elp-instrument-function): Use advice-add.
4676 (elp--instrumented-p): New predicate.
4677 (elp-restore-function): Use advice-remove.
4678 (elp-restore-all, elp-reset-all): Use mapatoms.
4679 (elp-set-master): Use elp--instrumented-p.
4680 (elp--make-wrapper): Rename from elp-wrapper, return a function
4681 suitable for advice-add. Use cl-inf.
4682 (elp-results): Use mapatoms+elp--instrumented-p.
4683 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
4684 (debug-function-list): Remove var.
4685 (debug): Rename arg, and then let-bind it explicitly inside.
4686 (debugger-setup-buffer): Rename arg.
4687 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
4688 (debugger-frame-number): Adjust to new debug-on-entry setup.
4689 (debug--implement-debug-on-entry): Rename from
4690 implement-debug-on-entry, add argument.
4691 (debugger-special-form-p): Remove, use special-form-p instead.
4692 (debug-on-entry): Use advice-add.
4693 (debug--function-list): New function.
4694 (cancel-debug-on-entry): Use it, along with advice-remove.
4695 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
4696 (debugger-list-functions): Use debug--function-list instead of
4697 debug-function-list.
4698 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
4699 (ad-special-form-p): Remove, use special-form-p instead.
4700 (ad-set-advice-info): Use add-function and remove-function.
4701 (ad--defalias-fset): Adjust accordingly.
4702
4703 2012-11-10 Glenn Morris <rgm@gnu.org>
4704
4705 * mail/emacsbug.el (report-emacs-bug-tracker-url)
4706 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
4707 (report-emacs-bug-create-existing-bugs-buffer)
4708 (report-emacs-bug-parse-query-results)
4709 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
4710
4711 * term.el (term-default-fg-color, term-default-bg-color):
4712 Make obsolete, rather than just saying "deprecated" in the doc.
4713
4714 * term.el (term): Rename from `term-face'.
4715 (term-current-face, ansi-term-color-vector)
4716 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
4717 Update all users.
4718
4719 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
4720
4721 * server.el (server-create-window-system-frame): Handle Nextstep
4722 specially (Bug#12780).
4723
4724 2012-11-10 Glenn Morris <rgm@gnu.org>
4725
4726 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
4727 Unautoload, and make obsolete. (Bug#7449)
4728
4729 2012-11-10 Chong Yidong <cyd@gnu.org>
4730
4731 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
4732 rename from diff-remove-trailing-whitespace (Bug#12831).
4733
4734 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4735
4736 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
4737 miscompilation of trace.el.
4738
4739 2012-11-10 Glenn Morris <rgm@gnu.org>
4740
4741 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
4742
4743 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4744
4745 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
4746 (bug#12812).
4747
4748 2012-11-10 Chong Yidong <cyd@gnu.org>
4749
4750 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
4751 a defcustom with an appropriate :set function.
4752 (minibuffer-default--in-prompt-regexps): New function.
4753
4754 2012-11-10 Glenn Morris <rgm@gnu.org>
4755
4756 * emacs-lisp/cl.el (define-setf-expander, defsetf)
4757 (define-modify-macro): Doc fixes.
4758
4759 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
4760 (gv-define-simple-setter): Update doc of `fix-return'.
4761
4762 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4763
4764 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
4765 twice when `fix-return' is set (bug#12813).
4766
4767 * emacs-lisp/cl.el (defsetf): Pass the third arg to
4768 gv-define-simple-setter (bug#12812).
4769
4770 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
4771 (bug#12756).
4772
4773 2012-11-10 Glenn Morris <rgm@gnu.org>
4774
4775 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
4776
4777 * emacs-lisp/cl-extra.el (cl-prettyexpand):
4778 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
4779 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
4780 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
4781
4782 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
4783
4784 2012-11-10 Leo Liu <sdl.web@gmail.com>
4785
4786 * ido.el (ido-set-matches-1): Improve flex matching performance by
4787 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
4788
4789 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4790
4791 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
4792 (ad--defalias-fset): New function.
4793 (ad-safe-fset): Remove.
4794 (ad-make-freeze-definition): Use cl-letf*.
4795
4796 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4797
4798 * subr.el (dolist): Don't bind VAR in RESULT.
4799
4800 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
4801 (fset, documentation): Don't save real def since we don't advise.
4802 (ad-do-advised-functions): Remove problematic `result-form'.
4803 (ad-safe-fset): `ad-real-fset' => `fset'.
4804 (ad-read-advised-function): Don't assume that ad-do-advised-functions
4805 uses CL's dolist internally.
4806 (ad-arglist): Remove unused arg `name'.
4807 (ad-docstring, ad-make-advised-docstring):
4808 `ad-real-documentation' => `documentation'.
4809 (warning-suppress-types): Declare.
4810 (ad-set-arguments): Simple CSE.
4811 (ad-recover-normality): Sanity check.
4812
4813 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
4814 (funcall '(lambda ..) ..) into ((lambda ..) ..).
4815
4816 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
4817
4818 * ses.el: symbol to coordinate mapping is made by symbol property
4819 `ses-cell'. This means that the same mapping is done for all SES
4820 sheets. That is good enough for cells with standard A1 names, but
4821 not for named cell. So a hash map is added for the latter.
4822 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
4823 (ses-sym-rowcol): Use hashmap for named cell.
4824 (ses-is-cell-sym-p): New defun.
4825 (ses-decode-cell-symbol): New defun.
4826 (ses-create-cell-variable): Add cell to hashmap when name is not
4827 A1-like.
4828 (ses-rename-cell): Check that cell new name is not already in
4829 spreadsheet with the use of ses-is-cell-sym-p
4830 (ses-rename-cell): Use hash map for named cells, but accept also
4831 renaming back to A1-like.
4832
4833 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4834
4835 * emacs-lisp/advice.el: Use new dynamic docstrings.
4836 (ad-make-advised-definition-docstring, ad-advised-definition-p):
4837 Use dynamic-docstring-function instead of ad-advice-info.
4838 (ad--make-advised-docstring): New function extracted from
4839 ad-make-advised-docstring.
4840 (ad-make-advised-docstring): Use it.
4841 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
4842 from sql-help.
4843 (sql-help): Use it with dynamic-docstring-function.
4844
4845 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
4846
4847 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4848
4849 * files.el (hack-one-local-variable--obsolete): New function.
4850 (hack-one-local-variable): Use it for obsolete settings.
4851
4852 * subr.el (locate-user-emacs-file): If both old and new name exist, use
4853 the new name.
4854
4855 * progmodes/js.el (js--filling-paragraph): New var.
4856 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
4857 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
4858 less sneaky.
4859
4860 2012-11-08 Julien Danjou <julien@danjou.info>
4861
4862 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
4863 `auto-mode-alist' (Bug#12835).
4864
4865 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4866
4867 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
4868 (perl--prettify-symbols-alist): New const.
4869 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
4870 New functions.
4871 (perl-font-lock-keywords-2): Use them.
4872 (perl-electric-noindent-p): New function.
4873 (perl-mode): Use it to set up electric-indent-mode.
4874 (perl-electric-terminator, perl-indent-command): Mark obsolete.
4875 (perl-mode-map): Remove bindings for them.
4876 (perl-imenu-generic-expression, perl-outline-level):
4877 Match functions&packages in column>0.
4878
4879 * env.el (env--substitute-vars-regexp): New const.
4880 (substitute-env-vars): Use it. Add `only-defined' arg.
4881 * net/tramp.el (tramp-replace-environment-variables): Use it.
4882
4883 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
4884 Byte-compile *before* eval in eval-and-compile.
4885 (byte-compile-log-warning): Remove redundant inhibit-read-only.
4886 (byte-compile-file-form-autoload): Don't hide actual definition.
4887 (byte-compile-maybe-guarded): Accept `functionp' as well.
4888
4889 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
4890
4891 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
4892
4893 * notifications.el (notifications-get-server-information-method):
4894 New defconst.
4895 (notifications-get-capabilities): Fix docstring.
4896 (notifications-get-server-information): New defun.
4897
4898 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4899
4900 * textmodes/ispell.el (ispell-region): Standard re-indent for better
4901 readability.
4902
4903 * textmodes/ispell.el: Experimental support for support debugging.
4904 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
4905 buffer for ispell.
4906 (ispell-print-if-debug): New function to print stuff to
4907 `ispell-debug-buffer' if debugging is enabled.
4908 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
4909 show some debugging info.
4910 (ispell-buffer-with-debug): New function that creates a debugging
4911 buffer and calls `ispell-buffer' with debugging enabled.
4912
4913 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
4914 comment in autoconf mode. (Bug#12768)
4915
4916 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
4917
4918 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
4919 frame-first-window, frame-root-window, frame-selected-window,
4920 minibuffer-selected-window, minibuffer-window,
4921 window-absolute-pixel-edges, window-at, window-body-height,
4922 window-body-width, window-display-table, window-combination-limit,
4923 window-frame, window-fringes, window-inside-absolute-pixel-edges,
4924 window-inside-edges, window-inside-pixel-edges, window-left-child,
4925 window-left-column, window-margins, window-next-buffers,
4926 window-next-sibling, window-new-normal, window-new-total,
4927 window-normal-size, window-parameter, window-parameters, window-parent,
4928 window-pixel-edges, window-point, window-prev-buffers,
4929 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
4930 window-start, window-text-height, window-top-child, window-top-line,
4931 window-total-height, window-total-width and window-use-time to the list
4932 of functions without side-effects.
4933 (toplevel): Add window-valid-p to the list of error-free functions
4934 without side-effects.
4935
4936 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4937
4938 * textmodes/ispell.el (ispell-program-name):
4939 Update spellchecker parameters when customized.
4940
4941 2012-11-04 Glenn Morris <rgm@gnu.org>
4942
4943 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
4944
4945 2012-11-04 Chong Yidong <cyd@gnu.org>
4946
4947 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
4948 same-window-* variables.
4949
4950 2012-11-04 Juri Linkov <juri@jurta.org>
4951
4952 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
4953 (isearch-describe-key, isearch-describe-mode): Use a display
4954 action instead of binding same-window-* variables (Bug#10040).
4955
4956 2012-11-03 Glenn Morris <rgm@gnu.org>
4957
4958 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
4959 Rename handler properties back from cl-- to cl-. (Bug#12788)
4960
4961 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
4962
4963 2012-11-03 Eli Zaretskii <eliz@gnu.org>
4964
4965 * term/pc-win.el: Don't load term/internal from here.
4966
4967 * loadup.el: Load term/internal from here.
4968
4969 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
4970
4971 * progmodes/python.el (inferior-python-mode): Fix hang in
4972 jit-lock (Bug#12645).
4973
4974 2012-11-03 Martin Rudalics <rudalics@gmx.at>
4975
4976 * window.el (switch-to-visible-buffer)
4977 (switch-to-buffer-preserve-window-point): Fix doc-strings.
4978
4979 2012-11-03 Glenn Morris <rgm@gnu.org>
4980
4981 * emacs-lisp/cl-lib.el (cl--random-time):
4982 Rename from cl-random-time. (Bug#12773)
4983 (cl--gensym-counter, cl--random-state): Update callers.
4984 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
4985
4986 2012-11-03 Chong Yidong <cyd@gnu.org>
4987
4988 * cus-start.el: Make cursor-type customizable (Bug#11633).
4989
4990 2012-11-02 Glenn Morris <rgm@gnu.org>
4991
4992 * filecache.el: No need to load find-lisp when compiling.
4993 (find-lisp-find-files): Autoload it.
4994 (file-cache-add-directory-recursively): Don't require find-lisp.
4995
4996 * image.el (image-type-from-file-name): Trivial simplification.
4997
4998 * emacs-lisp/bytecomp.el (byte-compile-eval):
4999 Decouple "noruntime" and "cl-functions" warnings.
5000
5001 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
5002
5003 * play/gomoku.el (gomoku-display-statistics): Update mode line
5004 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
5005
5006 2012-10-31 Martin Rudalics <rudalics@gmx.at>
5007
5008 * window.el (quit-restore-window): If the window has been
5009 created on an existing frame and ended up as the sole window on
5010 that frame, do not delete it (Bug#12764).
5011
5012 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
5013
5014 * progmodes/sh-script.el (sh--inside-noncommand-expression):
5015 Rename from sh--inside-arithmetic-expression, handle more cases
5016 (bug#11263).
5017
5018 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
5019 (sh-font-lock-open-heredoc): Use it (bug#12770).
5020
5021 2012-10-30 Glenn Morris <rgm@gnu.org>
5022
5023 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
5024
5025 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
5026
5027 2012-10-29 Chong Yidong <cyd@gnu.org>
5028
5029 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
5030 function key is stored in a keyboard macro (Bug#4894).
5031
5032 * thingatpt.el (number-at-point): Apply a thing-at-point property.
5033
5034 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5035
5036 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
5037 header comments".
5038 (diff-unified->context, diff-context->unified)
5039 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
5040
5041 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
5042
5043 * files.el (find-alternate-file): Only ask one question (bug#12487).
5044
5045 2012-10-29 Chong Yidong <cyd@gnu.org>
5046
5047 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
5048 Suggested by Dan Nicolaescu (Bug#6326).
5049
5050 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
5051
5052 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5053
5054 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
5055
5056 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
5057
5058 * face-remap.el (face-remap-add-relative): Handle the case where a
5059 face-remapping-alist entry is a cons cell (Bug#12762).
5060
5061 2012-10-29 Kevin Ryde <user42@zip.com.au>
5062
5063 * woman.el (woman-parse-numeric-value): Handle picas correctly
5064 (Bug#12639).
5065
5066 2012-10-29 Glenn Morris <rgm@gnu.org>
5067
5068 * emacs-lisp/cl.el (defsetf): Doc fix.
5069
5070 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5071
5072 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
5073 syntax to the matching opener, if any (bug#12547).
5074 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
5075 matching open as a "case-(".
5076 (sh-smie-rc-grammar): Add a corresponding rule for it.
5077
5078 2012-10-28 Daniel Hackney <dan@haxney.org>
5079
5080 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
5081 "PKGNAME-autoloads.el" in case we created it.
5082
5083 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5084
5085 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
5086 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
5087 (completion--twq-all): Disable too-strict assertions.
5088
5089 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
5090
5091 2012-10-27 Eli Zaretskii <eliz@gnu.org>
5092
5093 * profiler.el (profiler-report-make-entry-part): Fix help-echo
5094 text to match the real keybindings.
5095
5096 2012-10-27 Juri Linkov <juri@jurta.org>
5097
5098 * wdired.el (wdired-keep-marker-rename): New defcustom.
5099 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
5100 (Bug#11795)
5101
5102 * dired.el (dired-keep-marker-rename): Add reference to
5103 `wdired-keep-marker-rename' in the docstring.
5104 Add default character value ?R to display initially in
5105 Customization UI instead of ?@.
5106
5107 2012-10-27 Martin Rudalics <rudalics@gmx.at>
5108
5109 * window.el (display-buffer): In doc-string describe
5110 window-height and window-width alist entries.
5111
5112 * time.el (display-time-world): Restore fit-window-to-buffer
5113 behavior.
5114
5115 2012-10-27 Chong Yidong <cyd@gnu.org>
5116
5117 * subr.el (insert-buffer-substring-as-yank): Doc fix.
5118
5119 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
5120
5121 * minibuffer.el (completion-category-overrides): New completion
5122 category `bookmark' (bug#11131).
5123
5124 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5125
5126 * emacs-lisp/advice.el (ad-assemble-advised-definition):
5127 Silence bogus compiler warnings for ad-do-it.
5128
5129 * bookmark.el (bookmark-completing-read): Set the completion category
5130 to `bookmark' (bug#11131).
5131
5132 2012-10-26 Bastien <bzg@altern.org>
5133 Stefan Monnier <monnier@iro.umontreal.ca>
5134
5135 * face-remap.el: Use lexical-binding.
5136 (text-scale-adjust): Improve docstring. Use itself for the temporary
5137 overlay-map bindings, so as to repeat the "Use..." message each time.
5138
5139 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5140
5141 * emacs-lisp/macroexp.el (macroexp--expand-all):
5142 Obey byte-compile-warning-enabled-p (bug#12486).
5143
5144 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
5145 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
5146
5147 2012-10-26 Martin Rudalics <rudalics@gmx.at>
5148
5149 * mouse.el (mouse-drag-line): Move last form into preceding when
5150 clause (Bug#12731).
5151
5152 * help.el (resize-temp-buffer-window): Fix doc-string.
5153
5154 2012-10-25 David Engster <deng@randomsample.de>
5155
5156 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
5157 Remove. This feature is already integrated in imenu.
5158
5159 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
5160 always loaded. Require `speedbar' unconditionally.
5161
5162 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5163
5164 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
5165
5166 * minibuffer.el (minibuffer-force-complete): Fix thinko.
5167
5168 * net/ldap.el (ldap-search-internal): The official ldif format starts
5169 with a "version: 1" header (bug#12724).
5170
5171 * emacs-lisp/package.el (package-installed-p): Warn if not ready
5172 (bug#12721).
5173
5174 2012-10-25 Glenn Morris <rgm@gnu.org>
5175
5176 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
5177
5178 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5179
5180 * minibuffer.el (minibuffer-force-complete): Use one more marker
5181 for the temporary-overlay-map command (bug#12619).
5182
5183 2012-10-24 Chong Yidong <cyd@gnu.org>
5184
5185 * time.el (display-time-world-mode): Derive from special-mode.
5186 (display-time-world): Use display-buffer (Bug#12708).
5187 (display-time-world-mode-map): Variable deleted.
5188 (display-time-world-display): Wrap the final delete-char inside
5189 inhibit-read-only.
5190
5191 2012-10-24 Chong Yidong <cyd@gnu.org>
5192
5193 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
5194 Doc fix.
5195
5196 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
5197
5198 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5199
5200 * minibuffer.el (completion--all-sorted-completions-location): New var.
5201 (completion--cache-all-sorted-completions)
5202 (completion--flush-all-sorted-completions): Use it.
5203 (completion-in-region, completion-in-region--postch)
5204 (completion-at-point, completion-help-at-point): Use markers in
5205 completion-in-region--data (bug#12619).
5206
5207 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5208
5209 * progmodes/compile.el (compilation-start): Try to handle common
5210 quoting of `cd' argument (bug#12640).
5211
5212 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
5213 (bug#12671).
5214
5215 2012-10-23 Glenn Morris <rgm@gnu.org>
5216
5217 * progmodes/gud.el (gud-menu-map):
5218 Check gdb-active-process is bound. (Bug#12358)
5219
5220 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5221
5222 * repeat.el (repeat): Set real-this-command (bug#12232).
5223
5224 * htmlfontify.el (hfy-post-html-hook):
5225 * filesets.el (filesets-cache-fill-content-hook):
5226 * arc-mode.el (archive-extract-hook):
5227 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
5228 * net/rcirc.el (rcirc-sentinel-functions)
5229 (rcirc-receive-message-functions, rcirc-activity-functions)
5230 (rcirc-print-functions):
5231 * net/dbus.el (dbus-event-error-functions):
5232 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
5233 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
5234 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
5235 * term/sun.el (sun-raw-prefix-hooks):
5236 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
5237
5238 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
5239
5240 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5241 Set `tramp-chunksize' to 1. This improves the performance.
5242 (tramp-smb-wait-for-output): Add timeout to
5243 `tramp-accept-process-output' calls.
5244
5245 2012-10-23 Chong Yidong <cyd@gnu.org>
5246
5247 * faces.el (font-list-limit): Define as an obsolete variable.
5248
5249 * startup.el (command-line):
5250 * cus-start.el: Don't refer to font-list-limit.
5251
5252 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
5253
5254 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5255
5256 * subr.el (internal-temp-output-buffer-show): Rename from
5257 temp-output-buffer-show, since previously compiled files expect this name.
5258
5259 2012-10-23 Glenn Morris <rgm@gnu.org>
5260
5261 * image.el (image-type-from-file-name): If multiple types match,
5262 return the first one that is supported. (Bug#9045)
5263
5264 2012-10-22 Glenn Morris <rgm@gnu.org>
5265
5266 * image.el (imagemagick-enabled-types): Doc fix.
5267
5268 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
5269
5270 * progmodes/which-func.el (which-func-current): The hash-table may have
5271 an explicit nil (bug#12338).
5272
5273 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5274
5275 * electric.el (electric-pair-delete-selection-self-insert-function):
5276 Rename to electric-pair-will-use-region, return a boolean.
5277 (electric-pair-mode): Adjust accordingly. Don't require delsel.
5278
5279 * delsel.el (delete-selection-helper): Use a function instead of a hook.
5280 (delete-selection-pre-hook): Use use-region-p.
5281 (delete-selection-self-insert-function): Remove.
5282 (self-insert-command): Obey self-insert-uses-region-functions.
5283 (self-insert-iso): Revert to previous setting, since we don't actually
5284 know what that command does.
5285 (delete-selection-self-insert-hooks): Remove.
5286
5287 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
5288
5289 * delsel.el (delete-selection-helper): New function, extracted from
5290 delete-selection-pre-hook.
5291 (delete-selection-pre-hook): Use it.
5292 (delete-selection-self-insert-function): New function.
5293 (delete-selection-self-insert-hooks): New hook.
5294 (self-insert-command, self-insert-iso): Use it.
5295 * electric.el (electric-pair-syntax): New function, extracted from
5296 electric-pair-post-self-insert-function.
5297 (electric-pair-post-self-insert-function): Use it.
5298 (electric-pair-delete-selection-self-insert-function): New function.
5299 (electric-pair-mode): Require delsel and setup
5300 delete-selection-self-insert-hooks (bug#11520).
5301
5302 2012-10-20 Chong Yidong <cyd@gnu.org>
5303
5304 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
5305 no changes to show (Bug#12586).
5306
5307 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
5308 list explicitly (Bug#12571).
5309
5310 2012-10-20 Arne Jørgensen <arne@arnested.dk>
5311
5312 * progmodes/flymake.el (flymake-create-temp-inplace):
5313 Use file-truename.
5314
5315 2012-10-20 Eli Zaretskii <eliz@gnu.org>
5316
5317 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
5318
5319 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
5320
5321 * calc/calc-units.el (math-extract-units): Properly extract powers
5322 of units.
5323
5324 2012-10-20 Daniel Colascione <dancol@dancol.org>
5325
5326 * frame.el (make-frame): Set x-display-name as we used to in order
5327 to unbreak creating an X11 frame from an Emacs daemon started
5328 without a display.
5329
5330 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5331
5332 * minibuffer.el (minibuffer-force-complete): Make the next completion use
5333 the same completion-field (bug#12221).
5334
5335 2012-10-19 Martin Rudalics <rudalics@gmx.at>
5336
5337 * emacs-lisp/debug.el (debug): Record height of debugger window
5338 also when debugger will be back (Bug#8789).
5339
5340 2012-10-18 Chong Yidong <cyd@gnu.org>
5341
5342 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
5343 Convert to defcustom.
5344 (gdb-get-source-file): Don't bind pop-up-windows.
5345
5346 * progmodes/gud.el (gud-display-line): Don't specially re-use
5347 other frames for the gdb-mi case (Bug#12648).
5348
5349 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5350
5351 * emacs-lisp/advice.el: Clean up commentary a bit.
5352 (ad-do-advised-functions, ad-with-originals): Use `declare'.
5353 (byte-code-function-p): Never redefine.
5354
5355 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
5356
5357 2012-10-18 Glenn Morris <rgm@gnu.org>
5358
5359 * dired.el (dired-sort-toggle): Some ls implementations only allow
5360 a single option string. (Bug#12666)
5361
5362 * minibuffer.el (completion-cycle-threshold): Doc fix.
5363
5364 2012-10-17 Kenichi Handa <handa@gnu.org>
5365
5366 * international/mule.el (set-keyboard-coding-system):
5367 Recover input meta mode when the new coding system doesn not use 8-bit.
5368 Supply TERMINAL arg to set-input-meta-mode.
5369
5370 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
5371
5372 * wdired.el (wdired-old-marks): New variable.
5373 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
5374 (wdired-do-renames): Move point with renamed file and don't lose
5375 mark status (Bug#11795).
5376
5377 2012-10-16 Juri Linkov <juri@jurta.org>
5378
5379 * replace.el (query-replace-help): Mention multi-buffer replacement
5380 keys in the Help message. (Bug#12655)
5381
5382 2012-10-15 Chong Yidong <cyd@gnu.org>
5383
5384 * emacs-lisp/byte-run.el (defsubst): Doc fix.
5385
5386 2012-10-14 Eli Zaretskii <eliz@gnu.org>
5387
5388 * window.el (display-buffer): Doc fix.
5389
5390 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5391 Adjust the msft regexp to the output of Studio 2010, and move msft
5392 before edg-1. See the discussion on emacs-devel,
5393 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
5394 for the details.
5395
5396 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
5397
5398 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
5399 (oset): Move uses of object-class-fast macro after its definition.
5400
5401 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
5402
5403 2012-10-13 Chong Yidong <cyd@gnu.org>
5404
5405 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
5406 enabled, re-enable it (Bug#11963).
5407
5408 2012-10-13 Martin Rudalics <rudalics@gmx.at>
5409
5410 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
5411 non-nil, restore window configuration (Bug#12623).
5412
5413 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5414
5415 * help-fns.el (describe-variable, describe-function-1):
5416 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
5417
5418 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
5419
5420 2012-10-12 Glenn Morris <rgm@gnu.org>
5421
5422 * mail/rmailsum.el (rmail-header-summary):
5423 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
5424
5425 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
5426
5427 * progmodes/python.el (python-mode-map):
5428 Replace subtitute-key-definition with proper command remapping.
5429 (python-nav--up-list): Fix behavior for blocks on the same level.
5430
5431 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5432
5433 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
5434
5435 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
5436 changes to the format of load-history.
5437
5438 * international/mule-cmds.el (read-char-by-name): Move let-binding of
5439 completion-ignore-case in case that var is buffer-local (bug#12615).
5440
5441 2012-10-11 Kenichi Handa <handa@gnu.org>
5442
5443 * international/eucjp-ms.el: Re-generated.
5444
5445 2012-10-10 Kenichi Handa <handa@gnu.org>
5446
5447 * select.el (xselect--encode-string): If a coding is specified for
5448 selection, and that is compatible with COMPOUND_TEXT, use it.
5449
5450 2012-10-10 Martin Rudalics <rudalics@gmx.at>
5451
5452 * window.el (switch-to-buffer-preserve-window-point): New option.
5453 (switch-to-buffer):
5454 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
5455
5456 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5457
5458 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
5459 Don't document nil as a useful value (bug#12583).
5460
5461 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
5462
5463 * net/tramp.el (tramp-debug-message):
5464 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
5465 (with-tramp-progress-reporter): Rename from
5466 `tramp-with-progress-reporter'.
5467 (with-tramp-file-property, with-tramp-connection-property):
5468 Move from tramp-cache.el, rename from `with-file-property' and
5469 `with-connection-property', respectively.
5470
5471 * net/tramp-cache.el: Remove `with-file-property' and
5472 `with-connection-property'.
5473
5474 * net/tramp.el:
5475 * net/tramp-gvfs.el:
5476 * net/tramp-sh.el:
5477 * net/tramp-smb.el: Adapt callees.
5478
5479 * net/trampver.el: Update release number.
5480
5481 2012-10-09 Glenn Morris <rgm@gnu.org>
5482
5483 * w32-fns.el (set-message-beep):
5484 * term/w32-win.el (set-message-beep): Update declarations.
5485
5486 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5487
5488 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
5489 (mode-line-widen, mode-line-input-method-map)
5490 (mode-line-coding-system-map, mode-line-remote)
5491 (mode-line-unbury-buffer, mode-line-bury-buffer)
5492 (mode-line-next-buffer, mode-line-previous-buffer):
5493 Replace save-selected-window+select-window => with-selected-window.
5494
5495 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
5496 * progmodes/cc-vars.el (bq-process): Remove, unused.
5497
5498 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
5499
5500 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
5501
5502 Implemented `backward-up-list'-like navigation.
5503 * progmodes/python.el (python-nav-up-list)
5504 (python-nav-backward-up-list): New functions.
5505 (python-mode-map): Define substitute key for backward-up-list to
5506 python-nav-backward-up-list.
5507
5508 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5509
5510 * progmodes/python.el (python-fill-paragraph): Rename from
5511 python-fill-paragraph-function. Fixed fill-paragraph for
5512 decorators (Bug#12605).
5513
5514 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5515
5516 * progmodes/python.el (python-shell-output-filter): Handle extra
5517 carriage return in OSX (Bug#12409).
5518
5519 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5520
5521 Fix shell handling of unbalanced quotes and parens in output.
5522 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
5523 (python-syntax-propertize-function): Use it.
5524 (python-shell-output-syntax-table): New var.
5525 (inferior-python-mode): Prevent unbalanced parens/quotes from
5526 previous output mess with current input context.
5527
5528 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
5529
5530 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
5531 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
5532
5533 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
5534
5535 * ffap.el (ffap-replace-file-component): Support Tramp file name
5536 syntax, not only ange-ftp's one.
5537
5538 2012-10-08 Glenn Morris <rgm@gnu.org>
5539
5540 * cus-start.el (message-log-max): Set :version.
5541
5542 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
5543
5544 2012-10-08 Martin Rudalics <rudalics@gmx.at>
5545
5546 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
5547 the minibuffer window (Bug#10851).
5548
5549 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5550
5551 Enhancements on forward-sexp movement.
5552 * progmodes/python.el (python-nav-beginning-of-statement)
5553 (python-nav-end-of-statement): Return point-marker.
5554 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
5555 (python-info-current-symbol)
5556 (python-info-statement-starts-block-p): Rename from
5557 python-info-beginning-of-block-p.
5558 (python-info-statement-ends-block-p): Rename from
5559 python-info-end-of-block-p.
5560 (python-info-beginning-of-statement-p)
5561 (python-info-end-of-statement-p)
5562 (python-info-beginning-of-block-p, python-info-end-of-block-p):
5563 New functions.
5564
5565 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5566
5567 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
5568 frame-selected-windows.
5569
5570 2012-10-08 Daniel Colascione <dancol@dancol.org>
5571
5572 * battery.el (battery-status-function): Check for
5573 w32-battery-status itself, not system-time windows-nt.
5574
5575 * frame.el: Require cl-lib.
5576 (display-format-alist): New variable mapping frame types to
5577 functions that initialize them.
5578 (window-system-for-display): New function: interprets
5579 display-format-alist.
5580 (make-frame-on-display): Remove existing display-selection logic
5581 and just forward to make-frame, which will now DTRT.
5582 (make-frame): Restructure to use window-system-for-display to
5583 figure out how to create a frame on a given display.
5584 (display-mouse-p): Look for frame-type w32, not a particular
5585 system-type.
5586
5587 * loadup.el: Load w32 lisp code when we have the w32 feature.
5588
5589 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
5590 system-type windows-nt.
5591
5592 * server.el (server-create-window-system-frame): Look for window
5593 type.
5594 (server-proces-filter): Only force a window system when windows-nt
5595 _and_ w32. Explain why.
5596
5597 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
5598 of window systems we configure for the mode.
5599
5600 * startup.el (command-line): Mark window system is initialized
5601 after we've done it.
5602
5603 * common-win.el (x-select-text): Look for w32, not windows-nt.
5604
5605 * ns-win.el: Require cl-lib. Add ourselves to
5606 display-format-alist.
5607 (ns-initialize-window-system): Assert we're not initialized twice.
5608
5609 * w32-win.el: Enable lexical binding; require cl-lib; add
5610 ourselves to display-format-alist.
5611 (w32-handle-dropped-file): Convert incoming dropped files from
5612 Windows paths to Cygwin ones before passing them on to the rest of
5613 Emacs.
5614 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
5615 (w32-initialize-window-system): Assert we're not initialized twice.
5616
5617 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
5618 (x-initialize-window-system): Assert we're not initialized twice.
5619
5620 * w32-common-fns.el: New File.
5621 (w32-version, w32-using-nt, w32-get-clipboard-data)
5622 (w32-set-clipboard-data, x-set-selection, x-get-selection)
5623 (w32-charset-info-alist, x-last-selected, text)
5624 (x-get-selection-value, x-selection-value): Move here.
5625
5626 * w32-fns.el: Require w32-common-fns.
5627 (w32-version, w32-using-nt, w32-get-clipboard-data)
5628 (w32-set-clipboard-data, x-set-selection, x-get-selection)
5629 (w32-charset-info-alist, x-last-selected, text)
5630 (x-get-selection-value, x-selection-value): Move to
5631 w32-common-fns.
5632
5633 * w32-vars.el:
5634 (w32-allow-system-shell, w32-system-shells): Define only in
5635 non-cygwin case.
5636
5637 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5638
5639 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
5640 (read-passwd): Remove a few more potential sources of leaks.
5641
5642 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5643
5644 * progmodes/python.el (inferior-python-mode)
5645 (python-shell-make-comint): Fix initialization of local
5646 variables copied from parent buffer.
5647
5648 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
5649
5650 * term/ns-win.el (ns-read-file-name): Update declaration to match
5651 nsfns.m.
5652 (ns-respond-to-change-font): Change fontsize separately so we are sure
5653 it is set when font is acted upon.
5654
5655 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5656
5657 Enhancements to indentation.
5658 * progmodes/python.el (python-indent-context): Give priority to
5659 inside-string context. Make comments indentation markers.
5660 (python-indent-region): Do not mess with strings, unless it's the
5661 enclosing set of quotes.
5662
5663 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5664
5665 * window.el (internal--before-save-selected-window)
5666 (internal--after-save-selected-window): New functions extracted from
5667 save-selected-window. Make sure we return the `alist' we construct.
5668 (save-selected-window): Use them.
5669
5670 * textmodes/tex-mode.el (tex-recenter-output-buffer):
5671 Use with-selected-window.
5672
5673 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
5674 forms that define macros (bug#12593).
5675
5676 2012-10-07 Kenichi Handa <handa@gnu.org>
5677
5678 * international/mule-conf.el (compound-text-with-extensions):
5679 Add :mime-charset property as x-ctext.
5680
5681 2012-10-07 Stefan Merten <smerten@oekonux.de>
5682
5683 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
5684 (rst-indent-literal-normal, rst-indent-literal-minimized)
5685 (rst-indent-comment): Correct :version tag.
5686 (rst-official-cvs-rev): Correct version string.
5687
5688 2012-10-07 Glenn Morris <rgm@gnu.org>
5689
5690 * mail/rmailmm.el (rmail-mime-process-multipart):
5691 Do not confuse a multipart message with an epilogue
5692 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
5693
5694 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5695
5696 Fix shell output retrieval and comint-prompt-regexp init.
5697 * progmodes/python.el (inferior-python-mode):
5698 (python-shell-make-comint): Fix initialization of
5699 comint-prompt-regexp from copied file local variables.
5700 (python-shell-fetched-lines): Remove var.
5701 (python-shell-output-filter-in-progress): Rename from
5702 python-shell-fetch-lines-in-progress.
5703 (python-shell-output-filter-buffer): Rename from
5704 python-shell-fetch-lines-string.
5705 (python-shell-fetch-lines-filter): Delete function.
5706 (python-shell-output-filter): New function.
5707 (python-shell-send-string-no-output): Use them.
5708
5709 2012-10-07 Glenn Morris <rgm@gnu.org>
5710
5711 * hi-lock.el (hi-lock-process-phrase):
5712 Try to make it less fragile. (Bug#7161)
5713
5714 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
5715
5716 2012-10-06 Glenn Morris <rgm@gnu.org>
5717
5718 * ehelp.el (electric-help-mode): Use help-mode rather than
5719 non-existent mode `help'.
5720 (electric-help-map): Use button-buffer-map. (Bug#10917)
5721
5722 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
5723 (reftex-create-bibtex-footer): Fix custom types.
5724
5725 * progmodes/sh-script.el (sh-indent-after-continuation):
5726 Add explicit :group.
5727
5728 * textmodes/rst.el (rst-preferred-decorations)
5729 (rst-shift-basic-offset): Clarify obsolescence versions.
5730
5731 * profiler.el (profiler): Add missing group :version tag.
5732 * avoid.el (mouse-avoidance-banish-position):
5733 * proced.el (proced-renice-command):
5734 * calc/calc.el (calc-ensure-consistent-units):
5735 * calendar/icalendar.el (icalendar-import-format-uid):
5736 * net/tramp.el (tramp-save-ad-hoc-proxies):
5737 * progmodes/bug-reference.el (bug-reference-bug-regexp):
5738 * progmodes/flymake.el (flymake-error-bitmap)
5739 (flymake-warning-bitmap, flymake-fringe-indicator-position):
5740 * progmodes/sh-script.el (sh-indent-after-continuation):
5741 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
5742 (verilog-before-save-font-hook, verilog-after-save-font-hook):
5743 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
5744 (vhdl-array-index-record-field-in-sensitivity-list)
5745 (vhdl-indent-comment-like-next-code-line):
5746 * textmodes/reftex-vars.el (reftex-ref-style-alist)
5747 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
5748 (reftex-cite-key-separator, reftex-create-bibtex-header)
5749 (reftex-create-bibtex-footer):
5750 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
5751 (rst-indent-literal-normal, rst-indent-literal-minimized)
5752 (rst-indent-comment): Add missing custom :version tags.
5753
5754 * calendar/timeclock.el (timeclock-modeline-display):
5755 Add missing obsolete alias for renamed user option.
5756
5757 * strokes.el (strokes-modeline-string):
5758 * emulation/crisp.el (crisp-mode-modeline-string):
5759 * eshell/esh-mode.el (eshell-status-in-modeline):
5760 Aliases to defcustoms must come before the defcustom.
5761
5762 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
5763 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
5764 (cal-tex-cursor-week-monday): Doc fixes.
5765 (cal-tex-cursor-week2-summary): Doc fix.
5766 Rename from cal-tex-cursor-week-at-a-glance.
5767
5768 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
5769 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
5770
5771 * calendar/calendar.el (calendar-mode-map):
5772 Add cal-tex-cursor-week2-summary.
5773
5774 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
5775
5776 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
5777
5778 * subr.el (read-passwd-map): New var.
5779 (read-passwd): Use `read-string' again.
5780 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
5781
5782 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
5783
5784 * register.el (append-to-register, prepend-to-register):
5785 Deactivate mark, as does `copy-to-register' (bug#12389).
5786
5787 2012-10-06 Chong Yidong <cyd@gnu.org>
5788
5789 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
5790
5791 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
5792
5793 * international/characters.el: Fix simple mistake ((car chars) ->
5794 elt), delete duplicated code.
5795
5796 2012-10-06 Glenn Morris <rgm@gnu.org>
5797
5798 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
5799
5800 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
5801
5802 * color.el (color-hsl-to-rgb): Fix incorrect results for
5803 small and large hue values. (Bug#12559)
5804
5805 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
5806
5807 Enhancements to docstring formatting when filling paragraphs.
5808 * progmodes/python.el (python-fill-docstring-style): Rename from
5809 python-fill-string-style. Added new style.
5810 (python-fill-string): Use new style. Better checks for
5811 docstrings.
5812
5813 2012-10-05 Glenn Morris <rgm@gnu.org>
5814
5815 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
5816
5817 * color.el (color-name-to-rgb, color-rgb-to-hex)
5818 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
5819 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
5820 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
5821 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
5822
5823 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
5824
5825 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
5826
5827 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
5828 to get the correct size across symlinks.
5829
5830 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
5831
5832 2012-10-04 Juri Linkov <juri@jurta.org>
5833
5834 * replace.el (query-replace-interactive): Declare obsolete.
5835 (query-replace-read-from): Add the last incremental search string
5836 to the list of default values accessible via M-n.
5837 (map-query-replace-regexp): Use `read-regexp'.
5838 (query-replace, query-replace-regexp, query-replace-regexp-eval)
5839 (map-query-replace-regexp, replace-string, replace-regexp):
5840 Fix docstrings to replace mentions of `query-replace-interactive'
5841 with alternatives. (Bug#12526)
5842
5843 2012-10-04 Juri Linkov <juri@jurta.org>
5844
5845 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
5846 (dired-pop-to-buffer): Declare obsolete.
5847 (dired-mark-pop-up): Doc fix.
5848
5849 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
5850
5851 Allow user to set docstring style for fill-paragraph.
5852 * progmodes/python.el
5853 (python-fill-comment-function, python-fill-string-function)
5854 (python-fill-decorator-function, python-fill-paren-function):
5855 Remove :safe for defcustoms.
5856 (python-fill-string-style): New defcustom
5857 (python-fill-paragraph-function): Enhance context detection.
5858 (python-fill-string): Honor python-fill-string-style settings.
5859
5860 2012-10-04 Martin Rudalics <rudalics@gmx.at>
5861
5862 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
5863 after setting its buffer (Bug#10805).
5864
5865 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
5866
5867 Fix cornercase for string syntax.
5868 * progmodes/python.el (python-syntax-propertize-function):
5869 Simplify and enhance the regexp for unescaped quotes. Now it also
5870 matches quotes in weird situations like the single quote in
5871 "something\"'".
5872 (python-syntax-stringify): Simplify num-quotes detecting code.
5873
5874 2012-10-03 Glenn Morris <rgm@gnu.org>
5875
5876 * help-macro.el (three-step-help):
5877 Revert 2012-09-29 change. (Bug#12567)
5878
5879 2012-10-03 Martin Rudalics <rudalics@gmx.at>
5880
5881 * menu-bar.el (kill-this-buffer): Don't do anything when
5882 `menu-frame' is not alive or visible (Bug#8184).
5883
5884 * emacs-lisp/debug.el (debug): When quitting the debugger window
5885 restore current buffer (Bug#12502).
5886
5887 2012-10-02 Chong Yidong <cyd@gnu.org>
5888
5889 * progmodes/hideif.el (hif-lookup, hif-defined):
5890 Handle semantic-c-takeover-hideif.
5891
5892 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
5893
5894 Change sampling interval units from ms to ns.
5895 * profiler.el (profiler-sampling-interval): Change units
5896 from ms to ns, multiplying the default by 1000000 so that
5897 it remains 1 ms.
5898 (profiler-report-cpu-line-format): Give enough room for
5899 the maximum counters on 64-bit hosts.
5900 (profiler-report-render-calltree-1): Call them "CPU samples",
5901 not "Time (ms)", since they are not milliseconds now (and
5902 never really were).
5903
5904 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5905
5906 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
5907 Fix querying BBDB for entries without a last name (Bug#11580).
5908
5909 2012-10-02 Chong Yidong <cyd@gnu.org>
5910
5911 * emacs-lisp/eieio.el: Restore Version header.
5912
5913 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5914
5915 * vc/diff-mode.el (diff--auto-refine-data): New var.
5916 (diff-hunk): Use it to delay refinement.
5917 (diff-mode): Remove overlays when we turn off font-lock.
5918
5919 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
5920 (table-initialize-table-fixed-width-mode)
5921 (table-set-table-fixed-width-mode): Remove functions.
5922 (table-command-list): Move initialization into declaration.
5923 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
5924 (table-with-cache-buffer): Use `declare'.
5925 (table-span-cell): Simplify via CSE.
5926 (table-fixed-width-mode): Use define-minor-mode.
5927 (table-call-interactively, table-funcall, table-apply): Remove.
5928 (table-function): New function, to replace them.
5929
5930 * bookmark.el (bookmark-search-pattern): Remove var.
5931 (bookmark-read-search-input): Remove function.
5932 (bookmark-bmenu-search): Reimplement using a minibuffer.
5933
5934 * faces.el (modeline): Remove obsolete face name.
5935
5936 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
5937 and give a non-nil default value.
5938 (add-change-log-entry): Simplify accordingly.
5939
5940 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
5941
5942 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
5943 (vc-git-log-edit-toggle-amend): New function.
5944 (vc-git-log-edit-toggle-signoff): New function.
5945 (vc-git-log-edit-mode): New major mode.
5946 (vc-git-log-edit-mode-map): Keymap for it.
5947 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
5948
5949 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
5950 header names.
5951 (log-edit-toggle-header): New function.
5952 (log-edit-extract-headers): Accept function values in HEADERS alist.
5953
5954 2012-10-01 David Engster <deng@randomsample.de>
5955
5956 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
5957 from symbol property and change message to be more consistent with
5958 Emacs proper.
5959 (eieio-describe-generic): Add filename for each implementation.
5960 Fix indices for generic and normal methods.
5961 (eieio-method-def, eieio-class-def): New buttons.
5962 (eieio-help-find-method-definition)
5963 (eieio-help-find-class-definition): New functions.
5964 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
5965 class, constructor and method definitions.
5966
5967 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
5968 information in symbol property.
5969 (scoped-class): Remove.
5970 (eieio-slot-name-index, call-next-method): Check if it is bound.
5971
5972 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
5973
5974 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
5975 (eieio-custom-mode): New major mode.
5976 (eieio-customize-object): Use it.
5977
5978 2012-10-01 Eric Ludlam <zappo@gnu.org>
5979
5980 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
5981 specifying the expected class, and whether subclassing is allowed.
5982 (eieio-persistent-convert-list-to-object):
5983 (eieio-persistent-validate/fix-slot-value)
5984 (eieio-persistent-slot-type-is-class-p): New functions.
5985 (eieio-named::slot-missing): Doc fix.
5986
5987 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
5988 Stop using unused publd variable.
5989
5990 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
5991 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
5992 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
5993 (eieio-speedbar-handle-click): Do not specify a class for the
5994 method. Fixes method invocation order problems with EDE.
5995
5996 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5997
5998 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
5999 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
6000
6001 2012-10-01 Karl Fogel <kfogel@red-bean.com>
6002
6003 * bookmark.el (bookmark-version-control): Give tags in the
6004 :type choices (Bug#12309), and improve doc string.
6005 (bookmark-write-file): Bind `print-circle' to `t' to allow
6006 circular custom bookmark types. (Bug#12503)
6007
6008 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
6009
6010 Revert the FOLLOW-SYMLINKS change for file-attributes.
6011 * files.el (remote-file-name-inhibit-cache, after-find-file):
6012 * time.el (display-time-file-nonempty-p): Undo last change.
6013
6014 * profiler.el (profiler-sampling-interval): Change default back to 1.
6015 See Stefan Monnier in
6016 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
6017
6018 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
6019
6020 Shell output catching a la gud-gdb.
6021 * progmodes/python.el (python-shell-fetch-lines-in-progress)
6022 (python-shell-fetch-lines-string, python-shell-fetched-lines):
6023 New Vars.
6024 (python-shell-fetch-lines-filter): New function.
6025 (python-shell-send-string-no-output): Use them.
6026
6027 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
6028
6029 * profiler.el (profiler-sampling-interval): Rename from
6030 profiler-sample-interval.
6031 (profiler-sampling-interval): Default to 10.
6032 (profiler-find-profile): New command (was profiler-find-log).
6033 (profiler-find-profile-other-window): New command.
6034 (profiler-find-profile-other-frame): New command.
6035 (profiler-profile): Introduce API-level data structure.
6036
6037 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
6038
6039 file-attributes has a new optional arg FOLLOW-SYMLINKS.
6040 * files.el (remote-file-name-inhibit-cache):
6041 * time.el (display-time-file-nonempty-p): Use it.
6042 * files.el (after-find-file): Don't chase links before calling
6043 file-exists-p, as file-exists-p already does the right thing.
6044
6045 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
6046
6047 Merge from standalone RefTeX repository.
6048
6049 The following ChangeLog entries are shortened versions of the
6050 original ones with file paths adapted. A not so strongly edited
6051 version of the original ChangeLog can be found in the commit log.
6052
6053 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
6054 (reftex-arg-cite): Use `reftex-cite-key-separator'.
6055 Correctly handle new value type returned by `reftex-citation'.
6056
6057 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
6058 that entries with whitespace at various places are found.
6059 Doc fix. Include entries that are cross-referenced from cited entries.
6060 Include @String definitions in the resulting bib file. Add header
6061 and footer defined in `reftex-create-bibtex-header' and
6062 `reftex-create-bibtex-footer'.
6063 (reftex-do-citation): Make it possible again to insert
6064 non-existent entries. Save match data when asking for optional
6065 arguments. Return all keys, not just the first one.
6066 (reftex-all-used-citation-keys): Fix regexp to correctly extract
6067 all citations in the same line.
6068 (reftex-parse-bibtex-entry): Accept additional optional argument
6069 `raw' and keep quotes or braces if it is non-nil. Match fields
6070 containing hyphens besides word constituents.
6071 (reftex-get-string-refs): New function.
6072 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
6073 and ask if it should be reread in case it did.
6074 (reftex-pop-to-bibtex-entry)
6075 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
6076 entries with spaces or tabs in front of arguments.
6077 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6078 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
6079 Match entries containing numbers and symbol constituents.
6080 (reftex-do-citation, reftex-figure-out-cite-format):
6081 Use `reftex-cite-key-separator'.
6082
6083 * textmodes/reftex-dcr.el: Move provide statement to end of file.
6084 (reftex-mouse-view-crossref): Explain why point is set.
6085
6086 * textmodes/reftex-global.el: Whitespace changes.
6087
6088 * textmodes/reftex-index.el: Move provide statement to end of
6089 file.
6090 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
6091 (reftex-index-visit-phrases-buffer): Set marker when visiting
6092 buffer. This allows for returning from the phrases file to the
6093 file one was just editing instead of the file where the last
6094 phrases was added from.
6095 (reftex-index-phrases-syntax-table): New variable. Give ?\"
6096 punctuation syntax as it usually is not used as string quote in
6097 TeX-related modes and may occur unmatched. The change also
6098 prevents fontification of quoted content.
6099 (reftex-index-phrases-mode): Use it.
6100
6101 * textmodes/reftex-parse.el (reftex-parse-from-file):
6102 Move backward one char if a `\' was matched after a section macro.
6103 (reftex-parse-from-file): Use beginning of match instead of end as
6104 bound.
6105
6106 * textmodes/reftex-ref.el: Adapt creation of
6107 `reftex-<package>-<macro>' functions to new structure of
6108 `reftex-ref-style-alist'.
6109 (reftex-reference): Use `reftex-ref-style-list' function.
6110 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
6111 reference macro if `reftex-ref-macro-prompt' is non-nil.
6112 (reftex-reference): Pass refstyle to `reftex-format-special'.
6113 Determine reference macro by looking at
6114 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
6115 Use only one special format function.
6116 (reftex-varioref-vref, reftex-fancyref-fref)
6117 (reftex-fancyref-Fref): Remove definitions. The functions are now
6118 generated from `reftex-ref-style-alist'.
6119 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
6120 Remove.
6121 (reftex-format-special): New function.
6122
6123 * textmodes/reftex-sel.el
6124 (reftex-select-cycle-ref-style-internal): Adapt to new structure
6125 of `reftex-ref-style-alist'. Remove code for testing macro type.
6126 (reftex-select-toggle-varioref)
6127 (reftex-select-toggle-fancyref): Remove.
6128 (reftex-select-cycle-ref-style-internal)
6129 (reftex-select-cycle-ref-style-forward)
6130 (reftex-select-cycle-ref-style-backward): New functions.
6131 (reftex-select-label-map): Use `v' and `V' for general cycling
6132 through reference styles. Add `p' for switching between number
6133 and page reference types.
6134
6135 * textmodes/reftex-toc.el (reftex-re-enlarge):
6136 Call `enlarge-window' only if there is something to do because in Emacs
6137 the horizontal version throws an error even if the parameter is 0.
6138
6139 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
6140 (reftex-plug-into-AUCTeX): Doc fix.
6141 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
6142 string. Adapt to new name.
6143 (reftex-ref-style-alist): Change structure so that it is not
6144 possible to use multiple different package names within a style.
6145 Remove the symbols for symbols for macro type distinction.
6146 Add characters for macro selection.
6147 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
6148 (reftex-create-bibtex-footer): New variables.
6149 (reftex-format-ref-function): Mention third argument of special
6150 format function.
6151 (reftex-ref-style-alist, reftex-ref-style-default-list):
6152 New variables.
6153 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
6154 to new implementation. Mark as obsolete. Add compatibility code
6155 for honoring the variable values in case they are set.
6156 (reftex-cite-format-builtin, reftex-bibliography-commands):
6157 Add support for ConTeXt.
6158 (reftex-format-ref-function, reftex-format-cite-function):
6159 Fix custom type.
6160 (reftex-cite-key-separator): New variable.
6161
6162 * textmodes/reftex.el (reftex-syntax-table-for-bib)
6163 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
6164 `reftex-syntax-table' because parens have to retain their paren
6165 syntax in order for parsing of BibTeX entries like @book(...) to
6166 work.
6167 (reftex-in-comment): Do not error out if `comment-start-skip' is
6168 not set. Deal correctly with escaped comment characters.
6169 (reftex-tie-multifile-symbols): Add doc string.
6170 Initialize `reftex-ref-style-list'.
6171 (reftex-untie-multifile-symbols): Add doc string.
6172 (reftex-add-index-macros): Doc fix.
6173 (reftex-ref-style-activate, reftex-ref-style-toggle)
6174 (reftex-ref-style-list): New functions.
6175 (reftex-mode-menu): Use them. Adapt to new structure of
6176 `reftex-ref-style-alist'.
6177 (reftex-select-with-char): Kill the RefTeX Select buffer when
6178 done.
6179 (reftex-remove-if): New function.
6180 (reftex-erase-all-selection-and-index-buffers)
6181 (reftex-mode-menu): Reference styles are now computed from
6182 `reftex-ref-style-alist'. Fix typo.
6183 (reftex-report-bug): New function.
6184 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
6185 algorithms with O(n log n). Introduce optional argument SORT (not
6186 yet used).
6187
6188 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
6189
6190 Enhancements for triple-quote string syntax.
6191 * progmodes/python.el (python-syntax-propertize-function):
6192 Match both quote cases in one regexp.
6193 (python-syntax-stringify): Handle matches properly.
6194
6195 2012-09-30 Juri Linkov <juri@jurta.org>
6196
6197 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
6198 to nil around the call to `insert' to prevent
6199 directory time modification by lock_file. (Bug#2295)
6200 * tar-mode.el (tar-summarize-buffer): Idem.
6201
6202 2012-09-30 Juri Linkov <juri@jurta.org>
6203
6204 * facemenu.el (list-colors-sort): Add option "Luminance".
6205 (list-colors-sort-key): Implement it.
6206
6207 * vc/diff-mode.el (diff-refine-removed):
6208 * vc/ediff-init.el (ediff-fine-diff-A):
6209 * vc/smerge-mode.el (smerge-refined-removed):
6210 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
6211
6212 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
6213
6214 * term/ns-win.el (x-file-dialog): New function.
6215
6216 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
6217
6218 * ido.el (ido-max-directory-size): Default to nil; the current
6219 default is small for POSIX systems, and impractical on Windows 7
6220 now that lstat returns directory sizes for NTFS.
6221
6222 2012-09-30 Martin Rudalics <rudalics@gmx.at>
6223
6224 In buffer display functions handle window-height/window-width
6225 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
6226 * window.el (window--display-buffer): New argument ALIST.
6227 Obey window-height and window-width alist entries.
6228 (window--try-to-split-window): New argument ALIST.
6229 Bind window-combination-limit to t when the window's size shall be
6230 changed and window-combination-limit equals `window-size'.
6231 (display-buffer-in-atom-window)
6232 (display-buffer-in-major-side-window)
6233 (display-buffer-in-side-window, display-buffer-same-window)
6234 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6235 (display-buffer-pop-up-window, display-buffer-below-selected)
6236 (display-buffer-at-bottom, display-buffer-in-previous-window)
6237 (display-buffer-use-some-window): Adjust all callers of
6238 window--display-buffer and window--try-to-split-window.
6239 (fit-frame-to-buffer): New option.
6240 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
6241 is non-nil.
6242 (display-buffer-in-major-side-window): Evaluate window-height /
6243 window-width alist entries.
6244
6245 * help.el (temp-buffer-resize-frames)
6246 (temp-buffer-resize-regexps): Remove options.
6247 (temp-buffer-resize-mode): Adjust doc-string.
6248 (resize-temp-buffer-window): Don't consult
6249 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
6250 temp-buffer-resize-frames.
6251
6252 * dired.el (dired-mark-pop-up):
6253 Call display-buffer-below-selected with a fit-window-to-buffer alist
6254 entry.
6255
6256 2012-09-30 Chong Yidong <cyd@gnu.org>
6257
6258 * server.el (server-host): Document the security implications.
6259 (server-auth-key): Doc fix.
6260
6261 * startup.el (initial-buffer-choice): Doc fix.
6262
6263 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
6264
6265 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
6266 restriction change.
6267
6268 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
6269
6270 * help-fns.el (help-fns--obsolete): Fix last change.
6271
6272 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
6273
6274 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
6275 (minor-mode-map-alist): Remove redundant code.
6276
6277 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
6278 visited in a buffer.
6279 (cvs-insert-visited-file): New function.
6280 (find-file-hook): Use it.
6281
6282 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
6283
6284 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
6285 chose face.
6286 (log-edit-empty-buffer-p): Don't require a space after a header.
6287
6288 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
6289
6290 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
6291
6292 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
6293 a proper minor-mode.
6294
6295 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
6296
6297 2012-09-29 Glenn Morris <rgm@gnu.org>
6298
6299 * winner.el (winner-mode): Remove variable (let define-minor-mode
6300 handle it).
6301 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
6302 Doc fixes.
6303 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
6304 (winner-mode): Use define-minor-mode.
6305
6306 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
6307 the full definition in loaddefs, rather than duplicating it.
6308
6309 * help-macro.el (three-step-help): No need to autoload defcustom.
6310
6311 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
6312 (inferior-lisp-program, inferior-lisp-load-command)
6313 (inferior-lisp-prompt, inferior-lisp-mode-hook):
6314 No need to autoload defcustoms.
6315
6316 * hippie-exp.el (hippie-expand-try-functions-list)
6317 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
6318 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
6319 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
6320 (hippie-expand-only-buffers): No need to autoload defcustoms.
6321 * progmodes/vhdl-mode.el (vhdl-line-expand):
6322 Explicitly load hippie-exp, so it does not get autoloaded
6323 while hippie-expand-try-functions-list is let-bound.
6324
6325 2012-09-28 Glenn Morris <rgm@gnu.org>
6326
6327 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
6328
6329 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
6330 Only "cl.el" counts as cl these days.
6331
6332 2012-09-28 Juri Linkov <juri@jurta.org>
6333
6334 Display archive errors in the echo area instead of inserting
6335 to the file buffer.
6336
6337 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
6338 to STDERR-TEST that can be a regexp matching a successful output.
6339 Create a temporary file and redirect stderr to it. Search for
6340 STDERR-TEST in the stderr output and display it in the echo area
6341 if no match is found.
6342 (archive-extract-by-file): New function like
6343 `archive-extract-by-stdout' but extracting archives to files
6344 and looking for successful matches in stdout. Function body is
6345 mostly copied from `archive-rar-extract'.
6346 (archive-rar-extract): Use `archive-extract-by-file'.
6347 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
6348
6349 2012-09-28 Leo Liu <sdl.web@gmail.com>
6350
6351 * pcomplete.el (pcomplete-show-completions):
6352 Use minibuffer-message to make pcomplete usable in minibuffer.
6353
6354 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
6355
6356 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6357
6358 * type-break.el: Use lexical-binding.
6359 (type-break-mode): Use define-minor-mode.
6360
6361 * emacs-lisp/pcase.el (pcase--mark-used): New.
6362 (pcase--u1): Use it (bug#12512).
6363
6364 * custom.el (load-theme): Set buffer-file-name so the load is recorded
6365 in load-history with the right file name.
6366
6367 2012-09-28 Tassilo Horn <tsdh@gnu.org>
6368
6369 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
6370 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
6371 (doc-view-get-bounding-box): Make bounding box slicing work for
6372 ODF and DVI documents.
6373
6374 2012-09-28 Glenn Morris <rgm@gnu.org>
6375
6376 * type-break.el (type-break-mode, type-break-interval)
6377 (type-break-good-rest-interval, type-break-keystroke-threshold):
6378 No need to autoload.
6379 (type-break-good-rest-interval, type-break-keystroke-threshold):
6380 Add :set-after.
6381
6382 2012-09-28 Chong Yidong <cyd@gnu.org>
6383
6384 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
6385 Add :version tag.
6386
6387 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6388
6389 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
6390
6391 2012-09-27 Glenn Morris <rgm@gnu.org>
6392
6393 * faces.el (x-display-name): Declare (for without-x builds).
6394
6395 * linum.el (linum-format): Don't autoload it. Improve :type.
6396
6397 * progmodes/tcl.el: Don't require outline when compiling.
6398 (outline-regexp, outline-level): Declare.
6399 * textmodes/sgml-mode.el: Don't require outline when compiling.
6400 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
6401
6402 * term.el (term-ansi-reset):
6403 Try setting term-ansi-face-already-done to nil. (Bug#11785)
6404
6405 * vc/vc.el (vc-next-action): Only gripe about committing read-only
6406 files for RCS and SCCS. (Bug#9781)
6407
6408 2012-09-27 Chong Yidong <cyd@gnu.org>
6409
6410 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
6411 change; value should be t.
6412
6413 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6414
6415 * image-mode.el: Use lexical-binding.
6416 (image-mode-winprops): Use t to stand for the window of
6417 a buffer that's not displayed.
6418 * doc-view.el (doc-view-new-window-function): Handle the new
6419 t in winprops.
6420 (doc-view-enlarge): Make it a real nop if the size is not changed.
6421 (doc-view-display): Handle the case where the buffer is not (yet?)
6422 displayed in any window.
6423 (doc-view-saved-settings): New var.
6424 (doc-view-mode): Use it.
6425 (doc-view-fallback-mode): Set it.
6426
6427 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
6428 Set lexical-binding.
6429 (minibuffer-eldef-shorten-default): New var.
6430 (minibuffer-default-in-prompt-regexps): Use it for new default.
6431 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
6432
6433 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
6434
6435 * international/uni-bidi.el:
6436 * international/uni-category.el:
6437 * international/uni-name.el:
6438 * international/uni-numeric.el: Regenerate.
6439
6440 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
6441 Stefan Monnier <monnier@iro.umontreal.ca>
6442
6443 * profiler.el: New file.
6444
6445 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
6446
6447 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
6448 (testcover-reinstrument): Simplify with CSE.
6449
6450 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
6451
6452 * window.el (temp-buffer-window-setup): Fix typo in docstring.
6453
6454 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
6455
6456 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
6457 (verilog-auto-input, verilog-auto-insert-lisp)
6458 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
6459 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
6460 (verilog-auto-unused, verilog-auto-wire)
6461 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
6462 newline. Reported by Andrew Jones.
6463 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
6464 Reported by Brad Dobbie.
6465 (verilog-batch-delete-trailing-whitespace):
6466 Create verilog-batch-delete-trailing-whitespace.
6467 Reported by Brad Dobbie.
6468 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
6469 parameters from another module. Reported by Dan Katz.
6470 (verilog-auto, verilog-auto-assign-modport)
6471 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
6472 AUTOINOUTMODPORT for UVM interface module shell generation.
6473 Reported by Brad Dobbie.
6474 (verilog-auto-inst-interfaced-ports): Make default nil, as more
6475 standard behavior.
6476 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
6477 Reported by Matt Martin.
6478
6479 2012-09-25 Martin Rudalics <rudalics@gmx.at>
6480
6481 * window.el (window--resize-child-windows): When resizing child
6482 windows proportionally, process them in reverse order to
6483 preserve the "when splitting a window the new one gets the odd
6484 line" behavior.
6485 (window--resize-root-window-vertically): When resizing the
6486 minibuffer window try to affect only windows at the bottom of the
6487 frame. (Bug#12419)
6488
6489 2012-09-25 Chong Yidong <cyd@gnu.org>
6490
6491 * subr.el (declare): Doc fix.
6492
6493 * help-fns.el (help-fns--obsolete): Handle macros properly.
6494
6495 2012-09-25 Chong Yidong <cyd@gnu.org>
6496
6497 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
6498 this function obsolete.
6499
6500 * calendar/cal-x.el (calendar-two-frame-setup)
6501 (calendar-only-one-frame-setup, calendar-one-frame-setup):
6502 * calendar/calendar.el (american-calendar, european-calendar)
6503 (calendar-for-loop):
6504 * comint.el (comint-dynamic-simple-complete)
6505 (comint-dynamic-complete-as-filename, comint-unquote-filename):
6506 * desktop.el (desktop-load-default):
6507 * dired-x.el (dired-omit-here-always)
6508 (dired-hack-local-variables, dired-default-directory):
6509 * emacs-lisp/derived.el (derived-mode-class):
6510 * emacs-lisp/timer.el (timer-set-time-with-usecs):
6511 * emacs-lock.el (toggle-emacs-lock):
6512 * epa.el (epa-display-verify-result):
6513 * epg.el (epg-sign-keys, epg-start-sign-keys)
6514 (epg-passphrase-callback-function):
6515 * eshell/esh-util.el (eshell-for):
6516 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
6517 (eshell-add-to-window-buffer-names):
6518 * files.el (locate-file-completion):
6519 * imenu.el (imenu-example--create-c-index)
6520 (imenu-example--create-lisp-index)
6521 (imenu-example--lisp-extract-index-name)
6522 (imenu-example--name-and-position):
6523 * international/mule-cmds.el (princ-list):
6524 * international/mule-diag.el (decode-codepage-char):
6525 * international/mule-util.el (detect-coding-with-priority):
6526 * iswitchb.el (iswitchb-read-buffer):
6527 * mail/mailalias.el (mail-complete):
6528 * mail/sendmail.el (mail-sent-via):
6529 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
6530 (mouse-major-mode-menu):
6531 * password-cache.el (password-read-and-add):
6532 * pcomplete.el (pcomplete-parse-comint-arguments):
6533 * progmodes/sh-script.el (sh-maybe-here-document):
6534 * replace.el (query-replace-regexp-eval):
6535 * savehist.el (savehist-load):
6536 * simple.el (choose-completion-delete-max-match):
6537 * term.el (term-dynamic-simple-complete):
6538 * vc/ediff-init.el (ediff-check-version):
6539 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
6540 * vc/vc.el (vc-diff-switches-list):
6541 * view.el (view-return-to-alist-update): Likewise.
6542
6543 * subr.el (eval-next-after-load, makehash, insert-string)
6544 (assoc-ignore-representation, assoc-ignore-case): Use declare to
6545 mark obsolete.
6546 (mode-line-inverse-video): Variable deleted.
6547
6548 * international/mule-util.el (string-to-sequence): Remove.
6549
6550 * calendar/calendar.el (calendar-version):
6551 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
6552 (icalendar-convert-diary-to-ical):
6553 * cus-edit.el (custom-mode):
6554 * ansi-color.el (ansi-color-unfontify-region):
6555 * international/latin1-disp.el (latin1-char-displayable-p):
6556 * progmodes/cwarn.el (turn-on-cwarn-mode):
6557 * progmodes/which-func.el (which-func-update-1):
6558 Use define-obsolete-function-alias.
6559
6560 * net/newst-backend.el (newsticker-cache-filename):
6561 * net/newst-treeview.el (newsticker-groups-filename):
6562 Fix incorrect obsolescence declaration.
6563
6564 * allout.el (allout-passphrase-hint-string): Likewise.
6565 (allout-init): Use a declare form to mark obsolete.
6566
6567 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
6568 this applies to functions.
6569
6570 * iswitchb.el (iswitchb-read-buffer): Move code of
6571 iswitchb-define-mode-map here, and delete that obsolete function.
6572
6573 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
6574 font-lock-reference-face.
6575
6576 2012-09-25 Glenn Morris <rgm@gnu.org>
6577
6578 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
6579 Doc fixes.
6580
6581 * eshell/em-term.el (eshell-term-name):
6582 Default to term-term-name. (Bug#12485)
6583
6584 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
6585
6586 * progmodes/python.el (python-shell-send-buffer): Better handling
6587 of "if __name__ == '__main__':" conditionals when sending the buffer.
6588
6589 2012-09-24 Glenn Morris <rgm@gnu.org>
6590
6591 * eshell/esh-cmd.el (eshell-find-alias-function):
6592 Tighten up file-name regexp. (Bug#12499)
6593
6594 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
6595
6596 Enhancements for triple-quote string syntax.
6597 * progmodes/python.el (python-quote-syntax): Remove.
6598 (python-syntax-propertize-function): New value.
6599 (python-syntax-count-quotes, python-syntax-stringify):
6600 New functions.
6601
6602 2012-09-24 Chong Yidong <cyd@gnu.org>
6603
6604 * mail/supercite.el (sc-version): Remove obsolete function.
6605 (sc-describe): Don't mark as obsolete, since it is bound.
6606 (sc-submit-bug-report): Remove.
6607
6608 * vc/log-edit.el (cvs-changelog-full-paragraphs)
6609 (cvs-commit-buffer-require-final-newline): Remove.
6610 (log-edit-require-final-newline)
6611 (log-edit-changelog-full-paragraphs): Default to t.
6612
6613 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
6614 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
6615 * vc/vc.el (vc-checkout-carefully): Likewise.
6616
6617 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
6618 (emerge-version): Remove.
6619
6620 * progmodes/compile.el (compile-internal): Remove.
6621 (compilation-parse-errors-function): Fix typo.
6622
6623 * international/mule.el (set-char-table-default): Remove.
6624 (set-coding-priority, make-coding-system, generic-char-p)
6625 (charset-list, charset-bytes, charset-id): Use declare to mark
6626 functions as obsolete.
6627
6628 * vc/pcvs-defs.el (cvs-buffer-name-alist)
6629 (cvs-invert-ignore-marks): Remove references to obsolete vars.
6630 * vc/vc-hooks.el (vc-default-registered): Don't use
6631 vc-master-templates.
6632
6633 * font-lock.el (font-lock-reference-face):
6634 Use define-obsolete-variable-alias.
6635
6636 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
6637 * calendar/calendar.el (calendar-font-lock-keywords):
6638 * calendar/diary-lib.el (diary-font-lock-keywords)
6639 (diary-fancy-font-lock-keywords):
6640 * textmodes/reftex-sel.el (reftex-insert-docstruct):
6641 * textmodes/reftex-index.el (reftex-insert-index):
6642 * textmodes/reftex-cite.el (reftex-format-bib-entry):
6643 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6644 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
6645 * progmodes/prolog.el (prolog-font-lock-keywords):
6646 * progmodes/idlwave.el (idlwave-idl-keywords):
6647 * progmodes/ada-mode.el (ada-font-lock-keywords):
6648 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
6649
6650 2012-09-24 Glenn Morris <rgm@gnu.org>
6651
6652 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
6653
6654 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
6655
6656 * progmodes/python.el (python-indent-line): More consistent cursor
6657 movement behavior.
6658
6659 2012-09-23 Stefan Merten <smerten@oekonux.de>
6660
6661 * textmodes/rst.el: Fix compiler warning.
6662
6663 2012-09-23 Roland Winkler <winkler@gnu.org>
6664
6665 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
6666 Transcribe also LaTeX hyphenation.
6667 (bibtex-reformat): Bug fix. Do not quote twice the elements of
6668 bibtex-reformat-previous-options.
6669
6670 2012-09-23 Roland Winkler <winkler@gnu.org>
6671
6672 * proced.el (proced-renice-command): New variable.
6673 (proced-marked-processes): New function.
6674 (proced-with-processes-buffer): New macro.
6675 (proced-send-signal): Use them.
6676 (proced-renice): New command bound to r.
6677
6678 2012-09-23 Roland Winkler <winkler@gnu.org>
6679
6680 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
6681 ibuffer-saved-filter-groups has one element, shortcut the call of
6682 completing-read. (Bug#12331)
6683
6684 2012-09-23 Chong Yidong <cyd@gnu.org>
6685
6686 * bindings.el (mode-line-toggle-read-only):
6687 * bs.el (bs-toggle-readonly):
6688 * buff-menu.el (Buffer-menu-toggle-read-only):
6689 * dired.el (dired-toggle-read-only):
6690 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
6691
6692 2012-09-23 Chong Yidong <cyd@gnu.org>
6693
6694 * image.el (image-type-available-p): Adapt to init-image-library
6695 argument changes.
6696
6697 2012-09-22 Juri Linkov <juri@jurta.org>
6698
6699 * dired.el (dired-mode-map): Add [remap read-only-mode] for
6700 `dired-toggle-read-only'. (Bug#12462)
6701
6702 2012-09-22 Martin Rudalics <rudalics@gmx.at>
6703
6704 * subr.el (temp-output-buffer-show): New function.
6705 (with-output-to-temp-buffer): Call temp-output-buffer-show
6706 instead of internal-temp-output-buffer-show.
6707
6708 2012-09-22 Chong Yidong <cyd@gnu.org>
6709
6710 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
6711 (Bug#12462).
6712
6713 * repeat.el (repeat): Doc fix (Bug#12348).
6714
6715 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
6716 (Bug#10909).
6717
6718 * simple.el (shell-command-on-region): Doc fix.
6719 (read-only-mode): Doc fix.
6720
6721 2012-09-22 Eli Zaretskii <eliz@gnu.org>
6722
6723 * emacs-lisp/timer.el (run-with-idle-timer)
6724 (timer-activate-when-idle): Warn against reinvoking an idle timer
6725 from within its own timer action. (Bug#12447)
6726
6727 2012-09-22 Martin Rudalics <rudalics@gmx.at>
6728
6729 * cus-start.el (window-combination-limit): Add new optional
6730 values.
6731 * window.el (temp-buffer-window-show)
6732 (window--try-to-split-window): Handle new values of
6733 window-combination-limit (Bug#1806).
6734 (split-window): Test window-combination-limit for t instead of
6735 non-nil.
6736 (display-buffer-at-bottom): New buffer display action function.
6737 * help.el (temp-buffer-resize-regexps): New option.
6738 (temp-buffer-resize-mode): Rewrite doc-string.
6739 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
6740 Don't resize reused window. Suggested by Glenn Morris.
6741
6742 2012-09-22 Stefan Merten <smerten@oekonux.de>
6743
6744 * textmodes/rst.el: Revamp section title faces.
6745 (rst-official-version)
6746 (rst-package-emacs-version-alist): Sync with official version
6747 V1.4.0.
6748 (rst-faces-defaults, rst-set-level-default)
6749 (rst-level-face-max, rst-level-face-base-color)
6750 (rst-level-face-base-light, rst-level-face-format-light)
6751 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
6752 (rst-adornment-faces-alist): Match new setup.
6753 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
6754 (rst-level-5, rst-level-6): New faces.
6755
6756 2012-09-22 Chong Yidong <cyd@gnu.org>
6757
6758 * simple.el (undo): Handle indirect buffers (Bug#8207).
6759
6760 2012-09-21 Leo Liu <sdl.web@gmail.com>
6761
6762 IDO: Disable match re-ordering for buffer switching.
6763 * ido.el (ido-buffer-disable-smart-matches): New variable.
6764 (ido-set-matches-1): Use it. (Bug#2042)
6765
6766 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
6767
6768 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
6769 Fix 2011-05-17 change. (Bug#12418)
6770
6771 2012-09-21 Leo Liu <sdl.web@gmail.com>
6772
6773 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
6774
6775 2012-09-21 Glenn Morris <rgm@gnu.org>
6776
6777 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
6778 Be more robust about locating simple.el.
6779
6780 2012-09-21 Glenn Morris <rgm@gnu.org>
6781
6782 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
6783
6784 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
6785
6786 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
6787
6788 2012-09-20 Juri Linkov <juri@jurta.org>
6789
6790 * replace.el (query-replace-read-from): Use `read-regexp' instead
6791 of `read-from-minibuffer' when `regexp-flag' is non-nil.
6792 (occur-read-primary-args): Use `read-regexp' instead of
6793 `read-string'.
6794 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
6795 `read-from-minibuffer'.
6796 * isearch.el (isearch-occur): Use `read-regexp' instead of
6797 `read-string'.
6798 * dired.el (dired-read-regexp): Use `read-regexp' instead of
6799 `read-from-minibuffer'.
6800 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
6801 of `read-string'. (Bug#7567)
6802
6803 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
6804 and allow accepting a list of strings prepended to a list of
6805 standard default values. Doc fix. (Bug#12321)
6806
6807 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
6808
6809 * replace.el (read-regexp): Don't add ": " when PROMPT already
6810 ends with a colon and space. (Bug#12321)
6811
6812 2012-09-20 Tassilo Horn <tsdh@gnu.org>
6813
6814 * doc-view.el (doc-view-display): Better fix for the cl-assertion
6815 error.
6816
6817 2012-09-20 Stefan Merten <smerten@oekonux.de>
6818
6819 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
6820 Fixes feature request bug#11711.
6821 (rst-mode): Create `imenu-create-index-function'.
6822 (rst-get-stripped-line): Delete after refactoring.
6823 (rst-section-tree, rst-section-tree-rec)
6824 (rst-section-tree-point): Refactor and document properly.
6825 (rst-imenu-find-adornments-for-position)
6826 (rst-imenu-convert-cell, rst-imenu-create-index):
6827 New function.
6828
6829 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6830
6831 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
6832 (macroexp--expand-all): Use it.
6833 (macroexp--funcall-and-return): Remove by folding it into its sole
6834 caller (macroexp--warn-and-return).
6835 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
6836 Use macroexp--obsolete-warning.
6837
6838 * calc/calc.el: Fix last change by removing the whole chunk, since it
6839 was only needed back when Calc was not bundled.
6840
6841 2012-09-20 Martin Rudalics <rudalics@gmx.at>
6842
6843 * emacs-lisp/debug.el (debug): Restore assignment to
6844 debugger-old-buffer removed on 2012-09-08.
6845
6846 2012-09-20 Juri Linkov <juri@jurta.org>
6847
6848 * dired-aux.el (dired-diff): Remove (require 'diff) since
6849 `diff-latest-backup-file' is now autoloaded.
6850
6851 2012-09-20 Chong Yidong <cyd@gnu.org>
6852
6853 * vc/diff.el (diff-latest-backup-file): Autoload.
6854
6855 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6856
6857 * calc/calc.el: Remove redundant autoload shape check.
6858 (sel-mode): Don't defvar.
6859 (calc-get-stack-element): Add `sel-mode' arg instead.
6860 (calc-top, calc-top-list): Pass it this additional argument.
6861 * calc/calc-store.el (calc-store-map):
6862 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
6863 (calc-map-equation, calc-outer-product, calc-inner-product):
6864 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
6865
6866 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
6867
6868 2012-09-19 Juri Linkov <juri@jurta.org>
6869
6870 * dired-aux.el (dired-diff): Add (require 'diff) because
6871 `diff-latest-backup-file' is not autoloaded.
6872 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
6873 of `dired-get-filename' to t to not report error when there is
6874 no default file on the current line.
6875
6876 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6877
6878 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
6879 macroexp--eval-if-compile.
6880 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
6881 (macroexp--expand-all): Use them (bug#12371).
6882
6883 * doc-view.el (doc-view-guess-paper-size)
6884 (doc-view-scale-bounding-box): Fix unbound `caddr'.
6885
6886 2012-09-19 Tassilo Horn <tsdh@gnu.org>
6887
6888 New feature: set optimal slice from BoundingBox information.
6889 * doc-view.el (doc-view-mode-map): Add keybinding.
6890 (doc-view-menu): Add menu entry.
6891 (doc-view-set-slice): Adapt docstring.
6892 (doc-view-get-bounding-box, doc-view-guess-paper-size)
6893 (doc-view-scale-bounding-box)
6894 (doc-view-set-slice-from-bounding-box): New functions.
6895 (doc-view-paper-sizes): New defvar.
6896
6897 2012-09-19 Glenn Morris <rgm@gnu.org>
6898
6899 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
6900 (byte-compile-log-warning): Autoload. (Bug#12371)
6901
6902 * calendar/calendar.el (calendar-american-month-header)
6903 (calendar-european-month-header, calendar-iso-month-header)
6904 (calendar-month-header): New options.
6905 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
6906 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
6907
6908 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
6909
6910 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
6911
6912 2012-09-18 Juri Linkov <juri@jurta.org>
6913
6914 * dired-aux.el (dired-diff): Restore original functionality of
6915 getting the default value, but keep new feature of using the
6916 latest existing backup file (`diff-latest-backup-file').
6917
6918 2012-09-18 Juri Linkov <juri@jurta.org>
6919
6920 * dired.el (dired-mark): If the region is active in Transient Mark
6921 mode, mark all files in the active region. Doc fix.
6922 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
6923 Doc fix. (Bug#10624)
6924
6925 2012-09-18 Juri Linkov <juri@jurta.org>
6926
6927 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
6928 attributes for M-n are pulled from the file at point.
6929 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
6930 Suggested by Drew Adams. (Bug#10624)
6931
6932 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
6933
6934 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
6935 whitespace after "end".
6936 (ruby-do-end-to-brace): Collapse block to one line if it fits
6937 within fill-column.
6938
6939 2012-09-18 Martin Rudalics <rudalics@gmx.at>
6940
6941 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
6942 value.
6943 (debug): Don't remove debugger window when debugger is expected
6944 to be back.
6945
6946 2012-09-18 Chong Yidong <cyd@gnu.org>
6947
6948 * custom.el (defface): Doc fix.
6949
6950 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
6951
6952 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
6953
6954 * progmodes/compile.el (compilation-start): Use compilation-always-kill
6955 to initialize query-on-exit; then test that instead (bug#12288).
6956
6957 2012-09-17 Stefan Merten <smerten@oekonux.de>
6958
6959 * textmodes/rst.el: Add support for `testcover'.
6960 (rst-defcustom-testcover, rst-testcover-add-compose)
6961 (rst-testcover-add-1value): New functions.
6962 (rst-portable-mark-active-p): Replace by `use-region-p'.
6963 (rst-update-section, rst-classify-adornment)
6964 (rst-find-title-line): Mark `1value' forms.
6965 (rst-classify-adornment): Remove superfluous form.
6966 (rst-update-section, rst-get-adornments-around)
6967 (rst-adornment-complete-p, rst-get-next-adornment)
6968 (rst-adjust, rst-promote-region)
6969 (rst-display-adornments-hierarchy, rst-straighten-adornments)
6970 (rst-find-pfx-in-region, rst-section-tree-rec)
6971 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
6972 (rst-toc-node, rst-toc, rst-forward-section)
6973 (rst-iterate-leftmost-paragraphs)
6974 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
6975 (rst-bullet-list-region)
6976 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
6977 (rst-compile-find-conf, rst-compile)
6978 (rst-repeat-last-character): Fix style.
6979
6980 2012-09-17 Chong Yidong <cyd@gnu.org>
6981
6982 * comint.el (comint--complete-file-name-data): Don't add a space
6983 if the status is `sole'; that adds a gratuitous space in the
6984 completion-cycling case (Bug#12092).
6985
6986 * pcomplete.el (pcomplete-completions-at-point): Likewise.
6987
6988 2012-09-17 Richard Stallman <rms@gnu.org>
6989
6990 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
6991 only in the mime-shown mode, not in raw mode.
6992 (rmail-mime): Toggle off mime by displaying the message without
6993 mime processing. (Bug#12305)
6994
6995 * mail/rmail.el (rmail-retry-failure):
6996 Turn off mime processing first. (Bug#12037)
6997
6998 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
6999
7000 2012-09-17 Chong Yidong <cyd@gnu.org>
7001
7002 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
7003 (shell-dynamic-complete-functions): Convert to defcustom.
7004 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
7005
7006 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
7007 * comint.el (comint-prompt-read-only):
7008 * custom.el (defcustom):
7009 * hi-lock.el (hi-lock-mode):
7010 * ibuffer.el (ibuffer-formats):
7011 * ielm.el (ielm-prompt-read-only):
7012 * novice.el (disable-command):
7013 * saveplace.el (toggle-save-place):
7014 * speedbar.el (speedbar-supported-extension-expressions):
7015 * startup.el (auto-save-list-file-prefix, init-file-user)
7016 (after-init-hook, inhibit-startup-echo-area-message):
7017 * strokes.el (strokes-help):
7018 * time-stamp.el (time-stamp):
7019 * calendar/calendar.el (calendar, diary-file):
7020 * calendar/diary-lib.el (diary-mail-entries, diary)
7021 (diary-list-entries-hook):
7022 * calendar/holidays.el (holidays, calendar-holidays):
7023 * calendar/lunar.el (lunar-phases):
7024 * calendar/solar.el (sunrise-sunset):
7025 * emulation/edt.el (edt-load-keys):
7026 * emulation/viper.el (viper-mode):
7027 * eshell/em-alias.el (eshell-command-aliases-list):
7028 * eshell/esh-util.el (eshell-convert-numeric-arguments):
7029 * international/ogonek.el (ogonek-information):
7030 * net/tramp-cmds.el (tramp-bug):
7031 * net/quickurl.el (quickurl-reread-hook-postfix):
7032 * play/decipher.el (decipher-font-lock-keywords):
7033 * progmodes/cc-styles.el (c-set-style):
7034 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
7035 * progmodes/inf-lisp.el (inferior-lisp-prompt):
7036 * progmodes/octave-mod.el (octave-mode):
7037 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
7038 * progmodes/verilog-mode.el (verilog-read-defines):
7039 * textmodes/two-column.el (2C-mode): Likewise.
7040
7041 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
7042
7043 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
7044 that holds many addresses.
7045
7046 2012-09-16 Chong Yidong <cyd@gnu.org>
7047
7048 * align.el (align-areas): Call the indication function with
7049 positions instead of markers for arguments (Bug#12343).
7050
7051 * files.el (parse-colon-path): Use split-string (Bug#12351).
7052
7053 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
7054 (display-buffer-function): Mark as obsolete.
7055
7056 * progmodes/compile.el (compilation-parse-errors): Accept list
7057 values similar to font-lock-keywords (Bug#12136).
7058 Suggested by Oleksandr Manzyuk.
7059 (compilation-error-regexp-alist): Doc fix.
7060
7061 2012-09-15 Glenn Morris <rgm@gnu.org>
7062
7063 * version.el (emacs-bzr-version-bzr): New function.
7064 (emacs-bzr-get-version): Add optional EXTERNAL argument.
7065
7066 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
7067 checkouts, check the parent dirstate matches the branch.
7068 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
7069 empty string.
7070
7071 * version.el (emacs-bzr-version): Doc fix.
7072 (emacs-bzr-version-dirstate): New function.
7073 (emacs-bzr-get-version): For lightweight checkouts, if the parent
7074 is local try and check that it matches the branch. If not, just
7075 use dirstate information. (Bug#12441)
7076
7077 2012-09-14 Juri Linkov <juri@jurta.org>
7078
7079 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
7080 (Bug#12399)
7081
7082 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7083
7084 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
7085
7086 * emacs-lisp/edebug.el: Miscellaneous cleanup.
7087 Remove obsolete byte-compiler hack that tried to silence some warnings.
7088 (edebug-submit-bug-report): Remove.
7089 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
7090 Remove aliases, use the un-prefixed name instead.
7091 (edebug-pop-to-buffer): Consider other frames.
7092 (edebug-original-read):: Make it more obvious that it's always defined.
7093 (edebug--make-form-data-entry, edebug--form-data-name)
7094 (edebug--form-data-begin, edebug--form-data-end): Rename from the
7095 single-dashed name, and implement with cl-defstruct.
7096 (edebug-set-form-data-entry): Use the standard accessors.
7097 (edebug-make-top-form-data-entry): Use push.
7098 (edebug-no-match): Drop useless `funcall'.
7099 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
7100 to functions.
7101 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
7102 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
7103 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
7104 (easy-menu-define, with-custom-print): Remove redundant specs.
7105 (edebug-outside-overriding-local-map)
7106 (edebug-outside-overriding-terminal-local-map): Remove, unused.
7107 (edebug--display): Bind unread-command-events directly to nil rather
7108 than binding it to unread-command-events and later setting it to nil.
7109 (edebug--display): Kill edebug-eval-buffer here...
7110 (edebug--recursive-edit): ...rather than here.
7111 Bind standard-output and standard-input.
7112 (edebug-eval): Check cl-macroexpand-all is fboundp.
7113 (edebug-temp-display-freq-count): Fix last change.
7114
7115 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
7116 * subr.el (noreturn, 1value): Add `debug' spec.
7117 * emacs-lisp/advice.el: Require cl-lib.
7118 (ad-copy-tree): Remove, use copy-tree instead.
7119 (ad-dolist): Remove use dolist or cl-dolist instead.
7120 (ad-do-return): Remove, use cl-return instead.
7121 (defadvice): Add `debug' spec.
7122
7123 2012-09-13 Juri Linkov <juri@jurta.org>
7124
7125 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
7126 (Bug#12399)
7127
7128 2012-09-13 Glenn Morris <rgm@gnu.org>
7129
7130 * calc/calc.el (math-compose-expr):
7131 * calc/calc-ext.el (math-compose-expr):
7132 * progmodes/cc-defs.el (cl-macroexpand-all):
7133 * progmodes/cc-langs.el (delete-duplicates, mapcan)
7134 (cl-macroexpand-all): Update declarations.
7135
7136 * vc/vc.el: No need to require ediff.
7137 (ediff-load-version-control): Declare.
7138 (ediff-vc-internal): Fix declaration.
7139 (vc-version-ediff): Require ediff.
7140
7141 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
7142
7143 Use a more backwards-compatible timer format (Bug#12430).
7144 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
7145 being right after USECS, as that better supports old code that
7146 inadvisedly looked directly at the timer vector.
7147
7148 2012-09-13 Kenichi Handa <handa@gnu.org>
7149
7150 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
7151 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
7152 `coding-priority' property of these language environment.
7153
7154 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
7155
7156 Fix glitches caused by addition of psec to timers (Bug#12430).
7157 * image.el (image-animate-timer):
7158 * time.el (display-time-world-timer):
7159 Use timer--function and timer--args rather than raw access to
7160 timer vector.
7161
7162 2012-09-13 Glenn Morris <rgm@gnu.org>
7163
7164 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
7165 If not compiling a file, try using load-file-name.
7166
7167 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
7168
7169 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
7170 Fix last change.
7171 (edebug-update-eval-list): Use `push'.
7172
7173 * emacs-lisp/edebug.el: Use lexical-binding.
7174 Remove the "edebug-" prefix from non-dynamically-scoped variables.
7175 Mark unused args with underscore.
7176 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
7177 (edebug-form-data): Use defvar-local.
7178 (edebug-make-before-and-after-form, edebug-make-after-form):
7179 Use backquote.
7180 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
7181 Not dynamically scoped any more.
7182 (edebug--enter-trace): Add arguments `function' and `args'.
7183 Rename from edebug-enter-trace.
7184 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
7185 (edebug--update-coverage): Add `after-index' and `value' args.
7186 Rename from edebug-update-coverage.
7187 (edebug-slow-after): Call it accordingly.
7188 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
7189 edebug-recursive-edit.
7190 (edebug--display): Call it accordingly. Add args `value',
7191 `offset-index', and `arg-mode'. Rename from edebug-display.
7192 (edebug-debugger, edebug): Call it accordingly.
7193 (edebug-eval-display-list): Use dolist.
7194
7195 2012-09-12 Juri Linkov <juri@jurta.org>
7196
7197 * info.el (Info-search): Don't check for isearch-mode and
7198 isearch-regexp before let-binding search-spaces-regexp to
7199 Info-search-whitespace-regexp.
7200 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
7201 search-whitespace-regexp if isearch-lax-whitespace or
7202 isearch-regexp-lax-whitespace is non-nil.
7203 (Info-mode): Don't set local variable search-whitespace-regexp.
7204 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
7205
7206 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7207
7208 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
7209 (debugger-env-macro): Remove support for unread-command-char.
7210
7211 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
7212 the temporary map re-appearing on emulation-mode-map-alists.
7213
7214 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
7215 since 22.1.
7216
7217 * ehelp.el (with-electric-help): Accept functions in
7218 electric-help-form-to-execute.
7219 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
7220 And replace unread-command-char -> unread-command-events.
7221
7222 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
7223
7224 Sync with Tramp 2.2.6.
7225
7226 * net/tramp.el (tramp-accept-process-output): Don't use
7227 JUST-THIS-ONE in the XEmacs case.
7228
7229 * net/trampver.el: Update release number.
7230
7231 2012-09-12 Martin Rudalics <rudalics@gmx.at>
7232
7233 * emacs-lisp/debug.el (debugger-previous-window-height):
7234 New variable.
7235 (debug): When debugger-jumping-flag is non-nil try to restore
7236 height of debugger window. (Bug#8789)
7237
7238 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7239
7240 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
7241 overriding-local-map and pre/post-command-hook here.
7242 (edebug-recursive-edit): Do it here instead (bug#12345).
7243 (edebug-outside-unread-command-char): Remove all uses of
7244 unread-command-char.
7245
7246 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
7247 inhibit-debugger is bound instead.
7248
7249 2012-09-11 Bastien Guerry <bzg@gnu.org>
7250
7251 * subr.el (set-temporary-overlay-map): Add a docstring.
7252 (Bug#12346)
7253
7254 2012-09-11 Bastien Guerry <bzg@gnu.org>
7255
7256 * minibuffer.el (completion-table-subvert): Fix docstring.
7257 (Bug#12347)
7258
7259 2012-09-11 Bastien Guerry <bzg@gnu.org>
7260
7261 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
7262
7263 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
7264
7265 * progmodes/sql.el: Version 3.1
7266 (sql-db2-escape-newlines): New variable.
7267 (sql-escape-newlines-filter): Use it.
7268
7269 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
7270
7271 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
7272
7273 2012-09-10 Dan Nicolaescu <dann@gnu.org>
7274
7275 * vc/diff-mode.el (diff-mode-menu):
7276 Bind diff-remove-trailing-whitespace.
7277
7278 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7279
7280 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
7281 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
7282 (emacs-lisp-byte-code-mode): New functions.
7283 (eval-sexp-add-defvars): Don't skip defvars in column >0.
7284 (eval-defun-2): Remove bogus interactive spec.
7285 (lisp-indent-line): Remove redundant whole-exp code, now done in
7286 indent-according-to-mode.
7287 (save-match-data): Remove redundant indent data.
7288
7289 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
7290 Use `declare'.
7291
7292 2012-09-09 Juri Linkov <juri@jurta.org>
7293
7294 * replace.el (replace-regexp-lax-whitespace): New defcustom.
7295 (replace-lax-whitespace, query-replace-regexp)
7296 (query-replace-regexp-eval, replace-regexp): Doc fix.
7297 (perform-replace, replace-highlight): Let-bind
7298 isearch-lax-whitespace to replace-lax-whitespace and
7299 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
7300
7301 * isearch.el (isearch-query-replace): Let-bind
7302 replace-lax-whitespace to isearch-lax-whitespace and
7303 replace-regexp-lax-whitespace to
7304 isearch-regexp-lax-whitespace. (Bug#10885)
7305
7306 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
7307
7308 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
7309
7310 2012-09-09 Alan Mackenzie <acm@muc.de>
7311
7312 * progmodes/cc-engine.el (c-state-cache-init):
7313 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
7314 (c-record-parse-state-state):
7315 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
7316
7317 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
7318
7319 * register.el (register-separator): Rename from
7320 separator-register. All uses changed. Doc fix.
7321 (register): Fix version.
7322
7323 2012-09-09 Chong Yidong <cyd@gnu.org>
7324
7325 * replace.el (query-replace-map): Bind four new symbols for
7326 requesting window scrolling.
7327
7328 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
7329 query-replace-map (Bug#8948).
7330
7331 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
7332
7333 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
7334 since they are now in query-replace-map.
7335
7336 * window.el (scroll-other-window-down): Make the arg optional.
7337
7338 2012-09-09 Chong Yidong <cyd@gnu.org>
7339
7340 * files.el (hack-local-variables-confirm): Use quit-window to kill
7341 the *Local Variables* buffer.
7342
7343 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
7344
7345 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
7346 not just expect to be at its beginning. Adjust callees.
7347 Succeed when do-end block has no space before the pipe character.
7348 (ruby-brace-to-do-end): When the original block is one-liner,
7349 convert to multiline. Reindent the result.
7350
7351 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
7352
7353 * register.el (register): New group.
7354 (separator-register): New user option.
7355 (increment-register): Route it to `append-to-register', if
7356 register contains text. Implication is that `C-x r +' can now be
7357 used for appending to a text register (bug#12217).
7358 (append-to-register, prepend-to-register): Add separator based on
7359 `separator-register'.
7360
7361 2012-09-08 Alan Mackenzie <acm@muc.de>
7362
7363 AWK Mode: make auto-newline work when there's "==" in the pattern.
7364 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
7365 correctly.
7366 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
7367 Test more rigorously for "=" token.
7368
7369 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
7370
7371 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
7372 Only fail when reached LIMIT.
7373
7374 2012-09-08 Chong Yidong <cyd@gnu.org>
7375
7376 * dired.el (dired-mode-map): Don't bind M-=.
7377
7378 * dired-aux.el (dired-diff): Use backup file as default.
7379
7380 2012-09-08 Drew Adams <drew.adams@oracle.com>
7381
7382 * subr.el (add-to-history): Fix delete usage (Bug#12314).
7383
7384 2012-09-08 Chong Yidong <cyd@gnu.org>
7385
7386 * subr.el (syntax-after, syntax-class): Doc fix.
7387
7388 2012-09-08 Martin Rudalics <rudalics@gmx.at>
7389
7390 * window.el (display-buffer-in-previous-window): New buffer
7391 display action function.
7392
7393 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
7394 (debugger-previous-window): New variable.
7395 (debug): Rewrite using display-buffer-in-previous-window,
7396 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
7397
7398 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
7399
7400 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
7401
7402 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
7403
7404 * progmodes/python.el (python-shell-send-string):
7405 When default-directory is remote, create temp file on remote
7406 filesystem.
7407 (python-shell-send-file): When file is remote, pass local view of
7408 file paths to remote Python interpreter. (Bug#12340)
7409
7410 2012-09-07 Chong Yidong <cyd@gnu.org>
7411
7412 * window.el (switch-to-buffer): Doc fix (Bug#12181).
7413
7414 * files.el (after-find-file): Don't fail on a read-only buffer if
7415 require-final-newline is `visit' or `visit-save' (Bug#11156).
7416
7417 * subr.el (read-char-choice): Allow quitting via ESC ESC.
7418
7419 * userlock.el (ask-user-about-supersession-threat):
7420 Use read-char-choice (Bug#12093).
7421
7422 2012-09-07 Chong Yidong <cyd@gnu.org>
7423
7424 * subr.el (buffer-narrowed-p): New function.
7425
7426 * ses.el (ses-widen):
7427 * simple.el (count-words--buffer-message):
7428 * net/browse-url.el (browse-url-of-buffer): Use it.
7429
7430 * simple.el (count-words-region): Don't signal an error if there
7431 is a non-nil prefix arg and the mark is not set.
7432
7433 * help.el (describe-key-briefly): Allow the message to be seen
7434 when invoked from the minibuffer (Bug#7014).
7435
7436 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
7437
7438 * progmodes/ruby-mode.el (ruby-end-of-defun)
7439 (ruby-beginning-of-defun): Simplify, allow indentation before
7440 block beginning and end keywords.
7441 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
7442 (ruby-end-of-defun): Expect that the point is at the beginning of
7443 the defun.
7444
7445 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7446
7447 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
7448 (bug#12367).
7449 (cl--make-usage-args): Strip _ from argument names.
7450
7451 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7452
7453 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
7454 obsolete alias speedbar-key-map.
7455 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
7456 (vhdl-index-menu-init): Don't use obsolete variable
7457 font-lock-maximum-size.
7458
7459 2012-09-06 Chong Yidong <cyd@gnu.org>
7460
7461 * frame.el (window-system-version): Mark as obsolete.
7462
7463 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
7464 of obsolete variable speedbar-key-map.
7465
7466 2012-09-06 Juri Linkov <juri@jurta.org>
7467
7468 * replace.el (replace-lax-whitespace): New defcustom.
7469 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7470 (replace-string, replace-regexp): Mention it in docstrings.
7471 (perform-replace, replace-highlight): Let-bind
7472 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
7473 to the values of replace-lax-whitespace and regexp-flag.
7474 Don't let-bind search-whitespace-regexp. (Bug#10885)
7475
7476 * isearch.el (isearch-query-replace): Let-bind
7477 replace-lax-whitespace instead of let-binding
7478 replace-search-function and replace-re-search-function.
7479 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
7480 and isearch-regexp-lax-whitespace to lazy-highlight variables.
7481 (isearch-toggle-symbol): Set isearch-regexp to nil
7482 in isearch-word mode (like in isearch-toggle-word).
7483
7484 2012-09-06 Juri Linkov <juri@jurta.org>
7485
7486 * replace.el (replace-search-function)
7487 (replace-re-search-function): Set default values to nil.
7488 (perform-replace): Let-bind isearch-related variables based on
7489 replace-related values, call `isearch-search-fun' and let-bind
7490 the result to `search-function'. Remove code that sets
7491 `search-function' and `search-string' separately for
7492 `delimited-flag'.
7493 (replace-highlight): Add new argument `delimited-flag' and
7494 rename other arguments to the names used in `perform-replace'.
7495 Let-bind `isearch-word' to the argument `delimited-flag'.
7496 (Bug#10885, bug#10887)
7497
7498 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
7499
7500 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
7501 ruby-beginning-of-indent, simplify, allow all keywords to have
7502 indentation before them.
7503 (ruby-beginning-of-indent): Adjust for above. Search until the
7504 found point is not inside a string or comment.
7505 (ruby-font-lock-keywords): Allow symbols to start with "@"
7506 character, give them higher priority than variables.
7507 (ruby-syntax-propertize-function)
7508 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
7509 matchers. Expression expansions are not comments when inside a
7510 string, and there comment syntax status is irrelevant.
7511 (ruby-match-expression-expansion): New function. Check that
7512 expression expansion is inside a string, and it's not escaped.
7513 (ruby-font-lock-keywords): Use it.
7514
7515 2012-09-05 Martin Rudalics <rudalics@gmx.at>
7516
7517 * help.el (temp-buffer-max-height): New default value.
7518 (temp-buffer-resize-frames): New option.
7519 (resize-temp-buffer-window): Optionally resize frame.
7520
7521 * window.el (fit-frame-to-buffer-bottom-margin): New option.
7522 (fit-frame-to-buffer): New function.
7523
7524 2012-09-05 Glenn Morris <rgm@gnu.org>
7525
7526 * emulation/cua-rect.el (cua--init-rectangles):
7527 * textmodes/picture.el (picture-mode-map):
7528 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
7529 like forward-char and backward-char. (Bug#12317)
7530
7531 2012-09-05 Leo Liu <sdl.web@gmail.com>
7532
7533 * progmodes/flymake.el (flymake-warning-re): New variable.
7534 (flymake-parse-line): Use it.
7535
7536 2012-09-05 Glenn Morris <rgm@gnu.org>
7537
7538 * calendar/holidays.el (holiday-christian-holidays):
7539 Rename an entry. (Bug#12289)
7540
7541 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7542
7543 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
7544 (bug#12222).
7545
7546 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7547
7548 * loadup.el: Load macroexp. Remove hack.
7549 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
7550 (macroexp--expand-all): Use it to get better warnings.
7551 (macroexp--backtrace, macroexp--trim-backtrace-frame)
7552 (internal-macroexpand-for-load): New functions.
7553 (macroexp--pending-eager-loads): New var.
7554 (emacs-startup-hook): New hack to replace one in loadup.el.
7555 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
7556 (cl--compiler-macro-cXXr): Move to top, before they can be used.
7557 (cl-psetf): Simplify.
7558 (cl-defstruct): Add indent rule.
7559
7560 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
7561
7562 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
7563 over `user-mail-address' for the SMTP MAIL FROM envelope.
7564 (smtpmail-via-smtp): Ditto.
7565
7566 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
7567
7568 * progmodes/ruby-mode.el: Clean up keybindings.
7569 (ruby-mode-map): Don't bind ruby-electric-brace,
7570 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
7571 backward-kill-word, reindent-then-newline-and-indent.
7572 (ruby-mark-defun): Remove.
7573 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
7574 (ruby-mode): Set local beginning-of-defun-function and
7575 end-of-defun-function values.
7576
7577 2012-09-03 Martin Rudalics <rudalics@gmx.at>
7578
7579 * window.el (temp-buffer-window-setup-hook)
7580 (temp-buffer-window-show-hook): New hooks.
7581 (temp-buffer-window-setup, temp-buffer-window-show)
7582 (with-temp-buffer-window): New functions.
7583 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
7584 (special-display-popup-frame): Make sure the window used shows BUFFER.
7585
7586 * help.el (temp-buffer-resize-mode): Fix doc-string.
7587 (resize-temp-buffer-window): New optional argument WINDOW.
7588
7589 * files.el (recover-file, save-buffers-kill-emacs):
7590 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
7591
7592 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
7593
7594 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
7595 remote definition of `default-directory', ensure we can connect.
7596
7597 2012-09-02 Juri Linkov <juri@jurta.org>
7598
7599 Toggle whitespace matching mode with M-s SPC.
7600 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
7601
7602 * isearch.el (search-whitespace-regexp): Doc fix.
7603 Remove cons cell customization.
7604 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
7605 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
7606 New variables.
7607 (isearch-forward, isearch-forward-regexp): Doc fix.
7608 (isearch-toggle-lax-whitespace): New command.
7609 (search-forward-lax-whitespace, search-backward-lax-whitespace)
7610 (re-search-forward-lax-whitespace)
7611 (re-search-backward-lax-whitespace): New functions.
7612 (isearch-whitespace-regexp): Remove function.
7613 (isearch-query-replace): Let-bind replace-search-function and
7614 replace-re-search-function.
7615 (isearch-occur): Let-bind search-spaces-regexp according to the
7616 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
7617 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
7618 condition for C-q SPC.
7619 (isearch-search-fun-default): Use new functions mentioned above.
7620 (isearch-search-forward, isearch-search-backward): Remove functions.
7621 (isearch-search): Don't let-bind search-spaces-regexp.
7622 (isearch-lazy-highlight-space-regexp): Remove variable.
7623 (isearch-lazy-highlight-lax-whitespace)
7624 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
7625 (isearch-lazy-highlight-new-loop): Use them.
7626 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
7627
7628 2012-09-02 Chong Yidong <cyd@gnu.org>
7629
7630 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
7631
7632 2012-09-02 Glenn Morris <rgm@gnu.org>
7633
7634 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
7635
7636 2012-09-01 Glenn Morris <rgm@gnu.org>
7637
7638 * term.el: Tidy up menu definitions.
7639 (term-mode-map): Use easymenu for In/Out, Complete menus.
7640 (term-pager-break-map): Initialize in the defvar.
7641 (term-terminal-menu, term-signals-menu): Define with easymenu.
7642 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
7643 (term-pager-menu): New, extracted from term-process-pager.
7644 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
7645 (term-update-mode-line): Propertize line/char and page items.
7646 (term-process-pager): Move keymap initialization elsewhere.
7647
7648 2012-09-01 Martin Rudalics <rudalics@gmx.at>
7649
7650 * window.el (switch-to-prev-buffer): Handle additional values of
7651 BURY-OR-KILL argument. Don't switch in minibuffer window.
7652 (switch-to-next-buffer): Don't switch in minibuffer window.
7653 (quit-restore-window): New function based on quit-window.
7654 Handle additional values of former KILL argument.
7655 (quit-window): Call quit-restore-window with appropriate
7656 interpretation of KILL argument.
7657 (display-buffer-below-selected): New buffer display action
7658 function.
7659
7660 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
7661
7662 * minibuffer.el (completion-at-point-functions): Complete docstring
7663 (bug#12254).
7664
7665 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
7666
7667 Better seed support for (random).
7668 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
7669 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
7670 * play/mpuz.el, play/tetris.el, play/zone.el:
7671 * calc/calc-comb.el (math-init-random-base):
7672 * play/blackbox.el (bb-init-board):
7673 * play/life.el (life):
7674 * server.el (server-use-tcp):
7675 * type-break.el (type-break):
7676 Remove unnecessary call to (random t).
7677 * net/sasl.el (sasl-unique-id-function):
7678 Change (random t) to (random), now that the latter is more random.
7679 * play/life.el (life-initialized): Remove no-longer-needed var.
7680
7681 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
7682
7683 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
7684 Consider frame's buffer predicate when choosing the buffer.
7685 (Bug#12081)
7686
7687 2012-08-30 Richard Stallman <rms@gnu.org>
7688
7689 * simple.el (special-mode-map): Delete binding for `z'.
7690
7691 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
7692
7693 * progmodes/compile.el (compilation-always-kill): Doc fix.
7694
7695 2012-08-30 Chong Yidong <cyd@gnu.org>
7696
7697 * window.el (display-buffer-reuse-frames): Make the obsolescence
7698 message more informative.
7699
7700 2012-08-30 Glenn Morris <rgm@gnu.org>
7701
7702 * paren.el (show-paren-delay):
7703 Add a :set function. Doc fix. (Bug#12297)
7704
7705 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
7706
7707 * progmodes/compile.el (compilation-always-kill): New var.
7708 (compilation-start): Use it.
7709
7710 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7711
7712 * simple.el (read-only-mode): Move from files.el for bootstrapping.
7713 * files.el (read-only-mode): Move to simple.el.
7714
7715 * files.el (read-only-mode): New minor mode.
7716 (toggle-read-only): Use it and mark obsolete.
7717 (find-file--read-only):
7718 * vc/vc.el (vc-next-action, vc-checkout):
7719 * vc/vc-cvs.el (vc-cvs-checkout):
7720 * obsolete/vc-mcvs.el (vc-mcvs-update):
7721 * ffap.el (ffap--toggle-read-only): Update callers.
7722
7723 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
7724
7725 * eshell/esh-ext.el (eshell-external-command): Do not examine
7726 remote shell scripts.
7727 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
7728
7729 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
7730 "/usr/local/sbin".
7731
7732 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7733
7734 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
7735
7736 2012-08-28 Leo Liu <sdl.web@gmail.com>
7737
7738 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
7739 completion-at-point. (Bug#12220)
7740
7741 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
7742
7743 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
7744
7745 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7746
7747 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
7748 be buffer-local; add delete-trailing-whitespace (bug#12259).
7749
7750 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
7751
7752 * progmodes/hideif.el (hif-compress-define-list):
7753 Fix typo. (Bug#11951)
7754
7755 2012-08-28 Dan Nicolaescu <dann@gnu.org>
7756
7757 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
7758 buffer local setting.
7759
7760 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
7761 rcirc-encode-coding-system.
7762
7763 2012-08-28 Leo Liu <sdl.web@gmail.com>
7764
7765 * net/rcirc.el (rcirc-split-message): New function.
7766 (rcirc-send-message): Use it. (Bug#12051)
7767
7768 2012-08-28 Juri Linkov <juri@jurta.org>
7769
7770 * info.el (Info-fontify-node): Hide empty lines at the end of
7771 the node. (Bug#12272)
7772
7773 2012-08-27 Drew Adams <drew.adams@oracle.com>
7774
7775 * dired.el (dired-pop-to-buffer): Make window start at beginning
7776 of buffer (Bug#12281).
7777
7778 2012-08-26 Chong Yidong <cyd@gnu.org>
7779
7780 * window.el (special-display-regexps, special-display-frame-alist)
7781 (special-display-buffer-names, special-display-function)
7782 (display-buffer-reuse-frames): Mark as obsolete.
7783
7784 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
7785
7786 * help.el (help-print-return-message): Don't treat
7787 display-buffer-reuse-frames specially.
7788
7789 2012-08-26 Chong Yidong <cyd@gnu.org>
7790
7791 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
7792 New variable, replacing gdb-frame-parameters.
7793 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
7794 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
7795 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
7796 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
7797 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
7798 the functions directly with gdb-display-buffer-other-frame-action.
7799 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
7800 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
7801 (gdb-display-stack-buffer, gdb-display-locals-buffer)
7802 (gdb-display-registers-buffer): Define directly.
7803 (def-gdb-display-buffer): Macro deleted.
7804 (gdb-display-buffer): Remove second and third args, callers don't
7805 use them. Defer to the default display-buffer behavior, apart
7806 from making windows dedicated.
7807 (gdb-setup-windows): Don't call display-buffer unnecessarily.
7808
7809 * progmodes/gud.el (gud-display-line): Just use display-buffer.
7810
7811 * window.el (display-buffer-pop-up-frame): Handle a
7812 pop-up-frame-parameters alist entry.
7813 (display-buffer): Document it.
7814
7815 2012-08-26 Chong Yidong <cyd@gnu.org>
7816
7817 * isearch.el (search-whitespace-regexp): Make string and nil
7818 values apply to both ordinary and regexp search. Allow a cons
7819 cell value to distinguish between the two.
7820 (isearch-whitespace-regexp, isearch-search-forward)
7821 (isearch-search-backward): New functions.
7822 (isearch-occur, isearch-search-fun-default, isearch-search)
7823 (isearch-lazy-highlight-new-loop): Use them.
7824 (isearch-forward, isearch-forward-regexp): Doc fix.
7825
7826 2012-08-26 Chong Yidong <cyd@gnu.org>
7827
7828 * faces.el (help-argument-name): Always inherit from italic
7829 (Bug#12213).
7830
7831 2012-08-25 Martin Rudalics <rudalics@gmx.at>
7832
7833 * window.el (window--even-window-heights): Even heights when
7834 WINDOW and the selected window form a vertical combination.
7835 (display-buffer-use-some-window): Provide that window used gets
7836 sized back by quit-window. (Bug#11880) and (Bug#12091)
7837
7838 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
7839
7840 Fix file time stamp problem with bzr and CVS (Bug#12001).
7841 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
7842 in the file's time stamp, since the version control system loses
7843 that information.
7844
7845 2012-08-22 Juri Linkov <juri@jurta.org>
7846
7847 * info.el (Info-fontify-node): Hide the suffix of the
7848 Info file name in the header line. (Bug#12187)
7849
7850 2012-08-22 Glenn Morris <rgm@gnu.org>
7851
7852 * calendar/cal-tex.el (cal-tex-weekly-common):
7853 Restore leading blank page.
7854
7855 2012-08-22 Le Wang <l26wang@gmail.com>
7856
7857 * misc.el (forward-to-word, backward-to-word): Activate or extend
7858 the region under `shift-select-mode'. (Bug#12231)
7859
7860 2012-08-22 Bastien Guerry <bzg@gnu.org>
7861
7862 * progmodes/executable.el (executable-prefix): Set to "#!" instead
7863 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
7864 gives details on why the space is never needed.
7865
7866 2012-08-22 Martin Rudalics <rudalics@gmx.at>
7867
7868 * window.el (walk-window-tree, window-with-parameter):
7869 New optional argument MINIBUF to control whether these functions
7870 should run on the minibuffer window.
7871 (window-at-side-list): Don't operate on minibuffer window.
7872 (window-in-direction): Simplify and rewrite doc-string.
7873 (window--size-ignore): Rename to window--size-ignore-p.
7874 Update callers.
7875 (display-buffer-in-atom-window, window--major-non-side-window)
7876 (window--major-side-window, display-buffer-in-major-side-window)
7877 (delete-side-window, display-buffer-in-side-window):
7878 New functions.
7879 (window--side-check, window-deletable-p, delete-window)
7880 (delete-other-windows, split-window): Handle side windows and
7881 atomic windows appropriately.
7882 (window--display-buffer): Call display-buffer-record-window also
7883 when the window buffer did not change.
7884
7885 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
7886
7887 * help-fns.el (help-fns--key-bindings):
7888 Abbreviate non-symbol remap targets. (Bug#12174)
7889
7890 2012-08-22 Martin Rudalics <rudalics@gmx.at>
7891
7892 * dired.el (dired-mark-remembered): Don't clobber point.
7893 (Bug#11795)
7894
7895 2012-08-22 Glenn Morris <rgm@gnu.org>
7896
7897 * progmodes/bug-reference.el (bug-reference): New custom group.
7898 (bug-reference-bug-regexp): Make it a defcustom.
7899
7900 2012-08-22 Daiki Ueno <ueno@unixuser.org>
7901
7902 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
7903 (js-paren-indent-offset, js-square-indent-offset)
7904 (js-curly-indent-offset): Add :safe (Bug#12257).
7905
7906 2012-08-22 Edward O'Connor <hober0@gmail.com>
7907
7908 * json.el (json-key-format): Add error properties.
7909 (json-encode-key): New function.
7910 (json-encode-hash-table, json-encode-alist, json-encode-plist):
7911 Use json-encode-key.
7912
7913 2012-08-22 Glenn Morris <rgm@gnu.org>
7914
7915 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
7916 (cal-tex-leftday, cal-tex-rightday): Remove functions.
7917 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
7918 Update for above change.
7919
7920 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
7921
7922 * cus-face.el (custom-face-attributes): Fix customize type for the
7923 :underline attribute. (Bug#11805)
7924
7925 2012-08-21 Martin Rudalics <rudalics@gmx.at>
7926
7927 * window.el (window-point-1, set-window-point-1): Remove.
7928 (window-in-direction, record-window-buffer)
7929 (set-window-buffer-start-and-point, split-window-below)
7930 (window--state-get-1, display-buffer-record-window):
7931 Replace calls to window-point-1 and set-window-point-1 by calls to
7932 window-point and set-window-point respectively.
7933
7934 2012-08-21 Glenn Morris <rgm@gnu.org>
7935
7936 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
7937 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
7938 Use it.
7939
7940 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
7941 (cal-tex-shortday): New function.
7942 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
7943 (cal-tex-cursor-filofax-daily): Use the above.
7944
7945 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
7946 New functions.
7947 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
7948 (cal-tex-cursor-filofax-week): Use them.
7949
7950 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
7951 New constants.
7952 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
7953 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
7954
7955 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
7956 (cal-tex-end-document): Don't rely on buffer name.
7957
7958 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
7959 Use cal-tex-vspace.
7960 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
7961 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
7962 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
7963 Use cal-tex-arg.
7964
7965 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
7966 (cal-tex-cursor-week, cal-tex-cursor-week2)
7967 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
7968 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7969 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
7970 (cal-tex-insert-preamble, cal-tex-b-document)
7971 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
7972 Improve cal-tex-cmd usage.
7973
7974 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
7975 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
7976 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
7977 (cal-tex-weekly-paper): New function.
7978 (cal-tex-cursor-week, cal-tex-cursor-week2)
7979 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
7980 (cal-tex-cursor-day): Use it.
7981
7982 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
7983 (cal-tex-cursor-filofax-week): Remove leading blank page.
7984
7985 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
7986 Add autoload cookie. For now at least, don't use color, since
7987 no other cal-tex function does.
7988
7989 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
7990 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7991 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
7992
7993 2012-08-21 Juri Linkov <juri@jurta.org>
7994
7995 * info.el (Info-file-attributes): New variable.
7996 (info-insert-file-contents): Add file attributes to
7997 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
7998 `Info-toc-nodes' when previous modtime of the Info file is less
7999 than new modtime.
8000 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
8001 of info.el. (Bug#12230)
8002
8003 2012-08-20 Glenn Morris <rgm@gnu.org>
8004
8005 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
8006 * calendar/holidays.el (calendar-holiday-list):
8007 Report errors with display-warning rather than beep'n'sleep.
8008
8009 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
8010
8011 * net/tramp.el (tramp-accept-process-output): Accept only output
8012 from PROC. Otherwise, process filters and sentinels might be
8013 confused. (Bug#12145)
8014
8015 2012-08-20 Chong Yidong <cyd@gnu.org>
8016
8017 * descr-text.el (describe-text-properties-1): Use overlays-in to
8018 report on empty overlays (Bug#3322).
8019
8020 2012-08-20 Glenn Morris <rgm@gnu.org>
8021
8022 * mail/rmailout.el (rmail-output-read-file-name):
8023 Trap and report errors in rmail-output-file-alist elements.
8024
8025 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
8026 since most non-font-lock faces are not also variables).
8027
8028 2012-08-20 Edward Reingold <reingold@iit.edu>
8029
8030 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
8031 New function. (Bug12160)
8032
8033 2012-08-19 Glenn Morris <rgm@gnu.org>
8034
8035 * mail/rmailout.el (rmail-output-read-file-name):
8036 Fix previous change (when the alist is nil or does not match).
8037
8038 2012-08-19 Chong Yidong <cyd@gnu.org>
8039
8040 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
8041 (Bug#12228).
8042
8043 2012-08-18 Chong Yidong <cyd@gnu.org>
8044
8045 * simple.el (yank-handled-properties): New defcustom.
8046 (yank-excluded-properties): Add font-lock-face and category.
8047 (yank): Doc fix.
8048
8049 * subr.el (remove-yank-excluded-properties):
8050 Obey yank-handled-properties. The special handling of font-lock-face
8051 and category is now done this way, instead of being hard-coded.
8052 (insert-for-yank-1): Remove font-lock-face handling.
8053 (yank-handle-font-lock-face-property)
8054 (yank-handle-category-property): New function.
8055
8056 2012-08-17 Glenn Morris <rgm@gnu.org>
8057
8058 * mail/rmailout.el (rmail-output-read-file-name):
8059 Check rmail-output-file-alist against the full message body
8060 in the correct rmail buffer. (Bug#12214)
8061
8062 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
8063
8064 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
8065 Eliminate superfluous prompt. (Bug#12203)
8066
8067 2012-08-17 Chong Yidong <cyd@gnu.org>
8068
8069 * mouse.el (mouse-appearance-menu): If x-select-font returns a
8070 font spec, set the font directly (Bug#3228).
8071
8072 2012-08-17 Martin Rudalics <rudalics@gmx.at>
8073
8074 * window.el (delete-window): Fix last fix.
8075
8076 2012-08-16 Martin Rudalics <rudalics@gmx.at>
8077
8078 * window.el (window-valid-p): Move to window.c.
8079 (window-child, window-child-count, window-last-child)
8080 (window-normalize-window, window-combined-p)
8081 (window-combinations, window-atom-root, window-min-size)
8082 (window-sizable, window-sizable-p, window-size-fixed-p)
8083 (window-min-delta, window-max-delta, window--resizable)
8084 (window--resizable-p, window-resizable, window-total-size)
8085 (window-full-height-p, window-full-width-p, window-body-size)
8086 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
8087 (minimize-window, window-deletable-p, delete-window)
8088 (delete-other-windows, set-window-buffer-start-and-point)
8089 (next-buffer, previous-buffer, split-window, balance-windows-2)
8090 (set-window-text-height, window-buffer-height)
8091 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
8092 (truncated-partial-width-window-p): Minor code adjustments.
8093 In doc-strings state whether the argument window has to denote a
8094 live, valid or any window.
8095
8096 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
8097
8098 * progmodes/subword.el (subword-forward-function)
8099 (subword-backward-function, subword-forward-regexp)
8100 (subword-backward-regexp): New variables.
8101 (subword-forward, subword-forward-internal, subword-backward-internal):
8102 Use new variables, eg so that different "word" definitions
8103 can be easily used. (Bug#11411)
8104
8105 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8106
8107 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
8108 for composite selectors.
8109 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
8110 operation just because we can't find a previous revision.
8111
8112 2012-08-15 Chong Yidong <cyd@gnu.org>
8113
8114 * frame.el (set-frame-font): Accept font objects.
8115
8116 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8117
8118 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
8119
8120 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
8121
8122 * man.el (Man-overstrike-face, Man-underline-face)
8123 (Man-reverse-face): Remove variables.
8124 (Man-overstrike, Man-underline, Man-reverse): New faces.
8125 (Man-fontify-manpage): Use them instead of the variables.
8126 (Man-cleanup-manpage): Comment change.
8127 (Man-ansi-color-map): New variable.
8128 (Man-fontify-manpage): Use it.
8129 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
8130
8131 Implement ANSI SGR parameters 22-27 (bug#12146).
8132 * ansi-color.el (ansi-colors): Doc fix.
8133 (ansi-color-context, ansi-color-context-region): Doc fix.
8134 (ansi-color--find-face): New function.
8135 (ansi-color-apply, ansi-color-apply-on-region): Use it.
8136 Rename the local variable `face' to `codes' since it is now a list of
8137 ansi codes. Doc fix.
8138 (ansi-color-get-face): Remove.
8139 (ansi-color-parse-sequence): New function, derived from
8140 ansi-color-get-face.
8141 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
8142 codes 22-27.
8143
8144 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
8145
8146 * subr.el (read-passwd): Allow use from a minibuffer.
8147
8148 2012-08-14 Eli Zaretskii <eliz@gnu.org>
8149
8150 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
8151 inside comments and strings as identifiers.
8152
8153 * progmodes/gud.el (gud-tooltip-print-command): Quote the
8154 expression to evaluate. This allows to evaluate expressions with
8155 embedded whitespace.
8156 (gud-tooltip-tips): Add a blank before the newline in the
8157 message-box text, for the benefit of message-box emulation on
8158 MS-Windows.
8159
8160 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
8161 messages from GDB, pop them up in a tooltip to give feedback to
8162 user.
8163 (gdb-tooltip-print-1): Quote the expression to evaluate.
8164 This allows to evaluate expressions with embedded whitespace.
8165 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
8166 if the TTY name is nil or empty (which happens when communicating
8167 with the inferior via pipes, e.g. on MS-Windows).
8168 (gdb-internals): If GDB sends a "&\n" empty debugging message,
8169 don't send that to the GUD buffer.
8170
8171 2012-08-14 Glenn Morris <rgm@gnu.org>
8172
8173 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
8174 Optimize away setq-default with no args, as for setq. (Bug#12195)
8175
8176 2012-08-14 Chong Yidong <cyd@gnu.org>
8177
8178 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
8179
8180 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
8181 (Bug#12085).
8182
8183 2012-08-14 Glenn Morris <rgm@gnu.org>
8184
8185 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
8186
8187 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
8188
8189 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
8190 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8191 Use cached shell name.
8192
8193 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
8194
8195 * progmodes/python.el (python-shell-send-string):
8196 (python-shell-send-setup-code): Do not use `format' with `message'.
8197
8198 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
8199
8200 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
8201 (ruby-percent-literal-beg-re): New constant.
8202 (ruby-syntax-general-delimiters-goto-beg): Rename to
8203 `ruby-syntax-enclosing-percent-literal', improve literal type check.
8204 (ruby-syntax-propertize-general-delimiters): Rename to
8205 `ruby-syntax-propertize-percent-literal', it's a shorter and more
8206 popular term. Adjust comments everywhere.
8207 (ruby-syntax-propertize-percent-literal): Only propertize when not
8208 inside a simple string or comment. When the literal is unclosed,
8209 leave the text after it unpropertized.
8210 (ruby-syntax-methods-before-regexp): New constant.
8211 (ruby-syntax-propertize-function): Use it to recognize regexps.
8212 Don't look at the text after regexp, just use the whitelist.
8213
8214 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
8215
8216 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
8217 non-nil always load the compiled file if it exists. (Bug#12197)
8218
8219 2012-08-14 Chong Yidong <cyd@gnu.org>
8220
8221 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
8222 (hi-lock-set-pattern): When deciding whether to use font lock or
8223 overlays, look at font-lock-mode instead of font-lock-fontified
8224 (Bug#12168).
8225 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
8226 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
8227
8228 2012-08-14 Daiki Ueno <ueno@unixuser.org>
8229
8230 * subr.el (internal--after-with-selected-window): Fix typo
8231 (Bug#12193).
8232
8233 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
8234
8235 Use `completion-table-dynamic' for completion functions.
8236 * progmodes/python.el
8237 (python-shell-completion--do-completion-at-point)
8238 (python-shell-completion--get-completions):
8239 Remove functions.
8240 (python-shell-completion-complete-at-point): New function.
8241 (python-completion-complete-at-point): Use it.
8242
8243 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
8244
8245 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
8246 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
8247
8248 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
8249
8250 * subr.el (function-get): Refine `autoload' arg so it can also
8251 autoload functions for gv.el (bug#12191).
8252 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
8253 autoloads macros.
8254
8255 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
8256 Prefer pcase-let over destructuring-bind.
8257 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
8258 Also, remove whitespace as we go, rather than after accumulating the
8259 various places.
8260
8261 * subr.el (internal--before-with-selected-window)
8262 (internal--after-with-selected-window): Fix typo seleted->selected.
8263 (with-selected-window): Adjust callers.
8264 Reported by Dmitry Gutov <dgutov@yandex.ru>.
8265
8266 2012-08-13 Bastien Guerry <bzg@gnu.org>
8267
8268 * window.el (special-display-popup-frame): Minor docstring
8269 enhancement. (Bug#12172)
8270
8271 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
8272
8273 * tar-mode.el (tar-header-data-end): Only ignore size for files of
8274 type 1-6.
8275 (tar-header-block-summarize, tar-get-descriptor): Handle pax
8276 extended headers.
8277
8278 * files.el (hack-local-variables-filter): Remove useless eval.
8279
8280 2012-08-13 Martin Rudalics <rudalics@gmx.at>
8281
8282 * subr.el (with-selected-window): Fix last change.
8283
8284 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8285
8286 * subr.el (internal--before-with-seleted-window)
8287 (internal--after-with-seleted-window): New functions.
8288 (with-selected-window): Use them, to replace dependency on
8289 tty-top-frame.
8290
8291 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
8292
8293 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
8294 binding for `newline'.
8295 (ruby-move-to-block): When moving backward, stop at block opening,
8296 not indentation.
8297 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
8298 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
8299 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
8300 `ruby-toggle-block'.
8301
8302 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8303
8304 * ibuffer.el (ibuffer-do-toggle-read-only):
8305 * dired.el (dired-toggle-read-only):
8306 * buff-menu.el (Buffer-menu-toggle-read-only):
8307 * bindings.el (mode-line-toggle-read-only):
8308 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
8309
8310 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
8311
8312 * descr-text.el (describe-char): Put the overlays over the
8313 "displayed as" character.
8314
8315 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
8316
8317 * calc/calc-units.el (math-default-units-table): Give an
8318 initial value.
8319 (math-put-default-units): Add options to put composite units and
8320 unit systems in the default units table.
8321 (calc-convert-units): Send composite units to
8322 `math-put-default-units' when appropriate.
8323
8324 2012-08-11 Glenn Morris <rgm@gnu.org>
8325
8326 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
8327
8328 * tutorial.el (help-with-tutorial):
8329 * emacs-lisp/copyright.el (copyright-update-directory):
8330 * emacs-lisp/autoload.el (autoload-find-generated-file)
8331 (autoload-find-file): Disable local eval: (for insurance).
8332
8333 * files.el (hack-local-variables-filter): If an eval: form is not
8334 known to be safe, and enable-local-variables is :safe, then ignore
8335 the form totally, as is done for non-eval forms. (Bug#12155)
8336 This is CVE-2012-3479.
8337
8338 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8339
8340 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
8341 (rx-form): Simplify.
8342
8343 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
8344
8345 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
8346 ?, _, and : are symbol constituents, ! is not (but kinda should be).
8347 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
8348 (ruby-syntax-propertize-function): Adjust for changes in
8349 `ruby-syntax-propertize-heredoc'.
8350
8351 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
8352
8353 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
8354 binding (use `M-;' instead).
8355 (ruby-singleton-class-p): New function.
8356 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
8357
8358 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8359
8360 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
8361
8362 2012-08-10 Chong Yidong <cyd@gnu.org>
8363
8364 * progmodes/python.el (python-shell-get-process-name): Don't mess
8365 with same-window-buffer-names.
8366
8367 * eshell/eshell.el (eshell-add-to-window-buffer-names)
8368 (eshell-remove-from-window-buffer-names): Make obsolete.
8369 (eshell-buffer-name, eshell-unload-hook): Don't use them.
8370 (eshell): Just use pop-to-buffer-same-window instead.
8371
8372 2012-08-10 Chong Yidong <cyd@gnu.org>
8373
8374 * bindings.el: Bind M-= back to count-words-region.
8375
8376 * simple.el (count-words-region): Accept a prefix arg for acting
8377 on the entire buffer.
8378 (count-words--buffer-message): New helper function.
8379
8380 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8381
8382 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
8383 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
8384 (event-start, event-end): Use posn-at-point to return a more
8385 informative posn.
8386 (posnp): New function.
8387 * mouse.el (popup-menu-normalize-position): Use it.
8388
8389 2012-08-10 Masatake YAMATO <yamato@redhat.com>
8390
8391 * mouse.el (popup-menu-normalize-position): New function.
8392 (popup-menu): Use `popup-menu-normalize-position' to normalize
8393 the form for POSITION argument.
8394
8395 * term/x-win.el (x-menu-bar-open):
8396 Use the value returend from (posn-at-point) as position
8397 passed to `popup-menu'.
8398
8399 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
8400
8401 * calc/calccomp.el (math-compose-expr): Add extra argument
8402 indicating that parentheses should be put around products in
8403 denominators. Give multiplication precedence over division during
8404 composition.
8405
8406 2012-08-09 Chong Yidong <cyd@gnu.org>
8407
8408 * man.el (Man-switches, Man-sed-command, Man-awk-command)
8409 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
8410 (Man-untabify-command, manual-program): Convert to defcustom
8411 (Bug#10429).
8412
8413 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
8414
8415 * descr-text.el (describe-char): Don't insert extra newlines
8416 (Bug#10127).
8417
8418 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
8419 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
8420
8421 * align.el (align-region): Delete temporary markers (Bug#10047).
8422 Plus some code cleanups.
8423
8424 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
8425
8426 * progmodes/python.el (python-pdbtrack-tracked-buffer)
8427 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
8428 (python-shell-internal-last-output): Use make-local-variable
8429 instead of make-variable-buffer-local.
8430
8431 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
8432
8433 * progmodes/python.el: Enhancements to forward-sexp.
8434 (python-nav-forward-sexp): Rename from
8435 python-nav-forward-sexp-function.
8436 (python-nav--forward-sexp, python-nav--backward-sexp):
8437 New functions.
8438
8439 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
8440
8441 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
8442 modes and simplification modes.
8443
8444 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
8445
8446 * delsel.el (delete-selection-pre-hook): Don't propagate the
8447 file-supersession signals (bug#12161).
8448
8449 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8450
8451 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
8452 (cl-map-extents): Add compatibility aliases (bug#12135).
8453
8454 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
8455
8456 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
8457 tests by `ignore-error'.
8458 (tramp-find-shell): Open also a new shell, when cache is already
8459 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
8460
8461 2012-08-08 Juri Linkov <juri@jurta.org>
8462
8463 * bookmark.el: Add `defaults' property to the bookmark record.
8464 (bookmark-current-buffer): Doc fix.
8465 (bookmark-make-record): Add `defaults' property with default values
8466 to the bookmark record.
8467 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
8468 with `bookmark-insert-current-bookmark'.
8469 (bookmark-set): Get `defaults' property from the bookmark record
8470 and use it in `read-from-minibuffer'.
8471 (bookmark-insert-current-bookmark): Remove function.
8472
8473 * info.el (Info-bookmark-make-record): Add `defaults' property
8474 with values of canonical Info node name, the current Info file
8475 name and the current Info node name. (Bug#12107)
8476
8477 2012-08-08 Juri Linkov <juri@jurta.org>
8478
8479 * files.el (basic-save-buffer): Use `buffer-name' as the default
8480 of `read-file-name' when buffer is not visiting a file (bug#12128).
8481
8482 2012-08-08 Juri Linkov <juri@jurta.org>
8483
8484 * info.el (Info-isearch-search): Doc fix.
8485 (Info-search): Change search-failed message from "initial node" to
8486 "end of node" (bug#12078).
8487 (Info-isearch-search): Change `isearch-string-state' to
8488 `isearch--state-string'.
8489
8490 2012-08-08 Glenn Morris <rgm@gnu.org>
8491
8492 * language/persian.el: Remove file.
8493 * language/misc-lang.el: Move unique part of persian.el here.
8494 * loadup.el: Remove language/persian.
8495
8496 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
8497
8498 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
8499
8500 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
8501
8502 * progmodes/python.el: Fix defsubst warning.
8503 (python-syntax-context) Rename from python-info-ppss-context.
8504 (python-syntax-context-type): Rename from
8505 python-info-ppss-context-type.
8506 (python-syntax-comment-or-string-p): Rename from
8507 python-info-ppss-comment-or-string-p.
8508
8509 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
8510
8511 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
8512
8513 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
8514
8515 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
8516 a defcustom that is quoted with backquote.
8517
8518 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
8519 Fix handling of interactive spec when the body uses return.
8520 (math-do-arg-check, math-define-function-body): Use backquote forms.
8521 * calc/calc-ext.el (math-defcache): Likewise.
8522 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
8523 * allout.el (allout-new-exposure): Likewise.
8524 * calc/calcalg2.el (math-tracing-integral): Likewise.
8525 * info.el (Info-last-menu-item): Likewise.
8526 * emulation/vip.el (vip-loop): Likewise.
8527 * textmodes/artist.el (artist-funcall): Likewise.
8528 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
8529 Construct menu-item directly.
8530
8531 * progmodes/autoconf.el (font-lock-syntactic-keywords):
8532 Don't declare.
8533
8534 2012-08-07 Chong Yidong <cyd@gnu.org>
8535
8536 * simple.el (deactivate-mark): Preserve text properties when
8537 saving the primary selection (Bug#8384).
8538
8539 2012-08-07 Kevin Ryde <user42@zip.com.au>
8540
8541 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
8542 (woman-parse-numeric-value): On a bad .IP line, issue a warning
8543 and continue processing (Bug#12110).
8544
8545 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
8546
8547 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
8548 syntax-propertize-function (bug#10095).
8549
8550 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
8551
8552 * help-fns.el (help-fns--key-bindings, help-fns--signature)
8553 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
8554 describe-function-1.
8555 (describe-function-1): Use them. Move compiler macro after sig.
8556 (help-fns--compiler-macro): Use function-get. Assume we're already in
8557 standard-output. Adjust layout to new call order.
8558
8559 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
8560 re-binding a symbol that has a symbol-macro (bug#12119).
8561
8562 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
8563
8564 * language/persian.el: New file. (Bug#11812)
8565 * loadup.el: Add language/persian.el.
8566
8567 2012-08-06 Chong Yidong <cyd@gnu.org>
8568
8569 * window.el (window--maybe-raise-frame): New function.
8570 (window--display-buffer): Split off from here.
8571 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8572 (display-buffer-pop-up-window, display-buffer-use-some-window):
8573 Obey an inhibit-switch-frame action alist entry.
8574 (display-buffer): Update doc.
8575
8576 * replace.el (occur-after-change-function): Avoid losing focus by
8577 using the inhibit-switch-frame display parameter (Bug#12139).
8578
8579 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
8580
8581 Make internal shell process buffer names start with space.
8582 * progmodes/python.el (python-shell-make-comint): Add optional
8583 argument INTERNAL.
8584 (run-python-internal): Use it.
8585 (python-shell-internal-get-or-create-process): Check for new
8586 internal buffer names.
8587
8588 2012-08-06 Glenn Morris <rgm@gnu.org>
8589
8590 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
8591 Do less getting and setting of environment variables.
8592
8593 2012-08-05 Chong Yidong <cyd@gnu.org>
8594
8595 * proced.el (proced): Add substitution string to docstring to
8596 trigger autoloading of the proced library on C-h f (Bug#1768).
8597
8598 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
8599 Don't show defvars which have no second argument (Bug#8638).
8600
8601 * imenu.el (imenu-generic-expression): Move documentation here
8602 from imenu--generic-function.
8603 (imenu--generic-function): Refer to imenu-generic-expression.
8604
8605 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
8606
8607 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
8608 indentation declaration.
8609 (viper-loop): Add indentation declaration (Bug#7025).
8610
8611 2012-08-05 Chong Yidong <cyd@gnu.org>
8612
8613 * help-fns.el (describe-variable): Add hyperlink for
8614 directory-local variables files. Improve buffer-local and
8615 permanent-local reporting; suggested by MON KEY (Bug#6644).
8616
8617 * help-mode.el (help-dir-local-var-def): New button type.
8618
8619 * files.el (kill-buffer-hook): Provide a defvar.
8620
8621 2012-08-05 Glenn Morris <rgm@gnu.org>
8622
8623 * eshell/esh-ext.el (eshell/addpath):
8624 Also update eshell-path-env. (Bug#12013)
8625
8626 2012-08-05 Chong Yidong <cyd@gnu.org>
8627
8628 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
8629
8630 * fringe.el (fringe-styles): Add docstring.
8631 (fringe--check-mode): New function.
8632 (set-fringe-mode, set-fringe-style): Use it.
8633 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
8634
8635 * files.el (set-auto-mode): Fix invalid setq call.
8636
8637 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8638
8639 * isearch.el: Misc simplification; use defstruct.
8640 (isearch-mode-map): Dense maps now work like sparse ones.
8641 (isearch--state): New defstruct.
8642 (isearch-string-state, isearch-message-state, isearch-point-state)
8643 (isearch-success-state, isearch-forward-state)
8644 (isearch-other-end-state, isearch-word-state, isearch-error-state)
8645 (isearch-wrapped-state, isearch-barrier-state)
8646 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
8647 replaced by defstruct's accessors.
8648 (isearch--set-state): Rename from isearch-top-state and change
8649 calling convention.
8650 (isearch-push-state): Use new isearch--get-state.
8651 (isearch-toggle-word): Disable regexp when enabling word.
8652 (isearch-message-prefix): Remove unused arg _c-q-hack.
8653 (isearch-message-suffix): Remove unused arg _ellipsis.
8654
8655 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
8656
8657 * simple.el (list-processes--refresh): For a server use :host or
8658 :local as the address.
8659 (list-processes): Doc fix.
8660
8661 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
8662
8663 * lisp/mpc.el: Support password in host argument.
8664 (mpc--proc-connect): Parse and use new password element.
8665 Set mpc-proc variable instead of returning process.
8666 (mpc-proc): Adjust accordingly.
8667
8668 2012-08-03 Eli Zaretskii <eliz@gnu.org>
8669
8670 * whitespace.el (whitespace-display-mappings): Use Unicode
8671 codepoints, instead of emacs-mule codepoints. See
8672 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
8673 for the details.
8674
8675 * files.el (file-truename): Don't skip symlink-chasing part on
8676 windows-nt. Incorporate the resolution of 8+3 short aliases on
8677 Windows into the loop that recursively chases symlinks.
8678 Compare directory and its parent case-insensitively on MS-Windows and
8679 MS-DOS.
8680
8681 2012-08-03 Chong Yidong <cyd@gnu.org>
8682
8683 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
8684
8685 * sort.el (sort-regexp-fields): Doc fix.
8686
8687 2012-08-03 Tassilo Horn <tsdh@gnu.org>
8688
8689 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
8690 labels regex position point at the expected place.
8691
8692 2012-08-03 MON KEY <monkey@sandpframing.com>
8693
8694 * net/imap.el (imap-interactive-login, imap-authenticate)
8695 (imap-mailbox-lsub, imap-mailbox-list)
8696 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
8697 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
8698 (imap-parse-response): Doc fix.
8699
8700 2012-08-03 João Távora <joaotavora@gmail.com>
8701
8702 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
8703 if sexp scanning does not move point (Bug#5734).
8704
8705 2012-08-02 Tassilo Horn <tsdh@gnu.org>
8706
8707 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
8708 Add listings, minted, and ctable packages.
8709 (reftex-label-alist-builtin): Move listings, minted, and ctable
8710 entries before LaTeX.
8711 (reftex-label-alist): Docfix.
8712
8713 2012-08-02 Bastien Guerry <bzg@gnu.org>
8714
8715 * replace.el (occur): Fix docstring (bug#12122).
8716
8717 2012-08-02 Glenn Morris <rgm@gnu.org>
8718
8719 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
8720
8721 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
8722
8723 Obsolete alias inactivate-current-input-method-function (Bug#10150).
8724 * international/mule-cmds.el: Create
8725 inactivate-current-input-method-function as an obsolete alias for
8726 deactivate-current-input-method-function. See Katsumi Yamaoka in
8727 <http://bugs.gnu.org/10150#46>.
8728
8729 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
8730
8731 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
8732 of nested `if's.
8733
8734 2012-08-01 Glenn Morris <rgm@gnu.org>
8735
8736 * progmodes/autoconf.el (autoconf-definition-regexp):
8737 Add AH_TEMPLATE, adjust submatch numbering.
8738 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
8739 (autoconf-current-defun-function): Update for above change.
8740 (autoconf-current-defun-function): First skip to end of current word.
8741
8742 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
8743
8744 * calendar/cal-html.el (cal-html-insert-agenda-days):
8745 Fix typo. (Bug#12018)
8746
8747 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
8748
8749 Shell processes: enhancements to startup and CEDET compatibility.
8750 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
8751 (python-shell-make-comint): accept-process-output at startup.
8752 (run-python-internal): Set inferior-python-mode-hook to nil.
8753 (python-shell-internal-get-or-create-process): call sit-for.
8754 (python-preoutput-result): Add obsolete alias.
8755 (python-shell-internal-send-string): Use it.
8756 (python-shell-send-setup-code): Remove call to
8757 accept-process-output.
8758
8759 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
8760
8761 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
8762 (Bug#12108)
8763
8764 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
8765
8766 * calc-mode.el (calc-basic-simplification-mode): Rename from
8767 `calc-limited-simplification-mode'.
8768 (calc-alg-simplification-mode): New function.
8769 (calc-set-simplify-mode): Adjust message.
8770
8771 * calc.el (calc-set-mode-line): Adjust mode line display for
8772 basic simplification mode.
8773
8774 * calc-help.el (calc-m-prefix-help): Update help message.
8775
8776 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
8777 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
8778
8779 2012-07-31 Bastien Guerry <bzg@gnu.org>
8780
8781 * man.el (man): Fix comment. (bug#12101)
8782
8783 2012-07-31 Martin Rudalics <rudalics@gmx.at>
8784
8785 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
8786 Don't return a non-nil value when no suitable buffer was found.
8787
8788 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
8789
8790 * progmodes/python.el (run-python-internal): Disable font lock for
8791 internal shells.
8792
8793 2012-07-30 Stefan Merten <smerten@oekonux.de>
8794
8795 * textmodes/rst.el: Silence `checkdoc-ispell'.
8796 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
8797 (rst-official-version, rst-official-cvs-rev)
8798 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
8799 (rst-mode-map): New key binding.
8800
8801 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
8802
8803 Update .PHONY listings in makefiles.
8804 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
8805 autoloads, update-subdirs, updates, bzr-update, update-authors,
8806 compile-onefile, compile-calc, backup-compiled-files,
8807 compile-after-backup, compile-one-process, mh-autoloads,
8808 bootstrap-clean, distclean, maintainer-clean.
8809
8810 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
8811
8812 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
8813 (calc-set-mode-line): Don't display "AlgSimp ".
8814
8815 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
8816 (calc-lim-simplify-mode): New function.
8817 (calc-set-simplify-mode): Default to 'alg.
8818 (calc-default-simplify-mode): Make algebraic simplifications
8819 the default.
8820
8821 * calc/calc-ext.el (calc-init-extensions): Remove binding for
8822 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
8823
8824 * calc/calc-help.el (calc-m-prefix-help): Change messages to
8825 indicate new simplification modes.
8826
8827 * calc/README: Mention new default simplification mode.
8828
8829 * calc/calc.el (math-normalize-error): New variable.
8830 (math-normalize): Set `math-normalize-error' to t
8831 when there's an error.
8832
8833 * calc/calc-alg.el (math-simplify): Don't simplify when
8834 `math-normalize' returns an error.
8835
8836 2012-07-29 Eli Zaretskii <eliz@gnu.org>
8837
8838 * international/mule-cmds.el (set-locale-environment): Revert last
8839 change, since display-graphic-p returns nil when this function is
8840 called during startup. Instead...
8841
8842 * term/w32console.el (terminal-init-w32console): ...setup the
8843 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
8844
8845 2012-07-29 Juri Linkov <juri@jurta.org>
8846
8847 * simple.el (goto-line): Don't display default line number in the
8848 prompt because it should be displayed by `read-number' (bug#9952).
8849 Add the current line number to the defaults of `goto-line' to
8850 allow its easier modification by users with `M-n' (bug#9201).
8851
8852 * subr.el (read-number): Support multiple default values like in
8853 other minibuffer reading functions. Replace `read' with
8854 `string-to-number' for consistency with `number-to-string'.
8855
8856 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
8857
8858 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
8859 * emulation/viper-init.el (viper-deactivate-input-method-action):
8860 Rename from viper-inactivate-input-method-action.
8861 (viper-deactivate-input-method):
8862 Rename from viper-inactivate-input-method.
8863 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
8864 * international/mule-cmds.el (deactivate-input-method):
8865 Rename from inactivate-input-method.
8866 Also run input-method-deactivate-hook.
8867 (deactivate-current-input-method-function):
8868 Rename from inactivate-current-input-method-function.
8869 (input-method-deactivate-hook): New hook.
8870 (input-method-inactivate-hook): Mark obsolete.
8871 (inactivate-input-method): Mark obsolete.
8872
8873 * international/quail.el (quail-activate):
8874 Also run quail-deactivate-hook.
8875 (quail-deactivate): Rename from quail-inactivate.
8876 * international/robin.el (robin-activate):
8877 Also run robin-deactivate-hook.
8878 (robin-deactivate): Rename from robin-inactivate.
8879
8880 2012-07-29 Chong Yidong <cyd@gnu.org>
8881
8882 * simple.el (indicate-copied-region): New function.
8883 (kill-ring-save): Split off from here.
8884
8885 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
8886 (kill-rectangle): Set deactivate-mark to t on read-only error.
8887
8888 * register.el (copy-to-register, copy-rectangle-to-register):
8889 Deactivate the mark, and use indicate-copied-region (Bug#10056).
8890 (append-to-register, prepend-to-register): Call indicate-copied-region.
8891
8892 2012-07-29 Juri Linkov <juri@jurta.org>
8893
8894 * simple.el (async-shell-command-buffer): New defcustom.
8895 (shell-command): Use it. (Bug#4719)
8896
8897 2012-07-28 Eli Zaretskii <eliz@gnu.org>
8898
8899 * international/mule-cmds.el (set-locale-environment): In a
8900 console session on MS-Windows, set up keyboard and terminal
8901 encoding from the OEM codepage, not the ANSI codepage.
8902 (Bug#12055)
8903
8904 2012-07-28 Chong Yidong <cyd@gnu.org>
8905
8906 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
8907 gdb-get-location.
8908
8909 2012-07-28 Leo Liu <sdl.web@gmail.com>
8910
8911 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
8912 the alist (bug#12029).
8913
8914 2012-07-28 Eli Zaretskii <eliz@gnu.org>
8915
8916 * makefile.w32-in (custom-deps, finder-data, updates, compile)
8917 (compile-always, compile-first)
8918 ($(lisp)/calendar/cal-loaddefs.el)
8919 ($(lisp)/calendar/diary-loaddefs.el)
8920 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
8921 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
8922 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
8923 instead of on update-subdirs.
8924 (bootstrap-clean): Delete $(lisp)/subdirs.el.
8925
8926 2012-07-28 Chong Yidong <cyd@gnu.org>
8927
8928 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
8929 directory if vc-deduce-backend returns nil (Bug#7350).
8930
8931 * simple.el (delete-trailing-lines): New option.
8932 (delete-trailing-whitespace): Obey it (Bug#11879).
8933
8934 2012-07-28 David Engster <deng@randomsample.de>
8935
8936 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
8937 Explanation of new 'symbol-qnames feature in doc-strings.
8938 (xml-maybe-do-ns): Return expanded names as plain symbols if
8939 'symbol-qnames was provided in XML-NS argument (Bug#11916).
8940 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
8941
8942 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
8943
8944 Consistent completion in inferior python with emacs -nw.
8945 * progmodes/python.el (inferior-python-mode): replace "<tab>"
8946 binding in inferior-python-mode-map with "\t".
8947 (python-shell-completion-complete-at-point)
8948 (python-completion-complete-at-point): Remove interactive spec.
8949
8950 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
8951
8952 * calc/calccomp.el (math-compose-expr): Undo previous change.
8953
8954 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
8955
8956 * progmodes/python.el (python-mode-map): Add keybinding for
8957 run-python.
8958 (python-shell-make-comint): Fix pop-to-buffer call.
8959 (run-python): Autoload. New arg SHOW.
8960 (python-shell-get-or-create-process): Do not pop python process
8961 buffer.
8962
8963 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
8964
8965 * notifications.el (notifications-on-action-signal)
8966 (notifications-on-closed-signal): Use also the bus address for the map.
8967 (notifications-notify, notifications-close-notification)
8968 (notifications-get-capabilities): Add optional argument BUS.
8969
8970 2012-07-27 Tassilo Horn <tsdh@gnu.org>
8971
8972 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
8973 Add support for the lstlisting and minted environments, and for the
8974 ctable macro.
8975 * textmodes/reftex.el (reftex-compile-variables): Also recognize
8976 labels written in keyvals syntax.
8977
8978 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
8979
8980 * calc/calccomp.el (math-compose-expr): Use parentheses when
8981 there is a product in the denominator of a fraction.
8982
8983 2012-07-26 Eli Zaretskii <eliz@gnu.org>
8984
8985 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
8986 ($(lisp)/calendar/diary-loaddefs.el)
8987 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
8988 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
8989 Fixes failures in parallel bootstrap because subdirs.el is being
8990 rewritten while the autoload files are built at the same time,
8991 which needs to load subdirs.el.
8992
8993 2012-07-26 Martin Rudalics <rudalics@gmx.at>
8994
8995 * mouse.el (popup-menu): Fix doc-string and re-indent code.
8996 (mouse-drag-line): Don't exit tracking when a switch-frame or
8997 switch-window event occurs (Bug#12006).
8998
8999 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9000
9001 * mouse.el (popup-menu): Fix last change.
9002
9003 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9004
9005 Autoload from Lisp with more care. Follow aliases when looking for
9006 function properties.
9007 * subr.el (autoloadp): New function.
9008 (symbol-file): Use it.
9009 (function-get): New function.
9010 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
9011 autoload-do-load.
9012 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
9013 (lisp-indent-function):
9014 * emacs-lisp/gv.el (gv-get):
9015 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
9016 * emacs-lisp/byte-opt.el (byte-optimize-form):
9017 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
9018 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
9019 Use function-get.
9020 * emacs-lisp/cl.el: Don't propagate function properties any more.
9021
9022 * speedbar.el (speedbar-add-localized-speedbar-support):
9023 * emacs-lisp/disass.el (disassemble-internal):
9024 * desktop.el (desktop-load-file):
9025 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
9026 (describe-function-1):
9027 * emacs-lisp/find-func.el (find-function-noselect):
9028 * emacs-lisp/elp.el (elp-instrument-function):
9029 * emacs-lisp/advice.el (ad-has-proper-definition):
9030 * apropos.el (apropos-safe-documentation, apropos-macrop):
9031 * emacs-lisp/debug.el (debug-on-entry):
9032 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
9033 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
9034 * calc/calc.el (name): Use autoloadp & autoload-do-load.
9035
9036 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
9037
9038 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
9039 function, not an obsolete variable (Bug#12046).
9040
9041 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
9042
9043 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
9044
9045 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
9046
9047 * emacs-lisp/pp.el (pp-display-expression): Select old selected
9048 window only if it is still live (Bug#12034).
9049
9050 2012-07-25 Martin Rudalics <rudalics@gmx.at>
9051
9052 * subr.el (redirect-frame-focus): Add advertised calling
9053 convention (Bug#12030).
9054
9055 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
9056
9057 Prefer typical American spelling for "acknowledgment".
9058 * vc/add-log.el (change-log-acknowledgment): Rename from
9059 change-log-acknowledgement, with an alias for the old name.
9060
9061 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
9062
9063 * calc-alg.el (math-simplify-divide): Don't cross multiply
9064 in an equation when the lhs is a variable.
9065
9066 2012-07-24 Julien Danjou <julien@danjou.info>
9067
9068 * net/netrc.el (netrc-find-service-number, netrc-store-data):
9069 Remove, unused.
9070
9071 2012-07-23 Eli Zaretskii <eliz@gnu.org>
9072
9073 * startup.el (command-line): Don't display an empty user name in
9074 the error message about non-existent home directory, when
9075 init-file-user was set to an empty string. See
9076 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
9077 for the details and context.
9078
9079 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
9080
9081 * ses.el (ses-cell-formula-aset): New macro.
9082 (ses-cell-references-aset): New macro.
9083 (ses-cell-p): New function.
9084 (ses-rename-cell): Do no longer rely on complex operations like
9085 ses-cell-set-formula or ses-set-cell to change the cell and handle
9086 the undo at the same time, but rather use lower level new macros
9087 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
9088 the undo directly. Refresh the mode line.
9089
9090 2012-07-21 Leo Liu <sdl.web@gmail.com>
9091
9092 * progmodes/cc-cmds.el (c-defun-name):
9093 Use match-string-no-properties instead for consistency.
9094
9095 2012-07-20 Leo Liu <sdl.web@gmail.com>
9096
9097 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
9098 (Bug#7879)
9099
9100 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
9101
9102 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
9103
9104 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
9105 * progmodes/bug-reference.el, misearch.el: Provide themselves
9106 (bug#11915).
9107
9108 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
9109 of narrowed buffer (bug#11966).
9110
9111 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
9112
9113 * ses.el (ses-rename-cell): Set new name also in reference list of
9114 cells of which the renamed cell depends.
9115
9116 2012-07-20 Masatake YAMATO <yamato@redhat.com>
9117
9118 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
9119 to check whether menu-bar is shown or not. If not shown,
9120 show the menu-bar as a popup menu instead of using tmm.
9121 * mouse.el (popup-menu): Accept `point' as `position' argument.
9122
9123 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
9124
9125 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
9126 up inside string symbol literal (bug#11923).
9127
9128 2012-07-20 Eli Zaretskii <eliz@gnu.org>
9129
9130 * startup.el (fancy-startup-text): Read the whole tutorial, not
9131 just its first 256 bytes. Prevents gibberish in display of the
9132 tutorial title.
9133
9134 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
9135
9136 Drop idle buffer compaction due to an absence of the
9137 proved efficiency.
9138 * compact.el: Remove.
9139
9140 2012-07-19 Sam Steingold <sds@gnu.org>
9141
9142 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
9143 vc-bzr-pull & vc-bzr-merge-branch.
9144 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
9145 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
9146 for consistency with compilation-error-regexp-alist.
9147 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
9148 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
9149 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
9150 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
9151
9152 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
9153
9154 * emacs-lisp/chart.el: Use lexical-binding.
9155 (chart-emacs-storage): Don't hardcode the list of entries.
9156
9157 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
9158
9159 Next round of tweaks caused by Fgarbage_collect changes.
9160 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
9161
9162 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
9163
9164 Compact buffers when idle.
9165 * compact.el: New file.
9166
9167 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
9168
9169 * subr.el (eventp): Presume that if it looks vaguely like an event,
9170 it's an event (bug#10190).
9171
9172 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
9173
9174 Enhancements to ppss related code (thanks Stefan).
9175 * progmodes/python.el (python-indent-context)
9176 (python-indent-calculate-indentation, python-indent-dedent-line)
9177 (python-indent-electric-colon, python-nav-forward-block)
9178 (python-mode-abbrev-table)
9179 (python-info-assignment-continuation-line-p): Simplify checks
9180 for ppss context.
9181 (python-info-continuation-line-p): Cleanup.
9182 (python-info-ppss-context): Do not catch 'quote.
9183 (python-info-ppss-context-type)
9184 (python-info-ppss-comment-or-string-p): Simplify.
9185
9186 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
9187
9188 * progmodes/python.el: Enhancements to eldoc support.
9189 (python-info-current-symbol): New function.
9190 (python-eldoc-at-point): Use python-info-current-symbol.
9191 (python-info-current-defun): Fix cornercase on first defun scan.
9192 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
9193 and signal error when no inferior python process is available.
9194
9195 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
9196
9197 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
9198 assume it's always t.
9199 (vc-git-registered): Remove caching, the function is only called
9200 once.
9201 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
9202
9203 2012-07-18 Chong Yidong <cyd@gnu.org>
9204
9205 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
9206
9207 * simple.el (count-words): Report on narrowing (Bug#9959).
9208
9209 * bindings.el: Bind M-= to count-words.
9210
9211 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
9212
9213 2012-07-18 Masatake YAMATO <yamato@redhat.com>
9214
9215 * progmodes/sh-script.el (sh-imenu-generic-expression):
9216 Capture a function with `function' keyword and without parentheses
9217 like "function FOO" (bug#11856).
9218
9219 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
9220
9221 * window.el (split-window-sensibly): Make WINDOW argument
9222 optional.
9223
9224 2012-07-18 Chong Yidong <cyd@gnu.org>
9225
9226 * subr.el (keyboard-translate): Doc fix (Bug#7261).
9227
9228 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
9229 and make C-x 8 RET exit isearch (Bug#11439).
9230
9231 * international/iso-transl.el: Move isearch-mode-map key
9232 definitions to isearch.el.
9233
9234 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
9235
9236 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
9237 (eieio-defclass): Use gv-define-setter when possible.
9238
9239 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
9240
9241 Reflect recent changes in Fgarbage_collect.
9242 * emacs-lisp/chart.el (chart-emacs-storage): Change to
9243 reflect new format of data returned by Fgarbage_collect.
9244
9245 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9246
9247 New utility functions + python-info-ppss-context fix (Bug#11910).
9248 * progmodes/python.el (python-info-beginning-of-block-statement-p)
9249 (python-info-ppss-comment-or-string-p): New functions.
9250 (python-info-ppss-context): Small fix for string check.
9251
9252 2012-07-17 Juri Linkov <juri@jurta.org>
9253
9254 * dired-aux.el (dired-do-async-shell-command): Doc fix.
9255 (dired-do-async-shell-command): Don't add `*' at the end of the
9256 command (Bug#11815).
9257 (dired-do-shell-command): Doc fix.
9258 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
9259 Join the individual commands using either "&" or ";" as the
9260 separator depending on the values of these trailing characters.
9261 At the end re-add the trailing "&". (Bug#10598)
9262
9263 * simple.el (async-shell-command): Sync the interactive spec with
9264 `shell-command'. Doc fix.
9265 (shell-command): Doc fix.
9266
9267 2012-07-17 Juri Linkov <juri@jurta.org>
9268
9269 * descr-text.el (describe-char): Fix format args. (Bug#10129)
9270
9271 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9272
9273 Final renames and doc fixes for movement commands (bug#11899).
9274 * progmodes/python.el (python-nav-beginning-of-statement):
9275 Rename from python-nav-statement-start.
9276 (python-nav-end-of-statement): Rename from
9277 python-nav-statement-end.
9278 (python-nav-beginning-of-block): Rename from
9279 python-nav-block-start.
9280 (python-nav-end-of-block): Rename from python-nav-block-end.
9281
9282 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9283
9284 * progmodes/python.el (python-shell-send-string-no-output):
9285 Allow accept-process-output to quit, keeping shell process ready for
9286 future interactions (Bug#11868).
9287
9288 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
9289
9290 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
9291
9292 * emacs-lisp/elint.el (elint-find-args-in-code):
9293 Use help-function-arglist, so as to handle lexical byte-code.
9294
9295 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
9296 change (bug#11826).
9297
9298 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
9299
9300 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
9301 Avoid spuriously marking the buffer as modified because of c-is-sws.
9302
9303 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
9304 as not-a-comment (bug#11946).
9305
9306 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
9307 for uninterned vars.
9308
9309 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
9310 Use read-event since we don't really want to read chars but bytes.
9311
9312 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
9313 $$..$$ but also $..$ using regexps (bug#11953).
9314 Use tex-verbatim for \url and \path.
9315 (tex-font-lock-keywords): Define as defconst like the others.
9316 (tex-common-initialization): Don't use font-lock-syntax-table any more.
9317
9318 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
9319
9320 * international/mule-cmds.el (ucs-insert): Make it an obsolete
9321 alias for insert-char.
9322
9323 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
9324
9325 * progmodes/python.el: Simplified imenu implementation.
9326 (python-nav-jump-to-defun): Remove command.
9327 (python-mode-map): Use `imenu' instead.
9328 (python-nav-list-defun-positions-cache)
9329 (python-imenu-include-defun-type, python-imenu-make-tree)
9330 (python-imenu-subtree-root-label, python-imenu-index-alist):
9331 Remove vars.
9332 (python-nav-list-defun-positions, python-nav-read-defun)
9333 (python-imenu-tree-assoc, python-imenu-make-element-tree)
9334 (python-imenu-make-tree, python-imenu-create-index):
9335 Remove functions.
9336 (python-mode): Update to interact with imenu by setting
9337 `imenu-extract-index-name-function' only.
9338
9339 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
9340
9341 * progmodes/python.el: Enhancements to navigation commands.
9342 (python-nav-backward-sentence)
9343 (python-nav-forward-sentence): Remove.
9344 (python-nav-backward-statement, python-nav-forward-statement)
9345 (python-nav-statement-start, python-nav-statement-end)
9346 (python-nav-backward-block, python-nav-forward-block)
9347 (python-nav-block-start, python-nav-block-end)
9348 (python-nav-forward-sexp-function)
9349 (python-info-current-line-comment-p)
9350 (python-info-current-line-empty-p): New functions.
9351 (python-indent-context): Use `python-nav-statement-start'.
9352
9353 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
9354
9355 * eshell/em-ls.el (eshell/ls): Use `apply'.
9356
9357 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
9358 multi-hops, instead of Tramp internals.
9359
9360 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
9361
9362 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
9363 when F1 and F2 are located on different hosts.
9364
9365 2012-07-14 Chong Yidong <cyd@gnu.org>
9366
9367 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
9368 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
9369 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
9370 (xterm-mouse--read-event-sequence-1000)
9371 (xterm-mouse--read-event-sequence-1006): New functions. For old
9372 mouse protocol, handle M-mouse-X events correctly.
9373 (xterm-mouse-event): New arg specifying mouse protocol.
9374 (turn-on-xterm-mouse-tracking-on-terminal)
9375 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
9376 sequence to toggle extended coordinates on newer XTerms.
9377 This appears to be harmless on terminals which do not support this.
9378
9379 2012-07-14 Leo Liu <sdl.web@gmail.com>
9380
9381 Add fringe bitmap indicators for flymake. (Bug#11253)
9382 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
9383 (flymake-make-overlay): New arg BITMAP.
9384 (flymake-error-bitmap, flymake-warning-bitmap)
9385 (flymake-fringe-indicator-position): New user variables.
9386
9387 * fringe.el: New bitmap exclamation-mark.
9388
9389 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
9390
9391 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
9392 also (Bug#7879).
9393
9394 2012-07-14 Chong Yidong <cyd@gnu.org>
9395
9396 * electric.el (electric-pair-post-self-insert-function): Fix pair
9397 insertion in empty-region case (Bug#11520).
9398
9399 2012-07-14 Chong Yidong <cyd@gnu.org>
9400
9401 * bindings.el: Consolidate ctl-x-r-map bindings.
9402 Bind copy-rectangle-as-kill to C-x r w.
9403
9404 * rect.el, register.el: Move bindings to bindings.el.
9405
9406 2012-07-14 Reuben Thomas <rrt@sc3d.org>
9407
9408 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
9409
9410 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
9411
9412 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
9413
9414 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
9415
9416 * bindings.el (top): Use `mapc' instead of `mapcar'.
9417
9418 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
9419
9420 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
9421
9422 * progmodes/sql.el (sql-comint): Suppress the check for program on
9423 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
9424 (Bug#11908)
9425
9426 2012-07-13 Chong Yidong <cyd@gnu.org>
9427
9428 * bindings.el: Assign a non-nil permanent-local property to
9429 per-buffer variables which lack a default value (Bug#11930).
9430
9431 * help-fns.el (describe-variable): In the "automatically becomes
9432 local" notice, take note of permanent-local variables.
9433
9434 2012-07-13 Chong Yidong <cyd@gnu.org>
9435
9436 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
9437 to allow printing the message when called from Lisp.
9438
9439 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9440 Remove toggle-read-only.
9441
9442 * bs.el (bs-toggle-readonly):
9443 * buff-menu.el (Buffer-menu-toggle-read-only):
9444 Remove with-no-warnings around toggle-read-only.
9445
9446 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
9447 Remove with-no-warnings around toggle-read-only.
9448 (ffap-read-only, ffap-read-only-other-window)
9449 (ffap-read-only-other-frame): Callers changed.
9450
9451 * help-mode.el: Don't require view package.
9452 (help-mode-finish): Set buffer-read-only instead of calling
9453 toggle-read-only.
9454
9455 * bindings.el (mode-line-toggle-read-only):
9456 * dired.el (dired-toggle-read-only):
9457 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
9458 with non-nil second arg.
9459
9460 * emacs-lisp/eieio-custom.el (eieio-customize-object):
9461 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
9462 directly.
9463
9464 2012-07-12 Eli Zaretskii <eliz@gnu.org>
9465
9466 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
9467 not incf.
9468
9469 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
9470
9471 More CL cleanups and reduction of use of cl.el.
9472 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
9473 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
9474 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
9475 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
9476 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
9477 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
9478 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
9479 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
9480 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
9481 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
9482 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
9483 * eshell/em-cmpl.el, eshell/em-banner.el:
9484 * calendar/parse-time.el: Use cl-lib.
9485 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
9486 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
9487 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
9488 * term/ns-win.el, term.el, shell.el, ps-samp.el:
9489 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
9490 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
9491 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
9492 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
9493 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
9494 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
9495 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
9496 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
9497 `lambda' rather than with `quote'.
9498 (eshell-do-opt): Adjust accordingly.
9499 (eshell-process-option): Simplify.
9500 * eshell/esh-var.el:
9501 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
9502 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
9503 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
9504 to `pcase--dontcare'.
9505 * emacs-lisp/cl.el (labels): Mark obsolete.
9506 (cl--letf, letf): Move to cl-lib.
9507 (cl--letf*, letf*): Remove.
9508 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
9509 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
9510 (cl-progv): Rewrite.
9511 (cl--letf, cl-letf): Move from cl.el.
9512 (cl-letf*): New macro.
9513 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
9514
9515 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
9516
9517 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
9518
9519 2012-07-11 Chong Yidong <cyd@gnu.org>
9520
9521 * vc/log-edit.el (log-edit-vc-backend): New variable.
9522 (log-edit): Doc fix.
9523
9524 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
9525 argument of log-edit to set up all local variables.
9526 (vc-start-logentry): New optional arg specifying VC backend.
9527
9528 * vc/vc.el (vc-checkin): Use it.
9529 (vc-deduce-fileset): Handle Log Edit buffers.
9530 (vc-diff): Make first argument optional too.
9531
9532 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
9533
9534 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
9535
9536 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
9537 command, just in case. The function is not needed anymore.
9538 (eshell-external-command): Do not call `eshell-remote-command'.
9539
9540 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
9541
9542 Reduce use of (require 'cl).
9543 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
9544 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
9545 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
9546 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
9547 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
9548 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
9549 * battery.el, avoid.el, abbrev.el: Use cl-lib.
9550 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
9551 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
9552 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
9553 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
9554 * calculator.el, autorevert.el, apropos.el: Don't require CL.
9555 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
9556 (byte-compile-unfold-bcf, byte-compile-check-variable):
9557 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
9558 (byte-compile-nilconstp):
9559 * emacs-lisp/autoload.el (make-autoload): Use pcase.
9560 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
9561
9562 * emacs-lisp/gv.el (cond): Make it a valid place.
9563 (if): Simplify slightly.
9564
9565 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
9566 (pcase--self-quoting-p): New function.
9567 (pcase--u1): Use it.
9568
9569 2012-07-10 Glenn Morris <rgm@gnu.org>
9570
9571 * emacs-lisp/authors.el (authors-fixed-entries):
9572 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
9573
9574 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
9575
9576 Rename configure.in to configure.ac (Bug#11603).
9577 * emacs-lisp/authors.el (authors-canonical-file-name):
9578 * progmodes/autoconf.el (autoconf-mode):
9579 Prefer configure.ac to configure.in.
9580
9581 2012-07-08 Chong Yidong <cyd@gnu.org>
9582
9583 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
9584 Implement the mouse-1-click-follows-link handling properly.
9585
9586 * info.el (Info-link-keymap): Use follow-link mechanism for
9587 header-line links (Bug#374).
9588
9589 * simple.el (deactivate-mark): Do not set the primary selection
9590 if another program has acquired it (Bug#11772).
9591
9592 2012-07-07 Kevin Ryde <user42@zip.com.au>
9593
9594 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
9595 (woman-decode-region): Replace escaped-escapes without destroying
9596 bold or underline (Bug#11552).
9597 (woman2-process-escapes): Handle nofill regions (Bug#11591).
9598
9599 2012-07-07 Chong Yidong <cyd@gnu.org>
9600
9601 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
9602 (interprogram-cut-function, interprogram-paste-function):
9603 Mention that we typically mean the clipboard.
9604
9605 2012-07-06 Glenn Morris <rgm@gnu.org>
9606
9607 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
9608
9609 * files.el (toggle-read-only): Restrict message to interactive use.
9610
9611 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
9612
9613 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
9614
9615 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
9616
9617 2012-07-06 Glenn Morris <rgm@gnu.org>
9618
9619 * Makefile.in (compile-one-process): Rename from "recompile".
9620
9621 * Makefile.in (bzr-update): "compile" is the same as "recompile
9622 autoloads", but parallelizable, so use that instead.
9623
9624 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
9625
9626 * window.el (quit-window): Always restore window height when
9627 it's saved in quit-restore parameter (Bug#11810).
9628
9629 2012-07-06 Glenn Morris <rgm@gnu.org>
9630
9631 * simple.el (kill-whole-line): Doc tweak.
9632
9633 2012-07-06 Eli Zaretskii <eliz@gnu.org>
9634
9635 * files.el (file-relative-name): Compare file names
9636 case-insensitively if on MS-Windows or MS-DOS, or if
9637 read-file-name-completion-ignore-case is non-nil. Don't use
9638 case-fold-search for this purpose. (Bug#11827)
9639
9640 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
9641
9642 * calendar/cal-dst.el (calendar-current-time-zone):
9643 Return calendar-current-time-zone-cache if non-nil.
9644
9645 2012-07-17 Masatake YAMATO <yamato@redhat.com>
9646 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
9647
9648 * calendar/cal-dst.el (calendar-current-time-zone):
9649 Return calendar-current-time-zone-cache if non-nil.
9650
9651 2012-07-06 Glenn Morris <rgm@gnu.org>
9652
9653 * Makefile.in (cvs-update): Remove old alias.
9654
9655 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
9656
9657 Sync with Tramp 2.2.6-pre.
9658
9659 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
9660 compatible declaration.
9661
9662 * net/tramp-cmds.el (tramp-append-tramp-buffers):
9663 Protect `list-load-path-shadows' call.
9664
9665 * net/tramp-compat.el (top): Require packages, which aren't
9666 autoloaded anymore for XEmacs. Protect call of
9667 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
9668 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
9669 it hurts at least for SXEmacs.
9670 (tramp-compat-temporary-file-directory): In XEmacs, there is no
9671 standard-value for `temporary-file-directory'.
9672
9673 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
9674 Redirect stderr to /dev/null.
9675 (tramp-sh-handle-write-region): uid and gid can be floats.
9676 Reported by Russell Sim <russell.sim@gmail.com>.
9677 (tramp-sh-handle-vc-registered): Hide errors.
9678 (tramp-vc-file-name-handler): Use dummy results for `process-file'
9679 and `start-file-process'.
9680 (tramp-maybe-open-connection): Check also whether `non-essential'
9681 is bound.
9682
9683 2012-07-04 Chong Yidong <cyd@gnu.org>
9684
9685 * xml.el (xml--parse-buffer): Use xml-syntax-table.
9686 (xml-parse-tag): Likewise, and avoid changing entity tables.
9687 (xml-syntax-table): Define from scratch, making sure not to give
9688 x2000 and other Unicode spaces whitespace syntax, since those are
9689 not spaces in XML.
9690 (xml-parse-fragment): Delete unused function.
9691 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
9692 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
9693 (xml-entity-ref, xml-pe-reference-re)
9694 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
9695 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
9696 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
9697 (xml-entity-value-re): Use syntax references in regexps where
9698 possible; no need to define inside a let-binding.
9699 (xml-parse-dtd): Use xml-pe-reference-re.
9700 (xml-entity-or-char-ref-re): New defconst.
9701 (xml-parse-string, xml-substitute-special): Use it.
9702
9703 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9704
9705 * files.el (locate-dominating-file): Allow `name' to be a predicate.
9706 (find-file--read-only): New function.
9707 (find-file-read-only, find-file-read-only-other-window)
9708 (find-file-read-only-other-frame): Use it.
9709 (insert-file-contents-literally): Don't `fset'.
9710 (get-free-disk-space): Use locate-dominating-file.
9711
9712 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
9713 function is already compiled.
9714
9715 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
9716
9717 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
9718
9719 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
9720 files on the same host.
9721
9722 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
9723
9724 * help-fns.el (describe-function-1): Only call
9725 help-fns--autoloaded-p when we have a file name. (Bug#11848)
9726
9727 2012-07-03 Chong Yidong <cyd@gnu.org>
9728
9729 * xml.el: Protect parser against XML bombs.
9730 (xml-entity-expansion-limit): New variable.
9731 (xml-parse-string, xml-substitute-special): Use it.
9732 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
9733
9734 2012-07-03 Glenn Morris <rgm@gnu.org>
9735
9736 * progmodes/bug-reference.el (bug-reference-bug-regexp):
9737 Allow linking to specific messages in debbugs reports (eg 123#5).
9738
9739 2012-07-02 Chong Yidong <cyd@gnu.org>
9740
9741 * xml.el: Fix entity and character reference expansion, allowing
9742 them to expand into markup as per XML spec.
9743 (xml-default-ns): New variable.
9744 (xml-entity-alist): Use XML spec definitions for lt and amp.
9745 (xml-parse-region): Make first two arguments optional.
9746 Discard text properties.
9747 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
9748 All callers changed.
9749 (xml-parse-tag): Call xml-parse-tag-1. For backward
9750 compatibility, this function should not modify buffer contents.
9751 (xml-parse-tag-1): Fix opening-tag regexp.
9752 (xml-parse-string): Rewrite, handling entity and character
9753 references properly.
9754 (xml--entity-replacement-text): Signal an error if a parameter
9755 entity is undefined.
9756
9757 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
9758
9759 * comint.el (comint-output-filter): Filter out repeated prompts.
9760
9761 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
9762 and file-name-absolute-p.
9763 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
9764 internal calls.
9765
9766 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
9767
9768 Spelling fixes.
9769 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
9770 Rename from byte-compile--refiy-function. All uses changed.
9771
9772 2012-07-01 Chong Yidong <cyd@gnu.org>
9773
9774 * xml.el (xml--parse-buffer): New function. Move most of
9775 xml-parse-region here.
9776 (xml-parse-region): Copy region into a temporary buffer, since
9777 parameter entity substitution requires changing buffer contents.
9778 Use xml--parse-buffer.
9779 (xml-parse-file): Use xml--parse-buffer.
9780 (xml-parse-dtd): Make parameter entity substitution work right.
9781 Use proper regexps for ELEMENT declarations (Bug#7172).
9782
9783 2012-06-30 Glenn Morris <rgm@gnu.org>
9784
9785 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
9786
9787 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
9788 Remove outdated and unnecessary dbus declarations.
9789
9790 2012-06-30 Eli Zaretskii <eliz@gnu.org>
9791
9792 * emacs-lisp/timer.el (timer-until): Subtract results of
9793 float-time, instead of taking float-time of the result of
9794 time-subtract, since float-time signals an error for negative time
9795 arguments.
9796
9797 2012-06-30 Chong Yidong <cyd@gnu.org>
9798
9799 * xml.el (xml-*-re): Convert defvars into defconsts, and
9800 eval-and-compile them so eval-and-compile works on derivatives.
9801 (xml--entity-replacement-text): Use eval-and-comple.
9802
9803 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
9804
9805 * vc/vc-git.el (vc-git-registered): Use cache property
9806 `git-registered'.
9807 (vc-git-mode-line-string): Call `vc-working-revision' instead of
9808 `vc-git-working-revision' in order to benefit from the cache.
9809 (vc-git-root): Use cache property `git-root'. (Bug#11757)
9810
9811 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
9812
9813 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
9814 removed (likely outside Emacs). (Bug#11757)
9815
9816 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
9817
9818 * emacs-lisp/cl-lib.el: Require macroexp.
9819
9820 2012-06-30 Chong Yidong <cyd@gnu.org>
9821
9822 * xml.el: Implement XML parameter entities.
9823 (xml-parameter-entity-alist): New variable.
9824 (xml-parse-region, xml-parse-fragment): Preserve previous values
9825 of xml-entity-alist and xml-parameter-entity-alist, so that
9826 repeated calls on different documents do not change them.
9827 (xml-parse-tag): Fix doctype regexp.
9828 (xml--entity-replacement-text): New function.
9829 (xml-parse-dtd): Use it. Don't handle system entities; doing that
9830 properly requires url retrieval which is unimplemented.
9831 (xml-escape-string): Doc fix.
9832
9833 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
9834
9835 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
9836
9837 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
9838
9839 * fringe.el (fringe-mode): Doc fix.
9840
9841 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
9842
9843 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
9844 is non-nil.
9845 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
9846 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
9847
9848 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
9849
9850 * calendar/cal-dst.el (calendar-current-time-zone):
9851 Return calendar-current-time-zone-cache if non-nil.
9852
9853 2012-06-29 Masatake YAMATO <yamato@redhat.com>
9854
9855 * progmodes/which-func.el (which-func-format):
9856 Add mouse-face. (Bug#11698)
9857
9858 2012-06-29 Leo Liu <sdl.web@gmail.com>
9859
9860 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
9861
9862 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
9863
9864 * minibuffer.el (minibuffer-confirm-exit-commands):
9865 Add completion-at-point (bug#11725).
9866
9867 2012-06-29 Glenn Morris <rgm@gnu.org>
9868
9869 * progmodes/f90.el (f90-font-lock-keywords-2):
9870 Add some preprocessor elements. (Bug#10499)
9871
9872 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
9873
9874 * progmodes/cperl-mode.el (cperl-update-syntaxification):
9875 Use syntax-propertize (bug#11739).
9876
9877 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
9878
9879 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
9880
9881 2012-06-28 Julien Danjou <julien@danjou.info>
9882
9883 * term.el (term-handle-colors-array): Use a set of new faces to
9884 color the terminal. Also uses :inverse-video property.
9885 (term-default-fg-color): Set to nil by default, deprecate in favor
9886 of `term-face'.
9887 (term-default-bg-color): Set to nil by default, deprecate in favor
9888 of `term-face'.
9889 (term-current-face): Use `term-face' by default.
9890 (term-bold-attribute): Variable deleted.
9891
9892 2012-06-28 Glenn Morris <rgm@gnu.org>
9893
9894 * simple.el (completion-list-mode-finish):
9895 Don't use toggle-read-only. (Since completion-list-mode has
9896 a special mode-class, it wasn't doing anything extra anyway.)
9897
9898 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
9899
9900 Make inlining of other-mode interpreted functions work (bug#11799).
9901 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
9902 (byte-compile): Use it to fix compilation of lexical-binding closures.
9903 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
9904 function, if needed.
9905
9906 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9907
9908 * help-mode.el (help-make-xrefs): Don't just withstand
9909 cyclic-variable-indirection but any error in documentation-property.
9910
9911 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
9912 memory use.
9913 * bindings.el (bindings--define-key): New function.
9914 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
9915 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
9916 * bindings.el: Use it to purecopy define-key bindings.
9917
9918 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
9919
9920 * emacs-lisp/cl.el (flet): Mark obsolete.
9921 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
9922 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
9923 * progmodes/js.el (js-c-fill-paragraph):
9924 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
9925 (ebrowse-switch-member-buffer-to-derived-class):
9926 * play/5x5.el (5x5-solver): Use cl-flet.
9927
9928 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
9929 (cl--symbol-function): New macro.
9930 (cl--letf, cl--letf*): Use it.
9931
9932 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
9933 Strip "toggle-" if any.
9934
9935 2012-06-27 Glenn Morris <rgm@gnu.org>
9936
9937 * info.el (Info-default-directory-list): Move here from paths.el.
9938 * paths.el: Remove file, which is now empty.
9939 * loadup.el: No longer load "paths".
9940
9941 * custom.el (custom-initialize-delay): Doc fix.
9942
9943 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9944 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
9945 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
9946 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
9947 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
9948 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
9949 * eshell/eshell.el (eshell-defgroup): Remove alias.
9950
9951 2012-06-27 Chong Yidong <cyd@gnu.org>
9952
9953 * help.el (help-enable-auto-load): New variable.
9954
9955 * help-fns.el (help-fns--autoloaded-p): New function.
9956 (describe-function-1): Refer to a function as "autoloaded" if it
9957 was autoloaded at any time in the past. Perform autoloading if
9958 help-enable-auto-load is non-nil.
9959
9960 2012-06-26 Eli Zaretskii <eliz@gnu.org>
9961
9962 * makefile.w32-in (compile, compile-always): Depend on
9963 update-subdirs, not on subdirs.el. Otherwise, several different
9964 sub-targets of 'bootstrap' running in parallel could
9965 simultaneously write to subdirs.el, producing a garbled file.
9966
9967 2012-06-26 Sam Steingold <sds@gnu.org>
9968
9969 * files.el (file-name-base): New convenience function.
9970 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
9971 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
9972 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
9973 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
9974 * textmodes/ispell.el, textmodes/reftex-ref.el:
9975 * textmodes/tex-mode.el: Use it.
9976 Did not touch cedet and org because they are maintained elsewhere.
9977
9978 2012-06-26 Martin Rudalics <rudalics@gmx.at>
9979
9980 * calendar/calendar.el (calendar-exit): Don't try to delete or
9981 iconify last frame. See:
9982 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
9983
9984 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
9985
9986 * server.el (server-process-filter): Remember dir in the
9987 process's `server-client-directory' properties.
9988
9989 2012-06-24 Chong Yidong <cyd@gnu.org>
9990
9991 * xml.el (xml-parse-tag): Correctly handle comment embedded in
9992 non-tag text.
9993
9994 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
9995
9996 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
9997
9998 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9999
10000 * help-fns.el (describe-variable): Don't croak when doc is not found.
10001 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
10002 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
10003 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
10004 * emacs-lisp/smie.el (smie-next-sexp): CSE.
10005 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
10006 ((lambda ..) ..).
10007 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
10008
10009 2012-06-23 Chong Yidong <cyd@gnu.org>
10010
10011 * info.el (Info-mouse-follow-link): Accept symbol values of
10012 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
10013 (Info-fontify-node): Use Info-link-keymap for all navigation
10014 buttons, with link-args property to perform the desired action.
10015 (Info-link-keymap): Doc fix.
10016 (Info-next-link-keymap, Info-prev-link-keymap)
10017 (Info-up-link-keymap): Delete now-unused keymaps.
10018
10019 2012-06-23 Chong Yidong <cyd@gnu.org>
10020
10021 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
10022
10023 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
10024 system abbrevs.
10025
10026 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
10027
10028 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10029
10030 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
10031 (bug#11719).
10032
10033 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
10034 the requote function doesn't work properly (bug#11714).
10035
10036 2012-06-23 Glenn Morris <rgm@gnu.org>
10037
10038 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
10039
10040 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10041
10042 Further GV/CL cleanups.
10043 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
10044 gv-expander.
10045 (gv--defun-declaration): New function.
10046 (defun-declarations-alist): Use it.
10047 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
10048 (gv-place): Autoload.
10049 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
10050 original definition of dotimes and dolist.
10051 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
10052 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
10053 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
10054 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
10055 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
10056 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
10057 to the function's definition.
10058 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
10059 * window.el:
10060 * files.el:
10061 * faces.el:
10062 * env.el: Don't use CL.
10063
10064 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
10065
10066 Support higher-resolution time stamps (Bug#9000).
10067
10068 * calendar/time-date.el (with-decoded-time-value): New arg
10069 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
10070 (encode-time-value): New optional arg PICO. New type 3.
10071 (time-to-seconds) [!float-time]: Support the new picoseconds
10072 component if it's used.
10073 (seconds-to-time, time-subtract, time-add):
10074 Support ps-resolution time stamps as well.
10075
10076 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
10077 (timerp): Timer vectors now have length 9, not 8.
10078 (timer--time): Support new-style (4-part) time stamps.
10079 (timer-next-integral-multiple-of-time): Time stamps now have
10080 picosecond resolution, so take a bit more care about rounding.
10081 (timer-relative-time, timer-inc-time): New optional arg psecs.
10082 (timer-set-time-with-usecs): Set psecs to 0.
10083 (timer--activate): Check psecs component, too.
10084
10085 * proced.el (proced-time-lessp): Support ps-resolution stamps.
10086
10087 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10088
10089 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
10090 Move the non-essential binding to the post/pre-command-hook where it is
10091 more obviously correct.
10092
10093 * subr.el (read-passwd): Don't use a history at all.
10094 * savehist.el (savehist-save): Remove password saved accidentally
10095 because of the above bug.
10096
10097 2012-06-22 Bastien Guerry <bzg@gnu.org>
10098
10099 * files.el (toggle-read-only): Display a message telling whether
10100 the buffer is read-only or not (bug#11726).
10101
10102 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10103
10104 * emacs-lisp/gv.el: New file.
10105 * subr.el (push, pop): Extend to generalized variables.
10106 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
10107 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
10108 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
10109 gv-define-simple-setter, and gv-define-expander.
10110 Remove setf-methods defined in gv. Rename cl-setf -> setf.
10111 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
10112 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
10113 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
10114 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
10115 gv-letplace.
10116 (cl-defstruct): Don't define setf-method any more.
10117 * emacs-lisp/cl.el (flet): Don't autoload.
10118 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
10119 (define-setf-expander, defsetf, define-modify-macro)
10120 (cl-struct-setf-expander): Move from cl-lib.el.
10121 * emacs-lisp/syntax.el:
10122 * emacs-lisp/ewoc.el:
10123 * emacs-lisp/smie.el:
10124 * emacs-lisp/cconv.el:
10125 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
10126 (timer--time): Use gv-define-simple-setter.
10127 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
10128 to avoid coding-system problems in subr.el. Adjust all users.
10129 (macroexp--maxsize, macroexp-small-p): New functions.
10130 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
10131 * scroll-bar.el (scroll-bar-mode):
10132 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
10133 (normal-erase-is-backspace-mode): Don't use the `eq' place.
10134 * winner.el (winner-configuration, winner-make-point-alist)
10135 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
10136 * files.el (locate-file-completion-table): Avoid list*.
10137
10138 2012-06-22 Chong Yidong <cyd@gnu.org>
10139
10140 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
10141 (dired-create-files): Doc fix (Bug#11329).
10142 (dired-do-copy): Doc fix (Bug#11334).
10143 (dired-mark-read-string): Doc fix (Bug#11553).
10144
10145 * dired.el (dired-recursive-copies, dired-recursive-deletes):
10146 Doc fix (Bug#11326).
10147 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
10148 (dired-dwim-target): Doc fix.
10149
10150 * wdired.el (wdired-mode): Doc fix.
10151
10152 2012-06-22 Glenn Morris <rgm@gnu.org>
10153
10154 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
10155 (pcmpl-rpm-cache-stamp-file): New constant.
10156 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
10157 (pcmpl-rpm-packages): Optionally cache list of packages.
10158
10159 * pcmpl-rpm.el (pcmpl-rpm): New group.
10160 (pcmpl-rpm-query-options): New option.
10161 (pcmpl-rpm-packages): No need to inline it.
10162 Use pcmpl-rpm-query-options.
10163
10164 * calendar/calendar.el (calendar-in-read-only-buffer):
10165 Avoid some needless mode changes.
10166
10167 2012-06-21 Chong Yidong <cyd@gnu.org>
10168
10169 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
10170 (desktop-path): Remove . from the default value (Bug#10977).
10171 (desktop-read): Use user-emacs-directory if desktop-path is nil.
10172
10173 2012-06-20 Chong Yidong <cyd@gnu.org>
10174
10175 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
10176
10177 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
10178
10179 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
10180 (bug#11201).
10181
10182 2012-06-20 Chong Yidong <cyd@gnu.org>
10183
10184 * term.el (term-window-width): Handle the case of a missing right
10185 fringe (Bug#8837).
10186 (term-check-size): Use window-text-height (Bug#5445).
10187 (term-mode): Use define-derived-mode. Minor cleanups.
10188 Set font-lock-defaults (Bug#7692).
10189 (term-move-columns, term-insert-char, term-emulate-terminal)
10190 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
10191
10192 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
10193
10194 * net/ange-ftp.el (ange-ftp-get-passwd):
10195 Bind `enable-recursive-minibuffers'.
10196 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
10197
10198 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
10199
10200 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
10201
10202 2012-06-19 Glenn Morris <rgm@gnu.org>
10203
10204 * progmodes/python.el (python-mode): Derive from prog-mode.
10205
10206 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
10207
10208 * emulation/edt.el (edt-default-menu-bar-update-buffers)
10209 (edt-user-menu-bar-update-buffers): New functions.
10210 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
10211
10212 2012-06-19 Chong Yidong <cyd@gnu.org>
10213
10214 * subr.el (with-selected-window): Preserve the selected window's
10215 terminal's top-frame (Bug#4702).
10216
10217 * window.el (save-selected-window): Likewise.
10218
10219 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10220
10221 * progmodes/python.el (python-rx-constituents): Move backquote.
10222 (python-skeleton-define, python-define-auxiliary-skeleton):
10223 Use `declare'.
10224
10225 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
10226
10227 * minibuffer.el (read-file-name-default): Revert the patch from
10228 2012-06-17.
10229
10230 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10231
10232 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
10233 (pcase--u1, pcase--q1): Don't use apply-partially.
10234
10235 2012-06-18 Glenn Morris <rgm@gnu.org>
10236
10237 * progmodes/python.el (python-proc, python-buffer)
10238 (python-send-receive, python-send-string): Fix obsolete versions.
10239
10240 2012-06-18 Martin Rudalics <rudalics@gmx.at>
10241
10242 * window.el (special-display-p): Completely remove stringp
10243 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
10244
10245 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
10246
10247 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
10248
10249 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
10250
10251 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
10252 * net/tramp-sh.el (tramp-maybe-open-connection):
10253 Throw if `non-essential' is non-nil.
10254
10255 2012-06-17 Martin Rudalics <rudalics@gmx.at>
10256
10257 * window.el (special-display-p): Signal an error if BUFFER-NAME
10258 is not a string (Bug#11713).
10259
10260 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
10261
10262 * progmodes/python.el (python-info-beginning-of-backslash):
10263 Rename from python-info-beginning-of-backlash, as a spelling fix.
10264
10265 2012-06-17 Chong Yidong <cyd@gnu.org>
10266
10267 * term.el (term-emulate-terminal): If term-check-size is called,
10268 move point to the process mark without resetting point (Bug#4635).
10269
10270 2012-06-17 Glenn Morris <rgm@gnu.org>
10271
10272 * international/mule-cmds.el (mule-menu-keymap)
10273 (set-language-environment, set-locale-environment): Doc tweaks.
10274
10275 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
10276
10277 * cus-face.el (custom-face-attributes): Add wave-style underline
10278 attribute.
10279 * faces.el (set-face-attribute): Update docstring to describe
10280 wave-style underline attribute.
10281
10282 2012-06-16 Chong Yidong <cyd@gnu.org>
10283
10284 * term/xterm.el (terminal-init-xterm): Discard input before
10285 querying background mode (Bug#10959).
10286
10287 2012-06-16 Stefan Merten <smerten@oekonux.de>
10288
10289 * textmodes/rst.el: Added and corrected some comments.
10290 (rst-re-alist-def): Improve symbol syntax.
10291 (rst-mode-syntax-table): Correct syntax entries.
10292 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
10293 (rst-official-version, rst-official-cvs-rev): Update version
10294 information.
10295
10296 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
10297
10298 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
10299 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
10300
10301 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
10302
10303 * progmodes/python.el: New python.el merge.
10304 (python-guess-indent): Obsolete var.
10305 (python-indent-guess-indent-offset): New defcustom.
10306 (python-indent): Obsolete var.
10307 (python-indent-offset): New defcustom.
10308 (python-python-command, python-jython-command): Delete var.
10309 (python-shell-interpreter): New defcustom.
10310 (python-pdbtrack-do-tracking-p): Delete var.
10311 (python-pdbtrack-activate): New defcustom.
10312 (python-use-skeletons): Obsolete var.
10313 (python-skeleton-autoinsert): New defcustom.
10314 (inferior-python-filter-regexp, python-continuation-offset)
10315 (python-honour-comment-indentation, python-indent-string-contents)
10316 (python-jython-packages, python-mode-hook)
10317 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
10318 (python-shell-prompt-alist)
10319 (python-source-modes): Delete defcustoms.
10320 (python-check-buffer-name, python-eldoc-setup-code)
10321 (python-eldoc-string-code, python-ffap-setup-code)
10322 (python-ffap-string-code, python-fill-comment-function)
10323 (python-fill-decorator-function, python-fill-paren-function)
10324 (python-fill-string-function, python-imenu-include-defun-type)
10325 (python-imenu-make-tree, python-imenu-subtree-root-label)
10326 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
10327 (python-shell-compilation-regexp-alist)
10328 (python-shell-completion-module-string-code)
10329 (python-shell-completion-pdb-string-code)
10330 (python-shell-completion-setup-code)
10331 (python-shell-completion-string-code)
10332 (python-shell-enable-font-lock, python-shell-exec-path)
10333 (python-shell-extra-pythonpaths)
10334 (python-shell-internal-buffer-name, python-shell-interpreter-args)
10335 (python-shell-process-environment)
10336 (python-shell-prompt-block-regexp)
10337 (python-shell-prompt-output-regexp)
10338 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
10339 (python-shell-send-setup-max-wait, python-shell-setup-codes)
10340 (python-shell-virtualenv-path): New defcustoms.
10341 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
10342 (inferior-python-mode-syntax-table, python--prompt-regexp)
10343 (python-buffer, python-command python-python-command)
10344 (python-default-template, python-imports, python-indent-index)
10345 (python-indent-list, python-indent-list-length)
10346 (python-mode-running, python-pdbtrack-is-tracking-p)
10347 (python-preoutput-continuation, python-preoutput-leftover)
10348 (python-preoutput-result, python-preoutput-skip-next-prompt)
10349 (python-prev-dir/file, python-recursing)
10350 (python-saved-check-command, python-version-checked)
10351 (python-which-func-length-limit)
10352 (view-return-to-alist): Delete vars.
10353 (python-check-custom-command, python-dotty-syntax-table)
10354 (python-imenu-index-alist, python-indent-current-level)
10355 (python-indent-dedenters, python-indent-levels)
10356 (python-nav-beginning-of-defun-regexp)
10357 (python-nav-list-defun-positions-cache)
10358 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
10359 (python-shell-internal-buffer)
10360 (python-skeleton-available): New vars.
10361 (def-python-skeleton): Delete macro.
10362 (python-skeleton-define): New macro.
10363 (python-define-auxiliary-skeleton, python-rx): New macros.
10364 (python-insert-class): Delete command.
10365 (python-skeleton-class): New command.
10366 (python-insert-def): Delete command.
10367 (python-skeleton-def): New command.
10368 (python-insert-for): Delete command.
10369 (python-skeleton-for): New command.
10370 (python-insert-if): Delete command.
10371 (python-skeleton-if): New command.
10372 (python-insert-try/except, python-insert-try/finally): Delete commands.
10373 (python-skeleton-try): New command.
10374 (python-insert-while): Delete command.
10375 (python-skeleton-while): New command.
10376 (python-backspace): Delete command.
10377 (python-indent-dedent-line-backspace): New command.
10378 (python-electric-colon): Delete command.
10379 (python-indent-electric-colon): New command.
10380 (python-guess-indent): Delete command.
10381 (python-indent-guess-indent-offset): New command.
10382 (python-shift-left): Delete command.
10383 (python-indent-shift-left): New command.
10384 (python-shift-right): Delete command.
10385 (python-indent-shift-right): New command.
10386 (python-find-function): Delete command.
10387 (python-nav-jump-to-defun): New command.
10388 (python-next-statement): Delete command.
10389 (python-nav-forward-sentence): New command.
10390 (python-previous-statement): Delete command.
10391 (python-nav-backward-sentence): New command.
10392 (python-fill-paragraph): Delete command.
10393 (python-fill-paragraph-function): New command.
10394 (python-send-buffer): Delete command.
10395 (python-shell-send-buffer): New command.
10396 (python-send-defun): Delete command.
10397 (python-shell-send-defun): New command.
10398 (python-send-region, python-send-region-and-go): Delete commands.
10399 (python-shell-send-region)
10400 (python-shell-switch-to-shell): New commands.
10401 (python-send-string): Delete command.
10402 (python-shell-send-string): New command.
10403 (python-switch-to-python): Delete command.
10404 (python-shell-switch-to-shell): New command.
10405 (python-describe-symbol): Delete command.
10406 (python-eldoc-at-point): New command.
10407 (python--set-prompt-regexp, python-args-to-list)
10408 (python-after-info-look, python-check-version)
10409 (python-check-comint-prompt, python-find-imports)
10410 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
10411 (python-unload-function, python-expand-template)
10412 (python-maybe-jython, python-preoutput-filter)
10413 (python-pdbtrack-get-source-buffer)
10414 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
10415 (python-pdbtrack-toggle-stack-tracking)
10416 (python-pdbtrack-track-stack-file, python-initial-text)
10417 (python-first-word, python-comment-line-p, python-send-command)
10418 (python-setup-brm, python-sentinel, python-set-proc)
10419 (python-skip-out, python-input-filter, python-outdent-p)
10420 (python-outline-level, python-backslash-continuation-line-p)
10421 (python-end-of-block, python-end-of-statement, python-mark-block)
10422 (python-beginning-of-block, python-beginning-of-statement)
10423 (python-blank-line-p, python-beginning-of-string)
10424 (python-open-block-statement-p): Delete functions.
10425 (python-indent-line, python-indent-line-1): Delete functions.
10426 (python-indent-line): New function.
10427 (python-indentation-levels): Delete function.
10428 (python-indent-calculate-levels): New function.
10429 (python-proc): Delete function.
10430 (python-shell-get-process): New function.
10431 (python-send-receive): Delete function.
10432 (python-shell-send-string-no-output): New function.
10433 (python-module-path): Delete function.
10434 (python-ffap-module-path): New function.
10435 (python-completion-at-point)
10436 (python-symbol-completions): Delete functions.
10437 (python-completion-complete-at-point): New function.
10438 (python-load-file): Delete function.
10439 (python-shell-send-file): New function.
10440 (python-calculate-indentation): Delete function.
10441 (python-indent-calculate-indentation): New function.
10442 (python-skip-comments/blanks): Delete function.
10443 (python-util-forward-comment): New function.
10444 (python-continuation-line-p): Delete function.
10445 (python-info-continuation-line-p): New function.
10446 (python-which-func, python-current-defun): Delete function.
10447 (python-info-current-defun): New function.
10448 (python-beginning-of-defun): Delete function.
10449 (python-nav-beginning-of-defun): New function.
10450 (python-close-block-statement-p)
10451 (python-block-end-p): Delete function.
10452 (python-info-closing-block): New function.
10453 (python-comint-output-filter-function)
10454 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
10455 (python-fill-comment, python-fill-decorator, python-fill-paren)
10456 (python-fill-string, python-imenu-make-element-tree)
10457 (python-imenu-make-tree, python-imenu-tree-assoc)
10458 (python-indent-context, python-indent-dedent-line)
10459 (python-indent-line-function)
10460 (python-indent-post-self-insert-function)
10461 (python-indent-toggle-levels)
10462 (python-info-assignment-continuation-line-p)
10463 (python-info-beginning-of-backlash)
10464 (python-info-block-continuation-line-p)
10465 (python-info-closing-block-message)
10466 (python-info-line-ends-backslash-p)
10467 (python-info-looking-at-beginning-of-defun)
10468 (python-info-ppss-context, python-info-ppss-context-type)
10469 (python-nav-list-defun-positions, python-nav-read-defun)
10470 (python-nav-sentence-end, python-nav-sentence-start)
10471 (python-pdbtrack-comint-output-filter-function)
10472 (python-pdbtrack-set-tracked-buffer)
10473 (python-shell-calculate-exec-path)
10474 (python-shell-calculate-process-environment)
10475 (python-shell-completion--do-completion-at-point)
10476 (python-shell-completion--get-completions)
10477 (python-shell-completion-complete-at-point)
10478 (python-shell-completion-complete-or-indent)
10479 (python-shell-get-or-create-process)
10480 (python-shell-get-process-name)
10481 (python-shell-internal-get-or-create-process)
10482 (python-shell-internal-get-process-name)
10483 (python-shell-internal-send-string, python-shell-make-comint)
10484 (python-shell-parse-command, python-shell-send-setup-code)
10485 (python-skeleton-add-menu-items)
10486 (python-util-clone-local-variables, python-util-position)
10487 (run-python-internal, python-indentation-levels)
10488 (python-nav-beginning-of-defun)
10489 (python-completion-complete-at-point): New functions.
10490 (run-python): Change arguments. New API requirements.
10491
10492 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10493
10494 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
10495 (bug#11649).
10496
10497 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
10498 (macroexp--expand-all): Use it.
10499
10500 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
10501 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
10502 Use `cl-function' instead.
10503
10504 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
10505
10506 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
10507 Suggested by Stefan Monnier while discussing bug#11657.
10508
10509 2012-06-14 Sam Steingold <sds@gnu.org>
10510
10511 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
10512
10513 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
10514
10515 * play/doctor.el (doctor-doc): Remove parameter and use
10516 doctor-sent instead of sent.
10517 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
10518
10519 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10520
10521 * files.el: Require cl-lib.
10522 (file-name-non-special): Replace case -> cl-case.
10523
10524 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
10525
10526 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
10527 mapping from #' to function*.
10528
10529 2012-06-13 Chong Yidong <cyd@gnu.org>
10530
10531 * mouse.el (mouse-drag-track): Do not set the mark if the user
10532 releases the mouse without selecting anything (Bug#11588).
10533
10534 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10535
10536 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
10537 as well (bug#11646).
10538
10539 * loadup.el: Count byte-code functions as well.
10540
10541 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
10542 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
10543
10544 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
10545 (bug#11649). Add cl-defun and cl-defmacro.
10546
10547 2012-06-13 Drew Adams <drew.adams@oracle.com>
10548
10549 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
10550 Fix last change.
10551
10552 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
10553
10554 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
10555 Otherwise, it blocks in batch mode.
10556
10557 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
10558
10559 * help-mode.el (bookmark-make-record-default): Declare.
10560
10561 2012-06-13 Chong Yidong <cyd@gnu.org>
10562
10563 * emacs-lisp/package.el (list-packages): Compute a list of
10564 packages that are newly-available since the last list-packages
10565 invocation.
10566 (package-menu--new-package-list): New var.
10567 (package-menu--generate, package-menu--print-info)
10568 (package-menu--status-predicate, package-menu-mark-install):
10569 Handle new status label "new".
10570
10571 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10572
10573 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
10574 conversion to backquotes.
10575
10576 2012-06-12 Chong Yidong <cyd@gnu.org>
10577
10578 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
10579 Rename from gud-inhibit-global-bindings.
10580
10581 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
10582
10583 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
10584 hook from nxml-glyph-set-hook.
10585
10586 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
10587 declaration.
10588
10589 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
10590
10591 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
10592 Convert to defcustom.
10593
10594 2012-06-12 Drew Adams <drew.adams@oracle.com>
10595
10596 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
10597 New functions.
10598 (help-mode): Use them.
10599
10600 2012-06-11 Glenn Morris <rgm@gnu.org>
10601
10602 * progmodes/fortran.el (fortran-font-lock-keywords-3):
10603 Use preprocessor face for directives.
10604 (fortran-directive-re): Doc fix.
10605
10606 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10607
10608 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
10609 conversion to backquotes (bug#11652).
10610
10611 Fix compiler-expansion of CL's cXXr functions (bug#11673).
10612 * emacs-lisp/cl-lib.el (cl--defalias): New function.
10613 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
10614 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
10615 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
10616 (cl-ninth, cl-tenth): Mark them as inlinable.
10617 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
10618 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
10619 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
10620 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
10621 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
10622 (cl-list*, cl-adjoin): Don't put an autoload manually.
10623 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
10624 (cl--compiler-macro-list*): Add autoload cookie.
10625 (cl--compiler-macro-cXXr): New function.
10626
10627 * help-fns.el (help-fns--compiler-macro): New function extracted from
10628 describe-function-1; follow aliases and use `compiler-macro' property.
10629 (describe-function-1): Use it.
10630
10631 2012-06-11 Chong Yidong <cyd@gnu.org>
10632
10633 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
10634 is uninstalled, if imagemagick is installed.
10635
10636 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10637
10638 * emacs-lisp/cl-lib.el: Use lexical-binding.
10639 (cl-map-extents, cl-maclisp-member): Remove.
10640 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
10641 (cl--set-substring, cl--block-wrapper, cl--block-throw)
10642 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
10643 * emacs-lisp/cl-extra.el: Use lexical-binding.
10644 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
10645 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
10646 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
10647 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
10648 * emacs-lisp/cl-seq.el: Use lexical-binding.
10649 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
10650 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
10651 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
10652 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
10653 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
10654 CL's internals.
10655
10656 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
10657
10658 Sync with Tramp 2.2.6-pre.
10659
10660 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
10661 `print-length' and `print-level' to nil, in order to avoid
10662 truncation. Reported by Christopher Schmidt
10663 <christopher@ristopher.com>.
10664
10665 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
10666
10667 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
10668 New defmacro.
10669 (tramp-compat-copy-directory): Add optional argument
10670 COPY-CONTENTS. It is not handled yet.
10671
10672 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
10673 (tramp-ftp-file-name-p): Simplify.
10674
10675 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
10676 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
10677 connection vector.
10678
10679 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
10680 (tramp-methods): Do not use `tramp-password-end-of-line'.
10681 (tramp-completion-function-alist-putty): Handle UNIX case.
10682 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
10683 (tramp-do-file-attributes-with-stat)
10684 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
10685 gid as real numbers. They could run out of integer range on cygwin.
10686 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
10687 (tramp-sh-handle-expand-file-name): Handle hops.
10688 (tramp-open-connection-setup-interactive-shell):
10689 Use `tramp-cleanup'. Move check for busyboxes ...
10690 (tramp-find-shell): ... here. Simplify implementation.
10691 Set "remote-shell" property also for alternative shells.
10692 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
10693 If failing, a regular file would be written otherwise.
10694 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
10695 (tramp-find-inline-encoding): Cache the coding commands in the
10696 process cache. Apply test command on the remote side, if defined.
10697 (tramp-find-inline-compress): Cache the compress commands in the
10698 process cache.
10699 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
10700 when requested. Handle hops.
10701 (tramp-current-connection): New defvar.
10702 (tramp-maybe-open-connection): Use `tramp-cleanup'.
10703 Throw `suppress', if there was a failed connection shortly before.
10704 Handle user interrupt. (Bug#10187)
10705 (tramp-get-inline-compress, tramp-get-inline-coding):
10706 Read connection properties from the process cache.
10707
10708 * net/tramp-smb.el (tramp-smb-server-version)
10709 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
10710 New defconsts.
10711 (tramp-smb-prompt): Extend for powershell prompt.
10712 (tramp-smb-file-name-handler-alist): Add handlers for
10713 `process-file', `shell-command' and `start-file-process'.
10714 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
10715 (tramp-smb-winexe-shell-command-switch): New defcustoms.
10716 (tramp-smb-file-name-p): Simplify.
10717 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
10718 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
10719 (tramp-smb-shell-quote-argument): New defuns.
10720 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
10721 Implement using "tar". By this, time-stamps are preserved.
10722 (tramp-smb-handle-copy-file): Handle also the case of directories.
10723 (tramp-smb-do-file-attributes-with-stat)
10724 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
10725 Use `tramp-get-connection-buffer').
10726 (tramp-smb-handle-rename-file): Use "rename", when source and
10727 target are on the same share.
10728 (tramp-smb-maybe-open-connection): Handle wrong passwords.
10729 Use `tramp-smb-server-version'.
10730 (tramp-smb-wait-for-output): Remove prompt.
10731
10732 * net/tramp.el (top): Require 'cl.
10733 (tramp-methods, tramp-rsh-end-of-line):
10734 Remove `tramp-password-end-of-line' from docstring.
10735 (tramp-save-ad-hoc-proxies): New defcustom.
10736 (tramp-completion-function-alist): Adapt docstring.
10737 (tramp-default-password-end-of-line): Remove defcustom.
10738 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
10739 (tramp-user-regexp, tramp-file-name-regexp-unified)
10740 (tramp-file-name-regexp-url): Extend regexp by hop separator.
10741 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
10742 (tramp-remote-file-name-spec-regexp): New defconst.
10743 (tramp-file-name-structure): Extend structure for hops.
10744 (tramp-get-method-parameter): Move up.
10745 (tramp-file-name-p, tramp-dissect-file-name)
10746 (with-parsed-tramp-file-name): Handle hops.
10747 (tramp-file-name-hop): New defun.
10748 (tramp-make-tramp-file-name): New optional arg HOP.
10749 (tramp-message-show-progress-reporter-message): New defvar.
10750 (tramp-with-progress-reporter): Use it. We cannot use
10751 `tramp-message-show-message' here, because this suppresses also
10752 error buffers.
10753 (tramp-error-with-buffer): Suppress buffer view, if
10754 `tramp-message-show-message' is nil.
10755 Use `tramp-get-connection-buffer'.
10756 (tramp-cleanup): New defun.
10757 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
10758 (tramp-file-name-handler): If `debug-on-error' is set, propagate
10759 an error unchanged.
10760 (tramp-completion-handle-file-name-all-completions): Handle hops.
10761 Fix an error when called from ido.
10762 (tramp-completion-dissect-file-name): Use better local variable
10763 name. Add hop to the vector.
10764 (tramp-handle-insert-file-contents): Use progress-reporter for the
10765 whole scenario.
10766 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
10767 to `t'.
10768 (tramp-check-for-regexp): Simplify search.
10769 (tramp-enter-password): Remove it. Move implementation ...
10770 (tramp-action-password): ... here.
10771 (tramp-mode-string-to-int, tramp-local-host-p)
10772 (tramp-make-tramp-temp-file, tramp-read-passwd)
10773 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
10774 Set tramp-autoload cookie.
10775
10776 * net/trampver.el: Update release number.
10777
10778 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10779 Michael Albinus <michael.albinus@gmx.de>
10780
10781 * net/tramp.el (tramp-set-completion-function): Fix docstring.
10782 (tramp-parse-group, tramp-parse-file)
10783 (tramp-parse-shostkeys-sknownhosts): New defuns.
10784 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
10785 (tramp-parse-shosts-group, tramp-parse-sconfig)
10786 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
10787 (tramp-parse-sknownhosts, tramp-parse-hosts)
10788 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
10789 Use them.
10790 (tramp-parse-passwd-group, tramp-parse-netrc-group)
10791 (tramp-parse-putty-group): Don't narrow.
10792 (tramp-parse-putty): Make a loop.
10793 (tramp-file-name-handler): Catch the `suppress' signal.
10794
10795 2012-06-11 Chong Yidong <cyd@gnu.org>
10796
10797 * image.el (imagemagick-register-types): Put the ImageMagick entry
10798 at the end of image-type-file-name-regexps.
10799
10800 2012-06-11 Johan Bockgård <bojohan@gnu.org>
10801
10802 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
10803 (pcase, pcase-let*, pcase-dolist): Use them.
10804
10805 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10806
10807 * emacs-lisp/pcase.el (pcase--let*): New function.
10808 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
10809 (pcase--expand): Use macroexp-let².
10810
10811 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
10812
10813 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
10814 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
10815 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
10816 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
10817 * emacs-lisp/derived.el: Use pcase instead of `cl'.
10818 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
10819
10820 2012-06-10 Glenn Morris <rgm@gnu.org>
10821
10822 * mail/rmail.el (rmail-yank-current-message): Leave point at
10823 correct position. (Bug#11660)
10824
10825 2012-06-10 Chong Yidong <cyd@gnu.org>
10826
10827 * allout-widgets.el: Fix code header.
10828
10829 2012-06-10 Chong Yidong <cyd@gnu.org>
10830
10831 * cus-edit.el (customize-changed-options-previous-release):
10832 Bump to 24.1.
10833
10834 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
10835
10836 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
10837
10838 2012-06-09 Chong Yidong <cyd@gnu.org>
10839
10840 * ebuff-menu.el (electric-buffer-list): Preserve header line.
10841
10842 2012-06-09 Martin Rudalics <rudalics@gmx.at>
10843
10844 * window.el (special-display-popup-frame): Don't use
10845 window--display-buffer (Bug#11651).
10846
10847 2012-06-09 Eli Zaretskii <eliz@gnu.org>
10848
10849 Fix parallel builds: make sure loaddefs.el is not being written
10850 while Lisp files are compiled.
10851 (compile): Don't depend on 'mh-autoloads'.
10852 (compile-CMD, compile-SH): Depend on 'autoloads'.
10853 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
10854
10855 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
10856
10857 2012-06-09 Chong Yidong <cyd@gnu.org>
10858
10859 * face-remap.el (face-remap-add-relative, face-remap-set-base)
10860 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
10861 Doc fixes (Bug#11225).
10862
10863 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
10864
10865 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
10866 a function if there's a clear indication that it has a compiler-macro.
10867 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
10868 (macro-declarations-alist): Add arglist to declaration functions.
10869 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
10870 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
10871 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
10872 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
10873 Also add autoload to find the compiler macro.
10874 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
10875 (cl--compiler-macro-member, cl--compiler-macro-assoc)
10876 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
10877 (cl--compiler-macro-get): New functions, replacing calls to
10878 cl-define-compiler-macro.
10879 (cl-typep) [compiler-macro]: Use macroexp-let².
10880
10881 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
10882
10883 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
10884 string properly, fixes Bug#11473.
10885
10886 2012-06-08 Chong Yidong <cyd@gnu.org>
10887
10888 * faces.el (set-face-attribute): Doc fix.
10889 (modify-face): Don't use :bold and :italic.
10890 (error, warning, success): Tweak definitions.
10891
10892 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
10893 (custom-modified, custom-set, custom-changed, custom-themed)
10894 (custom-saved, custom-button, custom-button-mouse)
10895 (custom-button-pressed, custom-state, custom-comment-tag)
10896 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
10897 (custom-group-subtitle): Use new-style face specs.
10898 (custom-invalid-face, custom-rogue-face, custom-modified-face)
10899 (custom-set-face, custom-changed-face, custom-saved-face)
10900 (custom-button-face, custom-button-pressed-face)
10901 (custom-documentation-face, custom-state-face)
10902 (custom-comment-face, custom-comment-tag-face)
10903 (custom-variable-tag-face, custom-variable-button-face)
10904 (custom-face-tag-face, custom-group-tag-face-1)
10905 (custom-group-tag-face): Remove obsolete face alias.
10906
10907 * epa.el (epa-validity-high, epa-validity-medium)
10908 (epa-validity-low, epa-mark, epa-field-name, epa-string)
10909 (epa-field-name, epa-field-body):
10910 * font-lock.el (font-lock-comment-face, font-lock-string-face)
10911 (font-lock-keyword-face, font-lock-builtin-face)
10912 (font-lock-function-name-face, font-lock-variable-name-face)
10913 (font-lock-type-face, font-lock-constant-face):
10914 * ido.el (ido-first-match, ido-only-match, ido-subdir)
10915 (ido-virtual, ido-indicator, ido-incomplete-regexp):
10916 * speedbar.el (speedbar-button-face, speedbar-file-face)
10917 (speedbar-directory-face, speedbar-tag-face)
10918 (speedbar-selected-face, speedbar-highlight-face)
10919 (speedbar-separator-face):
10920 * whitespace.el (whitespace-newline, whitespace-space)
10921 (whitespace-hspace, whitespace-tab, whitespace-trailing)
10922 (whitespace-line, whitespace-space-before-tab)
10923 (whitespace-space-after-tab, whitespace-indentation)
10924 (whitespace-empty):
10925 * emulation/cua-base.el (cua-global-mark):
10926 * eshell/em-prompt.el (eshell-prompt):
10927 * net/newst-plainview.el (newsticker-new-item-face)
10928 (newsticker-old-item-face, newsticker-immortal-item-face)
10929 (newsticker-obsolete-item-face, newsticker-date-face)
10930 (newsticker-statistics-face, newsticker-default-face):
10931 * net/newst-reader.el (newsticker-feed-face)
10932 (newsticker-extra-face, newsticker-enclosure-face):
10933 * net/newst-treeview.el (newsticker-treeview-face)
10934 (newsticker-treeview-new-face, newsticker-treeview-old-face)
10935 (newsticker-treeview-immortal-face)
10936 (newsticker-treeview-obsolete-face)
10937 (newsticker-treeview-selection-face):
10938 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
10939 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
10940 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
10941 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
10942 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
10943 (nxml-outline-active-indicator, nxml-outline-ellipsis):
10944 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
10945 (mpuz-text):
10946 * progmodes/vera-mode.el (vera-font-lock-number)
10947 (vera-font-lock-function, vera-font-lock-interface):
10948 * textmodes/table.el (table-cell): Use new-style face specs, and
10949 don't use the old :bold and :italic attributes.
10950
10951 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
10952 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
10953 (ebrowse-member-class, ebrowse-progress): Likewise.
10954 (ebrowse-tree-mark-face, ebrowse-root-class-face)
10955 (ebrowse-file-name-face, ebrowse-default-face)
10956 (ebrowse-member-attribute-face, ebrowse-member-class-face)
10957 (ebrowse-progress-face): Remove obsolete faces.
10958
10959 * progmodes/flymake.el (flymake-errline, flymake-warnline):
10960 Inherit from error and warning faces respectively.
10961
10962 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
10963 Likewise.
10964 (flyspell-incorrect-face, flyspell-duplicate-face):
10965 Remove obsolete aliases.
10966
10967 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
10968
10969 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
10970 Avoid infloop.
10971
10972 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
10973
10974 * startup.el (argv, argi): Make lexically scoped.
10975 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
10976 * emacs-lisp/cl-macs.el: Use lexical-binding.
10977 Rename cl-bind-* to cl--bind-*.
10978 * files.el: Don't require `cl' since it doesn't use it.
10979 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
10980
10981 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
10982
10983 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
10984 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
10985 instead of calling external sort utility.
10986 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
10987
10988 2012-06-08 Eli Zaretskii <eliz@gnu.org>
10989
10990 * descr-text.el (describe-char): Mention how to insert the
10991 character, if the current input method doesn't support it.
10992 See the discussion in this thread for the details:
10993 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
10994
10995 2012-06-08 Sam Steingold <sds@gnu.org>
10996
10997 * bindings.el (global-map): Bind XF86Forward to next-buffer and
10998 XF86Back to previous-buffer.
10999 (minibuffer-local-map): Bind them to next-history-element and
11000 previous-history-element respectively.
11001 * help-mode.el (help-mode-map): Bind them to help-go-forward and
11002 help-go-back respectively.
11003 * info.el (Info-mode-map): Bind them to Info-history-forward and
11004 Info-history-back respectively.
11005 These are the keys next to Up on the ThinkPad keyboard.
11006
11007 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
11008
11009 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
11010 * emacs-lisp/cl-macs.el: Provide itself.
11011 (cl--labels-convert-cache): New var.
11012 (cl--labels-convert): New function.
11013 (cl-flet, cl-labels): New implementation with new semantics, relying on
11014 lexical-binding.
11015 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
11016 (cl-closure-vars, cl--function-convert-cache)
11017 (cl--function-convert): Move from cl-macs.el.
11018 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
11019 rename by removing the "cl-" prefix.
11020 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
11021
11022 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11023
11024 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
11025 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
11026 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
11027 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
11028 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
11029 (cl-hash-table-count): Add old compatibility aliases.
11030
11031 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
11032 Use macroexpand-all-environment instead.
11033 (cl--old-macroexpand): New var.
11034 (cl--sm-macroexpand): New function.
11035 (cl-symbol-macrolet): Use it during macro expansion.
11036 (cl--function-convert-cache): New var.
11037 (cl--function-convert): New function, extracted from
11038 cl-macroexpand-all.
11039 (cl-lexical-let): Use it.
11040
11041 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
11042 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
11043 (cl-member): Remove old alias.
11044
11045 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
11046 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
11047 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
11048 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
11049 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
11050 (cl-macroexpand-cmacs): Remove var.
11051 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
11052 Use macroexpand-all instead.
11053
11054 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11055
11056 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
11057 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
11058 (macroexp-copyable-p): New functions and macros.
11059 * emacs-lisp/edebug.el (edebug-unwrap):
11060 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
11061 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
11062 (pcase--let*): Remove.
11063 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
11064 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
11065 macroexp-const-p instead.
11066 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
11067
11068 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
11069 instead of "cl-" for internal definitions. Use macroexp-const-p.
11070 (cl-old-bc-file-form): Remove var.
11071 (cl-const-exprs-p): Remove fun.
11072 (cl-labels, cl-macrolet): Use backquote.
11073 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
11074 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
11075 (cl-define-setf-expander): Rename from cl-define-setf-method.
11076 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
11077
11078 * international/mule-cmds.el: Don't require CL.
11079 (view-hello-file): Don't use `letf'.
11080
11081 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11082
11083 * tmm.el (tmm-prompt): Use string-prefix-p.
11084 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
11085 (tmm-add-prompt): Use minibuffer-completion-help.
11086 (tmm-delete-map): Remove.
11087
11088 * subr.el (kbd): Make it its own function.
11089
11090 2012-06-07 Stefan Merten <smerten@oekonux.de>
11091
11092 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
11093 Silence compiler warnings. Fix versions.
11094 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
11095 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
11096 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
11097 (rst-package-emacs-version-alist): Correct Emacs version to
11098 represent major merge with upstream.
11099 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
11100
11101 2012-06-06 Glenn Morris <rgm@gnu.org>
11102
11103 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
11104 Only print environment variables if set.
11105
11106 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
11107
11108 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
11109 (macroexp--cons): Rename from maybe-cons.
11110 (macroexp--accumulate): Rename from macroexp-accumulate.
11111 (macroexp--all-forms): Rename from macroexpand-all-forms.
11112 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
11113 (macroexp--expand-all): Rename from macroexpand-all-1.
11114
11115 2012-06-06 Sam Steingold <sds@gnu.org>
11116
11117 * calendar/calendar.el (calendar-in-read-only-buffer):
11118 Call `special-mode' to enable the standard read-only keybindings.
11119
11120 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
11121
11122 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
11123 with "loading" messages (bug#11635).
11124
11125 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
11126
11127 * files.el (enable-remote-dir-locals): New option.
11128 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
11129
11130 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
11131 Ensure, that the temp directory is local.
11132
11133 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
11134 `temporary-file-directory'.
11135
11136 * progmodes/python.el (python-send-region): Ensure, that the
11137 temporary file is created also in the remote case.
11138
11139 2012-06-06 Glenn Morris <rgm@gnu.org>
11140
11141 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
11142 (vc-rcs-update-changelog): Use it.
11143
11144 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
11145
11146 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
11147 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
11148 (vc-sccs-diff): Replace use of the external vcdiff script.
11149
11150 2012-06-05 Glenn Morris <rgm@gnu.org>
11151
11152 * ledit.el: Move to obsolete/.
11153
11154 2012-06-05 Sam Steingold <sds@gnu.org>
11155
11156 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
11157 patch (Bug#11140).
11158
11159 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11160
11161 * emacs-lisp/cust-print.el: Move to obsolete.
11162
11163 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
11164 compiler-macro expansion.
11165
11166 Add native compiler-macro support.
11167 * emacs-lisp/macroexp.el (macroexpand-all-1):
11168 Support compiler-macros directly. Properly follow aliases and apply
11169 the compiler macros more thoroughly.
11170 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
11171 macroexpand now properly follows aliases.
11172 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
11173 (cl-compiler-macroexpand): Use new prop.
11174 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
11175
11176 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
11177
11178 2012-06-05 Martin Rudalics <rudalics@gmx.at>
11179
11180 * window.el (get-lru-window, get-mru-window, get-largest-window):
11181 New argument NOT-SELECTED to avoid picking the selected window.
11182 (window--display-buffer-1, window--display-buffer-2): Replace by
11183 new function window--display-buffer
11184 (display-buffer-same-window, display-buffer-reuse-window)
11185 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11186 Use window--display-buffer.
11187 (display-buffer-use-some-window): Remove temporary dedication
11188 hack by calling get-lru-window and get-largest-window with
11189 NOT-SELECTED argument non-nil. Call window--display-buffer.
11190
11191 2012-06-05 Glenn Morris <rgm@gnu.org>
11192
11193 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
11194 Replace external vcdiff script.
11195
11196 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11197
11198 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
11199
11200 2012-06-04 Chong Yidong <cyd@gnu.org>
11201
11202 * image.el (imagemagick-types-inhibit): Revert last change.
11203 Add INFO and M.
11204 (imagemagick-enabled-types): Remove CIN and EPS*.
11205
11206 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11207
11208 * emacs-lisp/cl-lib.el: Rename from cl.el.
11209 * emacs-lisp/cl.el: New compatibility file.
11210 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
11211 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
11212 to obey the "cl-" prefix.
11213 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
11214
11215 2012-06-03 Glenn Morris <rgm@gnu.org>
11216
11217 * emacs-lisp/authors.el (authors-aliases): Addition.
11218
11219 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
11220 Fix :version.
11221
11222 2012-06-03 Stefan Merten <smerten@oekonux.de>
11223
11224 * textmodes/rst.el: Add comments.
11225 (rst-transition, rst-adornment): New faces.
11226 (rst-adornment-faces-alist): Make default safe to reevaluate.
11227 Fixes
11228 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
11229 Improve customization tags.
11230 (rst-define-level-faces): Clarify meaning.
11231
11232 2012-06-03 Chong Yidong <cyd@gnu.org>
11233
11234 * progmodes/compile.el (compilation-mode-line-fail)
11235 (compilation-mode-line-run, compilation-mode-line-exit):
11236 New faces.
11237 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
11238
11239 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
11240
11241 * progmodes/which-func.el (which-func-update-ediff-windows):
11242 New function. Use it in ediff-select-hook (Bug#11478).
11243
11244 2012-06-03 Chong Yidong <cyd@gnu.org>
11245
11246 * bindings.el: Remove explicit help text from format-mode-line.
11247 It is now supplied by mode-line-default-help-echo.
11248 (mode-line-front-space, mode-line-end-spaces)
11249 (mode-line-misc-info): New variables.
11250 (mode-line-modes, mode-line-position): Move the default value to
11251 the variable definition.
11252 (mode-line-default-help-echo): New defcustom.
11253 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
11254 (mode-line-modified-help-echo): New functions.
11255 (mode-line-mule-info, mode-line-modified): Use them.
11256 (mode-line-eol-desc, propertized-buffer-identification):
11257 Consistency fixes for help text.
11258 (mode-line-coding-system-map): Allow using mouse-3 to invoke
11259 set-buffer-file-coding-system (Bug#289).
11260 (mode-line-mule-info-help-echo): Update help text.
11261
11262 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11263
11264 * simple.el (execute-extended-command): Set real-this-command
11265 (bug#11506).
11266
11267 2012-06-02 Chong Yidong <cyd@gnu.org>
11268
11269 Remove incorrect uses of "modeline" in comments, docstrings, and
11270 function/variable names (Bug#10329).
11271
11272 * cus-edit.el (mode-line):
11273 * dframe.el (dframe-mouse-hscroll):
11274 * emacs-lisp/re-builder.el:
11275 * emacs-lisp/easy-mmode.el (define-minor-mode):
11276 * frame.el (set-frame-name):
11277 * help.el (lookup-minor-mode-from-indicator):
11278 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
11279 * progmodes/cc-cmds.el (c-toggle-auto-newline)
11280 (c-toggle-hungry-state):
11281 * progmodes/antlr-mode.el (antlr-language-alist):
11282 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
11283 * progmodes/vhdl-mode.el (vhdl-mode):
11284 * progmodes/which-func.el (which-func, which-func-cleanup-function):
11285 * term/ns-win.el (ns-face-at-pos):
11286 * term/sup-mouse.el (sup-mouse-report):
11287 * textmodes/flyspell.el (flyspell-mode-line-string):
11288 * textmodes/ispell.el (ispell-highlight-face):
11289 * textmodes/reftex-global.el:
11290 * vc/vc-arch.el (vc-arch-mode-line-string):
11291 * vc/vc-cvs.el (vc-cvs-mode-line-string):
11292 * vc/vc-git.el (vc-git-mode-line-string):
11293 * vc/vc-hooks.el (vc-display-status)
11294 (vc-default-mode-line-string):
11295 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
11296
11297 * ansi-color.el (ansi-color-faces-vector): Change default faces.
11298
11299 * dired.el (dired-sort-set-mode-line): Rename from
11300 dired-sort-set-modeline. All callers changed.
11301
11302 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
11303 eshell-status-in-modeline.
11304
11305 * foldout.el (foldout-mode-line-string): Rename from
11306 foldout-modeline-string. All callers changed.
11307 (foldout-update-mode-line): Rename from foldout-update-modeline.
11308
11309 * subr.el (redraw-modeline): Make into obsolete alias.
11310
11311 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
11312 timeclock-modeline-display. Make old name an alias.
11313 (timeclock-update-mode-line): Likewise. All callers changed.
11314 (timeclock-mode-line-display): No need to check before using
11315 add-hook.
11316 (timeclock-relative, timeclock-day-over-hook)
11317 (timeclock-use-elapsed, timeclock-mode-string)
11318 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
11319
11320 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
11321 crisp-mode-modeline-string.
11322
11323 * play/solitaire.el (solitaire-build-mode-line): Rename from
11324 solitaire-build-modeline. All callers changed.
11325
11326 * play/zone.el (zone-hiding-mode-line): Rename from
11327 zone-hiding-modeline. All callers changed.
11328 (zone): Remove unusued `modeline-hidden-level' property.
11329
11330 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
11331 xscheme-modeline-initialize. All callers changed.
11332
11333 * strokes.el (strokes-lighter): Rename from
11334 strokes-modeline-string.
11335
11336 * textmodes/sgml-mode.el (html-face-tag-alist)
11337 (html-tag-face-alist): Use mode-line face instead of obsolete
11338 alias modeline.
11339
11340 2012-06-02 Stefan Merten <smerten@oekonux.de>
11341
11342 * textmodes/rst.el: Always require `cl'.
11343 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
11344
11345 2012-06-02 Chong Yidong <cyd@gnu.org>
11346
11347 * image.el (imagemagick-enabled-types): Rename from
11348 imagemagick-types-enable. Add many more types.
11349 (imagemagick-types-inhibit): Change default to nil.
11350 (imagemagick-filter-types): Caller changed.
11351
11352 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11353
11354 * emacs-lisp/cl-macs.el: Use backquotes.
11355 (cl-transform-function-property): Use eval-and-compile rather than
11356 abusing `require'.
11357 (defstruct): Use declare-function instead of with-no-warnings.
11358
11359 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
11360 (byte-compile-output-docform): Re-add the print-circle bindings.
11361 (byte-compile-fix-header): Use #$ just because it's shorter.
11362 (byte-compile-output-file-form): Remove defun/defmacro.
11363
11364 2012-06-01 Martin Rudalics <rudalics@gmx.at>
11365
11366 * simple.el (choose-completion): Remove now obsolete binding for
11367 owindow.
11368
11369 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
11370
11371 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
11372 in order to avoid "Stack overflow in regexp matcher".
11373
11374 2012-05-31 Glenn Morris <rgm@gnu.org>
11375
11376 * image.el: For clarity, call imagemagick-register-types at
11377 top-level, rather than relying on a custom :initialize.
11378 (imagemagick-types-enable): New option. (Bug#11557)
11379 (imagemagick-filter-types): New function. (Bug#7406)
11380 (imagemagick-register-types): Use imagemagick-filter-types.
11381 If disabling support, remove elements altogether rather
11382 than using an impossible regexp.
11383 (imagemagick-types-inhibit): Give it the default init function.
11384
11385 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11386
11387 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
11388 Handle arbitrary file name lengths (Bug#11585).
11389
11390 2012-05-31 Martin Rudalics <rudalics@gmx.at>
11391
11392 * desktop.el (desktop-read): Clear previous and next buffers for
11393 all windows and bury *Messages* buffer (bug#11556).
11394
11395 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11396
11397 Add `declare' for `defun'. Align `defmacro's with it.
11398 * emacs-lisp/easy-mmode.el (define-minor-mode)
11399 (define-globalized-minor-mode): Don't autoload the var definitions.
11400 * emacs-lisp/byte-run.el: Use lexical-binding.
11401 (defun-declarations-alist, macro-declarations-alist): New vars.
11402 (defmacro, defun): Use them.
11403 (make-obsolete, define-obsolete-function-alias)
11404 (make-obsolete-variable, define-obsolete-variable-alias):
11405 Use `declare'.
11406 (macro-declaration-function): Mark obsolete.
11407 * emacs-lisp/autoload.el: Use lexical-binding.
11408 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
11409
11410 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11411
11412 * textmodes/ispell.el (ispell-with-no-warnings):
11413 Define as a macro.
11414 (ispell-kill-ispell, ispell-change-dictionary):
11415 Use `called-interactively-p' for Emacs instead of obsolete
11416 `interactive-p'.
11417
11418 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11419
11420 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
11421 (macro-declaration-function): Move var from C code.
11422 (macro-declaration-function): Define function with defalias.
11423 * emacs-lisp/macroexp.el (macroexpand-all-1):
11424 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
11425 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
11426 defun/defmacro any more.
11427 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
11428 Provide fallback for unknown arglist.
11429 (byte-compile-arglist-warn): Change calling convention.
11430 (byte-compile-output-file-form): Move print-vars binding.
11431 (byte-compile-output-docform): Simplify accordingly.
11432 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
11433 (byte-compile-defmacro-declaration): Remove.
11434 (byte-compile-file-form-defmumble): Generalize to defalias.
11435 (byte-compile-output-as-comment): Return byte-positions.
11436 Simplify callers accordingly.
11437 (byte-compile-lambda): Use `assert'.
11438 (byte-compile-defun, byte-compile-defmacro): Remove.
11439 (byte-compile-file-form-defalias):
11440 Use byte-compile-file-form-defmumble.
11441 (byte-compile-defalias-warn): Remove.
11442
11443 2012-05-29 Stefan Merten <smerten@oekonux.de>
11444
11445 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
11446 possible. Fix authors. Improve comments. Improve loading of `cl'.
11447
11448 (rst-mode-abbrev-table): Merge definition.
11449 (rst-mode): Make sure `font-lock-defaults' is buffer local.
11450 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
11451
11452 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
11453
11454 * calendar/icalendar.el
11455 (icalendar-export-region): Export UID properly.
11456
11457 2012-05-29 Leo Liu <sdl.web@gmail.com>
11458 * calendar/icalendar.el (icalendar-import-format):
11459 Add `icalendar-import-format-uid' (Bug#11525).
11460 (icalendar-import-format-uid): New.
11461 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
11462 Export UID.
11463
11464 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
11465
11466 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
11467 different alternative patterns.
11468 (pcase-codegen): Be more careful to preserve identity.
11469 (pcase--u1): Don't forget to mark vars as used.
11470
11471 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
11472 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
11473 (byte-compile-from-buffer): ...rather than here.
11474
11475 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
11476 functions from byte-compile-function-environment.
11477
11478 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
11479
11480 * window.el (window-deletable-p): Avoid deleting the root window
11481 of a frame with an active minibuffer.
11482
11483 2012-05-29 Martin Rudalics <rudalics@gmx.at>
11484
11485 * simple.el (choose-completion): Use quit-window (Bug#11567).
11486
11487 2012-05-29 Chong Yidong <cyd@gnu.org>
11488
11489 * whitespace.el (whitespace-cleanup): Fix usage of
11490 whitespace-empty-at-bob-regexp (Bug#11492).
11491
11492 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11493
11494 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
11495 revert (Bug#11488).
11496
11497 2012-05-29 Juri Linkov <juri@jurta.org>
11498
11499 * isearch.el (isearch-mode-map): Bind `M-s _' to
11500 `isearch-toggle-symbol'. Bind `M-s c' to
11501 `isearch-toggle-case-fold'.
11502 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
11503 (isearch-forward): Add `M-s _' to the docstring.
11504 (isearch-forward-symbol, isearch-toggle-case-fold)
11505 (isearch-symbol-regexp): New functions. (Bug#11381)
11506
11507 2012-05-29 Juri Linkov <juri@jurta.org>
11508
11509 * isearch.el (isearch-word): Add docstring. (Bug#11381)
11510 (isearch-occur, isearch-search-and-update): If `isearch-word' is
11511 a function, call it to get the regexp.
11512 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
11513 property `isearch-message-prefix' instead of the string "word ".
11514 (isearch-search-fun-default): For the case of `isearch-word',
11515 return a lambda that calls re-search-forward/re-search-backward
11516 with a regexp returned by `word-search-regexp' or by the function
11517 in `isearch-word'.
11518
11519 2012-05-29 Juri Linkov <juri@jurta.org>
11520
11521 * isearch.el (isearch-search-fun-default): New function.
11522 (isearch-search-fun): Move default part to the new function
11523 `isearch-search-fun-default'.
11524 (isearch-search-fun-function): Set the default value to
11525 `isearch-search-fun-default'. (Bug#11381)
11526
11527 * comint.el (comint-history-isearch-end):
11528 Use `isearch-search-fun-default'.
11529 (comint-history-isearch-search): Use `isearch-search-fun-default'
11530 and remove spacial case for `isearch-word'.
11531 (comint-history-isearch-wrap): Remove spacial case for
11532 `isearch-word'.
11533
11534 * hexl.el (hexl-isearch-search-function):
11535 Use `isearch-search-fun-default'.
11536
11537 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
11538 Use `word-search-regexp' for `isearch-word'.
11539
11540 * misearch.el (multi-isearch-search-fun):
11541 Use `isearch-search-fun-default'.
11542
11543 * simple.el (minibuffer-history-isearch-search):
11544 Use `isearch-search-fun-default' and remove spacial case for
11545 `isearch-word'.
11546 (minibuffer-history-isearch-wrap): Remove spacial case for
11547 `isearch-word'.
11548
11549 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
11550 Remove spacial case for `isearch-word'.
11551 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
11552
11553 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11554
11555 Decrease XEmacs incompatibilities.
11556 * textmodes/flyspell.el (flyspell-check-pre-word-p):
11557 Use `string-match'.
11558 (flyspell-delete-region-overlays): Use alternative definition for
11559 XEmacs.
11560 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
11561 (flyspell-word): Use `process-kill-without-query' if XEmacs.
11562 (flyspell-mode-on): Use `interactive-p' if XEmacs.
11563 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
11564 `define-obsolete-face-alias' under XEmacs, but old method.
11565
11566 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
11567 `with-no-warnings' definition or Emacs alias.
11568 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
11569 (ispell-word): Do not use `region-p' if XEmacs.
11570
11571 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11572
11573 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
11574 Check for `ispell-dictionary-base-alist' instead of full
11575 `ispell-dictionary-alist'.
11576 (ispell-init-process): Show spellchecker when starting new Ispell
11577 process.
11578
11579 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
11580
11581 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
11582 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
11583
11584 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
11585
11586 * version.el (motif-version-string, gtk-version-string)
11587 (ns-version-string): Declare.
11588
11589 2012-05-27 Juri Linkov <juri@jurta.org>
11590
11591 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
11592 after the `eval-defun-1' specialcaseing
11593 like in `edebug-eval-defun' (bug#10181).
11594
11595 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
11596 like in `eval-defun-1'.
11597
11598 2012-05-27 Eli Zaretskii <eliz@gnu.org>
11599
11600 * mail/sendmail.el (mail-yank-region):
11601 Recognize rmail-yank-current-message in addition to insert-buffer.
11602 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
11603 a *mail* buffer created through rmail-start-mail with sendmail as
11604 mail-user-agent.
11605
11606 2012-05-27 Chong Yidong <cyd@gnu.org>
11607
11608 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
11609 Default to 256 (Bug#11267).
11610
11611 * help.el (describe-mode): Doc fix.
11612
11613 2012-05-26 Glenn Morris <rgm@gnu.org>
11614
11615 * w32-fns.el (w32-init-info): Remove.
11616 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
11617
11618 * info.el (info-initialize): For self-contained NS builds, put the
11619 included info/ directory at the front. (Bug#2791)
11620
11621 * paths.el (Info-default-directory-list): Make it a defcustom,
11622 mainly so that we can use custom-initialize-delay.
11623
11624 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
11625
11626 * subr.el (buffer-has-markers-at): Mark obsolete.
11627
11628 * subr.el (lambda): Use declare.
11629
11630 * emacs-lisp/lisp-mode.el (lambda):
11631 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
11632
11633 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11634
11635 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
11636
11637 2012-05-26 Glenn Morris <rgm@gnu.org>
11638
11639 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
11640
11641 2012-05-25 Glenn Morris <rgm@gnu.org>
11642
11643 * paths.el: Remove no-byte-compile.
11644 * loadup.el: No need to load paths.el uncompiled.
11645
11646 * image.el (imagemagick-types-inhibit): Doc fix.
11647
11648 * version.el: Remove no-byte-compile and associated formatting.
11649 * loadup.el: No need to load version.el uncompiled. AFAICS, this
11650 is ancient code from when there was an "inc-vers.el".
11651
11652 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11653
11654 * progmodes/gdb-mi.el: Minor style changes.
11655 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
11656 Turn into minor modes.
11657 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
11658 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
11659 (gdb-shell): Remove unneeded let-binding.
11660 (gdb-get-many-fields): Eliminate O(n²) behavior.
11661
11662 2012-05-25 Eli Zaretskii <eliz@gnu.org>
11663
11664 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
11665 platforms that don't link in fontset.c.
11666
11667 2012-05-25 Juri Linkov <juri@jurta.org>
11668
11669 Use the same diff color scheme as in modern VCSes (bug#10181).
11670
11671 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
11672 to avoid confusion with `diff-added' that now uses green colors.
11673 (diff-removed): Use shades of red.
11674 (diff-added): Use shades of green.
11675 (diff-changed): Leave just the yellow color.
11676 (diff-use-changed-face): New variable.
11677 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
11678 how to highlight context diff changes.
11679 (diff-refine-change): Use shades of yellow.
11680 (diff-refine-removed): New face that uses shades of red.
11681 (diff-refine-added): New face that uses shades of green.
11682 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
11683 `diff-refine-removed' in the call to `smerge-refine-subst'
11684 depending on the value of `diff-use-changed-face'.
11685
11686 * vc/smerge-mode.el (smerge-mine): Use shades of red.
11687 (smerge-other): Use shades of green.
11688 (smerge-base): Use shades of yellow.
11689 (smerge-refined-change): Empty face.
11690 (smerge-refined-removed): New face that uses shades of red.
11691 (smerge-refined-added): New face that uses shades of green.
11692 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
11693 args `props-r' and `props-a', and use them. Doc fix.
11694 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
11695 on its value use different faces `smerge-refined-change',
11696 `smerge-refined-removed', `smerge-refined-added' in the call to
11697 `smerge-refine-subst'.
11698
11699 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
11700 Add face condition `min-colors 88' with shades of red.
11701 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
11702 `min-colors 88' with shades of green.
11703 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
11704 `min-colors 88' with shades of yellow.
11705
11706 2012-05-24 Glenn Morris <rgm@gnu.org>
11707
11708 * paths.el (prune-directory-list, remote-shell-program): Move to...
11709 * files.el (prune-directory-list, remote-shell-program): ...here.
11710 For the latter, delay initialization, prefer ssh, just search PATH.
11711
11712 * paths.el (term-file-prefix): Move to faces.el (the only user).
11713 * faces.el (term-file-prefix): Move here, make it a defcustom.
11714
11715 * paths.el (news-directory, news-path, news-inews-program):
11716 Move to gnus/nnspool.el.
11717
11718 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
11719
11720 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
11721 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
11722 Make the latter a defcustom, with a delayed initialization.
11723
11724 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
11725 These were deleted from Gnus itself late 2010.
11726
11727 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
11728
11729 * progmodes/which-func.el (which-func-ff-hook):
11730 Check against user-error, not error.
11731
11732 * emacs-lisp/edebug.el (top): Do not load or set up loading of
11733 cl-specs.el, which no longer exists.
11734
11735 2012-05-22 Glenn Morris <rgm@gnu.org>
11736
11737 * info.el (info-emacs-bug): New command.
11738 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
11739 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
11740
11741 2012-05-21 Glenn Morris <rgm@gnu.org>
11742
11743 * makefile.w32-in (update-subdirs-SH):
11744 * Makefile.in (update-subdirs): Update for moved update-subdirs.
11745
11746 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
11747
11748 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
11749
11750 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11751 Simplify Maven regexp, and make sure the file can't start with a space
11752 (bug#11517).
11753
11754 2012-05-21 Glenn Morris <rgm@gnu.org>
11755
11756 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
11757 Scrap superfluous subshells.
11758
11759 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
11760
11761 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
11762 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
11763
11764 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
11765
11766 * calc/calc.el (calc-ensure-consistent-units): New variable.
11767
11768 * calc/calc-units.el (math-consistent-units-p)
11769 (math-check-unit-consistency): New functions.
11770 (calc-quick-units, calc-convert-units):
11771 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
11772 is non-nil.
11773 (calc-extract-units): Fix typo.
11774
11775 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11776
11777 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
11778
11779 * textmodes/flyspell.el: Commenting style, plus code simplifications.
11780 (flyspell-default-deplacement-commands): Don't spell check after
11781 repeated window/frame switches (e.g. triggered by mouse-movement).
11782 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
11783 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
11784 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
11785 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
11786 Remove unused vars.
11787 (flyspell-get-casechars, flyspell-get-not-casechars):
11788 Simplify; Don't bother removing a ] just to add it back.
11789 * textmodes/ispell.el (ispell-program-name): Use executable-find.
11790
11791 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11792
11793 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
11794 New functions.
11795 (math-function-table): Add support for more C functions.
11796
11797 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11798
11799 * textmodes/flyspell.el (flyspell-check-pre-word-p)
11800 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
11801 Protect delay handling for otherchars against empty otherchars.
11802
11803 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11804
11805 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
11806 their respective macro declarations.
11807 * skeleton.el (define-skeleton):
11808 * progmodes/compile.el (define-compilation-mode):
11809 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
11810 (define-ibuffer-filter):
11811 * emacs-lisp/generic.el (define-generic-mode):
11812 * emacs-lisp/easy-mmode.el (define-minor-mode)
11813 (define-globalized-minor-mode):
11814 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
11815 * emacs-lisp/byte-run.el (defsubst):
11816 * custom.el (deftheme): Add doc-string metadata.
11817
11818 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11819
11820 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
11821
11822 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11823
11824 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
11825
11826 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
11827 * emacs-lisp/cl-macs.el: Idem.
11828 * emacs-lisp/cl-specs.el: Remove.
11829
11830 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11831
11832 Minor renaming of internal CL functions and variables.
11833 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
11834 (cl--position): Rename from cl-position.
11835 (cl--delete-duplicates): Rename from cl-delete-duplicates.
11836 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
11837 (cl--random-state): Rename from *random-state*.
11838
11839 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11840
11841 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
11842 parens around the arg list (bug#11499).
11843
11844 2012-05-17 Juri Linkov <juri@jurta.org>
11845
11846 * isearch.el (word-search-regexp, word-search-backward)
11847 (word-search-forward, word-search-backward-lax)
11848 (word-search-forward-lax): Move functions from search.c
11849 (bug#10145, bug#11381).
11850
11851 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11852
11853 * textmodes/flyspell.el (flyspell-check-pre-word-p)
11854 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
11855 Delay for otherchars as for normal word components.
11856
11857 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
11858
11859 * minibuffer.el (completion--sifn-requote): Fix last change.
11860 (minibuffer-local-must-match-filename-map):
11861 Move define-obsolete-variable-alias before its var.
11862
11863 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11864
11865 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
11866
11867 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
11868 behavior.
11869 (completion--string-equal-p): New function.
11870 (completion--twq-all): Use it to get better assertion failure data.
11871
11872 Only handle ".." and '..' quoting in shell-mode (bug#11466).
11873 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
11874 (shell--requote-argument): New functions.
11875 (shell-completion-vars): Use them.
11876 (shell--parse-pcomplete-arguments): Rename from
11877 shell-parse-pcomplete-arguments.
11878 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
11879 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
11880 Obey comint-file-name-quote-list.
11881
11882 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
11883 (smie-indent-keyword): Use it.
11884
11885 2012-05-14 Stefan Merten <smerten@oekonux.de>
11886
11887 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
11888
11889 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
11890
11891 * net/rlogin.el (rlogin-mode-map): Fix last change.
11892
11893 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
11894
11895 * mail/smtpmail.el (smtpmail-send-command): Send the command and
11896 the following \r\n using a single `process-send-string', since the
11897 Lotus SMTP server refuses to accept any commands if they are sent
11898 with two `process-send-string's (Bug#11444).
11899
11900 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
11901
11902 * shell.el (shell-parse-pcomplete-arguments):
11903 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
11904
11905 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
11906
11907 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
11908 (image-transform-scale, image-transform-right-angle-fudge): New vars.
11909 (image-transform-width, image-transform-fit-width): New functions.
11910 (image-transform-properties): Use them.
11911 (image-transform-check-size): New function.
11912 (image-toggle-display-image): Use it (for testing).
11913 (image-transform-set-rotation): Reduce angle mod 360.
11914 Delete obsolete comment.
11915
11916 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
11917
11918 * image-mode.el: Fix scaling (bug#11399).
11919 (image-transform-resize): Doc fix.
11920 (image-transform-properties): Default scale is 1 and height should
11921 be an integer.
11922
11923 2012-05-13 Johan Bockgård <bojohan@gnu.org>
11924
11925 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
11926 than hard-coding `car', to fix misbehavior when moving forward.
11927
11928 2012-05-13 Chong Yidong <cyd@gnu.org>
11929
11930 * emacs-lisp/tabulated-list.el (tabulated-list-format)
11931 (tabulated-list-entries, tabulated-list-padding)
11932 (tabulated-list-sort-key): Make permanent-local.
11933
11934 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
11935 (electric-buffer-list): Put electric buffer menu
11936 command descriptions in this docstring, instead of the docstring
11937 of electric-buffer-menu-mode. Code cleanups.
11938 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
11939 Electric-buffer-menu-mode.
11940 (electric-buffer-update-highlight): Minor code cleanup.
11941
11942 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
11943
11944 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
11945 (Bug#11447)
11946
11947 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11948
11949 Move define-obsolete-variable-alias before the var's definition.
11950 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
11951 * tooltip.el (tooltip-hook):
11952 * textmodes/reftex-toc.el (reftex-toc-map):
11953 * textmodes/reftex-sel.el (reftex-select-label-map)
11954 (reftex-select-bib-map):
11955 * textmodes/reftex-index.el (reftex-index-map)
11956 (reftex-index-phrases-map):
11957 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
11958 * progmodes/meta-mode.el (meta-mode-map):
11959 * novice.el (disabled-command-hook):
11960 * loadhist.el (unload-hook-features-list):
11961 * frame.el (blink-cursor):
11962 * files.el (find-file-not-found-hooks, write-file-hooks)
11963 (write-contents-hooks):
11964 * emulation/tpu-edt.el (GOLD-map):
11965 * emacs-lock.el (emacs-lock-from-exiting):
11966 * emacs-lisp/generic.el (generic-font-lock-defaults):
11967 * emacs-lisp/chart.el (chart-map):
11968 * dos-fns.el (register-name-alist):
11969 * dired-x.el (dired-omit-files-p):
11970 * desktop.el (desktop-enable):
11971 * cus-edit.el (custom-mode-hook):
11972 * buff-menu.el (buffer-menu-mode-hook):
11973 * bookmark.el (bookmark-read-annotation-text-func)
11974 (bookmark-exit-hooks):
11975 * allout.el (allout-mode-deactivate-hook)
11976 (allout-exposure-change-hook, allout-structure-added-hook)
11977 (allout-structure-deleted-hook, allout-structure-shifted-hook):
11978 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
11979 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
11980 comes before the corresponding variable's definition.
11981
11982 2012-05-12 Chong Yidong <cyd@gnu.org>
11983
11984 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
11985 (Buffer-menu-mouse-select): Restore function (Bug#11459).
11986 (Buffer-menu-mode-map): Bind it.
11987 (Buffer-menu--pretty-name): Add a mouse-face property.
11988
11989 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
11990
11991 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
11992 (prolog-upper-case-string, prolog-lower-case-string)
11993 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
11994 (prolog-use-smie, prolog-smie-grammar): New vars.
11995 (prolog-smie-forward-token, prolog-smie-backward-token)
11996 (prolog-smie-rules): New funs.
11997 (prolog-comment-indent): Remove.
11998 (prolog-mode-variables): Use default comment indentation instead.
11999 Setup SMIE.
12000 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
12001 (prolog-mode): Don't call them any more.
12002 (prolog-electric-colon, prolog-electric-dash)
12003 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
12004
12005 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
12006
12007 * minibuffer.el (completion--twq-all): Again, allow case differences.
12008
12009 * term.el: Move keymap initialization code to be more idiomatic.
12010 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
12011 (term-terminal-menu): Move initialization into declaration.
12012 (term-escape-char): Let the user set it in her .emacs.
12013
12014 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
12015 Provide SMIE-based indentation (not enabled by default yet).
12016 (sh-mode-map): Don't bind electric keys.
12017 Use electric-pair-mode instead of skeleton-pair.
12018 (sh-assignment-regexp): Fit within 80 columns.
12019 (sh-indent-supported): Specify actual shell name instead of boolean.
12020 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
12021 (sh-maybe-here-document): Use it. Make obsolete.
12022 (sh-electric-here-document-mode) New minor mode.
12023 (sh-mode): Use it. Don't set sh-indent-supported-here here.
12024 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
12025 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
12026 (sh-smie-rc-grammar, sh-use-smie): New vars.
12027 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
12028 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
12029 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
12030 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
12031 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
12032 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
12033 (sh-set-shell): Use smie-setup if requested.
12034
12035 * term.el (term-set-escape-char): Properly set term-escape-char.
12036 See http://stackoverflow.com/questions/10524656.
12037
12038 2012-05-10 Chong Yidong <cyd@gnu.org>
12039
12040 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
12041 Use url-generic-parse-url, and handle host names and Windows
12042 filenames properly.
12043 (ffap-url-unwrap-remote): Use url-generic-parse-url.
12044 (ffap-url-unwrap-remote): Accept list values, specifying a list of
12045 URL schemes to work on.
12046 (ffap--toggle-read-only): New function.
12047 (ffap-read-only, ffap-read-only-other-window)
12048 (ffap-read-only-other-frame): Use it.
12049 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
12050 necessary for ffap-url-unwrap-remote.
12051
12052 2012-05-10 Dave Abrahams <dave@boostpro.com>
12053
12054 * cus-start.el (create-lockfiles): Add it.
12055
12056 2012-05-09 Chong Yidong <cyd@gnu.org>
12057
12058 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
12059 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
12060
12061 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12062
12063 * shell.el (shell-completion-vars): Fix last change (bug#11348).
12064
12065 2012-05-09 Chong Yidong <cyd@gnu.org>
12066
12067 * ansi-color.el (ansi-color-process-output): Check for validity of
12068 comint-last-output-start before using it. This avoids a bad
12069 interaction with gdb-mi's input/output buffer.
12070
12071 2012-05-09 Glenn Morris <rgm@gnu.org>
12072
12073 * files.el (dir-locals-read-from-file):
12074 Mention dir-locals in any error message.
12075
12076 2012-05-09 Chong Yidong <cyd@gnu.org>
12077
12078 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
12079 package (Bug#11410).
12080
12081 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
12082 variables into description.
12083
12084 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12085
12086 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
12087 shell-delimiter-argument-list (bug#11348).
12088 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
12089
12090 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
12091
12092 * textmodes/rst.el: Silence byte-compiler warnings.
12093 (rst-re-alist, rst-reset-section-caches): Move around.
12094 (rst-re): Use `characterp', not `char-valid-p'.
12095 (font-lock-beg, font-lock-end): Declare.
12096
12097 * progmodes/idlw-shell.el (specs): Remove reference to deleted
12098 variable `idlwave-shell-activate-alt-keybindings' and simplify.
12099
12100 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
12101
12102 2012-05-08 Glenn Morris <rgm@gnu.org>
12103
12104 * files.el (auto-mode-alist): Treat ".make" like ".mk".
12105
12106 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12107
12108 * vc/log-edit.el: Add GNU coding standards highlighting.
12109 (log-edit-font-lock-gnu-style)
12110 (log-edit-font-lock-gnu-keywords): New vars.
12111 (log-edit-font-lock-keywords): New fun.
12112 (log-edit-mode): Don't fold case in font-lock.
12113 (log-edit-font-lock-keywords): Do not assume case-folding.
12114
12115 * imenu.el: Misc cleanup. Make docstrings out of comments.
12116 Use lexical-binding.
12117 (imenu--index-alist, imenu--last-menubar-index-alist)
12118 (imenu-menubar-modified-tick): Use defvar-local.
12119 (imenu--split-menu): Remove unused var.
12120 (imenu--cleanup-seen): Declare as global.
12121 (imenu--cleanup): Use dolist.
12122
12123 * subr.el (defvar-local): Add debug spec and doc-string position.
12124
12125 2012-05-08 Glenn Morris <rgm@gnu.org>
12126
12127 * language/burmese.el, language/cham.el, language/czech.el:
12128 * language/english.el, language/georgian.el, language/greek.el:
12129 * language/japanese.el, language/khmer.el, language/korean.el:
12130 * language/lao.el, language/misc-lang.el, language/romanian.el:
12131 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
12132 * language/thai.el, language/utf-8-lang.el:
12133 Remove no-byte-compile setting.
12134
12135 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
12136
12137 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12138
12139 * progmodes/make-mode.el (makefile-browse):
12140 Remove unnecessary interactive. (Bug#11324)
12141
12142 2012-05-07 Glenn Morris <rgm@gnu.org>
12143
12144 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
12145
12146 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
12147
12148 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12149
12150 * loadup.el: Preload newcomment.el.
12151 * newcomment.el: Move autoload-only code to toplevel.
12152
12153 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
12154 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12155 Handle new :right-align column property.
12156 (tabulated-list-print-col): Idem, plus use `display' text-property to
12157 try and preserve alignment for variable pitch fonts.
12158
12159 2012-05-07 Chong Yidong <cyd@gnu.org>
12160
12161 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
12162 (tabulated-list-use-header-line): New var.
12163 (tabulated-list-init-header): Use it.
12164 (tabulated-list-print-fake-header): New function.
12165 (tabulated-list-print): Use it.
12166 (tabulated-list-sort-button-map): Add non-header-line commands.
12167 (tabulated-list-init-header): Add column name property to basic
12168 labels as well.
12169 (tabulated-list-col-sort): Handle non-header-line button case.
12170 (tabulated-list--sort-by-column-name): Fix a corner case.
12171
12172 * buff-menu.el (list-buffers--refresh):
12173 Handle Buffer-menu-use-header-line.
12174
12175 2012-05-06 Chong Yidong <cyd@gnu.org>
12176
12177 * buff-menu.el: Convert to Tabulated List mode.
12178 (Buffer-menu-buffer+size-width): Make obsolete.
12179 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
12180 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
12181 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
12182 documentation into docstring of buffer-menu.
12183 (Buffer-menu-toggle-files-only): Add an informative message.
12184 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
12185 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
12186 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
12187 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
12188 (Buffer-menu-execute, Buffer-menu-select)
12189 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
12190 (Buffer-menu-bury): Use Tabulated List machinery.
12191 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
12192 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
12193 Delete.
12194 (list-buffers--refresh): New function.
12195 (list-buffers-noselect): Use it.
12196 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
12197 (Buffer-menu--pretty-file-name): New helper functions.
12198
12199 * loadup.el: Preload tabulated-list.
12200
12201 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
12202 tabulated-list-sort-column.
12203 (tabulated-list-init-header): Add the initial aligning space even
12204 if tabulated-list-padding is zero.
12205
12206 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
12207
12208 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
12209 whose cdr is not a cons cell correctly (bug#11038).
12210
12211 2012-05-06 Chong Yidong <cyd@gnu.org>
12212
12213 * emacs-lisp/tabulated-list.el (tabulated-list-format):
12214 Accept additional plist in column descriptors.
12215 (tabulated-list-init-header): Obey it.
12216 (tabulated-list-get-entry): New function.
12217 (tabulated-list-put-tag): Use it. Use string-width instead of
12218 length.
12219 (tabulated-list--column-number): New function.
12220 (tabulated-list-print): Use it.
12221 (tabulated-list-print-col): New function.
12222 Set `tabulated-list-column-name' property on each column's text.
12223 (tabulated-list-print-entry): Use it.
12224 (tabulated-list-delete-entry, tabulated-list-set-col):
12225 New functions.
12226 (tabulated-list-sort-column): New command (Bug#11337).
12227
12228 * buff-menu.el (list-buffers): Move C-x C-b binding from
12229 buff-menu.el to bindings.el.
12230
12231 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
12232 :advertised-binding feature.
12233
12234 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
12235
12236 * progmodes/compile.el (compilation-internal-error-properties):
12237 Calculate start position correctly when end-col is set but
12238 end-line is not (Bug#11382).
12239
12240 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
12241
12242 * man.el (Man-unindent): Use text-property-default-nonsticky to
12243 prevent untabify from inheriting face properties (Bug#11408).
12244
12245 2012-05-05 Stefan Merten <smerten@oekonux.de>
12246
12247 * textmodes/rst.el: Major merge with upstream development up to
12248 Docutils SVN r7399 / rst.el V1.2.1.
12249
12250 Clarify maintainership and authors.
12251
12252 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
12253 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
12254 (rst-official-version, rst-official-cvs-rev, rst-version)
12255 (rst-package-emacs-version-alist): New functions and variables
12256 for version information.
12257
12258 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
12259 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
12260 (rst-mode-syntax-table, rst-mode): New and corrected functions
12261 and variables representing reStructuredText features.
12262
12263 (rst-re): New function for reStructuredText regexes. Use in
12264 many places.
12265
12266 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
12267 (rst-mode-map): Rebind keys.
12268
12269 (rst-mode-lazy, rst-font-lock-keywords)
12270 (rst-font-lock-extend-region)
12271 (rst-font-lock-extend-region-internal)
12272 (rst-font-lock-extend-region-extend)
12273 (rst-font-lock-find-unindented-line-limit)
12274 (rst-font-lock-find-unindented-line-match)
12275 (rst-adornment-level, rst-font-lock-adornment-level)
12276 (rst-font-lock-adornment-match)
12277 (rst-font-lock-handle-adornment-pre-match-form)
12278 (rst-font-lock-handle-adornment-matcher): Major revision of
12279 font-locking. Integrate with other code. Use `jit-lock-mode'.
12280
12281 (rst-preferred-adornments, rst-adjust-hook)
12282 (rst-new-adornment-down, rst-preferred-bullets)
12283 (rst-preferred-bullets, rst-indent, rst-indent-width)
12284 (rst-indent-field, rst-indent-literal-normal)
12285 (rst-indent-literal-minimized, rst-indent-comment): Change,
12286 extend and improve customization.
12287
12288 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
12289 (rst-normalize-cursor-position, rst-get-decoration)
12290 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
12291 (rst-rstrip, rst-toc-insert-find-delete-contents)
12292 (rst-shift-fill-region, rst-compute-bullet-tabs)
12293 (rst-debug-print-tabs, rst-debug-mark-found)
12294 (rst-shift-region-guts, rst-shift-region-right)
12295 (rst-shift-region-left, rst-use-char-classes)
12296 (rst-font-lock-keywords-function)
12297 (rst-font-lock-indentation-point)
12298 (rst-font-lock-find-unindented-line-begin)
12299 (rst-font-lock-find-unindented-line-end)
12300 (rst-font-lock-find-unindented-line)
12301 (rst-font-lock-adornment-point, rst-font-lock-level)
12302 (rst-adornment-level-alist): Remove functions and variables.
12303
12304 (rst-compare-adornments, rst-get-adornment-match)
12305 (rst-suggest-new-adornment, rst-get-adornments-around)
12306 (rst-adornment-complete-p, rst-get-next-adornment)
12307 (rst-adjust-adornment, rst-display-adornments-hierarchy)
12308 (rst-straighten-adornments): Standardize function names to
12309 use "adornment" instead of "decoration". Correct callers.
12310 Similar standardizing in many places.
12311
12312 (rst-update-section, rst-adjust, rst-promote-region)
12313 (rst-enumerate-region, rst-bullet-list-region)
12314 (rst-repeat-last-character): Correct use of `interactive'.
12315
12316 (rst-classify-adornment, rst-find-all-adornments)
12317 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
12318 (rst-find-leftmost-column, rst-repeat-last-character):
12319 Refactor functions.
12320
12321 (rst-find-title-line, rst-reset-section-caches)
12322 (rst-get-adornments-around, rst-adjust-adornment-work)
12323 (rst-arabic-to-roman, rst-roman-to-arabic)
12324 (rst-insert-list-pos, rst-insert-list-new-item)
12325 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
12326 New functions.
12327
12328 (rst-all-sections, rst-section-hierarchy)
12329 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
12330 New variables.
12331
12332 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
12333 configuration instead of only buffer. Change where necessary.
12334
12335 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
12336 (rst-shift-region, rst-adaptive-fill): New functions for
12337 indentation and filling.
12338
12339 (rst-comment-line-break, rst-comment-indent)
12340 (rst-comment-insert-comment, rst-comment-region)
12341 (rst-uncomment-region): New functions for handling comments.
12342
12343 (rst-compile): Quote shell arguments.
12344
12345 (rst-compile-pdf-preview, rst-compile-slides-preview):
12346 Delete temporary files after use.
12347
12348 2012-05-05 Glenn Morris <rgm@gnu.org>
12349
12350 * calendar/cal-html.el: Optionally include holidays in the output.
12351 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
12352 (cal-html-holidays): New option.
12353 (cal-html-css-default): Add holiday entry.
12354 (holiday-in-range): Autoload it.
12355 (cal-html-htmlify-entry): Add optional class argument.
12356 (cal-html-htmlify-list): Add optional holidays argument.
12357 (cal-html-insert-agenda-days): Include holidays in the output.
12358 (cal-html-one-month): Maybe include holidays.
12359
12360 * calendar/holidays.el (holiday-in-range):
12361 Move here from cal-tex-list-holidays.
12362 * calendar/cal-tex.el (cal-tex-list-holidays):
12363 Make it an obsolete alias for holiday-in-range. Update all callers.
12364
12365 2012-05-05 Chong Yidong <cyd@gnu.org>
12366
12367 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
12368 Nextstep.
12369
12370 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
12371
12372 * files.el (file-auto-mode-skip): New var.
12373 (set-auto-mode-1): Use it.
12374
12375 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12376
12377 * repeat.el: Use lexical-binding.
12378 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
12379 (repeat-undo-count): Remove.
12380 (repeat):
12381 * progmodes/octave-mod.el (octave-abbrev-start):
12382 * progmodes/f90.el (f90-abbrev-start):
12383 * face-remap.el (text-scale-adjust):
12384 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
12385
12386 * emacs-lisp/pcase.el (pcase--let*): New function.
12387 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
12388 a bit more.
12389 (pcase--split-pred): Be more clever about ruling out overlap between
12390 a predicate and some constant pattern.
12391 (pcase--q1): Use `null' instead of (eq foo nil).
12392
12393 * subr.el (setq-local, defvar-local): New macros.
12394 (kbd): Redefine as an alias.
12395 (with-selected-window): Leave unrelated frames alone.
12396 (set-temporary-overlay-map): New function.
12397
12398 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12399
12400 * subr.el (user-error): New function.
12401 * window.el (switch-to-buffer):
12402 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
12403 (smerge-match-conflict):
12404 * simple.el (previous-matching-history-element)
12405 (next-matching-history-element, goto-history-element, undo-more)
12406 (undo-start):
12407 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
12408 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
12409 (next-file, tags-loop-scan, list-tags, complete-tag):
12410 * progmodes/compile.el (compilation-loop):
12411 * mouse.el (mouse-minibuffer-check):
12412 * man.el (Man-bgproc-sentinel, Man-goto-page):
12413 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
12414 (Info-history-forward, Info-follow-reference, Info-menu)
12415 (Info-extract-menu-item, Info-extract-menu-counting)
12416 (Info-forward-node, Info-backward-node, Info-next-menu-item)
12417 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
12418 (Info-next-reference, Info-prev-reference, Info-index)
12419 (Info-index-next, Info-follow-nearest-node)
12420 (Info-copy-current-node-name):
12421 * imenu.el (imenu--make-index-alist)
12422 (imenu-default-create-index-function, imenu-add-to-menubar):
12423 * files.el (basic-save-buffer, recover-file):
12424 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
12425 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
12426 (checkdoc-message-text, checkdoc-defun):
12427 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
12428 * cus-edit.el (customize-changed-options, customize-rogue)
12429 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
12430 (custom-variable-mark-to-reset-standard)
12431 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
12432 (custom-file):
12433 * completion.el (check-completion-length):
12434 * comint.el (comint-search-arg)
12435 (comint-previous-matching-input-string-position)
12436 (comint-previous-matching-input)
12437 (comint-replace-by-expanded-history-before-point, comint-send-input)
12438 (comint-copy-old-input, comint-backward-matching-input)
12439 (comint-goto-process-mark, comint-set-process-mark):
12440 * calendar/calendar.el (calendar-cursor-to-date): Use it.
12441 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
12442
12443 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12444
12445 * dabbrev.el (dabbrev--ignore-case-p): New function.
12446 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
12447 Use it.
12448
12449 * files.el (automount-dir-prefix): Mark as obsolete.
12450
12451 2012-05-04 Glenn Morris <rgm@gnu.org>
12452
12453 * patcomp.el, play/bruce.el: Move to obsolete/.
12454
12455 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
12456
12457 Fix minor Y10k bugs.
12458 * arc-mode.el (archive-unixdate):
12459 * autoinsert.el (auto-insert-alist):
12460 * calc/calc-forms.el (math-this-year):
12461 * emacs-lisp/copyright.el (copyright-current-year)
12462 (copyright-update-year, copyright):
12463 * tar-mode.el (tar-clip-time-string):
12464 * time.el (display-time-update):
12465 Don't assume years have 4 digits.
12466
12467 2012-05-04 Chong Yidong <cyd@gnu.org>
12468
12469 * dos-w32.el (file-name-buffer-file-type-alist)
12470 (direct-print-region-use-command-dot-com):
12471 * ffap.el (ffap-menu-regexp):
12472 * find-file.el (ff-special-constructs):
12473 * follow.el (follow-debug):
12474 * forms.el (forms--debug):
12475 * iswitchb.el (iswitchb-all-frames):
12476 * ido.el (ido-all-frames):
12477 * emacs-lisp/timer.el (timer-max-repeats):
12478 * mail/feedmail.el (feedmail-mail-send-hook)
12479 (feedmail-mail-send-hook-queued):
12480 * mail/footnote.el (footnote-signature-separator):
12481 * mail/mailabbrev.el (mail-alias-separator-string)
12482 (mail-abbrev-mode-regexp):
12483 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
12484 * progmodes/idlwave.el (idlwave-libinfo-file)
12485 (idlwave-default-completion-case-is-down)
12486 (idlwave-library-routines): Convert defvars to defcustoms.
12487
12488 * mail/rmail.el (rmail-decode-mime-charset):
12489 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
12490 (idlwave-shell-fix-inserted-breaks)
12491 (idlwave-shell-activate-alt-keybindings)
12492 (idlwave-shell-use-breakpoint-glyph):
12493 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
12494
12495 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12496
12497 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
12498
12499 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
12500
12501 * progmodes/verilog-mode.el (font-lock-keywords):
12502 Fix mis-highligting auto. Reported by Craig Barner.
12503 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
12504 defines from global name space. Reported by Dan Dever.
12505 (verilog-auto-reset, verilog-auto-reset-widths)
12506 (verilog-auto-tieoff): Support using unbased numbers for
12507 AUTORESET and AUTOTIEOFF.
12508 (verilog-submit-bug-report): Update variable list.
12509 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
12510 parenthesis from not matching. Reported by Michael Rytting.
12511 (verilog-auto-template-lint): Fix hash error when linting modules
12512 with no used templates.
12513 (verilog-warn, verilog-warn-error)
12514 (verilog-warn-fatal): When non-interactive report multiple
12515 warnings before exiting. Suggested by Brad Dobbie.
12516 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
12517 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
12518 to report unused template errors. Reported by Brad Dobbie.
12519 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
12520 nets, bug438. Reported by Vns Blore.
12521 (verilog-auto-inout-module, verilog-auto-reg)
12522 (verilog-read-decls, verilog-read-sub-decls-sig)
12523 (verilog-signals-edit-wire-reg, verilog-signals-with):
12524 Fix passing of Verilog data types in ANSI input/output ports
12525 such as "output logic" into the AUTOs. Special case "wire" and
12526 "reg" for backwards compatibility presuming Verilog 2001.
12527 (verilog-auto-ascii-enum): Add "auto enum" as alias.
12528 (verilog-preprocess): Fix replication of preprocess output.
12529 Reported by Brad Dobbie.
12530 (verilog-auto-inst-interfaced-ports):
12531 Create verilog-auto-inst-interfaced-ports, bug429.
12532 Reported by Julian Gorfajn.
12533 (verilog-after-save-font-hook)
12534 (verilog-before-save-font-hook): New variable.
12535 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
12536 (verilog-save-font-mods): Wrap disabling fontification, reported
12537 by David Rogoff.
12538 (verilog-do-indent, verilog-pretty-declarations-auto)
12539 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
12540 Reported by Pierre-David Pfister.
12541 (verilog-set-auto-endcomments): Fix endtask auto comments outside
12542 of class declarations, bug292. Reported by Kevin Heilman.
12543 (verilog-read-decls): Fix 'parameter type' not appearing in
12544 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
12545 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
12546 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
12547 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
12548 Reported by David Kravitz.
12549
12550 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
12551
12552 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
12553 assignment with tests in ifs and for loops.
12554 (verilog-extended-complete-re, verilog-complete-reg): Change so
12555 that DPI inport functions don't look like fuction declarations.
12556 (verilog-pretty-expr): Don't line up assignment
12557 operations to the test and increment in if and for loops
12558 (verilog-extended-complete-re, verilog-complete-reg): Change so
12559 that DPI inport functions don't look like fuction declarations.
12560
12561 2012-05-03 Kenichi Handa <handa@m17n.org>
12562
12563 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
12564 decoding, and show a warning message without signaling an error
12565 (Bug#11282).
12566
12567 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12568
12569 * emacs-lisp/bytecomp.el
12570 (byte-compile-file-form-custom-declare-variable): Compile all elements,
12571 since cconv.el might have introduced :fun-body, internal-make-closure,
12572 and friends for bytecomp to handle (bug#11391).
12573 * custom.el (defcustom): Avoid ((λ ..) ..).
12574
12575 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
12576
12577 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
12578
12579 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
12580
12581 * notifications.el (dbus-debug):
12582 * term/linux.el (gpm-mouse-enable):
12583 * term/screen.el (xterm-register-default-colors): Declare.
12584
12585 2012-05-02 Chong Yidong <cyd@gnu.org>
12586
12587 * cus-start.el (gc-cons-percentage, exec-suffixes)
12588 (dos-display-scancodes, dos-hyper-key, dos-super-key)
12589 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
12590 (make-cursor-line-fully-visible, void-text-area-pointer)
12591 (font-list-limit): Add customization data.
12592
12593 * allout.el (allout-exposure-change-functions)
12594 (allout-structure-added-functions)
12595 (allout-structure-deleted-functions)
12596 (allout-structure-shifted-functions): Rename abnormal hooks from
12597 *-hook, and convert to defcustoms.
12598 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
12599 Convert to defcustoms.
12600 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
12601
12602 * allout-widgets.el: Hook callers changed.
12603
12604 2012-05-02 Eli Zaretskii <eliz@gnu.org>
12605
12606 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
12607 the yanked message in preference to the default value of
12608 buffer-file-coding-system.
12609
12610 2012-05-02 Martin Rudalics <rudalics@gmx.at>
12611
12612 * window.el (display-buffer--action-function-custom-type):
12613 Fix entry.
12614
12615 2012-05-02 Alan Mackenzie <acm@muc.de>
12616
12617 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
12618
12619 2012-05-01 Glenn Morris <rgm@gnu.org>
12620
12621 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
12622
12623 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
12624
12625 * cus-edit.el (custom-variable-documentation): Simplify with format.
12626
12627 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12628 Stefan Monnier <monnier@iro.umontreal.ca>
12629
12630 * simple.el (suggest-key-bindings, execute-extended-command):
12631 Move from keyboard.c.
12632
12633 2012-05-01 Chong Yidong <cyd@gnu.org>
12634
12635 * follow.el: Eliminate advice.
12636 (set-process-filter, process-filter, sit-for): Advice deleted.
12637 (follow-mode-off-hook): Obsolete hook removed.
12638 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
12639 Vars deleted.
12640 (follow-auto): Use a :set function.
12641 (follow-mode): Rewritten. Don't advise process filters.
12642 (follow-switch-to-current-buffer-all, follow-scroll-up)
12643 (follow-scroll-down): Assume follow-mode is bound.
12644 (follow-comint-scroll-to-bottom)
12645 (follow-align-compilation-windows): New functions.
12646 (follow--window-sorter): New function.
12647 (follow-all-followers): Use it to explicitly sort windows by their
12648 positions; don't make assumptions about next-window order.
12649 (follow-windows-start-end, follow-delete-other-windows-and-split)
12650 (follow-calc-win-start): Doc fix.
12651 (follow-windows-aligned-p, follow-select-if-visible): Don't call
12652 vertical-motion unnecessarily.
12653 (follow-adjust-window): New function.
12654 (follow-post-command-hook): Use it.
12655 (follow-call-set-process-filter, follow-call-process-filter)
12656 (follow-intercept-process-output, follow-tidy-process-filter-alist)
12657 (follow-stop-intercept-process-output, follow-generic-filter):
12658 Functions deleted.
12659 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
12660 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
12661 New functions, replacing advice on scroll-bar-* commands.
12662 (follow-mwheel-scroll): New function (Bug#4112).
12663
12664 * comint.el (comint-adjust-point): New function.
12665 (comint-postoutput-scroll-to-bottom): Use it.
12666 Call follow-comint-scroll-to-bottom for Follow mode buffers.
12667
12668 2012-05-01 Glenn Morris <rgm@gnu.org>
12669
12670 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
12671 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
12672 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
12673 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
12674 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
12675 Remove no-byte-compile setting.
12676
12677 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
12678
12679 * minibuffer.el (completion-table-with-quoting): Fix compatibility
12680 all-completions code to not return a number in the last cdr.
12681
12682 2012-04-30 Leo Liu <sdl.web@gmail.com>
12683
12684 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
12685 read-only error.
12686
12687 2012-04-29 Chong Yidong <cyd@gnu.org>
12688
12689 * follow.el (follow-calc-win-end): Rewrite to handle partial
12690 screen lines correctly (Bug#8390).
12691 (follow-avoid-tail-recenter): Minor cleanup.
12692
12693 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12694
12695 Avoid the obsolete `assoc' package.
12696 * speedbar.el (speedbar-refresh): Avoid adelete.
12697 (speedbar-file-lists): Simplify and avoid aput.
12698 * man.el (Man--sections, Man--refpages): New vars, replacing
12699 Man-sections-alist and Man-refpages-alist.
12700 (Man-build-section-alist, Man-build-references-alist):
12701 Use them; avoid aput.
12702 (Man--last-section, Man--last-refpage): New vars.
12703 (Man-follow-manual-reference): Use them.
12704 Use the `default' arg of completing-read.
12705 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
12706
12707 2012-04-27 Chong Yidong <cyd@gnu.org>
12708
12709 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
12710
12711 * startup.el (x-apply-session-resources): New function.
12712
12713 * term/ns-win.el (ns-initialize-window-system):
12714 * term/w32-win.el (w32-initialize-window-system):
12715 * term/x-win.el (x-initialize-window-system): Use it to properly
12716 set menu-bar-mode and other vars from X resources, even if the
12717 initial frame is not a window-system frame (Bug#2299).
12718
12719 * subr.el (read-key): Avoid running filter function when setting
12720 up temporary tool bar entries (Bug#9922).
12721
12722 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
12723
12724 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
12725 (Bug#11344)
12726
12727 2012-04-27 Chong Yidong <cyd@gnu.org>
12728
12729 * select.el (xselect--encode-string): New function, split from
12730 xselect-convert-to-string.
12731 (xselect-convert-to-string): Use it.
12732 (xselect-convert-to-filename, xselect-convert-to-os)
12733 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
12734 returned strings are properly encoded (Bug#11315).
12735
12736 2012-04-27 Chong Yidong <cyd@gnu.org>
12737
12738 * simple.el (delete-active-region): Move to killing custom group.
12739
12740 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
12741
12742 * progmodes/which-func.el (which-func-current): Quote %
12743 characters for mode-line processing.
12744
12745 2012-04-27 Chong Yidong <cyd@gnu.org>
12746
12747 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
12748 reaching eob (Bug#11286).
12749
12750 2012-04-27 Eli Zaretskii <eliz@gnu.org>
12751
12752 * progmodes/gdb-mi.el (gdb-control-level): New variable.
12753 (gdb): Make it buffer-local and init to zero.
12754 (gdb-control-commands-regexp): New variable.
12755 (gdb-send): Don't wrap in "-interpreter-exec console" if
12756 gdb-control-level is positive. Increment gdb-control-level
12757 whenever the command matches gdb-control-commands-regexp, and
12758 decrement it each time the command is "end". (Bug#11279)
12759
12760 2012-04-27 Martin Rudalics <rudalics@gmx.at>
12761
12762 * window.el (adjust-window-trailing-edge, enlarge-window)
12763 (shrink-window, window-resize):
12764 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
12765 windows (Bug#11276).
12766
12767 2012-04-27 Chong Yidong <cyd@gnu.org>
12768
12769 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
12770 fix "missing prefix" warning. All callers changed.
12771
12772 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
12773
12774 * emacs-lisp/assoc.el: Move to obsolete/.
12775
12776 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12777
12778 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
12779
12780 * term/ns-win.el (ns-define-service):
12781 * progmodes/pascal.el (pascal-goto-defun):
12782 * progmodes/js.el (js--read-tab):
12783 * progmodes/etags.el (tags-lazy-completion-table):
12784 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
12785 * emacs-lisp/ewoc.el (ewoc--wrap):
12786 * emacs-lisp/assoc.el (aput, adelete, amake):
12787 * doc-view.el (doc-view-convert-current-doc):
12788 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
12789
12790 2012-04-26 Chong Yidong <cyd@gnu.org>
12791
12792 * image.el (image-type-from-buffer): Only return supported image
12793 type (Bug#9045).
12794
12795 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
12796 value, for symmetry with diff-end-of-hunk.
12797 (diff-split-hunk, diff-find-source-location)
12798 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
12799 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
12800 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
12801 compute the relevant hunk or file properly (Bug#6005).
12802 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
12803
12804 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12805
12806 * vc/vc-mtn.el:
12807 * vc/vc-hg.el:
12808 * vc/vc-git.el:
12809 * vc/vc-dir.el:
12810 * vc/vc-cvs.el:
12811 * vc/vc-bzr.el:
12812 * vc/vc-arch.el:
12813 * vc/vc.el: Replace lexical-let by lexical-binding.
12814 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
12815 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
12816 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
12817
12818 2012-04-26 Chong Yidong <cyd@gnu.org>
12819
12820 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
12821 (diff-mode-shared-map): Bind it to / and [remap undo].
12822
12823 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
12824 (ediff-window-setup-function): Use it as the default, to set up
12825 windows based on whether the current frame is graphical (Bug#2138).
12826 (ediff-choose-window-setup-function-automatically): Make obsolete.
12827
12828 * vc/ediff-init.el: Always define ediff-pixel-width/height.
12829
12830 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12831
12832 * ffap.el: Remove old code for obsolete package.
12833 (ffap-complete-as-file-p): Remove.
12834
12835 Use completion-table-with-quoting for comint and pcomplete.
12836 * comint.el (comint--unquote&requote-argument)
12837 (comint--unquote-argument, comint--requote-argument): New functions.
12838 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
12839 (comint-quote-filename): Use regexp-opt-charset.
12840 (comint--common-suffix, comint--common-quoted-suffix)
12841 (comint--table-subvert): Remove.
12842 (comint-unquote-function, comint-requote-function): New vars.
12843 (comint--complete-file-name-data): Use them with
12844 completion-table-with-quoting.
12845 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
12846 * pcomplete.el (pcomplete-arg-quote-list)
12847 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
12848 (pcomplete-unquote-argument-function): Default to non-nil.
12849 (pcomplete-unquote-argument): Simplify.
12850 (pcomplete--common-quoted-suffix): Remove.
12851 (pcomplete-requote-argument-function): New var.
12852 (pcomplete--common-suffix): New function.
12853 (pcomplete-completions-at-point): Use completion-table-with-quoting
12854 and completion-table-subvert.
12855
12856 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
12857 (minibuffer--double-dollars): Preserve properties.
12858 (completion--sifn-requote): New function.
12859 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
12860
12861 * minibuffer.el: Add support for completion of quoted/escaped data.
12862 (completion-table-with-quoting, completion-table-subvert): New funs.
12863 (completion--twq-try, completion--twq-all): New functions.
12864 (completion--nth-completion): New function.
12865 (completion-try-completion, completion-all-completions): Use it.
12866
12867 2012-04-25 Leo Liu <sdl.web@gmail.com>
12868
12869 * progmodes/python.el (python-pdbtrack-get-source-buffer):
12870 Use compilation-message if available to find real filename.
12871
12872 2012-04-25 Chong Yidong <cyd@gnu.org>
12873
12874 * vc/diff-mode.el (diff-setup-whitespace): New function.
12875 (diff-mode): Use it.
12876
12877 * vc/diff.el (diff-sentinel):
12878 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
12879 Whitespace mode variables based on diff style (Bug#8612).
12880
12881 2012-04-25 Leo Liu <sdl.web@gmail.com>
12882
12883 * progmodes/python.el (python-send-region): Add suffix .py to the
12884 temp file.
12885
12886 * files.el (auto-mode-alist): Use javascript-mode instead.
12887
12888 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
12889
12890 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
12891
12892 * net/soap-client.el (soap-resolve-references-for-sequence-type)
12893 (soap-resolve-references-for-array-type): Hack to prevent self
12894 references, see Bug#9.
12895 (soap-parse-envelope): Report the contents of the 'detail' node
12896 when receiving a fault reply.
12897 (soap-parse-envelope): Report the contents of the entire 'detail' node.
12898
12899 * net/soap-inspect.el (soap-sample-value-for-simple-type)
12900 (soap-inspect-simple-type): New function.
12901
12902 * net/soap-client.el (soap-simple-type): New struct.
12903 (soap-default-xsd-types, soap-default-soapenc-types)
12904 (soap-decode-basic-type, soap-encode-basic-type):
12905 support unsignedInt and double basic types.
12906 (soap-resolve-references-for-simple-type)
12907 (soap-parse-simple-type, soap-encode-simple-type): New function.
12908 (soap-parse-schema): Parse xsd:simpleType declarations.
12909
12910 * net/soap-client.el (soap-default-xsd-types)
12911 (soap-default-soapenc-types): Add integer, byte and anyURI types.
12912 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
12913 the local name of "soapenc:Array".
12914 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
12915 decoding integer, byte and anyURI xsd types.
12916
12917 2012-04-25 Chong Yidong <cyd@gnu.org>
12918
12919 * cus-edit.el (custom-buffer-create-internal): Update header text.
12920
12921 2012-04-25 Eli Zaretskii <eliz@gnu.org>
12922
12923 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
12924 settings on 'system-type', not on 'window-system'. On MS-Windows,
12925 set interactive-mode on in GDB.
12926
12927 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12928
12929 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
12930 (ruby-syntax-propertize-regexp): Remove.
12931 (ruby-syntax-propertize-function): Split regexp into chunks.
12932 Match following code directly.
12933
12934 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
12935
12936 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
12937 (ruby-syntax-propertize-regexp): New function.
12938 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
12939 by a special keyword.
12940
12941 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
12942 (ruby-syntax-general-delimiters-goto-beg)
12943 (ruby-syntax-propertize-general-delimiters): New functions.
12944 (ruby-syntax-propertize-function): Use them to handle GDL.
12945 (ruby-font-lock-keywords): Move old handling of GDL...
12946 (ruby-font-lock-syntactic-keywords): .. to here.
12947 (ruby-calculate-indent): Adjust indentation for GDL.
12948
12949 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
12950
12951 * notifications.el (top): Remove unneeded declarations.
12952 (notifications-specification-version): Change to "1.2".
12953 (notifications-interface, notifications-notify-method)
12954 (notifications-close-notification-method): Fix docstring.
12955 (notifications-get-capabilities-method): New defconst.
12956 (notifications-notify): Add :action-items, :resident and
12957 :transient hints. Change "image_data" to "image-data" and
12958 "image_path" to "image-path".
12959 (notifications-get-capabilities): New defun.
12960
12961 2012-04-24 Leo Liu <sdl.web@gmail.com>
12962
12963 * progmodes/python.el: Move hideshow setup to the end.
12964
12965 2012-04-24 Martin Rudalics <rudalics@gmx.at>
12966
12967 * window.el (handle-select-window): Clear echo area since this is
12968 no more done by read_char (Bug#11304).
12969
12970 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12971
12972 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
12973 and `/ M' to filter-derived-mode.
12974 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
12975 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
12976 (ibuffer-mark-by-mode): Use default rather than initial-input.
12977 (ibuffer-filter-by-derived-mode): Autoload and require-match.
12978
12979 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
12980
12981 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
12982 (ibuffer-filter-by-derived-mode): New filter.
12983 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
12984
12985 2012-04-23 Andreas Politz <politza@fh-trier.de>
12986
12987 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
12988
12989 2012-04-23 Chong Yidong <cyd@gnu.org>
12990
12991 * cus-edit.el (customize-apropos, customize-apropos-options):
12992 Disable matching of non-option variables (Bug#11176).
12993 (customize-option, customize-option-other-window)
12994 (customize-changed-options): Doc fix.
12995 (customize-apropos-options, customize-apropos-faces)
12996 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
12997
12998 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
12999 Fix word list splitting (Bug#11132).
13000 (apropos-symbol, apropos-keybinding, apropos-label)
13001 (apropos-property, apropos-function-button)
13002 (apropos-variable-button, apropos-misc-button): New faces.
13003 (apropos-symbol-face, apropos-keybinding-face)
13004 (apropos-label-face, apropos-property-face, apropos-match-face):
13005 Variables removed (Bug#8396).
13006 (apropos-library-button, apropos-format-plist, apropos-print)
13007 (apropos-print-doc, apropos-describe-plist): Callers changed.
13008
13009 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
13010
13011 * net/xesam.el (xesam-mode-map): Use let-bound map in
13012 initialization. (Bug#11292)
13013
13014 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13015
13016 Preserve ispell session localwords when switching back to
13017 original buffer.
13018
13019 * textmodes/ispell.el (ispell-buffer-session-localwords):
13020 New buffer-local variable to hold buffer session localwords.
13021 (ispell-kill-ispell): Add option 'clear to delete session
13022 localwords.
13023 (ispell-command-loop, ispell-change-dictionary)
13024 (ispell-buffer-local-words): Preserve session localwords when
13025 needed.
13026
13027 * textmodes/flyspell.el (flyspell-process-localwords)
13028 (flyspell-do-correct): Preserve session localwords when needed.
13029
13030 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13031
13032 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
13033 using obsolete `translation-table-for-input'.
13034 (ispell-word, ispell-process-line, ispell-complete-word):
13035 Use plain `insert' instead of removed `ispell-insert-word'.
13036
13037 2012-04-22 Chong Yidong <cyd@gnu.org>
13038
13039 * cus-edit.el (custom-variable-menu)
13040 (custom-variable-reset-saved, custom-face-menu)
13041 (custom-face-reset-saved): If there is no saved value, make the
13042 "reset-saved" operation bring back the default (Bug#9509).
13043 (custom-face-state): Properly detect themed faces.
13044
13045 * faces.el (face-spec-set): Stop supporting deprecated form of
13046 third arg.
13047
13048 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
13049
13050 Move functions from C to Lisp. Make non-blocking method calls
13051 the default. Implement further D-Bus standard interfaces.
13052
13053 * net/dbus.el (dbus-message-internal): Declare function.
13054 Remove unneeded function declarations.
13055 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
13056 (dbus-message-type-method-return, dbus-message-type-error)
13057 (dbus-message-type-signal): Declare variables. Remove local
13058 definitions.
13059 (dbus-interface-dbus, dbus-interface-peer)
13060 (dbus-interface-introspectable, dbus-interface-properties)
13061 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
13062 Adapt docstring.
13063 (dbus-interface-objectmanager): New defconst.
13064 (dbus-call-method, dbus-call-method-asynchronously)
13065 (dbus-send-signal, dbus-method-return-internal)
13066 (dbus-method-error-internal, dbus-register-service)
13067 (dbus-register-signal, dbus-register-method): New defuns, moved
13068 from dbusbind.c
13069 (dbus-call-method-handler, dbus-setenv)
13070 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
13071 New defuns.
13072 (dbus-call-method-non-blocking): Make it an obsolete function.
13073 (dbus-unregister-object, dbus-unregister-service)
13074 (dbus-handle-event, dbus-register-property)
13075 (dbus-property-handler): Obey the new structure of
13076 `bus-registered-objects'.
13077 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
13078 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
13079 Use `dbus-call-method'.
13080
13081 2012-04-22 Chong Yidong <cyd@gnu.org>
13082
13083 * cus-edit.el (custom-commands, custom-reset-menu)
13084 (Custom-reset-standard): Tweak labels.
13085 (custom-reset-button-menu): Change default to t.
13086 (custom-buffer-create-internal): For the custom-reset-button-menu
13087 case, put the revert button first.
13088 (custom-group-subtitle): New face.
13089 (custom-group-value-create): Align docstring to a specific column.
13090
13091 * wid-edit.el (widget-documentation-link-add): Don't handle
13092 indentation in this function.
13093 (widget-documentation-string-indent-to): New function.
13094 (widget-documentation-string-value-create): Use it.
13095
13096 * autorevert.el (auto-revert):
13097 * epg-config.el (epg):
13098 * ibuffer.el (ibuffer):
13099 * mpc.el (mpc):
13100 * ses.el (ses):
13101 * eshell/eshell.el (eshell):
13102 * net/ange-ftp.el (ange-ftp):
13103 * progmodes/ebnf2ps.el (postscript):
13104 * progmodes/flymake.el (flymake):
13105 * progmodes/prolog.el (prolog):
13106 * progmodes/verilog-mode.el (verilog-mode):
13107 * progmodes/which-func.el (which-func):
13108 * term/xterm.el (xterm):
13109 * textmodes/picture.el (picture):
13110 * textmodes/tildify.el (tildify):
13111 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
13112 customization buffers.
13113
13114 2012-04-22 Alan Mackenzie <acm@muc.de>
13115
13116 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
13117 Adding a ) can hide the resulting (..) from searches. Fix it.
13118 Bound the backward search to the position of the existing (.
13119
13120 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
13121
13122 * progmodes/verilog-mode.el (verilog-mode): Check whether
13123 which-func-modes is t before adding verilog-mode.
13124 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
13125
13126 2012-04-21 Leo Liu <sdl.web@gmail.com>
13127
13128 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
13129
13130 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
13131
13132 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
13133 filling of the last column of a table (Bug#5635).
13134 (woman-find-next-control-line): New arg, specifying an additional
13135 regexp component for the control line.
13136 (woman2-roff-buffer): Use it.
13137 (woman-break-table): New function.
13138 (woman2-TS): Use it.
13139
13140 2012-04-21 Chong Yidong <cyd@gnu.org>
13141
13142 * woman.el (woman-set-buffer-display-table, woman-decode-region)
13143 (woman-horizontal-escapes, woman-negative-vertical-space)
13144 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
13145 (WoMan-warn-ignored): Use ?\s instead of ?\ .
13146
13147 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13148
13149 * minibuffer.el (completion-file-name-table): Complete user names.
13150
13151 2012-04-20 Leo Liu <sdl.web@gmail.com>
13152
13153 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
13154 and pcase-let*.
13155
13156 2012-04-20 Chong Yidong <cyd@gnu.org>
13157
13158 * server.el (server-execute): Respect initial-buffer-choice if it
13159 is a string and there are no files to open (Bug#2825).
13160 (server-create-window-system-frame, server-create-tty-frame):
13161 Don't switch buffers here.
13162 (server-process-filter): Only try to open a window system frame if
13163 compiled with graphical support (Bug#8314).
13164
13165 2012-04-20 Dan Nicolaescu <dann@gnu.org>
13166
13167 * battery.el (battery-echo-area-format): Display remaining time
13168 for sysfs backend too (Bug#11269).
13169 (battery-linux-sysfs): Fix conditional for the charge.
13170
13171 2012-04-20 Chong Yidong <cyd@gnu.org>
13172
13173 * progmodes/gdb-mi.el (gdb): Revert previous change.
13174 (gdb-inferior-io--init-proc): New function.
13175 (gdb-init-1): Use it.
13176 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
13177 responsible for allocating a new pty and hooking it to gdb when
13178 the old pty gets an EIO due to process exit.
13179 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
13180 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
13181 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
13182
13183 2012-04-20 Eli Zaretskii <eliz@gnu.org>
13184
13185 * window.el (window-min-size, window-sizable, window-min-delta)
13186 (window-max-delta, window--resizable, window-resizable)
13187 (window-total-size, window-full-height-p, window-full-width-p)
13188 (window-in-direction, window--resize-mini-window, window-resize)
13189 (window--resize-child-windows-normal)
13190 (window--resize-child-windows, window--resize-siblings)
13191 (window--resize-this-window, adjust-window-trailing-edge)
13192 (enlarge-window, shrink-window): Doc fixes.
13193
13194 2012-04-20 Chong Yidong <cyd@gnu.org>
13195
13196 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
13197 New function to call delete-process on the gdb-inferior buffer's pty.
13198 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
13199 pty process (Bug#11273).
13200 (gdb-update): New arg to suppress talking to the gdb process.
13201 (gdb-done-or-error): Use it.
13202 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
13203 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
13204 sentinel not being called.
13205
13206 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
13207
13208 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
13209
13210 2012-04-20 Glenn Morris <rgm@gnu.org>
13211
13212 * net/network-stream.el (open-network-stream): Doc fix.
13213
13214 2012-04-20 Chong Yidong <cyd@gnu.org>
13215
13216 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
13217
13218 2012-04-20 Alan Mackenzie <acm@muc.de>
13219
13220 Ensure searching for keywords is case sensitive.
13221
13222 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
13223 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
13224 (c-defun-name, c-mark-function, c-cpp-define-name)
13225 (c-comment-indent, c-scan-conditionals, c-indent-defun)
13226 (c-context-line-break): Bind case-fold-search to nil.
13227
13228 * progmodes/cc-mode.el (c-font-lock-fontify-region):
13229 Bind case-fold-search to nil.
13230
13231 2012-04-20 Chong Yidong <cyd@gnu.org>
13232
13233 * mail/sendmail.el (mail-bury): Call return action with the right
13234 Rmail buffer (Bug#11242).
13235
13236 * server.el (server-process-filter): Handle corner case where both
13237 tty and nowait options are present (Bug#11102).
13238
13239 2012-04-20 Eli Zaretskii <eliz@gnu.org>
13240
13241 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
13242 (top level): Put into the executable the ident-style '$Id:' tag on
13243 windows-nt as well.
13244
13245 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13246
13247 * electric.el (electric-indent-post-self-insert-function): Check that
13248 electric-indent-mode is enabled in current buffer.
13249
13250 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
13251
13252 * imenu.el (imenu-progress-message): Restore; it is "used" in
13253 erc/erc-imenu.el and net/snmp-mode.el.
13254
13255 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
13256
13257 * avoid.el (mouse-avoidance-mode): Mark unused arg.
13258 (mouse-avoidance-nudge-mouse): Remove unused binding.
13259
13260 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
13261
13262 * descr-text.el (describe-char):
13263 * progmodes/python.el (python-describe-symbol):
13264 Don't call `toggle-read-only', set `buffer-read-only'.
13265
13266 * imenu.el (imenu-default-goto-function): Mark unused args.
13267 (imenu-progress-message): Remove obsolete macro; all callers changed.
13268
13269 * subr.el (keymap-canonicalize): Remove unused binding.
13270 (read-passwd): Mark unused arg.
13271
13272 * tutorial.el (tutorial--display-changes): Remove unused binding.
13273 (tutorial--save-tutorial-to): Remove unused variable.
13274
13275 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
13276 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
13277 (package-generate-autoloads, package-menu--generate)
13278 (package-menu--find-upgrades): Remove unused bindings.
13279
13280 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
13281 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
13282 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
13283 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
13284 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
13285 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
13286 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
13287 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
13288 (cua-delete-char-rectangle): Mark unused args.
13289 (cua-align-rectangle): Remove unused binding.
13290
13291 * mail/rmail.el (compilation--message->loc)
13292 (epa--find-coding-system-for-mime-charset): Declare.
13293
13294 * net/dbus.el (dbus-register-service): Declare.
13295 (dbus-name-owner-changed-handler): Remove unused binding.
13296
13297 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
13298 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
13299 (nxml-scan-backward-within): Mark unused arg.
13300 (nxml-dynamic-markup-word): Remove unused binding.
13301
13302 * mouse.el (mouse-menu-major-mode-map):
13303 * emacs-lisp/authors.el (authors-scan-change-log)
13304 (authors-add-to-author-list):
13305 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
13306 * emacs-lisp/smie.el (smie-auto-fill):
13307 * mail/sendmail.el (mail-bury):
13308 * mail/unrmail.el (unrmail):
13309 * net/tls.el (open-tls-stream):
13310 * textmodes/picture.el (picture-mouse-set-point):
13311 Remove unused bindings.
13312
13313 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
13314
13315 * net/tramp.el (tramp-action-password): Let-bind
13316 `enable-recursive-minibuffers' to t.
13317
13318 2012-04-18 Sam Steingold <sds@gnu.org>
13319
13320 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
13321 instead of 'string to accommodate values like [f11].
13322 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
13323 * progmodes/gdb-mi.el: Likewise.
13324
13325 2012-04-18 Leo Liu <sdl.web@gmail.com>
13326
13327 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
13328 current buffer.
13329 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
13330 LOCAL is nil.
13331
13332 2012-04-18 Chong Yidong <cyd@gnu.org>
13333
13334 * simple.el (line-move): Use forward-line if in batch mode
13335 (Bug#11053).
13336
13337 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
13338
13339 * files.el (after-find-file): Do not try to add a final newline if
13340 the buffer is read-only (Bug#11156).
13341
13342 2012-04-17 Richard Stallman <rms@gnu.org>
13343
13344 * mail/rmail.el (rmail-start-mail):
13345 Pass (rmail-mail-return...) for the return-action.
13346 Pass (rmail-yank-current-message...) for the yank-action.
13347 (rmail-yank-current-message): New function.
13348 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
13349 (rmail-reply): Likewise.
13350 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
13351
13352 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
13353 buffer, not the last. Reject temp buffers. Use the rmail-mode
13354 buffer, not newbuf.
13355
13356 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
13357
13358 * server.el (server-ensure-safe-dir): Simplify.
13359
13360 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13361
13362 * emacs-lisp/smie.el: Provide smarter auto-filling.
13363 (smie-auto-fill): New function.
13364 (smie-setup): Use it.
13365
13366 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
13367
13368 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
13369
13370 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
13371 (comment-indent): Use it.
13372
13373 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
13374
13375 * ses.el: The overall change is to add cell renaming, that is
13376 setting fancy names for cell symbols other than name matching
13377 "\\`[A-Z]+[0-9]+\\'" regexp .
13378 (ses-localvars): Add ses--renamed-cell-symb-list.
13379 (ses-create-cell-variable): New defun.
13380 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
13381 (ses-relocate-formula): Relocate formulas only for cells the
13382 symbols of which are not renamed, i.e. symbols whose names do not
13383 match regexp "\\`[A-Z]+[0-9]+\\'".
13384 (ses-relocate-all): Relocate values only for cells the symbols of
13385 which are not renamed.
13386 (ses-load): Create cells variables as the (ses-cell ...) are read,
13387 in order to check row col consistency with cell symbol name only
13388 for cells that are not renamed.
13389 (ses-replace-name-in-formula): New defun.
13390 (ses-rename-cell): New defun.
13391
13392 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
13393
13394 * progmodes/perl-mode.el (perl-indent-parens-as-block):
13395 New option (bug#11118).
13396 (perl-calculate-indent): Respect it.
13397
13398 2012-04-17 Glenn Morris <rgm@gnu.org>
13399
13400 * dired-aux.el (dired-mark-read-string): Doc fix.
13401
13402 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
13403
13404 * dired-aux.el (dired-mark-read-string): Offer optional completion.
13405 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
13406
13407 2012-04-17 Glenn Morris <rgm@gnu.org>
13408
13409 * mouse.el (mouse-drag-track):
13410 * speedbar.el (speedbar-frame-mode):
13411 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
13412
13413 2012-04-16 Leo Liu <sdl.web@gmail.com>
13414
13415 * progmodes/python.el: Trivial cleanup.
13416
13417 2012-04-16 Glenn Morris <rgm@gnu.org>
13418
13419 * vc/vc.el (vc-string-prefix-p):
13420 * vc/pcvs-util.el (cvs-string-prefix-p):
13421 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
13422 * mpc.el (mpc-string-prefix-p):
13423 Make all of these into obsolete aliases for string-prefix-p.
13424 Update callers.
13425 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
13426
13427 * textmodes/two-column.el: Move custom options to the start.
13428 (frame-width): Remove compat definition.
13429 (2C-associate-buffer, 2C-dissociate):
13430 Use with-current-buffer rather than save-excursion.
13431 (2C-dissociate): Force a mode-line update.
13432 (2C-autoscroll): Use ignore-errors.
13433
13434 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
13435 Autoload trivia.
13436
13437 * emacs-lisp/cl-extra.el (*random-state*):
13438 Remove unnecessary declaration.
13439
13440 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
13441
13442 * play/cookie1.el (cookie-snarf):
13443 Give an explicit error if input file cannot be read.
13444
13445 * play/yow.el (yow-file): Use expand-file-name rather than concat.
13446
13447 * progmodes/perl-mode.el (c-macro-expand):
13448 Remove unnecessary autoload (it is in loaddefs.el).
13449
13450 * textmodes/picture.el (picture-desired-column)
13451 (picture-update-desired-column): Convert comments to doc-strings.
13452 (picture-substitute): Remove function.
13453 (picture-mode-map): Initialize in the defvar.
13454
13455 * woman.el: Remove eval-after-load for tar-mode.
13456 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
13457 (woman-tar-extract-file): Autoload it.
13458
13459 * frame.el (automatic-hscrolling): Make this alias obsolete.
13460
13461 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13462
13463 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
13464 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
13465 (ispell-dictionary-base-alist): Revert to original XEmacs
13466 friendly version for default. [:alpha:] will be added in
13467 `ispell-set-spellchecker-params' if needed.
13468
13469 2012-04-16 Chong Yidong <cyd@gnu.org>
13470
13471 * image.el (imagemagick--file-regexp): New variable.
13472 (imagemagick-register-types): Use it.
13473 (imagemagick-types-inhibit): Add :set function. Allow new value
13474 of t to inhibit all types.
13475
13476 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
13477 so we can preload it.
13478
13479 * loadup.el (fboundp): Preload regexp-opt, needed by
13480 imagemagick-register-types.
13481
13482 2012-04-15 Chong Yidong <cyd@gnu.org>
13483
13484 * frame.el (scrolling): Remove nearly unused customization group.
13485
13486 * scroll-all.el (scroll-all-mode): Move to windows group.
13487
13488 2012-04-15 Chong Yidong <cyd@gnu.org>
13489
13490 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
13491
13492 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13493
13494 Avoid the use of ((lambda ...) ...) in lexical-binding code.
13495 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
13496
13497 2012-04-15 Glenn Morris <rgm@gnu.org>
13498
13499 * simple.el (process-file-side-effects): Doc fix.
13500
13501 2012-04-15 Glenn Morris <rgm@gnu.org>
13502
13503 * international/mule-cmds.el (set-language-environment): Doc fix.
13504
13505 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
13506
13507 * server.el (server-auth-key, server-generate-key): Doc fixes.
13508 (server-get-auth-key): Doc fix. Use `string-match-p'.
13509 (server-start): Reflow docstring.
13510
13511 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
13512
13513 * server.el (server-generate-key): `called-interactively-p'
13514 requires a parameter.
13515
13516 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
13517
13518 * server.el (server-auth-key): New variable.
13519 (server-generate-key, server-get-auth-key): New function.
13520 (server-start): Use the new variable and functions to allow
13521 setting a permanent server key (bug#9423).
13522
13523 2012-04-14 Leo Liu <sdl.web@gmail.com>
13524
13525 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
13526
13527 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
13528
13529 Spelling fixes.
13530 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
13531 Emacs uses American spelling.
13532
13533 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
13534
13535 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
13536 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
13537 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
13538 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
13539
13540 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13541
13542 * progmodes/which-func.el (which-func-modes): Change default.
13543
13544 2012-04-14 Kim F. Storm <storm@cua.dk>
13545
13546 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
13547 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
13548
13549 2012-04-14 Chong Yidong <cyd@gnu.org>
13550
13551 * custom.el (custom-theme-set-variables): Doc fix.
13552
13553 2012-04-14 Glenn Morris <rgm@gnu.org>
13554
13555 * international/mule.el (set-auto-coding-for-load): Doc fix.
13556
13557 2012-04-14 Alan Mackenzie <acm@muc.de>
13558
13559 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
13560 imenu work again for Objective C Mode. Correct the *-index values,
13561 these having been disturbed by a previous change in 2011-08.
13562
13563 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
13564 Correct two search limits.
13565
13566 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13567
13568 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
13569
13570 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
13571
13572 * international/characters.el: Fix sorting.
13573
13574 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13575
13576 * international/characters.el: Add more missing Latin case pairs.
13577
13578 2012-04-14 Glenn Morris <rgm@gnu.org>
13579
13580 * files.el (dir-locals-set-class-variables): Doc fix.
13581
13582 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13583
13584 * international/characters.el: Add set-case-syntax-pair call for
13585 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
13586 counterpart. (Bug#11209)
13587
13588 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
13589
13590 2012-04-14 Glenn Morris <rgm@gnu.org>
13591
13592 * calendar/holidays.el (calendar-check-holidays): Doc fix.
13593
13594 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13595
13596 * textmodes/ispell.el (ispell-dictionary-base-alist):
13597 Add data for Hebrew.
13598
13599 2012-04-14 Chong Yidong <cyd@gnu.org>
13600
13601 * net/rcirc.el (rcirc-cmd-quit):
13602 Revert 2012-03-18 change (Bug#11192).
13603
13604 2012-04-14 Glenn Morris <rgm@gnu.org>
13605
13606 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
13607
13608 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13609
13610 * minibuffer.el (completion-in-region-mode-map):
13611 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
13612
13613 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
13614
13615 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
13616
13617 2012-04-13 Masatake YAMATO <yamato@redhat.com>
13618
13619 * minibuffer.el (minibuffer-local-filename-syntax): New variable
13620 to allow `C-M-f' and `C-M-b' to move to the nearest path
13621 separator (bug#9511).
13622
13623 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
13624
13625 * avoid.el: Require cl when compiling. And also move the
13626 `provide' to the end.
13627
13628 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13629
13630 * avoid.el (mouse-avoidance-banish-position): New variable.
13631 (mouse-avoidance-banish-destination): Use it (bug#10165).
13632
13633 2012-04-13 Leo Liu <sdl.web@gmail.com>
13634
13635 * progmodes/which-func.el (which-func-modes): Add objc-mode.
13636
13637 2012-04-13 Ken Brown <kbrown@cornell.edu>
13638
13639 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
13640 this is no longer needed now that cygstart understands file:// URLs.
13641 (browse-url-filename-alist): For the same reason, don't modify
13642 file:// URLs on Cygwin.
13643
13644 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
13645
13646 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
13647 the region on shift if the binding is already shifted (bug#11221).
13648
13649 2012-04-12 Glenn Morris <rgm@gnu.org>
13650
13651 * mail/mailpost.el: Move to obsolete/.
13652
13653 2012-04-12 Drew Adams <drew.adams@oracle.com>
13654
13655 * imenu.el (imenu--generic-function): Ignore invisible definitions
13656 (bug#10123).
13657
13658 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
13659
13660 * hexl.el (hexl-bits): New variable.
13661 (hexl-options): Mention the variable in the doc string.
13662 (hexl-rulerise, hexl-line-displen): New functions.
13663 (hexl-mode): Mention the new variable.
13664 (hexl-mode, hexl-current-address, hexl-current-address):
13665 Use the displen.
13666 (hexl-ascii-start-column): New function.
13667 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
13668 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
13669
13670 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13671
13672 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
13673 '("-i" ENCODING), in 2 separate command-line arguments, to specify
13674 the encoding, as expected by hunspell.
13675
13676 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
13677
13678 * battery.el (battery--linux-sysfs-regexp): New const.
13679 (battery-status-function): Use it. Remove yeeloong special case.
13680 (battery-yeeloong-sysfs): Remove.
13681 (battery-echo-area-format): Remove yeeloong special case.
13682
13683 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13684
13685 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
13686 Reported by Noah Friedman.
13687
13688 * subr.el (read-passwd): Use read-string.
13689
13690 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13691
13692 * vcursor.el (vcursor-move): Increase the priority of the overlay
13693 (bug#9663).
13694
13695 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
13696
13697 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
13698 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
13699
13700 2012-04-11 William Stevenson <yhvh2000@gmail.com>
13701
13702 * textmodes/artist.el (artist-mode): Convert artist-mode to use
13703 define-minor-mode (bug#10760).
13704
13705 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
13706
13707 * progmodes/grep.el (rgrep): Tweak the find command line so
13708 that directories matching `grep-find-ignored-files' won't be
13709 pruned (bug#10351).
13710
13711 2012-04-11 Chong Yidong <cyd@gnu.org>
13712
13713 * startup.el (command-line): Remove support for long-obsolete
13714 variable font-lock-face-attributes.
13715
13716 2012-04-11 Glenn Morris <rgm@gnu.org>
13717
13718 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
13719
13720 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13721
13722 * window.el (window--state-get-1): Obey window-point-insertion-type.
13723
13724 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
13725
13726 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
13727 to previous function when point is on the first character of a
13728 function. Take care of that in `narrow-to-defun' (bug#6157).
13729
13730 2012-04-11 Glenn Morris <rgm@gnu.org>
13731
13732 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
13733 not just file-errors.
13734
13735 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
13736 (vc-bzr-sha1): Use internal sha1.
13737
13738 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13739
13740 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
13741
13742 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
13743
13744 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
13745 that start in the middle of the line (bug#10496).
13746
13747 2012-04-10 Dan Nicolaescu <dann@gnu.org>
13748
13749 * battery.el (battery-linux-proc-acpi): Only one battery is
13750 discharged at a time, but that seems to confuse battery.el when
13751 computing `rate-type' for the battery not being discharged
13752 (bug#10332).
13753
13754 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
13755
13756 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
13757
13758 * international/quail.el: Use dolist and simplify.
13759 (quail-define-package, quail-update-keyboard-layout)
13760 (quail-define-rules): Use dolist.
13761 (quail-insert-kbd-layout, quail-get-translation): CSE.
13762
13763 * tmm.el: Use dolist, remove left over hook.
13764 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
13765 Use dolist.
13766 (calendar-load-hook): Don't mess with it.
13767
13768 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
13769 Use derived-mode-p. Run the diff asynchronously.
13770
13771 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
13772
13773 * obsolete/mouse-sel.el: Add an Obsolete-since header.
13774
13775 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
13776
13777 * misc.el: Display absolute path of loaded DLLs (bug#10424).
13778 (list-dynamic-libraries--loaded): New function.
13779 (list-dynamic-libraries--refresh): Use it.
13780
13781 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
13782
13783 * progmodes/python.el (python-fill-paragraph):
13784 Make python-fill-region in a multiline string work when font-lock is
13785 disabled (bug#7018).
13786
13787 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
13788
13789 * language/european.el (cp775): Add oem/legacy (en)coding on
13790 DOS/MS Windows for the Baltic languages. There are still plenty
13791 of texts written in this encoding/codepage (bug#6519).
13792
13793 2012-04-10 Glenn Morris <rgm@gnu.org>
13794
13795 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
13796 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
13797
13798 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
13799
13800 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
13801 next-line "n" and previous-line "p" in order to make recentf more
13802 consistent with ibuffer, dired or org-mode (bug#9387).
13803
13804 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
13805
13806 * image.el (put-image): Return the overlay created instead of the
13807 optional input string (bug#7834). Note that this may break code
13808 that is (for some reason or other) depending on `put-image'
13809 returning the string.
13810
13811 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
13812
13813 * simple.el (zap-to-char): Allow zapping using input methods
13814 (bug#1580).
13815
13816 * textmodes/fill.el (fill-region): Leave point and mark where they
13817 were before filling (bug#5399).
13818
13819 2012-04-09 Glenn Morris <rgm@gnu.org>
13820
13821 * version.el (emacs-bzr-get-version):
13822 Handle lightweight checkouts of local branches.
13823
13824 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
13825
13826 * international/characters.el: Recover lost case pairs. (Bug#11209)
13827
13828 2012-04-09 Chong Yidong <cyd@gnu.org>
13829
13830 * custom.el (custom-variable-p): Return nil for non-symbol
13831 arguments instead of signaling an error.
13832 (user-variable-p): Obsolete alias for custom-variable-p.
13833
13834 * apropos.el (apropos-variable):
13835 * files-x.el (read-file-local-variable):
13836 * simple.el (set-variable):
13837 * woman.el (woman-mini-help):
13838 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
13839
13840 2012-04-09 Glenn Morris <rgm@gnu.org>
13841
13842 * startup.el (normal-top-level): Don't look for leim-list.el
13843 in places where it will not be found. (Bug#910)
13844
13845 * international/mule-cmds.el (set-default-coding-systems):
13846 * files.el (normal-mode):
13847 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
13848 This function was removed with ucs-tables.el in 2008.
13849
13850 2012-04-08 Eli Zaretskii <eliz@gnu.org>
13851
13852 * textmodes/ispell.el (ispell-check-version): For hunspell, set
13853 ispell-encoding8-command to "-i", without a trailing space.
13854 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
13855 separate command-line arguments, to specify the encoding, since
13856 that's how hunspell expects it.
13857
13858 2012-04-08 Glenn Morris <rgm@gnu.org>
13859
13860 * loadup.el: Load bindings before cus-start.
13861 This reduces somewhat the number of "rogue" settings in emacs -Q.
13862
13863 2012-04-07 Glenn Morris <rgm@gnu.org>
13864
13865 * version.el (emacs-bzr-get-version): New function.
13866 (emacs-bzr-version): New variable.
13867 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
13868 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
13869
13870 2012-04-07 Eli Zaretskii <eliz@gnu.org>
13871
13872 * international/uni-bidi.el, international/uni-category.el:
13873 * international/uni-combining.el, international/uni-decimal.el:
13874 * international/uni-decomposition.el, international/uni-digit.el:
13875 * international/uni-lowercase.el, international/uni-mirrored.el:
13876 * international/uni-name.el, international/uni-numeric.el:
13877 * international/uni-titlecase.el, international/uni-uppercase.el:
13878 Update for Unicode 6.1.
13879
13880 2012-04-07 Eli Zaretskii <eliz@gnu.org>
13881
13882 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
13883
13884 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
13885
13886 * window.el (shrink-window): Mention the `window-min-height'
13887 variable in the doc string.
13888
13889 2012-04-05 Bastien Guerry <bzg@altern.org>
13890
13891 * color.el (color-lighten-name): Fix typo.
13892
13893 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13894
13895 * server.el (server--on-display-p): New function.
13896 (server--on-display-p): Use it.
13897
13898 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
13899
13900 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
13901 (bug#11145).
13902
13903 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13904
13905 * comint.el (comint--common-quoted-suffix): Check string boundary
13906 before comparing (bug#11158).
13907 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
13908
13909 2012-04-04 Chong Yidong <cyd@gnu.org>
13910
13911 * minibuffer.el (completion-extra-properties): Doc fix.
13912
13913 * subr.el (delayed-warnings-hook): Doc fix.
13914
13915 2012-04-04 Daiki Ueno <ueno@unixuser.org>
13916
13917 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
13918 selection (Bug#11159).
13919 (epa-insert-keys): Inform that the default public key will be
13920 exported if no key is selected.
13921
13922 2012-04-04 Richard Stallman <rms@gnu.org>
13923
13924 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
13925
13926 2012-04-03 Chong Yidong <cyd@gnu.org>
13927
13928 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
13929 mail-insert-file, not its obsolete alias mail-attach-file.
13930
13931 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
13932
13933 * notifications.el (notifications-notify): Fix docstring.
13934
13935 2012-04-02 Glenn Morris <rgm@gnu.org>
13936
13937 * emacs-lisp/authors.el (authors-aliases): Another addition.
13938
13939 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
13940
13941 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
13942 `tramp-compat-call-process' instead of `tramp-local-call-process'.
13943 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
13944
13945 2012-04-01 Chong Yidong <cyd@gnu.org>
13946
13947 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
13948 Handle root directory properly.
13949 (copy-directory): Caller changed.
13950
13951 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
13952 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
13953
13954 2012-03-31 Glenn Morris <rgm@gnu.org>
13955
13956 * term/xterm.el (xterm-extra-capabilities): Doc fix.
13957
13958 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
13959
13960 * calendar/calendar.el (calendar-window-list)
13961 (calendar-hide-window): Restore. (Bug#11140)
13962 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
13963
13964 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
13965
13966 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13967
13968 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
13969 Check if file is a symlink (Bug#10489).
13970
13971 * files.el (copy-directory): Likewise.
13972
13973 2012-03-30 Chong Yidong <cyd@gnu.org>
13974
13975 * image.el (imagemagick-types-inhibit)
13976 (imagemagick-register-types): Doc fix.
13977
13978 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13979
13980 * textmodes/ispell.el (ispell-get-extended-character-mode):
13981 Disable extended-char-mode for hunspell. hunspell does not support it
13982 and treats ~word as ordinary words in pipe mode.
13983
13984 2012-03-30 Glenn Morris <rgm@gnu.org>
13985
13986 * tutorial.el (help-with-tutorial): Ensure local variables don't
13987 happen to make the buffer read-only. (Bug#11127)
13988
13989 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
13990
13991 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
13992 (perl-calculate-indent): Return `noindent' in strings.
13993
13994 2012-03-28 Sam Steingold <sds@gnu.org>
13995
13996 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
13997 instead of the broken adhockery which does not prevent calendar
13998 buffers from being displayed at random after exit.
13999 (calendar-window-list, calendar-hide-window): Remove the broken
14000 adhockery.
14001
14002 2012-03-28 Glenn Morris <rgm@gnu.org>
14003
14004 * replace.el (query-replace-map): Doc fix.
14005
14006 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
14007
14008 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
14009 contents. (Bug#11109)
14010
14011 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
14012
14013 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
14014 (bug#11077).
14015 (avl-tree--check, avl-tree--check-node): New funs.
14016
14017 2012-03-27 Martin Rudalics <rudalics@gmx.at>
14018
14019 * window.el (switch-to-visible-buffer): New option.
14020 (switch-to-prev-buffer, switch-to-next-buffer):
14021 Observe switch-to-visible-buffer. Make sure that checking for a window
14022 showing a buffer already is done on the same frame.
14023
14024 2012-03-27 Glenn Morris <rgm@gnu.org>
14025
14026 * startup.el (mail-host-address): Doc fix.
14027
14028 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14029
14030 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
14031 than 197 variables.
14032
14033 2012-03-26 Ami Fischman <ami@fischman.org>
14034
14035 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
14036
14037 2012-03-26 Glenn Morris <rgm@gnu.org>
14038
14039 * files.el (save-buffers-kill-emacs): Doc fix.
14040
14041 * startup.el (normal-top-level, command-line, command-line-1):
14042 Give them doc strings.
14043
14044 2012-03-25 Eli Zaretskii <eliz@gnu.org>
14045
14046 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
14047 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
14048
14049 2012-03-25 Chong Yidong <cyd@gnu.org>
14050
14051 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
14052 theme if it was previously enabled before (Bug#11031).
14053
14054 * cus-theme.el (custom-theme-write-faces): Retrieve current face
14055 spec with custom-face-get-current-spec if its :shown-value is not
14056 determined yet (Bug#9337).
14057 (customize-create-theme, custom-theme-revert): Doc fixes.
14058
14059 * button.el (button-at): Minor addition to docstring.
14060
14061 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
14062
14063 * vc/vc.el (vc-merge): Fix a prompt.
14064
14065 2012-03-24 Chong Yidong <cyd@gnu.org>
14066
14067 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
14068 point (Bug#9623).
14069
14070 * button.el (button-at): Minor addition to docstring.
14071
14072 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
14073
14074 * newcomment.el (comment-choose-indent): No space after BOL.
14075
14076 2012-03-22 Sam Steingold <sds@gnu.org>
14077
14078 * window.el (switch-to-prev-buffer): Revert last patch because the
14079 bug turned out to be an advertised feature (Elisp manual 28.14).
14080
14081 2012-03-22 Glenn Morris <rgm@gnu.org>
14082
14083 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
14084 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
14085
14086 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
14087
14088 * net/network-stream.el (network-stream-open-starttls): Make error
14089 message under Windows be less misleading.
14090
14091 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
14092
14093 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
14094 understands (bug#9942).
14095
14096 2012-03-22 Chong Yidong <cyd@gnu.org>
14097
14098 * simple.el (end-of-visible-line): Handle return value of
14099 next-single-property-change properly (Bug#9371).
14100
14101 2012-03-22 Kenichi Handa <handa@m17n.org>
14102
14103 * international/quail.el (quail-insert-kbd-layout): Fix previous
14104 change. To avoid unwanted bidi reordering, use
14105 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
14106
14107 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
14108
14109 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
14110 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
14111 (ruby-beginning-of-indent): Be more careful with the difference
14112 between word-boundary and symbol boundary.
14113 (ruby-mode-syntax-table): Make : a symbol constituent.
14114
14115 2012-03-21 Andreas Politz <politza@fh-trier.de>
14116
14117 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
14118
14119 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14120
14121 * progmodes/etags.el (tags-completion-at-point-function):
14122 Improve last fix.
14123
14124 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
14125
14126 2012-03-21 Sam Steingold <sds@gnu.org>
14127
14128 * progmodes/etags.el (tags-completion-at-point-function):
14129 Avoid the error when point is inside the pattern.
14130
14131 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
14132
14133 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
14134 line (Bug#10855).
14135
14136 2012-03-21 Drew Adams <drew.adams@oracle.com>
14137
14138 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
14139
14140 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
14141
14142 * ido.el (ido-set-current-directory, ido-read-internal)
14143 (ido-choose-completion-string, ido-completion-help): Handle nil
14144 value of ido-completion-buffer (Bug#11008).
14145
14146 2012-03-21 Sam Steingold <sds@gnu.org>
14147
14148 * window.el (switch-to-prev-buffer): Do not switch to a visible
14149 window previous buffer, just like with the frame previous buffers.
14150
14151 2012-03-21 Chong Yidong <cyd@gnu.org>
14152
14153 * faces.el (make-face, make-empty-face, copy-face):
14154 * face-remap.el (face-remap-add-relative, face-remap-set-base):
14155 Doc fixes.
14156
14157 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14158
14159 * wid-edit.el (widget-complete-field): Remove (bug#11051).
14160 (widget-complete): Remove broken use of it.
14161
14162 2012-03-20 Chong Yidong <cyd@gnu.org>
14163
14164 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14165 Use string-width and truncate-string-width to handle arbitrary
14166 characters.
14167
14168 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
14169
14170 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
14171 to draw rectangles, not squares. (Regression introduced by revno
14172 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
14173
14174 2012-03-18 Chong Yidong <cyd@gnu.org>
14175
14176 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
14177 it is not yet defined (for temacs).
14178
14179 2012-03-18 Leo Liu <sdl.web@gmail.com>
14180
14181 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
14182 prefix.
14183
14184 2012-03-17 Eli Zaretskii <eliz@gnu.org>
14185
14186 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
14187 (ispell-choices-win-default-height, ispell-silently-savep)
14188 (ispell-dictionary-alist, ispell-encoding8-command)
14189 (ispell-check-version, ispell-aspell-find-dictionary)
14190 (ispell-valid-dictionary-list, ispell-words-keyword)
14191 (ispell-get-word, ispell-internal-change-dictionary)
14192 (ispell-region, ispell-skip-region-list)
14193 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
14194 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
14195 (ispell-message-text-end, ispell-message)
14196 (ispell-buffer-local-parsing): Doc fix.
14197
14198 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
14199
14200 * htmlfontify.el: Add support for code block fontification for ODT
14201 export (Bug #9914).
14202 (hfy-optimisations): Define new option
14203 `body-text-only'
14204 (hfy-fontify-buffer): Honor above setting.
14205 (hfy-begin-span, hfy-end-span): New routines factored out form
14206 `hfy-fontify-buffer'.
14207 (hfy-begin-span-handler, hfy-end-span-handler): New variables
14208 that permit insertion of custom tags.
14209 (hfy-fontify-buffer): Use above handlers.
14210 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
14211 (hfy-face-to-css): Re-defined to be a variable.
14212 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
14213 over multiple runs. This is made possible by having the caller let
14214 bind a special variable `hfy-user-sheet-assoc'.
14215 (htmlfontify-string): New defun.
14216 (hfy-compile-face-map): Make sure that the last char in the
14217 buffer is correctly fontified.
14218 (hfy-face-resolve-face): Whitespace only change.
14219
14220 2012-03-17 Eli Zaretskii <eliz@gnu.org>
14221
14222 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
14223 message more clear.
14224
14225 2012-03-16 Leo Liu <sdl.web@gmail.com>
14226
14227 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
14228
14229 2012-03-16 Alan Mackenzie <acm@muc.de>
14230
14231 Further optimize the handling of large macros.
14232
14233 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
14234 limit to a call of `c-literal-limits'.
14235 (c-determine-+ve-limit): New function.
14236 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
14237 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
14238 In CASE 5B, restrict a search limit to 500.
14239 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
14240
14241 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
14242 Restrict macro bounds to +-500 from after-change's BEG END.
14243
14244 2012-03-16 Leo Liu <sdl.web@gmail.com>
14245
14246 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
14247
14248 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
14249
14250 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
14251 `special-mode' setting of `buffer-read-only'. (Bug#11010)
14252
14253 2012-03-16 Glenn Morris <rgm@gnu.org>
14254
14255 * view.el (view-buffer, view-buffer-other-window)
14256 (view-buffer-other-frame): Doc fixes re special mode-class.
14257
14258 * subr.el (eval-after-load): If named feature is provided not from
14259 a file, run after-load forms. (Bug#10946)
14260
14261 * calendar/calendar.el (calendar-insert-at-column):
14262 Handle non-unit-width characters a bit better. (Bug#10978)
14263
14264 2012-03-15 Chong Yidong <cyd@gnu.org>
14265
14266 * emacs-lisp/ring.el (ring-extend): New function.
14267 (ring-insert+extend): Extend the ring correctly (Bug#11019).
14268
14269 * comint.el (comint-read-input-ring)
14270 (comint-add-to-input-history): Grow comint-input-ring lazily.
14271
14272 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14273
14274 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
14275 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
14276
14277 * imenu.el: Fix multiple inheritance breakage (bug#9199).
14278 (imenu-add-to-menubar): Don't add a redundant index.
14279 (imenu-update-menubar): Handle a dynamically composed keymap.
14280
14281 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
14282
14283 * mail/sendmail.el (mail-encode-header):
14284 Bind rfc2047-encode-encoded-words to nil.
14285
14286 2012-03-13 Glenn Morris <rgm@gnu.org>
14287
14288 * calendar/calendar.el (calendar-string-spread):
14289 Handle non-unit-width characters a bit better. (Bug#10978)
14290
14291 2012-03-13 Leo Liu <sdl.web@gmail.com>
14292
14293 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
14294 directory and file as argument (Bug#10822).
14295
14296 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
14297
14298 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
14299 For dynamically generated code, follow $PC.
14300 (gdb-disassembly-handler-custom): Handle no function name case.
14301
14302 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
14303
14304 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
14305 * emulation/ws-mode.el (ws-query-replace):
14306 * sort.el (sort-regexp-fields):
14307 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
14308
14309 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14310
14311 * dabbrev.el: Fix cycle completion order (bug#10963).
14312 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
14313 (dabbrev-completion): Don't use an obarray; provide
14314 a cycle-sort-function.
14315
14316 2012-03-12 Leo Liu <sdl.web@gmail.com>
14317
14318 * simple.el (kill-new): Use equal-including-properties for comparison.
14319 (kill-do-not-save-duplicates): Doc fix.
14320
14321 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14322
14323 * dabbrev.el: Fix cycle completion (bug#10963).
14324 Use lexical binding and wrap to 80 columns.
14325 (dabbrev-completion): Delay computing the list of completions.
14326
14327 2012-03-12 Kenichi Handa <handa@m17n.org>
14328
14329 * international/quail.el (quail-insert-kbd-layout): Surround each
14330 row by LRO and PDF instead of inserting many LRMs. Pad the left
14331 and right of each non-spacing marks. Insert invisible space
14332 between lower and upper characters to prevent composition.
14333
14334 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14335
14336 * minibuffer.el (minibuffer-complete): Don't get confused when the
14337 function is run twice via different commands (bug#10958).
14338 (complete-with-action): Fix docstring.
14339
14340 2012-03-12 Chong Yidong <cyd@gnu.org>
14341
14342 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
14343 (nxml-completion-at-point-function): New function.
14344 (nxml-mode): Use it.
14345 (nxml-bind-meta-tab-to-complete-flag): Default to t.
14346
14347 * emacs-lisp/package.el (package-unpack, package-unpack-single):
14348 Load generated autoloads file before byte compiling (Bug#10970).
14349 (package--make-autoloads-and-compile): New helper fun.
14350
14351 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
14352
14353 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
14354
14355 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
14356
14357 * autorevert.el (auto-revert-handler): Ensure, that
14358 file-readable-p is applied only for local files or in
14359 auto-revert-tail-mode.
14360
14361 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
14362
14363 * server.el (server-eval-at): Handle non-tcp connections.
14364 Decode result string.
14365
14366 * server.el (server-msg-size): New constant.
14367 (server-reply-print): New function.
14368 (server-eval-and-print): Use it.
14369 (server-eval-at): Use server-quote-arg and server-unquote-arg.
14370 Handle -print-nonl.
14371
14372 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
14373
14374 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
14375 (Bug#10987).
14376
14377 2012-03-11 Chong Yidong <cyd@gnu.org>
14378
14379 * simple.el (goto-line): Doc fix (Bug#9938).
14380
14381 * subr.el (save-window-excursion): Doc fix (Bug#9979).
14382
14383 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
14384 when finished (Bug#10963).
14385
14386 2012-03-11 Martin Rudalics <rudalics@gmx.at>
14387
14388 * window.el (split-window-below): Fix bug in case where
14389 split-window-keep-point is nil (Bug#10971).
14390
14391 2012-03-11 Juri Linkov <juri@jurta.org>
14392
14393 * replace.el (replace-highlight): Set isearch-word to nil
14394 unconditionally. (Bug#10887)
14395
14396 2012-03-10 Eli Zaretskii <eliz@gnu.org>
14397
14398 * net/mairix.el (mairix-replace-invalid-chars): Rename from
14399 mairix-replace-illegal-chars; all callers changed. Don't remove
14400 ^, ~, and = characters: they are meaningful in mairix search specs.
14401 (mairix-widget-create-query): Add usage information about mairix
14402 search forms: negating words, searching for substrings, etc.
14403
14404 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
14405
14406 * international/fontset.el (font-encoding-alist): Add an entry for
14407 ksx1001 (Bug#5667).
14408
14409 2012-03-10 Richard Stallman <rms@gnu.org>
14410
14411 * mail/sendmail.el (mail-encode-header):
14412 Set rfc2047-encode-encoded-words.
14413
14414 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
14415
14416 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
14417 view buffer means not swapped.
14418 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
14419 (rmail-write-region-annotate): Error if real text has disappeared.
14420
14421 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
14422
14423 2012-03-10 Chong Yidong <cyd@gnu.org>
14424
14425 * emulation/cua-rect.el (cua--init-rectangles):
14426 * emulation/cua-base.el (cua--init-keymaps):
14427 Add delete-forward-char to remappings (Bug#9666).
14428
14429 2012-03-10 Martin Rudalics <rudalics@gmx.at>
14430
14431 * speedbar.el (speedbar-unhighlight-one-tag-line):
14432 Avoid unhighlighting due to frame switching (Bug#10275).
14433
14434 2012-03-10 Chong Yidong <cyd@gnu.org>
14435
14436 * minibuffer.el (completion-in-region, completion-help-at-point):
14437 Give the completion field overlay a high priority (Bug#6830).
14438
14439 * dired.el (dired-goto-file): Recognize absolute file name
14440 listings (Bug#7126).
14441 (dired-goto-file-1): New helper function.
14442 (dired-toggle-read-only): Inhibit warnings.
14443
14444 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
14445
14446 * net/dbus.el (dbus-property-handler): Return empty array if
14447 there are no properties.
14448
14449 2012-03-09 Leo Liu <sdl.web@gmail.com>
14450
14451 * savehist.el (savehist-printable): Stricter check for string
14452 value (Bug#10937).
14453
14454 2012-03-09 Eli Zaretskii <eliz@gnu.org>
14455
14456 * mail/smtpmail.el (smtpmail-send-it):
14457 Bind coding-system-for-write to *-unix, so that FCC files are kept in
14458 valid mbox format.
14459
14460 2012-03-09 Glenn Morris <rgm@gnu.org>
14461
14462 * files.el (dir-locals-find-file):
14463 Don't check result is regular, readable.
14464 (dir-locals-read-from-file): Demote errors.
14465
14466 2012-03-08 Eli Zaretskii <eliz@gnu.org>
14467
14468 * international/quail.el (quail-insert-kbd-layout):
14469 Insert invisible LRM characters before each character in a keyboard
14470 layout cell, to prevent their reordering by bidi display engine.
14471 For details, see the discussion in
14472 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
14473
14474 2012-03-08 Alan Mackenzie <acm@muc.de>
14475
14476 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
14477 the starting position; make it extend the marked region when
14478 invoked repeatedly - all under appropriate circumstances.
14479 Fixes bugs #5525, #10906.
14480
14481 2012-03-08 Glenn Morris <rgm@gnu.org>
14482
14483 * files.el (locate-dominating-file, dir-locals-find-file):
14484 Undo 2012-03-06 change.
14485
14486 2012-03-07 Eli Zaretskii <eliz@gnu.org>
14487
14488 * international/quail.el (quail-help):
14489 Force bidi-paragraph-direction be left-to-right. See discussion in
14490 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
14491 for the reason.
14492
14493 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
14494
14495 Avoid superfluous registering of signals. (Bug#10807)
14496
14497 * notifications.el (notifications-on-action-object)
14498 (notifications-on-close-object): New defvars.
14499 (notifications-on-action-signal, notifications-on-closed-signal):
14500 Unregister the signal if not needed any longer.
14501 (notifications-notify): Register `notifications-action-signal' or
14502 `notifications-closed-signal', if :on-action or :on-close has been
14503 passed as argument.
14504
14505 2012-03-07 Chong Yidong <cyd@gnu.org>
14506
14507 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
14508 non-X platforms.
14509
14510 2012-03-06 Glenn Morris <rgm@gnu.org>
14511
14512 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
14513 (x-disown-selection-internal, x-get-selection-internal):
14514 Doc fix (add arglist signatures). (Bug#10783)
14515
14516 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
14517
14518 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
14519 Handle breakpoints with no "type".
14520
14521 2012-03-06 Glenn Morris <rgm@gnu.org>
14522
14523 * files.el (locate-dominating-file): Add optional predicate argument.
14524 (dir-locals-find-file): Make use of above change.
14525
14526 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
14527
14528 * info.el (Info-insert-dir): Also try "dir.gz".
14529
14530 2012-03-06 Glenn Morris <rgm@gnu.org>
14531
14532 * files.el (dir-locals-find-file):
14533 Ignore non-readable or non-regular files. (Bug#10928)
14534
14535 * files.el (locate-dominating-file): Doc fix.
14536
14537 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
14538
14539 * calendar/calendar.el (calendar-set-mode-line):
14540 `getenv' returns a string. (Bug#10951)
14541
14542 2012-03-05 Leo Liu <sdl.web@gmail.com>
14543
14544 * simple.el (backward-delete-char-untabify): Constrain point to
14545 field (Bug#10939).
14546
14547 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
14548
14549 2012-03-05 Chong Yidong <cyd@gnu.org>
14550
14551 * simple.el (count-words): If called from Lisp, return the word
14552 count, for symmetry with `count-lines'. Arglist changed.
14553 (count-words--message): Args changed. Consolidate counting code
14554 from count-words and count-words-region.
14555 (count-words-region): Caller changed.
14556 (count-lines-region): Make it an obsolete alias.
14557
14558 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
14559
14560 * saveplace.el (save-place-to-alist)
14561 (save-place-ignore-files-regexp): Allow value nil to disable this
14562 feature.
14563
14564 2012-03-04 Chong Yidong <cyd@gnu.org>
14565
14566 * faces.el (face-spec-reset-face): For the default face, reset the
14567 attributes to default values (Bug#10748).
14568
14569 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
14570
14571 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
14572 previous patch: Check `message-send-mail-function', and not the
14573 default function (bug#10897).
14574
14575 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
14576
14577 * notifications.el (notifications-on-action-signal)
14578 (notifications-on-closed-signal): Check for unique service name of
14579 incoming event. Fix error in removing entry.
14580 (top): Register for signals with wildcard service name.
14581 (notifications-notify): Use daemon unique service name for map entries.
14582
14583 2012-03-04 Chong Yidong <cyd@gnu.org>
14584
14585 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
14586
14587 2012-03-04 Glenn Morris <rgm@gnu.org>
14588
14589 * abbrev.el (copy-abbrev-table, abbrev-table-p)
14590 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
14591 (expand-abbrev, define-abbrev-table): Doc fixes.
14592
14593 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14594
14595 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
14596 `message-default-send-mail-function' and not `send-mail-function'
14597 when doing the prompting for `sendmail-query-once' before sending
14598 in Message buffers (bug#10897).
14599
14600 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
14601 This is inconsistent with all the other stream functions, which leave
14602 the setting up to the higher levels (if so wanted) (bug#10931).
14603
14604 2012-03-02 Alan Mackenzie <acm@muc.de>
14605
14606 Depessimize the handling of very large macros.
14607
14608 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
14609 (c-macro-cache-syntactic): New variables to implement a one
14610 element macro cache.
14611 (c-invalidate-macro-cache): New function.
14612 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
14613 Adapt to use the new cache.
14614 (c-state-safe-place): Use better the cache of safe positions.
14615 (c-state-semi-nonlit-pos-cache)
14616 (c-state-semi-nonlit-pos-cache-limit):
14617 New variables for...
14618 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
14619 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
14620 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
14621 Use c-state-semi-safe-place.
14622
14623 * progmodes/cc-langs.el (c-get-state-before-change-functions):
14624 Add c-invalidate-macro-cache to the C, C++, Obj entries.
14625
14626 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
14627
14628 * jka-compr.el (jka-compr-call-process):
14629 Apply `file-accessible-directory-p' only when the default directory is
14630 not remote.
14631
14632 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
14633
14634 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
14635 access of FILE2, if FILE1 does not exist.
14636
14637 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
14638 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
14639
14640 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
14641 Add "PAGER=" to `process-environment'.
14642
14643 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
14644
14645 * progmodes/sql.el: Bug fix
14646 (sql-get-login-ext): Save login values in globals.
14647 (sql-get-login): Use new version of `sql-get-login-ext'.
14648 (sql-interactive-mode): Set global `sql-connection' to nil.
14649 (sql-connect): Set global values for connection.
14650 (sql-product-interactive): Save global values as buffer local.
14651
14652 2012-02-29 Leo Liu <sdl.web@gmail.com>
14653
14654 * abbrev.el (define-abbrevs): Reset sys to nil.
14655
14656 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14657
14658 * files.el (file-equal-p): Rename from `files-equal-p'.
14659 Return nil when one or both files don't exist.
14660 (file-subdir-of-p): Now only top directory must exists,
14661 return nil if it doesn't.
14662 (copy-directory): No need to test with `file-subdir-of-p' after
14663 creating dir.
14664 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
14665 to `file-equal-p'.
14666
14667 2012-02-28 Glenn Morris <rgm@gnu.org>
14668
14669 * shell.el (shell-mode):
14670 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
14671 * play/landmark.el (landmark-font-lock-face-O):
14672 * play/handwrite.el (handwrite):
14673 * play/gomoku.el (gomoku-O):
14674 * net/browse-url.el (browse-url-browser-display):
14675 * international/mule.el (define-charset):
14676 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
14677 * filesets.el (filesets-find-file-delay):
14678 * eshell/em-xtra.el (eshell-xtra):
14679 * eshell/em-unix.el (eshell-grep):
14680 * emulation/viper.el (viper-mode):
14681 * emacs-lisp/regexp-opt.el (regexp-opt-group):
14682 * emacs-lisp/easymenu.el (easy-menu-define):
14683 * calendar/timeclock.el (timeclock-use-display-time):
14684 * bs.el (bs-mode):
14685 * bookmark.el (bookmark-save-flag):
14686 Doc fix (standardize possessive apostrophe usage).
14687
14688 2012-02-27 Chong Yidong <cyd@gnu.org>
14689
14690 * emulation/viper-cmd.el (viper-intercept-ESC-key):
14691 Fix key-binding lookup for ESC key (Bug#9146).
14692
14693 * font-lock.el (font-lock-specified-p): Rename from
14694 font-lock-spec-present. Callers changed.
14695
14696 2012-02-27 Daniel Hackney <dan@haxney.org>
14697
14698 * emacs-lisp/package.el (package-compute-transaction):
14699 Handle holding a package version to t in package-load-list.
14700
14701 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
14702
14703 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
14704 (tramp-get-inode, tramp-get-device): Use cached values.
14705
14706 2012-02-26 Alan Mackenzie <acm@muc.de>
14707
14708 Check there is a font-lock specification before doing initial
14709 fontification.
14710
14711 * font-core.el (font-lock-mode): Move the conditional from
14712 :after-hook to font-lock-initial-fontify.
14713 (font-lock-default-function): Move the check for a specification
14714 to font-lock-spec-present.
14715
14716 * font-lock.el (font-lock-initial-fontify): Call ...
14717 (font-lock-spec-present): New function.
14718
14719 2012-02-26 Jim Blandy <jimb@red-bean.com>
14720
14721 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
14722 (gdb-send): Apply it to the operand of the '-interpreter-exec
14723 console' command, so that we can pass arguments with (say) quotes
14724 in them. Store exact string sent in gdb-debug-log (Bug#10765).
14725
14726 2012-02-26 Chong Yidong <cyd@gnu.org>
14727
14728 * help-fns.el (describe-function-1): Clarify description of
14729 remapping (Bug#10844).
14730
14731 * files.el (files-equal-p): Doc fix.
14732 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
14733 and quit the loop once a mismatch is found.
14734
14735 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
14736
14737 * bs.el (bs--show-with-configuration): Don't throw an error
14738 if the window cannot be split; otherwise, subsequent calls to
14739 bs-show fail, restoring a stale window config. (Bug#10882)
14740
14741 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
14742
14743 * term/ns-win.el (global-map): Bind ns-drag-file to
14744 ns-find-file (Bug#5855, Bug#10050).
14745
14746 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
14747
14748 * calendar/parse-time.el (parse-time-string): Allow extractor to
14749 return nil.
14750
14751 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
14752
14753 * net/tramp.el (tramp-file-name-for-operation):
14754 Add `files-equal-p' and `file-subdir-of-p'.
14755
14756 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
14757 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
14758 Add COPY-CONTENTS argument.
14759
14760 2012-02-25 Chong Yidong <cyd@gnu.org>
14761
14762 Add custom groups for VC backends, for consistency with vc-bzr.
14763
14764 * vc/vc-arch.el (vc-arch):
14765 * vc/vc-cvs.el (vc-cvs):
14766 * vc/vc-git.el (vc-git):
14767 * vc/vc-hg.el (vc-hg):
14768 * vc/vc-mtn.el (vc-mtn):
14769 * vc/vc-rcs.el (vc-rcs):
14770 * vc/vc-sccs.el (vc-sccs):
14771 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
14772 All relevant defcustoms reassigned.
14773
14774 2012-02-25 Chong Yidong <cyd@gnu.org>
14775
14776 * newcomment.el (comment-styles): Add autoload (Bug#10868).
14777
14778 * term/x-win.el (x-initialize-window-system): Reduce default for
14779 x-selection-timeout to 5 seconds (Bug#8869).
14780
14781 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14782
14783 * files.el (files-equal-p, file-subdir-of-p): New functions.
14784 (copy-directory): Error when trying to copy a directory on itself.
14785 Add missing copy-contents arg to tramp handler.
14786 * dired-aux.el (dired-copy-file-recursive): Same.
14787 (dired-create-files): Modify destination when source is equal to
14788 dest when copying files.
14789 Return also when dest is a subdir of source. (Bug#10489)
14790
14791 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
14792
14793 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
14794 (Bug#10874)
14795
14796 2012-02-23 Alan Mackenzie <acm@muc.de>
14797
14798 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
14799 parameter "after-hook:" to allow the expansion to run code after
14800 the execution of the mode hooks.
14801
14802 * font-lock.el (font-lock-initial-fontify): New function extracted
14803 from font-lock-mode-internal.
14804
14805 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
14806 :after-hook.
14807
14808 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
14809
14810 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
14811 (completion--cache-all-sorted-completions): New function.
14812 (completion-all-sorted-completions): Use it.
14813 (completion--do-completion, minibuffer-force-complete):
14814 Use it to re-instate the flush hook.
14815
14816 * icomplete.el (icomplete-completions): Replace last fix with a better
14817 one (bug#10850).
14818
14819 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
14820
14821 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
14822 when it might call us back infinitely (bug#10797).
14823
14824 2012-02-23 Glenn Morris <rgm@gnu.org>
14825
14826 * minibuffer.el (completion-category-overrides): Doc fix.
14827
14828 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
14829
14830 * minibuffer.el (completion-table-with-context): Fix inf-loop.
14831 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
14832
14833 2012-02-23 Glenn Morris <rgm@gnu.org>
14834
14835 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
14836 (authors-obsolete-files-regexps, authors-ignored-files)
14837 (authors-ambiguous-files, authors-renamed-files-alist):
14838 Add more entries.
14839
14840 2012-02-23 Juri Linkov <juri@jurta.org>
14841
14842 * isearch.el (isearch-occur): Sync interactive spec with occur's
14843 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
14844
14845 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
14846
14847 2012-02-22 Juri Linkov <juri@jurta.org>
14848
14849 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
14850 (ucs-insert): Doc fix. Check for hex digits in the string.
14851 Don't display `nil' in the error message. (Bug#10857)
14852
14853 2012-02-22 Alan Mackenzie <acm@muc.de>
14854
14855 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
14856
14857 2012-02-22 Glenn Morris <rgm@gnu.org>
14858
14859 * ffap.el (ffap-c-path):
14860 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
14861
14862 2012-02-22 Chong Yidong <cyd@gnu.org>
14863
14864 * custom.el (load-theme): Doc fix.
14865
14866 2012-02-22 Glenn Morris <rgm@gnu.org>
14867
14868 * dired-x.el (dired-guess-shell-alist-default):
14869 Remove escape sequences from nroff output. (Bug#172)
14870
14871 2012-02-21 Glenn Morris <rgm@gnu.org>
14872
14873 * vc/emerge.el (emerge-defvar-local):
14874 Set `permanent-local' property rather than unused `preserved'.
14875
14876 * textmodes/picture.el (picture-delete-char): New alias.
14877 (picture-mode-map): Use it. (Bug#10860)
14878 (picture-mode): Doc fix.
14879
14880 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
14881
14882 * newcomment.el (uncomment-region-default): Remove unused binding.
14883
14884 2012-02-21 Glenn Morris <rgm@gnu.org>
14885
14886 * textmodes/picture.el (picture-motion, picture-motion-reverse)
14887 (picture-self-insert, picture-tab-chars): Doc fix.
14888 (picture-mode-map): Fix C-a, C-e.
14889
14890 2012-02-20 Glenn Morris <rgm@gnu.org>
14891
14892 * emacs-lisp/authors.el (authors-aliases): Add another entry.
14893
14894 2012-02-20 Leo Liu <sdl.web@gmail.com>
14895
14896 * icomplete.el (icomplete-completions): Check FROM arg before
14897 passing to substring (Bug#10850).
14898
14899 2012-02-19 Chong Yidong <cyd@gnu.org>
14900
14901 * comint.el: Require ansi-color.
14902 (comint-output-filter-functions): Add ansi-color-process-output.
14903
14904 * ansi-color.el: Don't set comint-output-filter-functions; it is
14905 now in the initial value defined in comint.el.
14906 (ansi-color-apply-face-function): New variable.
14907 (ansi-color-apply-on-region): Use it.
14908 (ansi-color-apply-overlay-face): New function.
14909
14910 * shell.el (shell): No need to require ansi-color.
14911 (shell-mode): Use ansi-color-apply-face-function to highlight
14912 color escapes using font-lock-face property (Bug#10835).
14913
14914 2012-02-19 Chong Yidong <cyd@gnu.org>
14915
14916 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
14917 mode-line formats (Bug#10839).
14918
14919 2012-02-18 Glenn Morris <rgm@gnu.org>
14920
14921 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
14922
14923 * mail/undigest.el (unforward-rmail-message): Doc fix.
14924
14925 * saveplace.el (save-place-ignore-files-regexp): Add :version.
14926
14927 2012-02-18 Eli Zaretskii <eliz@gnu.org>
14928
14929 * international/characters.el (script-list): Sync with the latest
14930 Unicode Character Database.
14931
14932 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
14933
14934 * international/titdic-cnv.el: Remove duplicate coding tag.
14935 * language/cham.el: Likewise.
14936 * language/tai-viet.el: Likewise.
14937
14938 2012-02-18 Glenn Morris <rgm@gnu.org>
14939
14940 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
14941 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
14942 (calendar-bahai-all-holidays-flag, calendar-other-dates):
14943 * calendar/diary-lib.el (diary-abbreviated-year-flag):
14944 * calendar/holidays.el (holiday-bahai-holidays)
14945 (calendar-holidays, list-holidays):
14946 Use utf-8 Bahá'í in doc-strings, menus, etc.
14947
14948 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
14949
14950 * saveplace.el (save-place-ignore-files-regexp): New variable
14951 allowing for excluding files from saving their location of point.
14952 The default value matches the temporary commit message editing
14953 files from Git, SVN, Bazaar, and Mercurial.
14954 (save-place-to-alist): Use it.
14955
14956 2012-02-17 Lawrence Mitchell <wence@gmx.li>
14957 Stefan Monnier <monnier@iro.umontreal.ca>
14958
14959 * newcomment.el (uncomment-region-default): Don't leave extra space
14960 when an arg is provided (bug#8150).
14961
14962 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
14963
14964 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
14965
14966 2012-02-17 Glenn Morris <rgm@gnu.org>
14967
14968 * net/socks.el: Require network-stream. (Bug#10599)
14969
14970 2012-02-17 Kenichi Handa <handa@m17n.org>
14971
14972 * international/charprop.el:
14973 * international/uni-name.el:
14974 * international/uni-old-name.el:
14975 * international/uni-comment.el: Regenerate.
14976
14977 2012-02-16 Glenn Morris <rgm@gnu.org>
14978
14979 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
14980 Interactively in calendar buffer, give an error if not on a date.
14981
14982 2012-02-15 Glenn Morris <rgm@gnu.org>
14983
14984 * shell.el (shell-delimiter-argument-list):
14985 Revert 2011-02-17 change. (Bug#8027)
14986
14987 2012-02-15 Chong Yidong <cyd@gnu.org>
14988
14989 * minibuffer.el (completion-at-point-functions): Doc fix.
14990
14991 * custom.el (defcustom): Doc fix; note use of defvar.
14992
14993 2012-02-15 Glenn Morris <rgm@gnu.org>
14994
14995 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
14996 Doc fixes.
14997
14998 2012-02-14 Glenn Morris <rgm@gnu.org>
14999
15000 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
15001
15002 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
15003
15004 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
15005 way the ports list is computed.
15006 (smtpmail-query-smtp-server): Prompt the user for a port number if
15007 we can't connect to any of the standard ports (bug#10810).
15008
15009 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
15010
15011 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
15012
15013 2012-02-13 Glenn Morris <rgm@gnu.org>
15014
15015 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
15016
15017 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
15018
15019 * net/gnutls.el (gnutls-trustfiles): New variable.
15020 (gnutls-negotiate): Use it.
15021
15022 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
15023
15024 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
15025 does its stuff if Gnus is running.
15026
15027 2012-02-13 Alan Mackenzie <acm@muc.de>
15028
15029 Fix a loop in c-set-fl-decl-start.
15030
15031 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
15032 c-backward-syntactic-ws actually moves backwards.
15033
15034 2012-02-13 Leo Liu <sdl.web@gmail.com>
15035
15036 * net/rcirc.el (rcirc-markup-attributes): Move point to the
15037 beginning so that all \C-o chars are removed.
15038
15039 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
15040
15041 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
15042
15043 2012-02-12 Alan Mackenzie <acm@muc.de>
15044
15045 Fix infinite loop with long macros.
15046 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
15047
15048 2012-02-12 Chong Yidong <cyd@gnu.org>
15049
15050 * window.el (display-buffer): Doc fix (Bug#10785).
15051
15052 2012-02-12 Glenn Morris <rgm@gnu.org>
15053
15054 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
15055 (x-disown-selection-internal, x-get-selection-internal):
15056 Sync docs with the xselect.c versions.
15057
15058 * allout-widgets.el: Add missing license notice.
15059
15060 2012-02-11 Glenn Morris <rgm@gnu.org>
15061
15062 * select.el (x-get-selection-internal, x-own-selection-internal)
15063 (x-disown-selection-internal):
15064 * x-dnd.el (x-get-selection-internal): Update declarations.
15065
15066 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
15067
15068 * window.el (window-sides-slots):
15069 * tool-bar.el (tool-bar-position):
15070 * term/xterm.el (xterm-extra-capabilities):
15071 * ses.el (ses-self-reference-early-detection):
15072 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
15073 (verilog-auto-wire-type)
15074 (verilog-auto-delete-trailing-whitespace)
15075 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
15076 (verilog-auto-tieoff-declaration):
15077 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
15078 (sql-oracle-statement-starters, sql-oracle-scan-on):
15079 * progmodes/prolog.el (prolog-align-comments-flag)
15080 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
15081 (prolog-left-indent-regexp, prolog-paren-indent-p)
15082 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
15083 (prolog-types, prolog-mode-specificators)
15084 (prolog-determinism-specificators, prolog-directives)
15085 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
15086 (prolog-electric-dot-flag)
15087 (prolog-electric-dot-full-predicate-template)
15088 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
15089 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
15090 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
15091 (prolog-program-switches, prolog-prompt-regexp)
15092 (prolog-debug-on-string, prolog-debug-off-string)
15093 (prolog-trace-on-string, prolog-trace-off-string)
15094 (prolog-zip-on-string, prolog-zip-off-string)
15095 (prolog-use-standard-consult-compile-method-flag)
15096 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
15097 (prolog-imenu-max-lines, prolog-info-predicate-index)
15098 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
15099 (prolog-char-quote-workaround):
15100 * progmodes/cc-vars.el (c-defun-tactic):
15101 * net/tramp.el (tramp-encoding-command-interactive)
15102 (tramp-local-end-of-line):
15103 * net/soap-client.el (soap-client):
15104 * net/netrc.el (netrc-file):
15105 * net/gnutls.el (gnutls):
15106 * minibuffer.el (completion-category-overrides)
15107 (completion-cycle-threshold)
15108 (completion-pcm-complete-word-inserts-delimiters):
15109 * man.el (Man-name-local-regexp):
15110 * mail/feedmail.el (feedmail-display-full-frame):
15111 * international/characters.el (glyphless-char-display-control):
15112 * eshell/em-ls.el (eshell-ls-date-format):
15113 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
15114 (lisp-lambda-list-keyword-parameter-indentation)
15115 (lisp-lambda-list-keyword-parameter-alignment):
15116 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
15117 * dired-x.el (dired-omit-verbose):
15118 * cus-theme.el (custom-theme-allow-multiple-selections):
15119 * calc/calc.el (calc-highlight-selections-with-faces)
15120 (calc-lu-field-reference, calc-lu-power-reference)
15121 (calc-note-threshold):
15122 * battery.el (battery-mode-line-limit):
15123 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
15124 (archive-7z-update):
15125 * allout.el (allout-prefixed-keybindings)
15126 (allout-unprefixed-keybindings)
15127 (allout-inhibit-auto-fill-on-headline)
15128 (allout-flattened-numbering-abbreviation):
15129 * allout-widgets.el (allout-widgets-auto-activation)
15130 (allout-widgets-icons-dark-subdir)
15131 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
15132 (allout-widgets-theme-dark-background)
15133 (allout-widgets-theme-light-background)
15134 (allout-widgets-item-image-properties-emacs)
15135 (allout-widgets-item-image-properties-xemacs)
15136 (allout-widgets-run-unit-tests-on-load)
15137 (allout-widgets-time-decoration-activity)
15138 (allout-widgets-hook-error-post-time)
15139 (allout-widgets-track-decoration):
15140 Add missing :version tags to new defcustoms and defgroups.
15141
15142 * progmodes/sql.el (sql-ansi-statement-starters)
15143 (sql-oracle-statement-starters): Add custom type.
15144
15145 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
15146 (prolog-system-version): Give it a type.
15147
15148 2012-02-11 Eli Zaretskii <eliz@gnu.org>
15149
15150 * term/pc-win.el (x-select-text, x-selection-owner-p)
15151 (x-own-selection-internal, x-disown-selection-internal)
15152 (x-get-selection-internal): Sync doc strings and argument lists
15153 with xselect.c, common-win.el and x-win.el. (Bug#10783)
15154
15155 2012-02-11 Leo Liu <sdl.web@gmail.com>
15156
15157 * progmodes/python.el (python-end-of-statement): Fix infinite
15158 loop. (Bug#10788)
15159
15160 2012-02-10 Glenn Morris <rgm@gnu.org>
15161
15162 * international/mule-cmds.el (unify-8859-on-encoding-mode)
15163 (unify-8859-on-decoding-mode): Properly mark as obsolete.
15164
15165 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
15166
15167 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
15168 about SMTP before checking the From header.
15169
15170 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
15171 into own function for reuse by emacsbug.el.
15172
15173 2012-02-10 Leo Liu <sdl.web@gmail.com>
15174
15175 * subr.el (condition-case-unless-debug): Rename from
15176 condition-case-no-debug. All callers changed.
15177 (with-demoted-errors): Fix caller.
15178
15179 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
15180 * nxml/rng-valid.el (rng-do-some-validation):
15181 * emacs-lisp/package.el (package-refresh-contents)
15182 (package-menu-execute):
15183 * desktop.el (desktop-create-buffer):
15184 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
15185
15186 2012-02-10 Glenn Morris <rgm@gnu.org>
15187
15188 * textmodes/bibtex.el:
15189 Add missing :version tags for new/changed defcustoms.
15190
15191 * files.el (remote-file-name-inhibit-cache): Doc fixes.
15192
15193 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
15194
15195 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
15196 (smtpmail-via-smtp): Use it, or fall back on the From address.
15197 (smtpmail-send-it): Ditto.
15198
15199 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
15200
15201 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
15202 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
15203 (byte-compile-tmp-var): New const.
15204 (byte-compile-defvar): Use it to minimize .elc size.
15205 Just use `defvar' rather than simulate it (bug#10761).
15206
15207 2012-02-09 Glenn Morris <rgm@gnu.org>
15208
15209 * files.el (rename-uniquely): Doc fix. (Bug#3806)
15210
15211 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
15212 Add :version tags.
15213
15214 * progmodes/compile.el (compilation-error-screen-columns)
15215 (compilation-first-column, compilation-filter-start): Doc fixes.
15216
15217 * vc/log-view.el (log-view-toggle-entry-display):
15218 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
15219
15220 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
15221 (report-emacs-bug-can-use-xdg-email):
15222 (report-emacs-bug-insert-to-mailer): Doc fixes.
15223 (report-emacs-bug): Message fix.
15224
15225 * net/browse-url.el (browse-url-can-use-xdg-open)
15226 (browse-url-xdg-open): Doc fixes.
15227
15228 * electric.el (electric-indent-mode, electric-pair-mode)
15229 (electric-layout-rules, electric-layout-mode): Doc fixes.
15230 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
15231
15232 2012-02-08 Martin Rudalics <rudalics@gmx.at>
15233
15234 * server.el (server-unselect-display): Don't inadvertently kill
15235 the current buffer. (Bug#10729)
15236
15237 2012-02-08 Glenn Morris <rgm@gnu.org>
15238
15239 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
15240 (sql-list-table): Doc fixes.
15241
15242 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
15243 Comment out (does nothing).
15244
15245 * completion.el (dynamic-completion-mode):
15246 * dirtrack.el (dirtrack-debug-mode):
15247 * electric.el (electric-layout-mode):
15248 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
15249 * face-remap.el (text-scale-mode, buffer-face-mode):
15250 * iimage.el (iimage-mode):
15251 * image-mode.el (image-transform-mode):
15252 * minibuffer.el (completion-in-region-mode):
15253 * scroll-lock.el (scroll-lock-mode):
15254 * simple.el (next-error-follow-minor-mode):
15255 * tar-mode.el (tar-subfile-mode):
15256 * tooltip.el (tooltip-mode):
15257 * vcursor.el (vcursor-use-vcursor-map):
15258 * wid-browse.el (widget-minor-mode):
15259 * emulation/tpu-edt.el (tpu-edt-mode):
15260 * emulation/tpu-extras.el (tpu-cursor-free-mode):
15261 * international/iso-ascii.el (iso-ascii-mode):
15262 * language/thai-util.el (thai-word-mode):
15263 * mail/supercite.el (sc-minor-mode):
15264 * net/goto-addr.el (goto-address-mode):
15265 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
15266 * progmodes/cwarn.el (cwarn-mode):
15267 * progmodes/flymake.el (flymake-mode):
15268 * progmodes/glasses.el (glasses-mode):
15269 * progmodes/hideshow.el (hs-minor-mode):
15270 * progmodes/pascal.el (pascal-outline-mode):
15271 * textmodes/enriched.el (enriched-mode):
15272 * vc/smerge-mode.el (smerge-mode):
15273 Doc fixes (minor mode argument).
15274
15275 2012-02-07 Eli Zaretskii <eliz@gnu.org>
15276
15277 * ls-lisp.el (ls-lisp-sanitize): New function.
15278 (ls-lisp-insert-directory): Use it to fix or remove any elements
15279 in file-alist with missing attributes. (Bug#4673)
15280
15281 2012-02-07 Alan Mackenzie <acm@muc.de>
15282
15283 Fix spurious recognition of c-in-knr-argdecl.
15284
15285 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
15286 putative K&R region.
15287
15288 2012-02-07 Alan Mackenzie <acm@muc.de>
15289
15290 * progmodes/cc-engine.el (c-forward-objc-directive):
15291 Prevent looping in "#pragma mark @implementation".
15292
15293 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
15294
15295 * notifications.el (notifications-on-closed-signal): Make `reason'
15296 optional. (Bug#10744)
15297
15298 2012-02-07 Glenn Morris <rgm@gnu.org>
15299
15300 * emacs-lisp/easy-mmode.el (define-minor-mode):
15301 Doc fixes for the macro and the mode it defines.
15302
15303 * image.el (imagemagick-types-inhibit): Doc fix.
15304
15305 * cus-start.el (imagemagick-render-type): Add it.
15306
15307 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
15308
15309 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
15310 Set the default at load time, too, so that `font-lock-fontify-buffer'
15311 can be called without setting up the entire mode first. This fixes
15312 a bug in `mm-inline-text' with C MIME parts.
15313
15314 2012-02-06 Chong Yidong <cyd@gnu.org>
15315
15316 * simple.el (list-processes--refresh): Delete exited processes
15317 (Bug#8094).
15318
15319 * comint.el (comint-next-prompt): next-single-char-property-change
15320 and prev-single-char-property-change never return nil (Bug#8657).
15321
15322 * custom.el (defcustom): Doc fix (Bug#9711).
15323
15324 2012-02-05 Chong Yidong <cyd@gnu.org>
15325
15326 * cus-edit.el (custom-variable-reset-backup): Quote the value
15327 before storing it in the customized-value property (Bug#6712).
15328 (custom-display): Add a customization type tag.
15329 (custom-buffer-create-internal): Improve tooltip message.
15330
15331 * wid-edit.el (widget-field-value-get): New optional arg to
15332 suppress trailing whitespace truncation.
15333 (character): Use it (Bug#2689).
15334
15335 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
15336
15337 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
15338 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
15339
15340 2012-02-05 Chong Yidong <cyd@gnu.org>
15341
15342 * cus-edit.el (custom-variable-value-create): For mismatched
15343 types, show the current value (Bug#7600).
15344
15345 * custom.el (defcustom): Doc fix.
15346
15347 2012-02-05 Glenn Morris <rgm@gnu.org>
15348
15349 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
15350
15351 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
15352
15353 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
15354 (pp-buffer): Use `ignore-errors', `looking-at-p'.
15355 (pp-last-sexp): Use `looking-at-p'.
15356
15357 2012-02-04 Glenn Morris <rgm@gnu.org>
15358
15359 * files.el (revert-buffer):
15360 Doc fix (mention revert-buffer-in-progress-p).
15361
15362 * emacs-lisp/ert-x.el (ert-simulate-command):
15363 Check deferred-action-list (which is obsolete) is bound.
15364
15365 * subr.el (with-wrapper-hook): Doc fixes.
15366
15367 * simple.el (filter-buffer-substring-functions)
15368 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
15369
15370 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
15371
15372 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
15373 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
15374
15375 2012-02-04 Leo Liu <sdl.web@gmail.com>
15376
15377 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
15378
15379 2012-02-04 Glenn Morris <rgm@gnu.org>
15380
15381 * image.el (image-extension-data): Add obsolete alias.
15382
15383 * isearch.el (isearch-update): Doc fix.
15384
15385 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
15386
15387 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
15388
15389 2012-02-03 Glenn Morris <rgm@gnu.org>
15390
15391 * image.el (image-animated-p): Doc fix. Use image-animated-types.
15392 (image-animate-timeout): Doc fix.
15393
15394 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
15395
15396 2012-02-02 Glenn Morris <rgm@gnu.org>
15397
15398 * server.el (server-auth-dir): Doc fix.
15399 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
15400
15401 * subr.el (run-mode-hooks): Doc fix.
15402
15403 2012-02-02 Juri Linkov <juri@jurta.org>
15404
15405 * image-mode.el (image-toggle-display-image): Remove tautological
15406 `major-mode' from the `derived-mode-p' test.
15407
15408 2012-02-02 Kenichi Handa <handa@m17n.org>
15409
15410 * composite.el (compose-region): Cancel previous change.
15411
15412 2012-02-02 Kenichi Handa <handa@m17n.org>
15413
15414 * composite.el (compose-region, compose-string): Signal error for
15415 a null string component (Bug#6988).
15416
15417 2012-02-01 Chong Yidong <cyd@gnu.org>
15418
15419 * view.el (view-buffer-other-window, view-buffer-other-frame):
15420 Handle special modes like view-buffer (Bug#10650).
15421 (view-buffer): Simplify.
15422
15423 * frame.el (set-frame-font): Tweak meaning of third argument.
15424
15425 * dynamic-setting.el (font-setting-change-default-font):
15426 Use set-frame-font (Bug#9982).
15427
15428 2012-02-01 Glenn Morris <rgm@gnu.org>
15429
15430 * progmodes/compile.el (compilation-internal-error-properties):
15431 Respect compilation-first-column in the "*compilation*" buffer.
15432
15433 * emacs-lisp/easy-mmode.el (define-minor-mode):
15434 Relax :variable's test for a named function.
15435
15436 2012-01-31 Alan Mackenzie <acm@muc.de>
15437
15438 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
15439 off by one error.
15440
15441 2012-01-31 Chong Yidong <cyd@gnu.org>
15442
15443 * frame.el (set-frame-font): New arg ALL-FRAMES.
15444
15445 * menu-bar.el (menu-set-font): Use set-frame-font.
15446
15447 * faces.el (face-spec-reset-face): Don't apply unspecified
15448 attribute values to the default face.
15449
15450 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
15451
15452 * progmodes/cwarn.el (cwarn): Remove dead link.
15453 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
15454 Remove * from defcustom docstrings.
15455 (turn-on-cwarn-mode): Make obsolete.
15456 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
15457 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
15458
15459 2012-01-31 Glenn Morris <rgm@gnu.org>
15460
15461 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
15462 Fix :variable handling of mode a symbol not equal to modefun.
15463 Allow named functions to be used as the cdr of :variable.
15464
15465 2012-01-30 Glenn Morris <rgm@gnu.org>
15466
15467 * emacs-lisp/authors.el (authors-fixed-entries):
15468 Remove reference to deleted file rnewspost.el.
15469
15470 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
15471
15472 * window.el (window-with-parameter): Remove unused variable `windows'.
15473 (window--side-check): Remove unused variable `code'.
15474 (window--resize-siblings): Remove unused variable `first'.
15475 (adjust-window-trailing-edge): Remove unused variable `failed'.
15476 (window-deletable-p, window--delete): Remove unused variable `buffer'.
15477 Use `let', not `let*'.
15478 (balance-windows-2): Remove unused variable `found'.
15479 (window--state-put-2): Remove unused variable `splits'.
15480 (window-state-put): Remove unused variable `selected'.
15481 (same-window-p): Use `string-match-p'.
15482 (display-buffer-assq-regexp): Remove unused variable `value'.
15483 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15484 Mark argument ALIST as ignored.
15485 (pop-to-buffer): Remove unused variable `old-window'.
15486
15487 2012-01-29 Eli Zaretskii <eliz@gnu.org>
15488
15489 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
15490 and .lzma compressed files.
15491
15492 2012-01-29 Chong Yidong <cyd@gnu.org>
15493
15494 * frame.el (window-system-default-frame-alist): Doc fix.
15495
15496 * dynamic-setting.el (font-setting-change-default-font): Don't
15497 change the default face if SET-FONT argument is non-nil (Bug#9982).
15498
15499 2012-01-29 Samuel Bronson <naesten@gmail.com>
15500
15501 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
15502
15503 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
15504
15505 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
15506 breakpoints in files outside current directory (Bug#6098).
15507
15508 2012-01-29 Chong Yidong <cyd@gnu.org>
15509
15510 * progmodes/python.el: Require ansi-color at top-level.
15511
15512 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
15513 Define and use in Emacs Lisp mode (Bug#9360).
15514 (lisp-mode-abbrev-table): Add doc.
15515 (lisp-mode-variables): Don't set local-abbrev-table.
15516 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
15517
15518 2012-01-28 Roland Winkler <winkler@gnu.org>
15519
15520 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
15521
15522 2012-01-28 Roland Winkler <winkler@gnu.org>
15523
15524 * textmodes/bibtex.el (bibtex-entry-alist): New function.
15525 (bibtex-set-dialect): Use it. Either set global values of
15526 dialect-dependent variables or bind these variables buffer-locally
15527 (Bug#10254).
15528 (bibtex-mode): Call bibtex-set-dialect via
15529 hack-local-variables-hook.
15530 (bibtex-dialect): Update docstring.
15531 Add safe-local-variable predicate.
15532 (bibtex-entry-alist, bibtex-field-alist): Initialize via
15533 bibtex-set-dialect.
15534 (bibtex-mode-map): Define menu for each dialect.
15535 (bibtex-entry): Fix docstring.
15536
15537 2012-01-28 Chong Yidong <cyd@gnu.org>
15538
15539 * eshell/esh-arg.el (eshell-quote-argument): New function.
15540
15541 * eshell/esh-ext.el (eshell-invoke-batch-file):
15542 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
15543 first arg to eshell-parse-command (Bug#10523).
15544
15545 2012-01-28 Drew Adams <drew.adams@oracle.com>
15546
15547 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
15548 `default-directory' is non-nil.
15549
15550 2012-01-28 Eli Zaretskii <eliz@gnu.org>
15551
15552 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
15553 line that displays system-configuration-options. (Bug#9924)
15554
15555 2012-01-28 Drew Adams <drew.adams@oracle.com>
15556
15557 * descr-text.el (describe-char): Show information about POS, in
15558 addition to information about the character at POS. Improve and
15559 update the doc string. Change "code point" to "code point in
15560 charset", to avoid confusion with the character's Unicode code
15561 point shown above that. (Bug#10129)
15562
15563 2012-01-28 Eli Zaretskii <eliz@gnu.org>
15564
15565 * descr-text.el (describe-char): Show the raw character, not only
15566 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
15567 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
15568 for the reasons.
15569
15570 2012-01-28 Phil Hagelberg <phil@hagelb.org>
15571
15572 * emacs-lisp/package.el (package-install):
15573 Run package-refresh-contents if there is no archive yet (Bug#9798).
15574
15575 2012-01-28 Chong Yidong <cyd@gnu.org>
15576
15577 * emacs-lisp/package.el (package-maybe-load-descriptor):
15578 New function, split from package-maybe-load-descriptor.
15579 (package-maybe-load-descriptor): Use it.
15580 (package-download-transaction): Fully load required packages
15581 inside the loop, so that `require' calls work (Bug#10593).
15582 (package-install): No need to call package-initialize now.
15583
15584 2012-01-28 Chong Yidong <cyd@gnu.org>
15585
15586 * simple.el (deactivate-mark): Doc fix (Bug#8614).
15587
15588 * tooltip.el (tooltip-mode): Doc fix.
15589 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
15590
15591 * frame.el (set-cursor-color): Doc fix (Bug#352).
15592
15593 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
15594 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
15595
15596 * cus-edit.el (custom-buffer-create-internal): Fix search button
15597 action (Bug#10542).
15598 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
15599
15600 2012-01-27 Eduard Wiebe <usenet@pusto.de>
15601
15602 * dired.el (dired-mark-files-regexp):
15603 Include any subdirectory components. (Bug#10445)
15604
15605 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
15606
15607 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
15608 Handle [host]:port syntax. (Bug#10533)
15609
15610 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
15611
15612 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
15613
15614 2012-01-26 Glenn Morris <rgm@gnu.org>
15615
15616 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
15617 * term.el (term-raw-escape-map): Use Control-X-prefix.
15618 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
15619
15620 2012-01-25 Martin Rudalics <rudalics@gmx.at>
15621
15622 * window.el (window-state-get, window--state-get-1): Don't deal
15623 with fixed-sizeness of windows. Simplify code.
15624
15625 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
15626
15627 * window.el (window--state-get-1, window--state-put-2):
15628 Don't save and restore the mark.
15629
15630 2012-01-25 Chong Yidong <cyd@gnu.org>
15631
15632 * custom.el (custom-variable-p): Doc fix.
15633
15634 2012-01-25 Glenn Morris <rgm@gnu.org>
15635
15636 * dired.el (dired-goto-file): Handle some of the more common
15637 characters that `ls -b' escapes. (Bug#10596)
15638
15639 * progmodes/compile.el (compilation-next-error-function):
15640 Respect compilation-first-column in the "*compilation*" buffer.
15641 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
15642
15643 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
15644
15645 2012-01-24 Glenn Morris <rgm@gnu.org>
15646
15647 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
15648
15649 2012-01-24 Julien Danjou <julien@danjou.info>
15650
15651 * color.el (color-rgb-to-hsl): Fix value computing.
15652 (color-hue-to-rgb): New function.
15653 (color-hsl-to-rgb): New function.
15654 (color-clamp, color-saturate-hsl, color-saturate-name)
15655 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
15656 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
15657
15658 2012-01-24 Glenn Morris <rgm@gnu.org>
15659
15660 * vc/vc-rcs.el (vc-rcs-create-tag):
15661 * vc/vc-sccs.el (vc-sccs-create-tag):
15662 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
15663
15664 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
15665
15666 * eshell/esh-util.el (eshell-read-hosts-file):
15667 Skip comment lines. (Bug#10549)
15668
15669 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
15670
15671 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
15672
15673 * subr.el (display-delayed-warnings): Doc fix.
15674 (collapse-delayed-warnings): New function to collapse identical
15675 adjacent warnings.
15676 (delayed-warnings-hook): Add it.
15677
15678 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
15679
15680 * net/tramp.el (tramp-action-login): Set connection property "login-as".
15681
15682 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
15683 (tramp-default-user-alist): Don't add "pscp".
15684 (tramp-do-copy-or-rename-file-out-of-band): Use connection
15685 property "login-as", if set. (Bug#10530)
15686
15687 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
15688
15689 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
15690 "plink1" and "psftp". (Bug#10530)
15691
15692 2012-01-21 Kenichi Handa <handa@m17n.org>
15693
15694 * international/mule-cmds.el (prefer-coding-system): Show a
15695 warning message if the default value of file-name-coding-system
15696 was not changed.
15697
15698 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
15699
15700 * windmove.el (windmove-reference-loc):
15701 Fix windmove-reference-loc miscalculation.
15702
15703 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
15704
15705 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
15706 default unit.
15707
15708 2012-01-21 Glenn Morris <rgm@gnu.org>
15709
15710 * international/mule.el (auto-coding-alist): Add .tbz.
15711
15712 * files.el (local-enable-local-variables): Doc fix.
15713 (inhibit-local-variables-regexps): Rename from
15714 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
15715 Doc fix. Add some extensions from auto-coding-alist.
15716 (inhibit-local-variables-suffixes):
15717 Rename from inhibit-first-line-modes-suffixes. Doc fix.
15718 (inhibit-local-variables-p):
15719 New function, extracted from set-auto-mode-1.
15720 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
15721 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
15722 (hack-local-variables): Doc fix. Make the mode-only case
15723 respect enable-local-variables and friends.
15724 Respect inhibit-local-variables-regexps for file-locals, but
15725 not for directory-locals.
15726 (set-visited-file-name):
15727 Take account of inhibit-local-variables-regexps.
15728 Whether it applies may change as the file name is changed.
15729 * jka-cmpr-hook.el (jka-compr-install):
15730 * jka-compr.el (jka-compr-uninstall):
15731 Update for inhibit-first-line-modes-suffixes name change.
15732
15733 2012-01-20 Martin Rudalics <rudalics@gmx.at>
15734
15735 * help-macro.el (make-help-screen): Temporarily restore original
15736 binding for minor-mode-map-alist (Bug#10454).
15737
15738 2012-01-19 Julien Danjou <julien@danjou.info>
15739
15740 * color.el (color-name-to-rgb): Use the white color to find the max
15741 color component value and return correctly computed values.
15742 (color-name-to-rgb): Add missing float conversion for max value.
15743
15744 2012-01-19 Martin Rudalics <rudalics@gmx.at>
15745
15746 * window.el (window--state-get-1, window-state-get): Do not use
15747 special state value for window-persistent-parameters.
15748 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
15749 (window--state-put-2): Reset all window parameters to nil before
15750 assigning values of persistent parameters.
15751
15752 2012-01-18 Alan Mackenzie <acm@muc.de>
15753
15754 Eliminate sluggishness and hangs in fontification of "semicolon
15755 deserts".
15756
15757 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
15758 Change value 10000 -> 3000.
15759 (c-state-safe-place): Reformulate so it doesn't stack up an
15760 infinite number of wrong entries in c-state-nonlit-pos-cache.
15761 (c-determine-limit-get-base, c-determine-limit): New functions to
15762 determine backward search limits disregarding literals.
15763 (c-find-decl-spots): Amend commenting.
15764 (c-cheap-inside-bracelist-p): New function which detects "={".
15765
15766 * progmodes/cc-fonts.el
15767 (c-make-font-lock-BO-decl-search-function): Give a limit to a
15768 backward search.
15769 (c-font-lock-declarations): Fix an occurrence of point being
15770 undefined. Check additionally for point being in a bracelist or
15771 near a macro invocation without a semicolon so as to avoid a
15772 fruitless time consuming search for a declarator. Give a more
15773 precise search limit for declarators using the new
15774 c-determine-limit.
15775
15776 2012-01-18 Glenn Morris <rgm@gnu.org>
15777
15778 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
15779 (set-auto-mode): Doc fixes.
15780
15781 2012-01-17 Glenn Morris <rgm@gnu.org>
15782
15783 * isearch.el (search-nonincremental-instead): Fix doc typo.
15784
15785 * dired.el (dired-insert-directory): Handle newlines in directory name.
15786 (dired-build-subdir-alist): Unescape newlines in directory name.
15787
15788 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
15789
15790 * net/tramp.el (tramp-local-end-of-line): New defcustom.
15791 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
15792 (tramp-action-terminal): Use it. (Bug#10530)
15793
15794 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
15795
15796 * minibuffer.el (completion--replace): Strip properties (bug#10062).
15797
15798 2012-01-16 Martin Rudalics <rudalics@gmx.at>
15799
15800 * window.el (window-state-ignored-parameters): Remove variable.
15801 (window--state-get-1): Rename argument MARKERS to IGNORE.
15802 Handle persistent window parameters. Make copy of clone-of
15803 parameter only if requested. (Bug#10348)
15804 (window--state-put-2): Install a window parameter only if it has
15805 a non-nil value or an existing parameter shall be overwritten.
15806
15807 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
15808
15809 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
15810
15811 2012-01-14 Eli Zaretskii <eliz@gnu.org>
15812
15813 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
15814 don't pass the (nil) value of `upnode' to string-match.
15815
15816 2012-01-14 Chong Yidong <cyd@gnu.org>
15817
15818 * startup.el (command-line): Fix X resource class for cursorColor.
15819 Fix values recognized by the cursorBlink resource.
15820
15821 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
15822
15823 * epg.el (epg--make-temp-file): Avoid permission race condition
15824 when running on old Emacs versions (bug#10403).
15825
15826 2012-01-14 Glenn Morris <rgm@gnu.org>
15827
15828 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
15829
15830 2012-01-13 Alan Mackenzie <acm@muc.de>
15831
15832 Fix filling for when filladapt mode is enabled.
15833
15834 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
15835 c-mask-paragraph, pass in `fill-paragraph' rather than
15836 `fill-region-as-paragraph'. (This is a reversion of a previous
15837 change.)
15838 * progmodes/cc-mode.el (c-basic-common-init):
15839 Make fill-paragraph-handle-comment buffer local and set it to nil.
15840
15841 2012-01-13 Glenn Morris <rgm@gnu.org>
15842
15843 * dired.el (dired-switches-escape-p): New function.
15844 (dired-insert-directory): Use dired-switches-escape-p.
15845 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
15846
15847 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
15848
15849 2012-01-12 Glenn Morris <rgm@gnu.org>
15850
15851 * mail/sendmail.el (mail-mode): Update paragraph-separate for
15852 changes in adaptive-fill-regexp. (Bug#10276)
15853
15854 2012-01-11 Alan Mackenzie <acm@muc.de>
15855
15856 Fix Emacs bug #10463 - put `widen's around the critical spots.
15857
15858 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
15859 widen around each invocation of c-state-pp-to-literal. Remove an
15860 unused let variable.
15861
15862 2012-01-11 Glenn Morris <rgm@gnu.org>
15863
15864 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
15865 Doc fix.
15866
15867 2012-01-10 Chong Yidong <cyd@gnu.org>
15868
15869 * net/network-stream.el (network-stream-open-starttls):
15870 Avoid emitting a confusing error message when the server gives a bad
15871 response to the capability command.
15872
15873 2012-01-10 Glenn Morris <rgm@gnu.org>
15874
15875 * mail/unrmail.el (unrmail): Tweak previous change.
15876
15877 2012-01-09 Chong Yidong <cyd@gnu.org>
15878
15879 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
15880
15881 2012-01-08 Alan Mackenzie <acm@muc.de>
15882
15883 Optimize font locking in long enum definitions.
15884
15885 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
15886 arm to a cond form to handle enums.
15887 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
15888 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
15889
15890 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
15891
15892 * files.el (move-file-to-trash): Preserve default file modes on error.
15893 (Bug#10401)
15894
15895 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15896
15897 * faces.el (set-face-attribute): Clarify the meaning of the nil
15898 frame (bug#10294).
15899
15900 * subr.el (with-selected-frame): Mention that the selected frame
15901 is restored (bug#9980).
15902
15903 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
15904 (bug#9759).
15905
15906 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
15907 (password-read): Don't autoload unused function.
15908
15909 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
15910
15911 * progmodes/which-func.el (which-func-mode): Turn into a
15912 non-interactive function and mark as obsolete (bug#10428).
15913
15914 2012-01-06 Chong Yidong <cyd@gnu.org>
15915
15916 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
15917 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
15918 functions, along with 1 and -1.
15919
15920 2012-01-06 Eli Zaretskii <eliz@gnu.org>
15921
15922 * time.el (display-time-load-average)
15923 (display-time-default-load-average): Doc fixes. See the thread
15924 starting at
15925 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
15926 for the details.
15927
15928 2012-01-06 Glenn Morris <rgm@gnu.org>
15929
15930 * mail/unrmail.el (unrmail): Give an explicit error if the input file
15931 has no messages. (Bug#10377)
15932
15933 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
15934 than Info-edit. (Bug#10385)
15935
15936 * time.el (display-time-load-average, display-time-next-load-average):
15937 Doc fixes.
15938
15939 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
15940 local setting of buffer-read-only to the input buffer. (Bug#10419)
15941
15942 * calendar/calendar.el (calendar-mode):
15943 Locally set scroll-margin to 0. (Bug#10379)
15944
15945 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
15946
15947 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
15948
15949 2012-01-05 Glenn Morris <rgm@gnu.org>
15950
15951 * eshell/em-unix.el (diff-no-select): Autoload it.
15952 (eshell/diff): Use diff-no-select. (Bug#10420)
15953
15954 2012-01-05 Chong Yidong <cyd@gnu.org>
15955
15956 * shell.el (shell-dynamic-complete-functions): Revert last change.
15957 (shell-command-completion-function): New function.
15958 (shell-completion-vars): Use it to implement
15959 shell-completion-execonly (Bug#10417).
15960
15961 * custom.el (enable-theme): Don't set custom-safe-themes.
15962
15963 * cus-theme.el (custom-theme-merge-theme):
15964 Ignore custom-enabled-themes and custom-safe-themes.
15965
15966 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
15967
15968 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
15969 first prompt in `sql-interacive-mode'.
15970 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
15971 keywords.
15972 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
15973 (sql-product-interactive): Bug fix: Set `sql-buffer' in
15974 context of original buffer. Invoke `sql-login-hook'.
15975
15976 2012-01-04 Eli Zaretskii <eliz@gnu.org>
15977
15978 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
15979 letters in cite-prefix.
15980
15981 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15982
15983 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
15984
15985 2012-01-03 Chong Yidong <cyd@gnu.org>
15986
15987 * shell.el (shell-dynamic-complete-functions):
15988 Put pcomplete-completions-at-point, so as to try
15989 comint-filename-completion first (Bug#10417).
15990
15991 2012-01-02 Richard Stallman <rms@gnu.org>
15992
15993 * battery.el (battery-status-function):
15994 Detect when to use battery-yeeloong-sysfs.
15995 (battery-echo-area-format): Add string for Yeeloong.
15996 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
15997 (battery-yeeloong-sysfs): New function.
15998
15999 2012-01-02 Chong Yidong <cyd@gnu.org>
16000
16001 * dirtrack.el (dirtrack-list): Eliminate unused third element.
16002 (dirtrack): Merge code for handling relative filenames in prompt
16003 from shell-dir-cookie-watcher.
16004 (dirtrack-debug-message): New arg to avoid excess format calls.
16005
16006 * shell.el (shell-dir-cookie-re): Variable deleted.
16007 (shell-dir-cookie-watcher): Function deleted.
16008 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
16009 with dirtrack-mode.
16010
16011 2012-01-01 Eli Zaretskii <eliz@gnu.org>
16012
16013 * term/w32-win.el (dynamic-library-alist) <gnutls>:
16014 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
16015 libgnutls-26.dll.
16016
16017 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
16018
16019 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
16020
16021 2011-12-31 Eli Zaretskii <eliz@gnu.org>
16022
16023 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
16024 headers of non-MIME messages, when rmail-enable-mime is non-nil.
16025
16026 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
16027
16028 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
16029 also for alternative shells.
16030 (tramp-open-connection-setup-interactive-shell): Check, whether
16031 the shell is a busybox.
16032 (tramp-send-command): Don't suppress multiple prompts for
16033 busyboxes, it hurts.
16034
16035 2011-12-28 Chong Yidong <cyd@gnu.org>
16036
16037 * progmodes/gdb-mi.el (gdb-get-source-file-list)
16038 (gdb-get-source-file): Move mode line update to
16039 gdb-get-source-file (Bug#10087).
16040
16041 2011-12-25 Chong Yidong <cyd@gnu.org>
16042
16043 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
16044 gud-gdb-marker-filter without taking it as an argument.
16045 (gud-gdb-run-command-fetch-lines): Caller changed.
16046 (gud-gdb-completion-function): New variable.
16047 (gud-gdb-completion-at-point): Use it.
16048 (gud-gdb-completions-1): Split from gud-gdb-completions.
16049
16050 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
16051 function as separate arguments.
16052 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
16053 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
16054 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
16055 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
16056 (gdb-stopped, def-gdb-auto-update-trigger)
16057 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
16058 (gdb-get-changed-registers, gdb-get-main-selected-frame):
16059 Callers changed.
16060 (gud-gdbmi-completions): New function.
16061 (gdb): Use it for generating the completion table.
16062
16063 2011-12-24 Alan Mackenzie <acm@muc.de>
16064
16065 Introduce a mechanism to widen the region used in context font
16066 locking. Use this to protect declarations from losing their contexts.
16067
16068 * progmodes/cc-langs.el (c-before-font-lock-functions):
16069 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
16070 (c-before-context-fontification-functions): New defvar, a list of
16071 functions to be run just before context (etc.) font locking.
16072
16073 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
16074 New, functionality extracted from
16075 c-neutralize-syntax-in-and-mark-CPP.
16076 (c-in-after-change-fontification): New variable.
16077 (c-after-change): Set c-in-after-change-fontification.
16078 (c-set-fl-decl-start): Rejig its interface, so it can be called
16079 from both after-change and context fontifying.
16080 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
16081 New functions.
16082 (c-standard-font-lock-fontify-region-function): New variable.
16083 (c-font-lock-fontify-region): New function.
16084
16085 2011-12-24 Juri Linkov <juri@jurta.org>
16086
16087 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
16088 (Bug#10348)
16089
16090 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
16091
16092 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
16093 existence of source file. (Bug#10325)
16094
16095 2011-12-23 Alan Mackenzie <acm@muc.de>
16096
16097 Fix unstable fontification inside templates.
16098
16099 * progmodes/cc-langs.el (c-before-font-lock-functions):
16100 Newly created from the singular version. The (c c++ objc) entry now
16101 additionally has c-set-fl-decl-start. The other languages (apart
16102 from AWK) have that as a single entry.
16103
16104 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
16105 The functionality for "local" declarations has been extracted to
16106 c-set-fl-decl-start.
16107
16108 * progmodes/cc-mode.el (c-common-init, c-after-change):
16109 Changes due to pluralisation of c-before-font-lock-functions.
16110 (c-set-fl-decl-start): New function, extracted from
16111 c-font-lock-enclosing-decls and enhanced.
16112
16113 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
16114
16115 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
16116
16117 2011-12-22 Juri Linkov <juri@jurta.org>
16118
16119 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
16120
16121 2011-12-22 Chong Yidong <cyd@gnu.org>
16122
16123 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
16124
16125 2011-12-21 Drew Adams <drew.adams@oracle.com>
16126
16127 * files.el (file-remote-p): Fix docstring. (Bug#10319)
16128
16129 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
16130
16131 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
16132
16133 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
16134
16135 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
16136 highlighting and support. Fix up comments for capitalization.
16137 (cfengine-mode-debug): New var.
16138 (cfengine3-mode): Change the modeline indicator to "CFE3".
16139 (cfengine3-font-lock-keywords): Improve defun highlighting.
16140 (cfengine2-actions): Rename from `cfengine-actions'.
16141 (cfengine2-font-lock-keywords): Rename from
16142 `cfengine-font-lock-keywords'.
16143 (cfengine2-imenu-expression): Rename from
16144 `cfengine-imenu-expression'.
16145 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
16146 (cfengine2-beginning-of-defun): Rename from
16147 `cfengine-beginning-of-defun'.
16148 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
16149 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
16150 (cfengine2-mode): Rename from `cfengine-mode'. Change the
16151 modeline indicator to "CFE2".
16152 (cfengine-mode): Defalias to `cfengine-auto-mode'.
16153 (cfengine-mode-abbrevs): Mark obsolete.
16154
16155 2011-12-21 Chong Yidong <cyd@gnu.org>
16156
16157 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
16158 filename argument.
16159
16160 2011-12-20 Martin Rudalics <rudalics@gmx.at>
16161
16162 * window.el (window-normalize-buffer-to-display): Remove.
16163 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
16164
16165 2011-12-19 Chong Yidong <cyd@gnu.org>
16166
16167 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
16168 Don't signal an error in a predicate function; return non-nil.
16169 (vc-dir-mark-file): Move the error here.
16170 (vc-dir-mark-unmark): If acting on the region, keep going if one
16171 of the entries cannot be marked/unmarked.
16172 (vc-dir-mark-all-files): If current entry is a directory, mark
16173 only child files, as documented.
16174
16175 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
16176
16177 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
16178 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
16179 addition.
16180
16181 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
16182
16183 * term/ns-win.el (ns-get-selection-internal)
16184 (ns-store-selection-internal): Declare.
16185 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
16186 Declare as obsolete.
16187 (ns-get-pasteboard, ns-paste-secondary):
16188 Use ns-get-selection-internal.
16189 (ns-set-pasteboard, ns-copy-including-secondary):
16190 Use ns-store-selection-internal.
16191
16192 2011-12-17 Chong Yidong <cyd@gnu.org>
16193
16194 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
16195 (vc-deduce-fileset): Doc fix.
16196
16197 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
16198
16199 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
16200
16201 2011-12-13 Sam Steingold <sds@gnu.org>
16202
16203 * man.el (Man-getpage-in-background): When running under a
16204 window-system, ignore $MANWIDTH and $COLUMNS.
16205
16206 2011-12-15 Kenichi Handa <handa@m17n.org>
16207
16208 * language/ethio-util.el: Change coding tag to utf-8-emacs.
16209 (setup-ethiopic-environment-internal): Comment out key-binding for
16210 ethio-toggle-punctuation.
16211
16212 2011-12-13 Alan Mackenzie <acm@muc.de>
16213
16214 Add the switch statement to AWK Mode.
16215
16216 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
16217 "default" to the keywords regexp.
16218
16219 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
16220 expression as the rest.
16221 (c-nonlabel-token-key): Allow string literals for AWK.
16222 Refactor for the other modes.
16223
16224 Large brace-block initialisation makes CC Mode slow: Fix.
16225 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
16226 routines. Limit backward searching in c-font-lock-enclosing.decl.
16227
16228 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
16229 pp-state and literal type in addition to the limits.
16230 (c-state-safe-place): New defun, extracted from c-state-literal-at.
16231 (c-state-literal-at): Use the above new defun.
16232 (c-slow-in-literal, c-fast-in-literal): Remove.
16233 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
16234
16235 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
16236 being in a literal. Add a limit for backward searching.
16237
16238 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
16239 c-slow-in-literal.
16240
16241 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
16242
16243 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
16244
16245 2011-12-13 Martin Rudalics <rudalics@gmx.at>
16246
16247 * window.el (delete-other-windows): Use correct frame in call to
16248 window-with-parameter.
16249
16250 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
16251
16252 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
16253 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
16254 (makefile-gmake-statements, makefile-makepp-statements):
16255 Use it and add new makepp keywords.
16256 (makefile-makepp-font-lock-keywords): Add new patterns.
16257 (makefile-match-function-end): Match new [...] and [[...]].
16258
16259 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
16260
16261 * ses.el (ses-call-printer-return, ses-cell-property-get)
16262 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
16263 (ses-create-cell-variable, ses-reset-header-string)
16264 (ses-cell-set-formula, ses-repair-cell-reference-all)
16265 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
16266 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
16267 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
16268 (ses-aset-with-undo, ses-load, ses-truncate-cell)
16269 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
16270 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
16271 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
16272 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
16273 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
16274 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
16275 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
16276 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
16277
16278 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
16279
16280 * ses.el: The overall change is to add cell renaming, that is
16281 setting fancy names for cell symbols other than name matching
16282 "\\`[A-Z]+[0-9]+\\'" regexp .
16283 (ses-create-cell-variable): New defun.
16284 (ses-relocate-formula): Relocate formulas only for cells the
16285 symbols of which are not renamed, i.e. symbols whose names do not
16286 match regexp "\\`[A-Z]+[0-9]+\\'".
16287 (ses-relocate-all): Relocate values only for cells the symbols of
16288 which are not renamed.
16289 (ses-load): Create cells variables as the (ses-cell ...) are read,
16290 in order to check row col consistency with cell symbol name only
16291 for cells that are not renamed.
16292 (ses-replace-name-in-formula): New defun.
16293 (ses-rename-cell): New defun.
16294
16295 2011-12-11 Chong Yidong <cyd@gnu.org>
16296
16297 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
16298 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
16299
16300 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
16301
16302 * window.el (other-window): Fix docstring.
16303
16304 2011-12-10 Eli Zaretskii <eliz@gnu.org>
16305
16306 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
16307 `from' or `to' address before taking its substring.
16308 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
16309 encoded name is chopped in the middle of the encoded string, and
16310 thus displayed encoded.
16311
16312 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
16313
16314 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
16315
16316 2011-12-10 Eli Zaretskii <eliz@gnu.org>
16317
16318 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
16319 to use texinfo-update-node and commands that call it if the
16320 Texinfo file uses @node lines without next/prev/up pointers.
16321 Correct outdated description about texinfo-master-menu.
16322 (texinfo-all-menus-update, texinfo-master-menu)
16323 (texinfo-update-node, texinfo-every-node-update)
16324 (texinfo-multiple-files-update): Doc fix. Warn against updating
16325 all the @node lines.
16326 (texinfo-master-menu): Only call texinfo-update-node if the prefix
16327 argument is numeric. Explain better in the doc string what the
16328 function really does.
16329 (texinfo-insert-master-menu-list): Improve the error message
16330 displayed if there's no menu in the Top node.
16331 (Bug#2975) See also this thread:
16332 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
16333
16334 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
16335
16336 * speedbar.el (speedbar-supported-extension-expressions):
16337 Add .adb and .ads, commonly used for Ada source code (bug#10256).
16338
16339 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
16340
16341 * printing.el (pr-mode-alist):
16342 * simple.el (filter-buffer-substring-functions)
16343 (completion-list-insert-choice-function):
16344 * window.el (window-with-parameter, window-atom-root)
16345 (window-sides-slots, window-size-fixed, window-min-delta)
16346 (window-max-delta, window--resize-mini-window)
16347 (window--resize-child-windows-normal, window-tree)
16348 (delete-other-windows, quit-window, split-window)
16349 (display-buffer-record-window, special-display-buffer-names)
16350 (special-display-regexps, special-display-popup-frame)
16351 (same-window-p, split-window-sensibly)
16352 (display-buffer-overriding-action, display-buffer-alist)
16353 (display-buffer-base-action, display-buffer, switch-to-buffer)
16354 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
16355 (fit-window-to-buffer, recenter-positions)
16356 (mouse-autoselect-window-state, mouse-autoselect-window-select):
16357 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
16358 and remove unneeded backslashes in docstrings.
16359
16360 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
16361
16362 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
16363
16364 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
16365 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
16366 end in ".mk".
16367 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
16368 when reading the makefile (bug#10116).
16369
16370 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
16371
16372 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
16373 (bug#10116).
16374
16375 2011-12-06 Glenn Morris <rgm@gnu.org>
16376
16377 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
16378
16379 2011-12-06 Chong Yidong <cyd@gnu.org>
16380
16381 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
16382
16383 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
16384
16385 * textmodes/table.el (table-shorten-cell): Fix typo.
16386
16387 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
16388
16389 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
16390
16391 2011-12-05 Eli Zaretskii <eliz@gnu.org>
16392
16393 * descr-text.el (describe-char): Fix display of strong
16394 right-to-left characters and directional embeddings and overrides.
16395
16396 * simple.el (what-cursor-position): Fix display of codepoints of
16397 strong right-to-left characters.
16398
16399 2011-12-05 Chong Yidong <cyd@gnu.org>
16400
16401 * faces.el (read-color): Doc fix.
16402
16403 2011-12-05 Glenn Morris <rgm@gnu.org>
16404
16405 * align.el (align--set-marker): Add doc-string.
16406 Don't try to move something that is not a marker. (Bug#10216)
16407
16408 2011-12-04 Glenn Morris <rgm@gnu.org>
16409
16410 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
16411 overly zealous deletion of trailing whitespace.
16412
16413 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
16414
16415 * server.el (server-delete-client): On Windows, do not try to delete
16416 the only terminal.
16417 (server-process-filter): On Windows, treat requests for a tty frame as
16418 if they were for a GUI frame if the running server is in GUI mode.
16419
16420 2011-12-03 Glenn Morris <rgm@gnu.org>
16421
16422 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
16423
16424 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
16425
16426 * electric.el: Streamline electric-indent's hook.
16427 (electric-indent-chars): Revert to simple list.
16428 (electric-indent-functions): New var.
16429 (electric-indent-post-self-insert-function): Use it.
16430
16431 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
16432 there's no inferior buffer (bug#10196).
16433 (prolog-consult-compile): Don't use toggle-read-only.
16434
16435 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
16436
16437 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
16438 interrupt. (Bug#10187)
16439
16440 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
16441
16442 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
16443 (bug#9160).
16444
16445 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
16446 (bug#10191).
16447
16448 2011-12-02 Juri Linkov <juri@jurta.org>
16449
16450 * info.el (Info-search): Display "end of manual" when Isearch
16451 reaches the end of single-file Info manual. (Bug#9918)
16452
16453 2011-12-02 Eli Zaretskii <eliz@gnu.org>
16454
16455 * isearch.el (isearch-message-prefix): Run the input method part
16456 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
16457
16458 2011-12-02 Juri Linkov <juri@jurta.org>
16459
16460 * isearch.el (isearch-occur): Use `word-search-regexp' for
16461 `isearch-word'.
16462 (isearch-search-and-update): Add condition for `isearch-word' and
16463 call `word-search-regexp'. (Bug#10145)
16464
16465 2011-12-01 Glenn Morris <rgm@gnu.org>
16466
16467 * eshell/em-hist.el (eshell-hist-initialize):
16468 Handle eshell-history-size nil and HISTSIZE set or unset.
16469 (eshell-history-file-name, eshell-history-size): Fix custom type.
16470
16471 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
16472
16473 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
16474
16475 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
16476
16477 * progmodes/verilog-mode.el (verilog-pretty-expr):
16478 Rework verilog-pretty-expr to handle new assignment operators in system
16479 verilog, such as += *= and the like.
16480 (verilog-assignment-operator-re): Regular expression to find the
16481 assigment operator in a verilog assignment.
16482 (verilog-assignment-operation-re): Regular expression to find an
16483 assignment statement for pretty-expr.
16484 (verilog-in-attribute-p): Query returns true if point is in an
16485 attribute context; used to skip these for expression line up from
16486 pretty-expr.
16487 (verilog-in-parameter-p): Query returns true if point is in an
16488 parameter definition context; used to skip these for expression
16489 line up from pretty-expr.
16490 (verilog-in-parenthesis-p): Query returns true if point is in a
16491 parenthetical expression, specifically ( ) but not [ ] or { };
16492 used by pretty-expr.
16493 (verilog-just-one-space): If there is no space, don't add one.
16494 (verilog-get-lineup-indent-2): Specifically skip just attribute
16495 contexts for expression lineup, rather than skipping all
16496 parenthetical expressions.
16497 (verilog-calculate-indent): Fix comment, and fix indent.
16498 (verilog-do-indent): Indent declarations in lists (suggested by
16499 Joachim Lechner).
16500 (verilog-mode-abbrev-table): Populate abbrev mode with the various
16501 skeleton items.
16502 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
16503 by Alain Mellan).
16504
16505 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
16506
16507 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
16508 parameters with embedded comments. Reported by Ray Stevens.
16509 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
16510 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
16511 Reported by Tim Holt.
16512 (verilog-auto): Fix AUTOing a upper module then AUTOing module
16513 instantiated by upper module causing wrong expansion until AUTOed a
16514 second time. Reported by K C Buckenmaier.
16515 (verilog-diff-auto): Fix showing .* as a difference when
16516 `verilog-auto-star-save' off. Reported by Dan Dever.
16517 (verilog-auto-reset, verilog-read-always-signals)
16518 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
16519 temporary signals in reset list if
16520 verilog-auto-reset-blocking-in-non is nil, and match assignment
16521 style to each signal's assignment type, bug381.
16522 Reported by Thomas Esposito.
16523 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
16524 (verilog-uvm-statement-re): Support UVM indentation and
16525 highlighting, with old OVM keywords only.
16526 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
16527 Support AUTOTIEOFF creating non-wire data types.
16528 Suggested by Jonathan Greenlaw.
16529 (verilog-auto-insert-lisp, verilog-delete-to-paren)
16530 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
16531 (verilog-inject-sense, verilog-read-inst-pins)
16532 (verilog-read-sub-decls, verilog-read-sub-decls-line):
16533 Fix mismatching parenthesis inside commented out code when deleting
16534 AUTOINST, bug383. Reported by Jonathan Greenlaw.
16535 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
16536 non-numeric vector width. Reported by Alex Reed.
16537 (verilog-auto-ascii-enum): Add "onehot" option to work around not
16538 detecting signals with parameter widths. Reported by Alex Reed.
16539 (verilog-auto-delete-trailing-whitespace):
16540 With `verilog-auto-delete-trailing-whitespace' remove trailing
16541 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
16542 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
16543 Fix verilog-scan-cache corruption when running user AUTO expansion
16544 hooks that call indentation routines.
16545 (verilog-simplify-range-expression): Fix typo ignoring lower case
16546 identifiers.
16547 (verilog-delete-auto): Fix delete-autos to also remove user created
16548 automatics, as long as they start with AUTO.
16549 (verilog-batch-diff-auto, verilog-diff-auto)
16550 (verilog-diff-function): Add `verilog-diff-auto' and bind to
16551 "C-c?" to report differences in AUTO expansion, ignoring spaces.
16552 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
16553 (verilog-in-paren-quick, verilog-re-search-backward-quick)
16554 (verilog-re-search-forward-quick, verilog-syntax-ppss):
16555 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
16556 is disabled and its cache will get corrupt, causing AUTOS not to
16557 expand. Instead use only -quick functions.
16558 (verilog-scan-region): Fix scanning over escaped quotes.
16559 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
16560 (verilog-re-search-backward-quick)
16561 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
16562 related functions now ignore strings, to fix misparsing of strings
16563 with magic comments embedded in them.
16564 (verilog-read-auto-template):
16565 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
16566 Reported by Brad Dobbie.
16567 (verilog-read-auto-template):
16568 Fix 'verilog-auto-inst-template-numbers' with comments.
16569 Reported by Brad Dobbie.
16570 (verilog-auto-inst, verilog-auto-inst-param)
16571 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
16572 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
16573 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
16574 debugging templates without merge conflicts, bug357.
16575 Reported by Brad Dobbie.
16576 (verilog-read-auto-template):
16577 Fix verilog-auto-inst-template-numbers with multiple templates.
16578 Reported by Brad Dobbie.
16579 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
16580 abbrevs so user won't be asked to save.
16581 (verilog-read-auto-lisp-present): Fix to start at beginning of
16582 buffer in case called outside of verilog-auto.
16583 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
16584 to "X-2". Reported by Matthew Myers.
16585 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
16586 all inputs from module templates. Reported by Leith Johnson.
16587 (verilog-module-inside-filename-p): Fix locating programs as with
16588 modules.
16589 (verilog-auto-inst-port): Fix vl-width expressions when using
16590 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
16591 (verilog-decls-get-regs, verilog-decls-get-signals,
16592 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
16593 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
16594 verilog-read-decls): Combine reg and wire structures into one var
16595 structure to represent SystemVerilog concepts.
16596 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
16597 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
16598 (verilog-auto-wire-type, verilog-insert-definition):
16599 Add verilog-auto-wire-type and AUTOLOGIC to support using
16600 SystemVerilog "logic" keyword instead of "wire"/"reg".
16601 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
16602 to declares outputs that also have assignments (presumably in an
16603 ifdef or generate if so there's not a driver conflict).
16604 Reported by Matthew Myers.
16605 (verilog-auto-declare-nettype, verilog-insert-definition):
16606 Add verilog-auto-declare-nettype to fix declarations using
16607 `default_nettype none. Reported by Julian Gorfajn.
16608 (verilog-read-always-signals-recurse, verilog-read-decls)
16609 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
16610 malformed end statement, bug325. Reported by Joshua Wise and
16611 Andrew Drake.
16612 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
16613 (verilog-inst-comment-re): Fix not deleting Interfaced comment
16614 when expanding .* in interfaces, bug320.
16615 Reported by Pierre-David Pfister.
16616 (verilog-read-module-name): Fix import statements between module
16617 name and open parenthesis, bug317.
16618 Reported by Pierre-David Pfister.
16619 (verilog-simplify-range-expression): Fix simplification of
16620 multiplications inside AUTOWIRE connections, bug303.
16621 (verilog-auto-inst-port): Support parameter expansion in
16622 multidimensional arrays.
16623 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
16624 after "assert property". Reported by Julian Gorfajn.
16625 (verilog-simplify-range-expression): Fix "couldn't merge" errors
16626 with multiplication, bug303.
16627 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
16628 Reported by Jan Frode Lonnum.
16629
16630 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
16631
16632 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
16633 (hfy-shell-file-name, hfy-shell):
16634 * international/fontset.el (x-decompose-font-name): Fix typos.
16635
16636 2011-11-29 Ken Brown <kbrown@cornell.edu>
16637
16638 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
16639 (gdb-version): Remove defvar.
16640 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
16641 (gdb-gud-context-command, gdb-non-stop-handler)
16642 (gdb-current-context-command, gdb-stopped): Use it.
16643 (gdb-init-1): Enable pretty printing here.
16644 (gdb-non-stop-handler): Don't enable pretty-printing here.
16645 Check to see if the target supports non-stop mode; if not, turn off
16646 non-stop mode. Use the following.
16647 (gdb-check-target-async): New defun.
16648 (gud-watch, gdb-stopped): Fix whitespace.
16649 (gdb-get-source-file): Don't try to display the source file if
16650 `gdb-main-file' is nil.
16651
16652 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
16653
16654 * align.el: Try to generate fewer markers (bug#10047).
16655 (align--set-marker): New macro.
16656 (align-region): Use it.
16657
16658 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
16659
16660 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
16661
16662 2011-11-29 Chong Yidong <cyd@gnu.org>
16663
16664 * indent.el (indent-for-tab-command, indent-according-to-mode):
16665 Doc fix.
16666 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
16667
16668 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
16669
16670 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
16671 aware of remote file names. (Bug#10124)
16672
16673 2011-11-29 Chong Yidong <cyd@gnu.org>
16674
16675 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
16676
16677 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
16678
16679 * files.el (find-file): Don't use force-same-window (bug#10144).
16680 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
16681 use pop-to-buffer if the selected window can't be used.
16682 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
16683
16684 2011-11-28 Eli Zaretskii <eliz@gnu.org>
16685
16686 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
16687 special-mode-map.
16688
16689 2011-11-28 Chong Yidong <cyd@gnu.org>
16690
16691 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
16692
16693 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
16694
16695 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
16696 gdb-get-source-file-list on gdb-create-source-file-list.
16697
16698 2011-11-26 Eli Zaretskii <eliz@gnu.org>
16699
16700 * whitespace.el (whitespace-newline): Use a different foreground
16701 color for 16-color light-background displays.
16702
16703 2011-11-24 Chong Yidong <cyd@gnu.org>
16704
16705 * window.el (display-buffer--special-action): Doc fix.
16706
16707 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
16708
16709 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
16710 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
16711 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
16712 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
16713 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
16714 (avl-tree-stack-first):
16715 * emacs-lisp/cconv.el (cconv--analyse-use):
16716 * net/gnutls.el (gnutls-negotiate): Fix typos.
16717
16718 2011-11-24 Glenn Morris <rgm@gnu.org>
16719
16720 * lpr.el (lpr-windows-system, lpr-lp-system):
16721 * mail/binhex.el (binhex-begin-line):
16722 * progmodes/grep.el (grep-history, grep-find-history):
16723 * textmodes/flyspell.el:
16724 * vc/pcvs-defs.el (cvs-global-menu):
16725 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
16726 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
16727 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
16728
16729 * net/tls.el: Fix case of "GnuTLS".
16730
16731 * paths.el (rmail-file-name): Format doc-string for make-docfile.
16732
16733 * version.el (emacs-build-system): Give it a doc-string.
16734
16735 2011-11-24 Juri Linkov <juri@jurta.org>
16736
16737 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
16738
16739 2011-11-24 Glenn Morris <rgm@gnu.org>
16740
16741 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
16742 if called on a non-mime message just toggle the headers. (Bug#8006)
16743
16744 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
16745
16746 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
16747 (allout-lead-with-comment-string, allout-structure-deleted-hook)
16748 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
16749 (allout-rebullet-heading, allout-open-sibtopic)
16750 (allout-toggle-current-subtree-encryption)
16751 (allout-toggle-subtree-encryption, allout-encrypt-string)
16752 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
16753 (allout-distinctive-bullets-string, allout-auto-activation):
16754 * window.el (window-normalize-buffer-to-display):
16755 * progmodes/verilog-mode.el (verilog-batch-indent):
16756 * textmodes/bibtex.el (bibtex-field-braces-opt)
16757 (bibtex-field-strings-opt):
16758 * vc/cvs-status.el (cvs-tree-merge):
16759 Fix typos.
16760
16761 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
16762
16763 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
16764 `non-essential' to t, in order to avoid remote connections.
16765
16766 2011-11-23 Eli Zaretskii <eliz@gnu.org>
16767
16768 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
16769 On MS-DOS and MS-Windows, compare with loaddefs.el
16770 case-insensitively.
16771
16772 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16773
16774 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
16775
16776 2011-11-23 Glenn Morris <rgm@gnu.org>
16777
16778 * paths.el (rmail-file-name): Reformat the doc-string so that it
16779 is picked up.
16780
16781 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
16782 (rmail-auto-file): Ignore case in the "special" field names,
16783 as mail-fetch-field does for all others.
16784
16785 * mail/rmail.el (rmail-forward):
16786 * mail/rmailkwd.el (rmail-set-label):
16787 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
16788 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
16789
16790 * mail/rmail.el (rmail-current-message): Doc fix.
16791
16792 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
16793
16794 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
16795
16796 * server.el (server-eval-and-print): Allow C-g (bug#6585).
16797
16798 2011-11-22 Glenn Morris <rgm@gnu.org>
16799
16800 * mail/rmailmm.el (test-rmail-mime-handler)
16801 (test-rmail-mime-bulk-handler)
16802 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
16803
16804 2011-11-21 Juri Linkov <juri@jurta.org>
16805
16806 * calc/calc.el (calc-read-key-sequence):
16807 Let-bind `input-method-function' to nil. (Bug#10018)
16808
16809 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16810
16811 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
16812 Tell the caller that the next line needs recomputation, even
16813 though it doesn't start a sexp (bug#10094).
16814
16815 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
16816
16817 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
16818
16819 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
16820
16821 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
16822 Use force-same-window.
16823
16824 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
16825
16826 * descr-text.el (describe-char-unicode-data):
16827 * json.el (json-string-escape):
16828 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
16829 (Footnote-unicode, Footnote-style-p):
16830 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
16831
16832 2011-11-20 Chong Yidong <cyd@gnu.org>
16833
16834 * window.el (replace-buffer-in-windows): Restore interactive spec.
16835
16836 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
16837
16838 * electric.el (electric-indent-mode): Fix last change (too optimistic).
16839
16840 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
16841 (byte-compile-global-not-obsolete-vars): New var.
16842 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
16843 Use it.
16844 (byte-compile-warn-obsolete): Align text with the one in *Help*.
16845
16846 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
16847
16848 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
16849 * progmodes/pascal.el (electric-pascal-equal):
16850 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
16851 * xml.el (xml-substitute-special): Fix typos.
16852
16853 2011-11-20 Glenn Morris <rgm@gnu.org>
16854
16855 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
16856 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
16857 Doc fixes.
16858 (rmail-decode-mime-charset): Mark as obsolete.
16859
16860 * mail/rmailsum.el (rmail-message-regexp-p-1):
16861 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
16862 Before using mime functions, check they are set. (Bug#10077)
16863
16864 2011-11-19 Juri Linkov <juri@jurta.org>
16865
16866 * info.el (Info-finder-find-node): Use `package--builtins' instead
16867 of `package-alist'. Use node names formed by the pattern "Keyword "
16868 and the keyword name.
16869
16870 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
16871
16872 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
16873
16874 2011-11-19 Juri Linkov <juri@jurta.org>
16875
16876 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
16877 that calls `revert-buffer' on all Info buffers. (Bug#9915)
16878 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
16879 `old-history', `old-history-forward'. Add let-binding
16880 `window-selected'. Remove calls to `kill-buffer',
16881 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
16882 before calling `Info-find-node', so `Info-find-node-2' will reread
16883 the Info file. Restore window positions only when `window-selected'
16884 is non-nil.
16885
16886 2011-11-19 Juri Linkov <juri@jurta.org>
16887
16888 * isearch.el (isearch-lazy-highlight-new-loop):
16889 Remove condition `(not isearch-error)'. (Bug#9918)
16890
16891 * misearch.el (multi-isearch-search-fun): Add condition
16892 `(not bound)' to ignore lazy-highlighting search.
16893 Add the search-failed message "end of multi" when the end of
16894 multi-sequence is reached. Uncapitalize the search-failed
16895 message "Repeat for next buffer".
16896
16897 * info.el (Info-search): Add the search-failed message
16898 "end of the manual" when the end of the manual is reached
16899 in Isearch mode.
16900
16901 2011-11-19 Juri Linkov <juri@jurta.org>
16902
16903 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
16904 Use non-destructive `remove' instead of `delete' because
16905 `Info-history-list' stored to `Info-isearch-initial-history-list' in
16906 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
16907
16908 2011-11-19 Juri Linkov <juri@jurta.org>
16909
16910 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
16911 to nil instead of binding `search-ring' and `regexp-search-ring'.
16912 (Bug#9185)
16913
16914 2011-11-19 Eli Zaretskii <eliz@gnu.org>
16915
16916 * simple.el (line-move): Force movement by logical lines for any
16917 hscrolled window, not only when auto-hscroll-mode is on.
16918 (line-move-visual): Update doc string to that effect. (Bug#10076)
16919
16920 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
16921
16922 * language/european.el (macintosh): Define as alias for mac-roman.
16923
16924 2011-11-19 Eli Zaretskii <eliz@gnu.org>
16925
16926 * mail/rmailmm.el (rmail-mime-display-header)
16927 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
16928 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
16929 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
16930 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
16931 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
16932 of a raw aref.
16933 (rmail-mime-entity-segment): To get past the tagline, move forward
16934 2 more lines, to account for the 2 empty lines that precede and
16935 follow the line with the buttons.
16936 (rmail-mime-update-tagline): Move one more line, to get past the
16937 empty line that follows the buttons in the tagline. (Bug#9520)
16938
16939 2011-11-19 Martin Rudalics <rudalics@gmx.at>
16940
16941 * window.el (window-max-delta-1, window-min-delta-1)
16942 (window-min-size-1, window-state-get-1, window-state-put-1)
16943 (window-state-put-2): Use "window--" prefix.
16944
16945 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
16946
16947 * emacs-lisp/smie.el: Improve warnings and conflict detection.
16948 (smie-warning-count): New var.
16949 (smie-set-prec2tab): Use it.
16950 (smie-bnf->prec2): Improve warnings. Add docstring.
16951 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
16952 (smie-bnf--set-class): New function.
16953 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
16954 corner case.
16955
16956 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
16957 (compilation-error-properties, compilation-move-to-column):
16958 Handle compilation-first-column while in the target buffer.
16959
16960 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
16961 Don't hardcode point-min==1.
16962
16963 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
16964 (eshell-rewrite-for-command): Remove workaround.
16965 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
16966 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
16967 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
16968
16969 * files-x.el (modify-file-local-variable): Obey commenting conventions.
16970
16971 2011-11-17 Glenn Morris <rgm@gnu.org>
16972
16973 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
16974 Ignore buffer-local generated-autoload-file if it is the same
16975 as the global value. (Bug#10049)
16976
16977 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
16978
16979 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
16980 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
16981 (reftex-toc-previous-heading, reftex-toc-max-level)
16982 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
16983 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
16984 (reftex-toc-do-promote, reftex-toc-promote-prepare)
16985 (reftex-toc-promote-action, reftex-toc-extract-section-number)
16986 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
16987 (reftex-toc-rename-label, reftex-toc-visit-location)
16988 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
16989 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
16990 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
16991 leaving "*toc*" only for references to the buffer.
16992
16993 2011-11-17 Martin Rudalics <rudalics@gmx.at>
16994
16995 * window.el (window-resize, delete-window, split-window):
16996 Replace window-splits by window-combination-resize.
16997 * cus-start.el (window-splits): Replace by window-combination-resize.
16998
16999 2011-11-17 Glenn Morris <rgm@gnu.org>
17000
17001 * progmodes/sh-script.el (sh-font-lock-keywords-var):
17002 Make bash entry derive from sh entry, not shell entry.
17003
17004 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
17005
17006 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
17007 local file name.
17008
17009 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
17010
17011 * menu-bar.el (menu-bar-file-menu):
17012 * printing.el (pr-ps-utility):
17013 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
17014 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
17015 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
17016 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
17017 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
17018 (icalendar--convert-cyclic-to-ical)
17019 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
17020 (icalendar--convert-ical-to-diary)
17021 (icalendar--convert-recurring-to-diary)
17022 (icalendar--convert-non-recurring-all-day-to-diary)
17023 (icalendar-import-format-sample):
17024 * progmodes/idlw-shell.el (idlwave-shell-mode):
17025 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
17026 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
17027 (vhdl-ps-print-init): Fix typos.
17028
17029 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
17030
17031 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
17032 FSF and collapse date sequence, obscure author/maintainer email address
17033 better, remove extra version line, track relocation of author's webpage.
17034
17035 * progmodes/python.el (python-pdbtrack-input-prompt)
17036 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
17037 regular python pdb prompts. Adjustments shamelessly taken exactly as
17038 suggested in EmacsWiki page (tiny change):
17039 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
17040
17041 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
17042
17043 * expand.el (expand-pos, expand-index, expand-point):
17044 Remove redundant info from docstring.
17045 (expand-add-abbrevs): Doc fix.
17046 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
17047 (expand-sample-perl-mode-expand-list): Fix typos.
17048
17049 * net/dbus.el (dbus-event-member-name):
17050 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
17051 * term/pc-win.el (msdos-create-frame-with-faces):
17052 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
17053
17054 2011-11-16 Martin Rudalics <rudalics@gmx.at>
17055
17056 * window.el (split-window, window-state-get-1)
17057 (window-state-put-1, window-state-put-2): Rename occurrences of
17058 window-nest to window-combination-limit.
17059 * cus-start.el (window-nest): Rename to window-combination-limit.
17060
17061 2011-11-16 Chong Yidong <cyd@gnu.org>
17062
17063 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
17064 regexp (Bug#10033).
17065
17066 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
17067
17068 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
17069 `completing-read' will remove *Completions* and will preserve
17070 current-buffer for us.
17071 (tmm-add-prompt): Users of *Completions* will always (re)set its
17072 major mode.
17073 (tmm-old-comp-map): Remove.
17074
17075 2011-11-16 Glenn Morris <rgm@gnu.org>
17076
17077 * mail/rmailedit.el: Require rmailmm when compiling.
17078 (rmail-old-mime-state): New declaration.
17079 (rmail-edit-current-message): If editing a mime message,
17080 edit the "raw" message from the mbox buffer.
17081 (rmail-cease-edit): Handle mime messages. (Bug#9840)
17082
17083 2011-11-15 Glenn Morris <rgm@gnu.org>
17084
17085 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
17086 which wasn't being used. Add optional arg to force given state.
17087 (rmail-mime): Add optional arg to force given state.
17088
17089 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
17090
17091 * allout.el (allout-encryption-plaintext-sanitization-regexps):
17092 * frame.el (display-mm-dimensions-alist):
17093 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
17094 (outline-move-subtree-down):
17095 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
17096 (newsticker--treeview-do-get-node):
17097 * net/quickurl.el (quickurl-list-buffer-name):
17098 * progmodes/dcl-mode.el (dcl-mode):
17099 * progmodes/gdb-mi.el (gdb-mapcar*):
17100 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
17101
17102 2011-11-15 Glenn Morris <rgm@gnu.org>
17103
17104 * mail/rmail.el (rmail-file-coding-system): It's only ever used
17105 in a boolean sense, so just make it a boolean, and fix the doc.
17106 (rmail-show-mime-function, rmail-mime-feature)
17107 (rmail-require-mime-maybe): Doc fixes.
17108 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
17109
17110 * mail/rmailmm.el (rmail-show-mime): Doc fix.
17111
17112 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
17113
17114 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
17115 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
17116 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
17117 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
17118
17119 2011-11-15 Glenn Morris <rgm@gnu.org>
17120
17121 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
17122 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
17123 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
17124 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
17125 (rmail-mime, rmail-show-mime): Doc fixes.
17126
17127 * term/ns-win.el (mode-line-frame-identification):
17128 Leave it alone. (Bug#10051)
17129
17130 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
17131
17132 * mail/rmailout.el (rmail-output-to-rmail-buffer):
17133 Handle empty buffers. (Bug#9978)
17134
17135 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
17136
17137 * international/mule.el (define-charset):
17138 * mail/rmailmm.el (rmail-mime-find-header-encoding):
17139 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
17140 * progmodes/verilog-mode.el (verilog-backward-token):
17141 * textmodes/ispell.el (lookup-words):
17142 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
17143
17144 2011-11-14 Glenn Morris <rgm@gnu.org>
17145
17146 * progmodes/executable.el
17147 (executable-make-buffer-file-executable-if-script-p):
17148 Handle file-modes returning nil.
17149
17150 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
17151 message - not necessary, and causes problems. (Bug#9831)
17152
17153 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
17154
17155 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
17156
17157 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
17158 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
17159 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
17160
17161 2011-11-12 Martin Rudalics <rudalics@gmx.at>
17162
17163 * window.el (window-resize, delete-window): Use window-splits
17164 variable instead of function.
17165 (window-state-get-1, window-state-put-2, window-state-put):
17166 Don't deal with windows' splits status.
17167
17168 2011-11-12 Glenn Morris <rgm@gnu.org>
17169
17170 * apropos.el (apropos-do-all, apropos-library, apropos-value)
17171 (apropos-documentation): Doc fixes.
17172
17173 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
17174
17175 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
17176 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
17177
17178 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
17179
17180 * electric.el (electric-indent-post-self-insert-function): Make it
17181 possible for a char to only indent in some circumstances.
17182 (electric-indent-mode): Simplify.
17183
17184 2011-11-11 Martin Rudalics <rudalics@gmx.at>
17185
17186 * window.el (windows-with-parameter): Remove unused function.
17187 (windows-at-side): Rename to window-at-side-list.
17188 (window-check, window-atom-check, window-atom-check-1)
17189 (window-side-check, window-size-ignore, window-size-fixed-1)
17190 (window-in-direction-2): Prefix with "window--".
17191 (window-tree-1): Rename to window--subtree, fix doc-string.
17192
17193 2011-11-11 Glenn Morris <rgm@gnu.org>
17194
17195 * subr.el (eval-after-load): If FILE is already loaded,
17196 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
17197
17198 2011-11-10 Glenn Morris <rgm@gnu.org>
17199
17200 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
17201 Call svn via vc-svn-command rather than vc-do-command.
17202 (vc-svn-command): Add --non-interactive. (Bug#9993)
17203 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
17204
17205 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17206 Add toggle-read-only. (Bug#7292)
17207 * files.el (toggle-read-only): Mention that it should only
17208 be used interactively. (Bug#10006)
17209
17210 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
17211
17212 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17213 Adjust regexp for OCaml warnings.
17214
17215 * electric.el (electric-pair-post-self-insert-function): Let user
17216 turn it off buffer-locally (bug#9932).
17217
17218 * progmodes/python.el (python-beginning-of-statement):
17219 Rewrite (bug#2703).
17220
17221 * progmodes/compile.el: Better handle TABs (bug#9749).
17222 (compilation-internal-error-properties)
17223 (compilation-next-error-function): Obey the target buffer's
17224 compilation-error-screen-columns.
17225
17226 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
17227
17228 * progmodes/meta-mode.el: Remove obsolete comments.
17229 (meta-right-comment-regexp, meta-ignore-comment-regexp):
17230 Fix typos in docstrings.
17231
17232 2011-11-09 Martin Rudalics <rudalics@gmx.at>
17233
17234 * window.el (window-size-fixed-p): Rewrite doc-string.
17235 (window-resizable-p): Rename to window--resizable-p. Update callers.
17236 (window--resizable): New function. Make all callers of
17237 window-resizable call window--resizable instead.
17238 (window-resizable): Rewrite in terms of window--resizable.
17239
17240 2011-11-08 Glenn Morris <rgm@gnu.org>
17241
17242 * progmodes/delphi.el (delphi-mode-syntax-table):
17243 Let define-derived-mode define a proper syntax table. (Bug#9994)
17244
17245 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
17246
17247 * window.el: Stay away from defsubst.
17248 (window-list-no-nils): Remove.
17249 (window-state-get-1, window-state-get): Use backquote instead.
17250
17251 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17252
17253 * emacs-lisp/find-func.el (find-function-read):
17254 Fix incorrect use of default argument in `completing-read'.
17255
17256 2011-11-08 Martin Rudalics <rudalics@gmx.at>
17257
17258 * window.el (display-buffer-function, special-display-function):
17259 Mention display-buffer-record-window but do not mention
17260 help-setup parameter in doc-strings.
17261 (window-min-delta): Fix doc-string typo.
17262
17263 2011-11-08 Chong Yidong <cyd@gnu.org>
17264
17265 * window.el (window-total-height, window-total-width): Doc fix.
17266 (window-body-size): Move from C.
17267 (window-body-height, window-body-width): Move to C.
17268
17269 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
17270
17271 * window.el: Make special-display like display-buffer-alist (bug#9532).
17272 (display-buffer--special-action): New function, morphed
17273 from display-buffer--special.
17274 (display-buffer): Use it to handle special-display-buffers at higher
17275 priority (just after display-buffer-alist).
17276 (display-buffer-fallback-action, display-buffer--other-frame-action)
17277 (pop-to-buffer-same-window): Remove display-buffer--special.
17278
17279 2011-11-07 Glenn Morris <rgm@gnu.org>
17280
17281 * calendar/cal-menu.el (cal-menu-set-date-title):
17282 Do nothing if not in a calendar. (Bug#9976)
17283
17284 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
17285
17286 * files.el (find-file): Always use selected-window.
17287
17288 2011-11-07 Martin Rudalics <rudalics@gmx.at>
17289
17290 * window.el (window-combinations): Make WINDOW argument
17291 mandatory. Rewrite doc-string.
17292 (walk-window-subtree, window-atom-check, window-min-delta)
17293 (window-max-delta, window--resize-this-window)
17294 (window--resize-root-window-vertically, window-tree)
17295 (balance-windows, window-state-put): Rewrite doc-strings as to
17296 not mention the term "subwindow".
17297 (window--resize-subwindows-skip-p): Rename to
17298 window--resize-child-windows-skip-p.
17299 (window--resize-subwindows-normal): Rename to
17300 window--resize-child-windows-normal.
17301 (window--resize-subwindows): Rename to
17302 window--resize-child-windows.
17303 (window-or-subwindow-p): Rename to window--in-subtree-p.
17304
17305 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
17306
17307 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
17308 Ensure that mbox format messages end in two newlines (Bug#9974).
17309
17310 2011-11-06 Chong Yidong <cyd@gnu.org>
17311
17312 * window.el (window-combination-p): Function deleted; its
17313 side-effect is not used in any existing code.
17314 (window-combinations, window-combined-p): Call window-*-child
17315 directly.
17316
17317 2011-11-05 Chong Yidong <cyd@gnu.org>
17318
17319 * window.el (window-valid-p): Rename from window-any-p.
17320 (window-size-ignore, window-state-get): Callers changed.
17321 (window-normalize-window): Rename from window-normalize-any-window.
17322 New arg LIVE-ONLY, replacing window-normalize-live-window.
17323 (window-normalize-live-window): Delete.
17324 (window-combination-p, window-combined-p, window-combinations)
17325 (walk-window-subtree, window-atom-root, window-min-size)
17326 (window-sizable, window-sizable-p, window-size-fixed-p)
17327 (window-min-delta, window-max-delta, window-resizable)
17328 (window-resizable-p, window-full-height-p, window-full-width-p)
17329 (window-current-scroll-bars, window-point-1, set-window-point-1)
17330 (window-at-side-p, window-in-direction, window-resize)
17331 (adjust-window-trailing-edge, maximize-window, minimize-window)
17332 (window-deletable-p, delete-window, delete-other-windows)
17333 (record-window-buffer, unrecord-window-buffer)
17334 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
17335 (quit-window, split-window, window-state-put)
17336 (set-window-text-height, fit-window-to-buffer)
17337 (shrink-window-if-larger-than-buffer): Callers changed.
17338
17339 2011-11-04 Eli Zaretskii <eliz@gnu.org>
17340
17341 * mail/rmail.el (rmail-simplified-subject): Decode subject with
17342 rfc2047-decode-string.
17343 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
17344 warnings.
17345
17346 * window.el (window-body-height, window-body-width): Mention in
17347 the doc string that the return values are in frame's canonical
17348 units. (Bug#9949)
17349
17350 2011-11-03 Alan Mackenzie <acm@muc.de>
17351
17352 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
17353 change in cc-engine.el.
17354
17355 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
17356
17357 * window.el (switch-to-buffer): Use `force-same-window' interactively.
17358
17359 2011-11-02 Martin Rudalics <rudalics@gmx.at>
17360
17361 * window.el (quit-window): Call unrecord-window-buffer after
17362 showing another buffer in the window. (Bug#9937)
17363 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
17364
17365 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
17366
17367 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
17368 Accept status with more than 9 shelves. (Bug#9935)
17369 Reported by Colin D Bennett <colin@gibibit.com>.
17370
17371 2011-11-01 Martin Rudalics <rudalics@gmx.at>
17372
17373 * help.el (with-help-window): Don't reference
17374 temp-buffer-show-specifiers in doc-string.
17375
17376 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
17377
17378 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
17379 menu-item.
17380
17381 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17382
17383 * whitespace.el: New version 13.2.2.
17384 (whitespace-newline-mode): Disable properly. Reported by Sarah
17385 <EmacsWiki>.
17386
17387 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
17388
17389 * net/newst-treeview.el: Remove "Time-stamp".
17390 (newsticker--group-manage-orphan-feeds): Do not call
17391 newsticker--treeview-tree-update.
17392 (newsticker-treeview-update, newsticker-treeview):
17393 Call newsticker--treeview-tree-update if necessary.
17394
17395 2011-10-30 Martin Rudalics <rudalics@gmx.at>
17396
17397 * window.el (window-iso-combination-p, window-iso-combined-p)
17398 (window-iso-combinations): Remove "iso-" infix.
17399 Suggested by Chong Yidong.
17400 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
17401 (window-max-delta-1, window-resize, window--resize-siblings)
17402 (window--resize-this-window, adjust-window-trailing-edge)
17403 (split-window, balance-windows-1)
17404 (shrink-window-if-larger-than-buffer):
17405 * calendar/calendar.el (calendar-generate-window):
17406 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
17407
17408 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
17409
17410 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
17411 in place (bug#9907).
17412 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
17413 (eshell-rewrite-if-command, eshell-rewrite-for-command)
17414 (eshell-structure-basic-command, eshell-rewrite-while-command)
17415 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
17416 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
17417 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
17418 (eshell-do-pipelines-synchronously, eshell-eval-command):
17419 Use backquotes and prefer setq to set.
17420 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
17421 (eshell-macrop): Use functionp.
17422 (eshell-do-eval): Handle multiple expressions in `while' body.
17423
17424 2011-10-30 Chong Yidong <cyd@gnu.org>
17425
17426 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
17427 instead of set-mark (Bug#9810).
17428
17429 2011-10-30 Chong Yidong <cyd@gnu.org>
17430
17431 * window.el (split-window-below, split-window-right): Rename from
17432 split-window-above-each-other and split-window-side-by-side
17433 respectively. All callers changed.
17434 (split-window-sensibly, split-window-sensibly): Use them.
17435 (split-window-keep-point): Doc fix.
17436
17437 * isearch.el: Add isearch-scroll property to split-window-below
17438 and split-window-right.
17439
17440 * follow.el (follow-mode):
17441 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
17442 * progmodes/ada-xref.el (ada-gdb-application):
17443 * emulation/vip.el (vip-buffer-in-two-windows):
17444 * image-dired.el (image-dired-dired-with-window-configuration):
17445 * dired-x.el (dired-do-find-marked-files):
17446 * dired.el (dired-pop-to-buffer):
17447 * bs.el (bs--show-with-configuration):
17448 * vc/emerge.el (emerge-setup-windows):
17449 * textmodes/two-column.el (2C-two-columns):
17450 * textmodes/reftex-toc.el (reftex-toc):
17451 * progmodes/gdb-mi.el (gdb-setup-windows):
17452 * progmodes/fortran.el (fortran-window-create):
17453 * net/newst-treeview.el (newsticker--treeview-window-init):
17454 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
17455 * emulation/tpu-edt.el (tpu-gold-map):
17456 * emulation/crisp.el (crisp-mode-map):
17457 * calendar/calendar.el (calendar-basic-setup): Callers changed.
17458
17459 2011-10-29 Chong Yidong <cyd@gnu.org>
17460
17461 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
17462
17463 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
17464
17465 * textmodes/flyspell.el (flyspell-word): Fix char offset for
17466 forged Ispell output (Bug#7904).
17467
17468 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
17469
17470 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17471
17472 * doc-view.el: Avoid ugly errors about not finding nil.
17473 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
17474 (doc-view-dvipdf-program, doc-view-unoconv-program)
17475 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
17476 Avoid nil or absolute file name as default value.
17477 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
17478
17479 2011-10-28 Alan Mackenzie <acm@muc.de>
17480
17481 * progmodes/cc-defs.el (c-version): -> 5.32.2.
17482
17483 2011-10-28 Alan Mackenzie <acm@muc.de>
17484
17485 Amend the handling of c-beginning/end-of-defun in nested declaration
17486 scopes.
17487
17488 * progmodes/cc-vars.el (c-defun-tactic): Move here from
17489 cc-langs.el. Change it to a defcustom.
17490
17491 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
17492 cc-vars.el.
17493
17494 * progmodes/cc-engine.el (c-beginning-of-statement-1):
17495 Prevent "class foo : bar" being spuriously recognized as a label.
17496
17497 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
17498 Add parameter `inclusive' (to include enclosing braces in the region).
17499 (c-widen-to-enclosing-decl-scope): New function.
17500 (c-while-widening-to-decl-block): New macro.
17501 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
17502 outward for defun boundaries, and correspondingly change symbol
17503 `respect-enclosure' to `go-outward'.
17504 (c-declaration-limits): Change algorithm to report only the "innermost"
17505 defun's boundaries.
17506
17507 2011-10-28 Deniz Dogan <deniz@dogan.se>
17508
17509 * net/rcirc.el (rcirc-mode): Use hard newlines.
17510
17511 2011-10-28 Alan Mackenzie <acm@muc.de>
17512
17513 Amend to indent and fontify macros "which include their own semicolon"
17514 correctly, using the "virtual semicolon" mechanism.
17515
17516 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
17517
17518 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
17519 Recode to scan one line at a time rather than having \n and \r
17520 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
17521 (c-forward-label): Amend for virtual semicolons.
17522 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
17523
17524 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
17525 of the new C macros.
17526
17527 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
17528 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
17529 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
17530 (c-opt-cpp-macro-define): Make into a full language variable.
17531 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
17532 AWK Mode (including \n, \r) removed, no longer needed.
17533
17534 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
17535 Invoke c-make-macro-with-semi-re.
17536
17537 * progmodes/cc-vars.el (c-macro-with-semi-re):
17538 (c-macro-names-with-semicolon): New variables.
17539 (c-make-macro-with-semi-re): New function.
17540
17541 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17542
17543 * vc/log-edit.el: Fill empty field rather than adding new one.
17544 (log-edit-add-field): New function.
17545 (log-edit-insert-changelog): Use it.
17546
17547 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
17548
17549 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
17550
17551 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17552
17553 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
17554 (gdb--check-interpreter): New function.
17555 (gdb): Use it.
17556
17557 2011-10-27 Glenn Morris <rgm@gnu.org>
17558
17559 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
17560 (least-positive-float, least-negative-float)
17561 (least-positive-normalized-float, least-negative-normalized-float)
17562 (float-epsilon, float-negative-epsilon):
17563 Remove unnecessary declarations.
17564
17565 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
17566 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
17567 (least-positive-float, least-negative-float)
17568 (least-positive-normalized-float, least-negative-normalized-float)
17569 (float-epsilon, float-negative-epsilon): Add doc-strings,
17570 based on those in cl.texi.
17571
17572 * files.el (set-visited-file-name): If the major-mode changed,
17573 reload the local variables. (Bug#9796)
17574
17575 2011-10-27 Chong Yidong <cyd@gnu.org>
17576
17577 * subr.el (change-major-mode-after-body-hook): New hook.
17578 (run-mode-hooks): Run it.
17579
17580 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
17581 Use change-major-mode-before-body-hook.
17582
17583 * simple.el (fundamental-mode):
17584 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
17585 change introducing fundamental-mode-hook.
17586
17587 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
17588
17589 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
17590
17591 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
17592
17593 * ido.el (ido-file-name-all-completions-1): Do not require
17594 tramp.el explicitly. (Bug#7583)
17595
17596 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
17597
17598 * progmodes/octave-mod.el:
17599 * progmodes/octave-inf.el: Update maintainer.
17600
17601 2011-10-26 Chong Yidong <cyd@gnu.org>
17602
17603 * subr.el (with-wrapper-hook): Rewrite doc.
17604
17605 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
17606
17607 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
17608 filenames "/method:foo:". (Bug#9793)
17609
17610 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
17611
17612 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
17613 (bug#9865).
17614
17615 2011-10-24 Glenn Morris <rgm@gnu.org>
17616
17617 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
17618
17619 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
17620
17621 * notifications.el: Add the requirement of a running D-Bus session
17622 bus to the Commentary.
17623
17624 2011-10-24 Juri Linkov <juri@jurta.org>
17625
17626 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
17627 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
17628 (Bug#9364)
17629
17630 2011-10-24 Juri Linkov <juri@jurta.org>
17631
17632 * info.el (Info-following-node-name-re): Add newline to the list
17633 of allowed characters for leading space. (Bug#9824)
17634
17635 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
17636
17637 * progmodes/octave-inf.el (inferior-octave-mode-map):
17638 Fix C-c C-h binding.
17639 * progmodes/octave-mod.el (octave-help): Remove.
17640
17641 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
17642
17643 Sync with Tramp 2.2.3.
17644
17645 * net/tramp-cache.el (top): Pacify byte-compiler using
17646 `init-file-user' and `site-run-file'.
17647
17648 * net/trampver.el: Update release number.
17649
17650 2011-10-23 Chong Yidong <cyd@gnu.org>
17651
17652 * files.el (toggle-read-only): Remove obsolete comment about
17653 version control.
17654
17655 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
17656 for toggle-read-only. Note that this hasn't called vc-next-action
17657 since 2008-05-02, though it wasn't documented at the time.
17658
17659 * vc/ediff-init.el (ediff-toggle-read-only-function):
17660 Use toggle-read-only.
17661
17662 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
17663
17664 Fix bug #9560, sporadic wrong indentation; improve instrumentation
17665 of c-parse-state.
17666
17667 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
17668 correct faulty logical expression.
17669 (c-parse-state-state, c-record-parse-state-state):
17670 (c-replay-parse-state-state): New defvar/defuns.
17671 (c-debug-parse-state): Use new functions.
17672
17673 2011-10-22 Martin Rudalics <rudalics@gmx.at>
17674
17675 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
17676 last fix. Use window-in-direction correctly.
17677
17678 2011-10-21 Chong Yidong <cyd@gnu.org>
17679
17680 * progmodes/idlwave.el (idlwave-mode):
17681 * progmodes/vera-mode.el (vera-mode): No need to set
17682 require-final-newline; that's done in prog-mode.
17683 Suggested by Stefan Monnier.
17684
17685 2011-10-21 Martin Rudalics <rudalics@gmx.at>
17686
17687 * mouse.el (mouse-drag-window-above)
17688 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
17689 (mouse-drag-mode-line-1, mouse-drag-header-line)
17690 (mouse-drag-vertical-line-rightward-window): Remove.
17691 (mouse-drag-line): New function.
17692 (mouse-drag-mode-line, mouse-drag-header-line)
17693 (mouse-drag-vertical-line): Call mouse-drag-line.
17694 * window.el (window-at-side-p, windows-at-side): New functions.
17695
17696 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
17697
17698 * tar-mode.el (tar-grind-file-mode):
17699 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
17700
17701 2011-10-21 Chong Yidong <cyd@gnu.org>
17702
17703 * progmodes/idlwave.el (idlwave-mode):
17704 * progmodes/vera-mode.el (vera-mode):
17705 Use mode-require-final-newline.
17706
17707 2011-10-20 Glenn Morris <rgm@gnu.org>
17708
17709 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
17710
17711 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
17712
17713 * emulation/cua-base.el (cua-set-mark): Fix case of string.
17714
17715 2011-10-20 Chong Yidong <cyd@gnu.org>
17716
17717 * emulation/cua-base.el (cua-mode):
17718 * mail/footnote.el (footnote-mode):
17719 * mail/mailabbrev.el (mail-abbrevs-mode):
17720 * net/xesam.el (xesam-minor-mode):
17721 * progmodes/bug-reference.el (bug-reference-mode):
17722 * progmodes/cap-words.el (capitalized-words-mode):
17723 * progmodes/compile.el (compilation-minor-mode)
17724 (compilation-shell-minor-mode):
17725 * progmodes/gud.el (gud-tooltip-mode):
17726 * progmodes/hideif.el (hide-ifdef-mode):
17727 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
17728 * progmodes/subword.el (subword-mode):
17729 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
17730 * progmodes/which-func.el (which-function-mode):
17731 * term/tvi970.el (tvi970-set-keypad-mode):
17732 * term/vt100.el (vt100-wide-mode):
17733 * textmodes/flyspell.el (flyspell-mode):
17734 * textmodes/ispell.el (ispell-minor-mode):
17735 * textmodes/nroff-mode.el (nroff-electric-mode):
17736 * textmodes/paragraphs.el (use-hard-newlines):
17737 * textmodes/refill.el (refill-mode):
17738 * textmodes/reftex.el (reftex-mode):
17739 * textmodes/rst.el (rst-minor-mode):
17740 * textmodes/sgml-mode.el (html-autoview-mode)
17741 (sgml-electric-tag-pair-mode):
17742 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
17743 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
17744 * emulation/crisp.el (crisp-mode):
17745 * emacs-lisp/eldoc.el (eldoc-mode):
17746 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
17747 minor mode behavior.
17748
17749 2011-10-19 Juri Linkov <juri@jurta.org>
17750
17751 * descr-text.el (describe-char): Add #x2010 and #x2011 to
17752 the list of hard-coded chars with escape-glyph face.
17753
17754 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
17755
17756 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
17757
17758 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
17759
17760 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
17761 running process.
17762
17763 2011-10-19 Glenn Morris <rgm@gnu.org>
17764
17765 * vc/vc-bzr.el (vc-bzr-after-dir-status):
17766 Ignore ignored files. (Bug#9726)
17767
17768 2011-10-19 Chong Yidong <cyd@gnu.org>
17769
17770 Doc fix for minor modes, stating that an omitted argument enables
17771 the mode unconditionally when called from Lisp.
17772
17773 * abbrev.el (abbrev-mode):
17774 * allout.el (allout-mode):
17775 * autoinsert.el (auto-insert-mode):
17776 * autoarg.el (autoarg-mode, autoarg-kp-mode):
17777 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
17778 (global-auto-revert-mode):
17779 * battery.el (display-battery-mode):
17780 * composite.el (global-auto-composition-mode)
17781 (auto-composition-mode):
17782 * delsel.el (delete-selection-mode):
17783 * desktop.el (desktop-save-mode):
17784 * dired-x.el (dired-omit-mode):
17785 * dirtrack.el (dirtrack-mode):
17786 * doc-view.el (doc-view-minor-mode):
17787 * double.el (double-mode):
17788 * electric.el (electric-indent-mode, electric-pair-mode):
17789 * emacs-lock.el (emacs-lock-mode):
17790 * epa-hook.el (auto-encryption-mode):
17791 * follow.el (follow-mode):
17792 * font-core.el (font-lock-mode):
17793 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
17794 * help.el (temp-buffer-resize-mode):
17795 * hilit-chg.el (highlight-changes-mode)
17796 (highlight-changes-visible-mode):
17797 * hi-lock.el (hi-lock-mode):
17798 * hl-line.el (hl-line-mode, global-hl-line-mode):
17799 * icomplete.el (icomplete-mode):
17800 * ido.el (ido-everywhere):
17801 * image-file.el (auto-image-file-mode):
17802 * image-mode.el (image-minor-mode):
17803 * iswitchb.el (iswitchb-mode):
17804 * jka-cmpr-hook.el (auto-compression-mode):
17805 * linum.el (linum-mode):
17806 * longlines.el (longlines-mode):
17807 * master.el (master-mode):
17808 * mb-depth.el (minibuffer-depth-indicate-mode):
17809 * menu-bar.el (menu-bar-mode):
17810 * minibuf-eldef.el (minibuffer-electric-default-mode):
17811 * mouse-sel.el (mouse-sel-mode):
17812 * msb.el (msb-mode):
17813 * mwheel.el (mouse-wheel-mode):
17814 * outline.el (outline-minor-mode):
17815 * paren.el (show-paren-mode):
17816 * recentf.el (recentf-mode):
17817 * reveal.el (reveal-mode, global-reveal-mode):
17818 * rfn-eshadow.el (file-name-shadow-mode):
17819 * ruler-mode.el (ruler-mode):
17820 * savehist.el (savehist-mode):
17821 * scroll-all.el (scroll-all-mode):
17822 * scroll-bar.el (scroll-bar-mode):
17823 * server.el (server-mode):
17824 * shell.el (shell-dirtrack-mode):
17825 * simple.el (auto-fill-mode, transient-mark-mode)
17826 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
17827 (line-number-mode, column-number-mode, size-indication-mode)
17828 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
17829 * strokes.el (strokes-mode):
17830 * time.el (display-time-mode):
17831 * t-mouse.el (gpm-mouse-mode):
17832 * tool-bar.el (tool-bar-mode):
17833 * tooltip.el (tooltip-mode):
17834 * type-break.el (type-break-mode-line-message-mode)
17835 (type-break-query-mode):
17836 * view.el (view-mode):
17837 * whitespace.el (whitespace-mode, whitespace-newline-mode)
17838 (global-whitespace-mode, global-whitespace-newline-mode):
17839 * xt-mouse.el (xterm-mouse-mode): Doc fix.
17840
17841 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
17842 Fix autogenerated docstring.
17843
17844 2011-10-19 Juri Linkov <juri@jurta.org>
17845
17846 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
17847 by checking environment variables "DESKTOP_SESSION" and
17848 "XDG_CURRENT_DESKTOP". (Bug#9779)
17849
17850 2011-10-19 Juri Linkov <juri@jurta.org>
17851
17852 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
17853 (browse-url-chromium-program, browse-url-chromium-arguments):
17854 New defcustoms.
17855 (browse-url-default-browser): Check for `browse-url-chromium' and
17856 call `browse-url-chromium-program'.
17857 (browse-url-chromium): New command. (Bug#9779)
17858
17859 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
17860
17861 * facemenu.el (list-colors-duplicates): On Windows, detect more
17862 duplicates by assuming that only colors matching "^System" are
17863 special "system colors". (Bug#9722)
17864
17865 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
17866
17867 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
17868 to distinguish the author from the committer.
17869
17870 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
17871
17872 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
17873
17874 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
17875
17876 * international/mule.el (sgml-html-meta-auto-coding-function):
17877 Add support for detecting encoding in HTML5 specified only as
17878 <meta charset="UTF-8">. Implementation just makes http-equiv and
17879 content-type parts from HTML4 encoding string optional. (Bug#9716)
17880
17881 2011-10-18 Glenn Morris <rgm@gnu.org>
17882
17883 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
17884
17885 2011-10-18 Chong Yidong <cyd@gnu.org>
17886
17887 * faces.el (cursor): Doc fix.
17888
17889 2011-10-17 Chong Yidong <cyd@gnu.org>
17890
17891 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
17892
17893 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
17894
17895 * dirtrack.el (dirtrack): Support shell buffers with path
17896 prefixes, e.g. tramp-based remote shells. (Bug#9647)
17897
17898 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
17899
17900 * json.el: Bump version to 1.3 and note change in History.
17901 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
17902
17903 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17904
17905 * comint.el (comint-insert-input, comint-send-input)
17906 (comint-get-old-input-default, comint-backward-matching-input)
17907 (comint-next-prompt): Use nil instead of `input' for field property of
17908 past user input (bug#114).
17909
17910 * minibuffer.el (completion--replace): Inherit surrounding properties
17911 (bug#114).
17912 (minibuffer-complete-and-exit): Use it.
17913
17914 * comint.el (comint--table-subvert): Quote the all-completions output
17915 (bug#9160).
17916
17917 2011-10-17 Martin Rudalics <rudalics@gmx.at>
17918
17919 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
17920
17921 * menu-bar.el (menu-bar-file-menu): Add entry for making new
17922 window on right of selected. (Bug#9350) Reword other window
17923 entries and separate them from frame entries.
17924
17925 2011-10-15 Glenn Morris <rgm@gnu.org>
17926
17927 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
17928 Doc fixes.
17929
17930 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
17931
17932 * net/network-stream.el (network-stream-open-starttls):
17933 Improve detection of failure due to lack of TLS support.
17934
17935 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
17936 putting the input text in front and in bold.
17937
17938 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
17939
17940 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
17941
17942 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
17943 empty buffer.
17944
17945 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
17946 unread-command-events rather than pushing yet-another event.
17947
17948 2011-10-14 Eli Zaretskii <eliz@gnu.org>
17949
17950 * mail/sendmail.el (sendmail-query-once): Improve the wording of
17951 the explanation of the possible choices. Make the options passed
17952 to completing-read shorter.
17953
17954 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
17955
17956 * textmodes/flyspell.el (flyspell-large-region): Make sure
17957 extended character mode is used if defined (Bug#1339).
17958
17959 2011-10-13 Eli Zaretskii <eliz@gnu.org>
17960
17961 * simple.el (what-cursor-position): Fix the display of the
17962 character info for LRE, LRO, RLE, and RLO characters by appending
17963 an invisible PDF.
17964
17965 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
17966
17967 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
17968 even in case of error; add debug spec; simplify data flow.
17969 (with-timeout-handler): Remove.
17970
17971 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
17972
17973 Fix Bug#6019, Bug#9315.
17974
17975 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
17976 complete `buffer-file-name', the local file name part could look
17977 remotely (for example on VMS).
17978
17979 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
17980 `tramp-run-real-handler'.
17981 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
17982 already quoted by '"'.
17983
17984 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
17985 Let `file-name-handler-alist' be nil, the local file name part
17986 could look remotely (for example on VMS).
17987
17988 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
17989
17990 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
17991 from here...
17992 (flyspell-post-command-hook): ...to here.
17993
17994 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
17995
17996 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
17997 if not needed.
17998 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
17999 using completion. Protect against "slow" callers.
18000 Remove the "message hack".
18001
18002 2011-10-11 Juri Linkov <juri@jurta.org>
18003
18004 * isearch.el (isearch-lazy-highlight-word): New variable.
18005 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
18006 Use it. (Bug#9727)
18007
18008 2011-10-11 Glenn Morris <rgm@gnu.org>
18009
18010 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
18011 like f90-previous-statement does.
18012
18013 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18014
18015 * eshell/eshell.el (eshell-command): History should be saved
18016 only in interactive use, to avoid error.
18017
18018 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
18019
18020 * minibuffer.el (completion-file-name-table): Fix last change,
18021 i.e. ignore normal errors but not the other ones.
18022
18023 2011-10-10 Martin Rudalics <rudalics@gmx.at>
18024
18025 * window.el (special-display-buffer-names)
18026 (special-display-regexps): Remove some remnants of earlier
18027 changes from doc-strings.
18028 (quit-windows-on): New function.
18029
18030 * vc/vc.el (vc-revert, vc-rollback):
18031 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
18032 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
18033 (Bug#6183) (Bug#7074) (Bug#7447)
18034
18035 2011-10-09 Martin Rudalics <rudalics@gmx.at>
18036
18037 * window.el (frame-auto-hide-function): Add version tag.
18038 (Bug#9699)
18039
18040 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
18041
18042 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
18043 condition.
18044
18045 2011-10-09 Leo Liu <sdl.web@gmail.com>
18046
18047 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
18048 (Bug#9701)
18049
18050 2011-10-08 Glenn Morris <rgm@gnu.org>
18051
18052 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
18053 before the first code statement zero indent. (Bug#9690)
18054
18055 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
18056
18057 * simple.el (count-words-region): Always count in the region.
18058 Report the number of lines and characters too.
18059 (count-words): New command, which counts in the buffer if the
18060 region is inactive, as count-words-region used to.
18061 (count-words--message): New function. Handle plurals.
18062 (count-lines-region): Make it an alias for count-words-region.
18063
18064 * bindings.el (esc-map): Replace count-lines-region with
18065 count-words-region.
18066
18067 2011-10-08 Martin Rudalics <rudalics@gmx.at>
18068
18069 * window.el (window--delete): Delete dedicated frame
18070 unconditionally when argument KILL is non-nil. (Bug#9699)
18071 (switch-to-buffer): Fix doc-string typo.
18072
18073 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18074
18075 * eshell/eshell.el (eshell-command): Avoid using hooks.
18076
18077 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
18078
18079 * bindings.el ([M-left],[M-right]): Bind to left-word and
18080 right-word respectively.
18081
18082 2011-10-07 Glenn Morris <rgm@gnu.org>
18083
18084 * cus-start.el (debug-on-quit): Fix custom type.
18085
18086 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
18087
18088 * subr.el (define-key-after): Clarify that the function is not
18089 useful for non-menu keymaps.
18090
18091 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
18092
18093 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18094
18095 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
18096 in current minibuffer (Fix bug with recursive minibuffers).
18097
18098 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
18099
18100 * progmodes/gdb-mi.el (gdb): Doc fix.
18101
18102 2011-10-05 Martin Rudalics <rudalics@gmx.at>
18103
18104 * window.el (frame-auto-hide-function): New option replacing
18105 frame-auto-delete. Suggested by Stefan Monnier.
18106 (window--delete): Call frame-auto-hide-function instead of
18107 investigating frame-auto-delete.
18108 (window-point-1, set-window-point-1): New functions.
18109 (window-in-direction, record-window-buffer, window-state-get-1)
18110 (display-buffer-record-window): Use window-point-1 instead of
18111 window-point.
18112 (set-window-buffer-start-and-point): Use set-window-point-1.
18113
18114 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18115
18116 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
18117
18118 2011-10-05 Glenn Morris <rgm@gnu.org>
18119
18120 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
18121 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
18122
18123 2011-10-05 Leo Liu <sdl.web@gmail.com>
18124
18125 * subr.el (read-char-choice): Fix argument to buffer-live-p which
18126 works with buffer object.
18127
18128 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18129
18130 * mpc.el (mpc-tool-bar-map): Add labels.
18131
18132 2011-10-04 Glenn Morris <rgm@gnu.org>
18133
18134 * calendar/holidays.el (calendar-check-holidays): Doc fix.
18135
18136 2011-10-04 Martin Rudalics <rudalics@gmx.at>
18137
18138 * window.el (window--delete): New function.
18139 (frame-auto-delete): Resuscitate option.
18140 (bury-buffer, replace-buffer-in-windows)
18141 (quit-window): Rewrite using window--delete.
18142 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
18143 Pass display-buffer-mark-dedicated to window--display-buffer-2
18144 (Bug#9639).
18145
18146 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
18147
18148 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
18149 returns a list (bug#9554). Add remote file name completion.
18150 * comint.el (comint--table-subvert): Curry and get quote&unquote
18151 functions as arguments.
18152 (comint--complete-file-name-data): Adjust call accordingly.
18153 * pcomplete.el (pcomplete--table-subvert): Remove.
18154 (pcomplete-completions-at-point): Use comint--table-subvert instead.
18155
18156 * minibuffer.el (completion-table-case-fold): Use currying.
18157 (completion--styles-type, completion--cycling-threshold-type):
18158 New constants.
18159 (completion-styles, completion-category-overrides)
18160 (completion-cycle-threshold): Use them.
18161 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
18162 completion-table-case-fold.
18163
18164 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
18165
18166 * minibuffer.el (completion-category-overrides): Fix type of styles
18167 and add more user friendly tags (bug#9660).
18168
18169 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
18170
18171 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
18172 (mule-input-method-string): New widget.
18173 (default-input-method, language-info-custom-alist): Use it.
18174
18175 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
18176
18177 * pcomplete.el: Require comint.
18178 (pcomplete--common-suffix): Remove.
18179 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
18180 (pcomplete--table-subvert): Sync with comint--table-subvert.
18181 (pcomplete--entries): Use comint-completion-file-name-table.
18182 * comint.el (comint-unquote-filename): Simplify.
18183 (comint-completion-file-name-table): New function (bug#9616).
18184 (comint--complete-file-name-data): Use it.
18185
18186 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
18187 (pcmpl-gnu-tar-buffer): Remove.
18188 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
18189 around. Make sure pcomplete-suffix-list is only changed temporarily.
18190 Don't look inside the tar's file if it's too large.
18191
18192 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
18193
18194 * cus-edit.el (custom-mode-map):
18195 * epa.el (epa-key-list-mode-map):
18196 * man.el (Man-mode-map):
18197 * startup.el (splash-screen-keymap):
18198 * simple.el (special-mode-map): Use scroll-up-command and
18199 scroll-down-command.
18200
18201 * progmodes/idlw-help.el (idlwave-help-mode-map):
18202 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
18203 * net/newst-plainview.el (newsticker-mode-map):
18204 * emulation/ws-mode.el (wordstar-mode-map):
18205 * emulation/vi.el (vi-com-map):
18206 * calc/calc-graph.el (calc-graph-show-dumb):
18207 * term/sun.el (terminal-init-sun):
18208 * term/ns-win.el (global-map):
18209 * progmodes/grep.el (grep-mode-map):
18210 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
18211 * mail/rmail.el (rmail-mode-map):
18212 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
18213
18214 * custom.el (custom-safe-themes, load-theme): Treat value of t for
18215 custom-safe-themes as special.
18216
18217 2011-10-01 Julien Danjou <julien@danjou.info>
18218
18219 * notifications.el (notifications-notify): Fix docstring.
18220
18221 2011-10-01 Per Starbäck <per@starback.se>
18222
18223 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
18224
18225 2011-09-30 Martin Rudalics <rudalics@gmx.at>
18226
18227 * startup.el (command-line-1): Fix last fix by inserting
18228 initial-scratch-message into *scratch* before displaying it.
18229 (Bug#9605) and (Bug#9636)
18230
18231 2011-09-29 Eli Zaretskii <eliz@gnu.org>
18232
18233 * simple.el (line-move): If auto-hscroll-mode is disabled and the
18234 window is hscrolled, move by logical lines. (Bug#9607)
18235 (line-move-visual): Update the doc string to the above effect.
18236
18237 2011-09-29 Martin Rudalics <rudalics@gmx.at>
18238
18239 * window.el (display-buffer-record-window): When WINDOW is the
18240 selected window use `point' instead of `window-point'. (Bug#9626)
18241
18242 * startup.el (command-line-1): Use insert-before-markers when
18243 inserting initial-scratch-message. (Bug#9605)
18244
18245 * help.el (help-window): Remove variable.
18246
18247 2011-09-29 Glenn Morris <rgm@gnu.org>
18248
18249 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
18250
18251 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
18252
18253 * descr-text.el (describe-char-categories): Accept category
18254 descriptions more than one line long.
18255
18256 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
18257
18258 * simple.el (delete-trailing-whitespace): Fix last change.
18259
18260 * progmodes/perl-mode.el (perl-syntax-propertize-function):
18261 Don't confuse "y => 3" as the beginning of a `y' operation.
18262
18263 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
18264 object has more than 4 slots (bug#9613).
18265
18266 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
18267
18268 * subr.el (with-output-to-temp-buffer):
18269 * net/quickurl.el (quickurl, quickurl-browse-url):
18270 Fix typos in docstrings.
18271
18272 2011-09-27 Eli Zaretskii <eliz@gnu.org>
18273
18274 * minibuffer.el (completion-styles)
18275 (completion-category-overrides): Cross reference each other in doc
18276 strings.
18277
18278 2011-09-27 Glenn Morris <rgm@gnu.org>
18279
18280 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
18281 to split-string. (Bug#9606)
18282
18283 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
18284
18285 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
18286 (bug#9615).
18287
18288 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
18289
18290 * emacs-lisp/package.el (list-packages): Fix echo area message.
18291
18292 2011-09-27 Leo Liu <sdl.web@gmail.com>
18293
18294 * ido.el (ido-read-internal): Accept cons cell HIST arg.
18295
18296 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
18297
18298 * net/dbus.el (dbus-unregister-object): Don't release services for
18299 registered signals. (Bug#9581)
18300
18301 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
18302
18303 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
18304 function that picks between cfengine 2 and 3 support
18305 automatically. Update docs accordingly.
18306
18307 2011-09-22 Kenichi Handa <handa@m17n.org>
18308
18309 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
18310 ZERO.
18311 (indian-itrans-v5-table-for-tamil): New variable.
18312 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
18313
18314 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
18315
18316 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
18317 that's true if the current command involved collapsing of text.
18318 It's reset to false at the beginning of the next command.
18319 (allout-post-command-business): Move the cursor to the beginning
18320 of entry if the cursor is hidden and collapsing activity just
18321 happened.
18322
18323 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
18324
18325 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
18326 tracking (Bug#9541).
18327
18328 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
18329
18330 * net/newst-reader.el (newsticker-html-renderer)
18331 (newsticker-show-news): Automatically load html rendering package
18332 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
18333 because w3m-fill-column is let-bound" and the error "Symbol's value
18334 as variable is void: w3m-fill-column".
18335
18336 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
18337
18338 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
18339 Release services only if they are defined. (Bug#9581)
18340
18341 2011-09-23 Richard Stallman <rms@gnu.org>
18342
18343 * textmodes/paragraphs.el (forward-sentence): For backwards case,
18344 distinguish start of paragraph from start of its text.
18345
18346 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
18347
18348 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
18349 (rmail-generate-viewer-buffer): Put that hook on view buffer.
18350 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
18351
18352 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
18353
18354 * international/mule-diag.el (mule-diag): Insert a newline after
18355 each fontset description.
18356
18357 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18358
18359 * simple.el (delete-trailing-whitespace):
18360 Document last change; simplify.
18361
18362 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
18363
18364 * simple.el (delete-trailing-whitespace): Also delete
18365 extra newlines at the end of the buffer.
18366
18367 * textmodes/picture.el: Make motion commands obey shift-select-mode.
18368 (picture-newline): Use forward-line so as to ignore fields.
18369
18370 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18371
18372 * subr.el (with-wrapper-hook): Fix edebug spec.
18373
18374 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
18375
18376 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
18377 (bug#4538).
18378
18379 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
18380
18381 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
18382 Fix nasty bug using wrong cached values.
18383
18384 2011-09-23 Alan Mackenzie <acm@muc.de>
18385
18386 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
18387
18388 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
18389
18390 * window.el (pop-to-buffer): Ensure right window is selected if we
18391 chose another frame.
18392
18393 2011-09-22 Eli Zaretskii <eliz@gnu.org>
18394
18395 * simple.el (what-cursor-position): Use get-char-property-change
18396 and next-single-char-property-change, to be able to show display
18397 properties that come from overlays as well as text properties.
18398
18399 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
18400
18401 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
18402
18403 * cmuscheme.el (run-scheme, switch-to-scheme):
18404 * cus-edit.el (customize-group, custom-buffer-create)
18405 (customize-browse):
18406 * info.el (info):
18407 * shell.el (shell):
18408 * mail/sendmail.el (mail):
18409 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
18410
18411 2011-09-22 Richard Stallman <rms@gnu.org>
18412
18413 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
18414 move back only to line beg, don't move back over blank lines.
18415
18416 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
18417
18418 * files.el (copy-directory): Set directory attributes only in case
18419 they could be retrieved from the source directory. (Bug#9565)
18420
18421 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
18422
18423 * progmodes/hideshow.el (hs-looking-at-block-start-p)
18424 (hs-find-block-beginning, hs-hide-level-recursive):
18425 Ignore strings as well as comments. (Bug#9502)
18426
18427 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
18428
18429 * progmodes/sql.el (sql-comint-postgres):
18430 Convert port number to a string. (Bug#9566)
18431
18432 2011-09-22 Martin Rudalics <rudalics@gmx.at>
18433
18434 * window.el (quit-window): Undedicate window when switching to
18435 previous buffer. Reported by Thierry Volpiatto
18436 <thierry.volpiatto@gmail.com>.
18437 (special-display-popup-frame): When popping up a new frame reset
18438 its previous buffers to nil. Simplify code.
18439
18440 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
18441
18442 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
18443 and process filter, as done also in `shell-command'.
18444
18445 2011-09-21 Martin Rudalics <rudalics@gmx.at>
18446
18447 * window.el (set-window-buffer-start-and-point):
18448 Call set-window-start with NOFORCE argument t.
18449 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
18450 (quit-window): Reword doc-string. Handle new format of
18451 quit-restore parameter. Don't delete window if it has a
18452 previous buffer we can show instead of the present one.
18453 (display-buffer-record-window): Rewrite using a new format for
18454 the quit-restore window parameter
18455 (special-display-popup-frame, display-buffer-same-window)
18456 (display-buffer-reuse-window, display-buffer-pop-up-frame)
18457 (display-buffer-pop-up-window, display-buffer-use-some-window):
18458 Adapt symbol passed to display-buffer-record-window.
18459 * help.el (help-window-setup): Handle new format of quit-restore
18460 parameter.
18461
18462 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
18463
18464 * faces.el (face-list): Fix docstring (bug#9564).
18465
18466 * window.el (display-buffer--action-function-custom-type):
18467 Don't include internal functions in the Custom interface.
18468
18469 2011-09-20 Juri Linkov <juri@jurta.org>
18470
18471 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
18472 (Info-forward-node, Info-backward-node, Info-next-preorder)
18473 (Info-last-preorder): Use it. (Bug#9528)
18474
18475 2011-09-20 Juri Linkov <juri@jurta.org>
18476
18477 * info.el (Info-last-preorder): Visit last menu item only when
18478 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
18479
18480 2011-09-20 Julien Danjou <julien@danjou.info>
18481
18482 * password-cache.el (password-cache-remove): Remove entries even if the
18483 value is nil, so that password with a nil value (negative caching) is
18484 possible to invalidate.
18485
18486 2011-09-20 Lawrence Mitchell <wence@gmx.li>
18487
18488 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
18489 all whitespace around breakpoint. (Bug#9553)
18490 (f90-find-breakpoint): Only break at whitespace inside a comment.
18491
18492 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
18493
18494 * minibuffer.el (completion-file-name-table): Keep track of errors.
18495 (completion-table-with-predicate): Handle the case where pred1 is nil.
18496 * pcomplete.el (pcomplete-completions-at-point): Simplify.
18497
18498 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
18499
18500 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
18501 (debugger-return-value): Signal an error if the debugging context does
18502 not await any return value.
18503
18504 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
18505 * image-mode.el (image-toggle-display-text)
18506 (image-toggle-display-image): Stay away from evil `intangible'.
18507
18508 2011-09-19 Leo Liu <sdl.web@gmail.com>
18509
18510 * replace.el (occur-revert-arguments): Make it permanent-local.
18511 (occur-mode): Don't call font-lock-defontify.
18512
18513 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
18514
18515 * net/ldap.el (ldap-search-internal): Don't push empty search
18516 result (Bug#9508).
18517
18518 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
18519
18520 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
18521
18522 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
18523
18524 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
18525 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
18526
18527 2011-09-18 Juri Linkov <juri@jurta.org>
18528
18529 * buff-menu.el (Buffer-menu-mode-map):
18530 * dired.el (dired-mode-map):
18531 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
18532 (lisp-interaction-mode-map):
18533 * emacs-lisp/package.el (package-menu-mode-map):
18534 * epa.el (epa-key-list-mode-map):
18535 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
18536 (menu-bar-options-menu):
18537 * outline.el (outline-mode-menu-bar-map):
18538 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
18539 * vc/vc-dir.el (vc-dir-menu-map):
18540 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
18541 Capitalize non-function content words in menu item strings.
18542
18543 * dired.el (dired-mode-map): Add menu item for
18544 `image-dired-dired-toggle-marked-thumbs'.
18545
18546 2011-09-18 Juri Linkov <juri@jurta.org>
18547
18548 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
18549 to `isearch-case-fold-search' and restore its original value
18550 after the `isearch-mode' call.
18551
18552 2011-09-18 Juri Linkov <juri@jurta.org>
18553
18554 * progmodes/grep.el (grep-process-setup): Don't check code for 1
18555 because `zgrep' returns 1 for successful matches (bug#9226).
18556
18557 2011-09-18 Juri Linkov <juri@jurta.org>
18558
18559 * info.el (Info-extract-menu-node-name): Check the second match
18560 for empty string (second test-case of bug#9528).
18561 (Info-last-preorder): Let-bind `Info-history' to nil to not add
18562 intermediate nodes to the history (first test-case of bug#9528).
18563
18564 2011-09-18 Juri Linkov <juri@jurta.org>
18565
18566 * info.el (Info-mode-syntax-table): New variable.
18567 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
18568
18569 2011-09-18 Juri Linkov <juri@jurta.org>
18570
18571 * info.el (Info-file-supports-index-cookies):
18572 Increment line-beginning-position's arg from 3 to 4 because makeinfo
18573 outputs one more line for long file names (bug#4142).
18574
18575 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
18576
18577 * newcomment.el (comment-normalize-vars): If prompting for
18578 comment-start, set comment-start-skip too (Bug#8424).
18579
18580 2011-09-18 Johan Bockgård <bojohan@gnu.org>
18581
18582 * icomplete.el: Fix previous fix of Bug#5849.
18583 (icomplete-mode): Don't set completion-show-inline-help.
18584 (icomplete-minibuffer-setup): Set completion-show-inline-help
18585 locally during icompletion.
18586
18587 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
18588
18589 * woman.el (woman2-process-escapes): Don't delete unrecognized
18590 escapes (Bug#7843).
18591
18592 * files.el (inhibit-first-line-modes-regexps): Add image files.
18593 (hack-local-variables-prop-line): Return nil for malformed
18594 prop-lines (Bug#9044).
18595
18596 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
18597
18598 * net/tramp.el (top): Don't require 'shell.
18599 (tramp-methods): Fix docstring.
18600 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
18601 Return complete remote file name. Handle "smb" case.
18602 Use `tramp-tmpdir', if defined for the respective method.
18603 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
18604
18605 * net/tramp-compat.el (top): Require 'shell.
18606
18607 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
18608 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
18609 `tramp-current-host'.
18610 (tramp-get-remote-tmpdir): Remove.
18611
18612 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
18613 `tramp-tmpdir' entries.
18614 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
18615 (tramp-smb-handle-file-attributes): Ignore errors.
18616 (tramp-smb-wait-for-output): Check also for process end.
18617
18618 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
18619
18620 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
18621 when sending QUIT (bug#9312).
18622
18623 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
18624
18625 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
18626 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
18627 occur-mode-display-occurrence.
18628 (occur-edit-mode): Add usage message.
18629 (occur-cease-edit): New command.
18630 (occur-after-change-function): Use text properties to find the
18631 position of the prefix text.
18632 (occur-engine): Set stickiness of prefix text properties.
18633
18634 2011-09-17 Glenn Morris <rgm@gnu.org>
18635
18636 * progmodes/etags.el (complete-tag):
18637 Fix call to completion-in-region. (Bug#9526)
18638
18639 2011-09-17 Juri Linkov <juri@jurta.org>
18640
18641 * textmodes/ispell.el (ispell-word): Add to the error message
18642 the word, ispell program name and current dictionary (bug#9121).
18643 (ispell-tex-arg-end): Capitalize "error" in the error message.
18644
18645 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
18646
18647 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
18648 check. (Bug#4251)
18649
18650 2011-09-17 Juri Linkov <juri@jurta.org>
18651
18652 * window.el (window-safe-min-height, window-safe-min-width):
18653 Fix typos (followup to bug#9522).
18654
18655 2011-09-17 Sven Joachim <svenjoac@gmx.de>
18656
18657 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
18658
18659 2011-09-16 Eli Zaretskii <eliz@gnu.org>
18660
18661 * simple.el (line-move): If goal-column is set, move by logical
18662 lines, not by display lines. (Bug#971)
18663 (next-line, previous-line, goal-column, line-move-visual): Doc fix
18664 to reflect the above change.
18665
18666 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
18667
18668 * image.el (imagemagick-register-types): Use regexp-opt.
18669
18670 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
18671
18672 * window.el (display-buffer-base-action): Rename from
18673 display-buffer-default-action. Make default value empty.
18674 (display-buffer-overriding-action): Convert to defvar.
18675 (display-buffer-fallback-action): New var.
18676
18677 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
18678
18679 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
18680 declaration.
18681 (package--add-to-archive-contents): If there is a duplicate entry
18682 with an older version, remove it.
18683 (package-menu-mark-delete, package-menu-mark-install)
18684 (package-menu-mark-unmark): Make unused args optional.
18685 (package-menu-mark-obsolete-for-deletion):
18686 Use package-menu-get-status instead of a regexp search.
18687 (package-menu-get-status): Use tabulated-list-entry.
18688 (package-menu-mark-upgrades): New command.
18689 (package-menu-mode-map): Bind it to U. Add it to menu bar.
18690 (package-menu-execute): Do installation before deletion.
18691 (package-menu-refresh, package-menu-execute): Use derived-mode-p
18692 instead of checking major-mode.
18693 (package-menu--find-upgrades): New function.
18694
18695 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
18696
18697 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
18698 passwords in the log buffer.
18699 (smtpmail-process-filter): Update the process marker so that the
18700 "broken by peer" status message is inserted in the right place.
18701
18702 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
18703
18704 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
18705 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
18706 bibtex-completion-at-point-function.
18707 (bibtex-completion-at-point-function): Use them.
18708
18709 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
18710
18711 * mpc.el (mpc-constraints-tag-lookup): New function.
18712 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
18713 also to browser "album|playlist".
18714
18715 2011-09-14 Juri Linkov <juri@jurta.org>
18716
18717 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
18718 (isearch-edit-string): Use length of `isearch-string' when
18719 `isearch-fail-pos' returns nil.
18720 (isearch-message): Remove duplicate code and call
18721 `isearch-fail-pos' with arg `t'.
18722
18723 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
18724
18725 * replace.el (occur-mode-goto-occurrence): Don't force using other
18726 window (Bug#9499).
18727
18728 * dired-aux.el (dired-do-chmod): Don't provide initial input.
18729
18730 2011-09-14 Martin Rudalics <rudalics@gmx.at>
18731
18732 * window.el (display-buffer-window): Remove.
18733 (display-buffer-record-window): Use help-setup window parameter
18734 instead of variable display-buffer-window.
18735 (display-buffer-function, special-display-buffer-names)
18736 (special-display-function): Mention help-setup parameter instead
18737 of display-buffer-window in doc-string.
18738 * help.el (help-window-setup): New argument help-window.
18739 Use help-window-setup parameter instead of display-buffer-window.
18740 Reword some messages.
18741 (with-help-window): Pass window used for displaying the buffer
18742 to help-window-setup. Don't set display-buffer-window.
18743
18744 2011-09-13 Glenn Morris <rgm@gnu.org>
18745
18746 * emacs-lisp/debug.el (debugger-make-xrefs):
18747 Preserve point. (Bug#9462)
18748
18749 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
18750
18751 * window.el (window-deletable-p): Use next-frame.
18752
18753 2011-09-13 Martin Rudalics <rudalics@gmx.at>
18754
18755 * window.el (window-auto-delete): Remove.
18756 (window-deletable-p): Remove argument FORCE. Don't deal with
18757 dedication and previous buffers.
18758 (switch-to-prev-buffer): Don't delete window.
18759 (delete-windows-on): Delete a window's frame if and only if the
18760 window is dedicated.
18761 (replace-buffer-in-windows): Delete buffer's window or frame if
18762 and only if window is dedicated.
18763 (quit-window): Handle quit-restore as before last change.
18764 (bury-buffer): Delete window only if window-deletable-p returns t.
18765
18766 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
18767
18768 * window.el (window-deletable-p): Never delete the last frame on a
18769 given terminal.
18770
18771 2011-09-13 Glenn Morris <rgm@gnu.org>
18772
18773 * help.el (describe-key-briefly): Copy previous standard-output change.
18774
18775 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
18776
18777 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
18778
18779 2011-09-13 Glenn Morris <rgm@gnu.org>
18780
18781 * emacs-lisp/lisp-mode.el (lisp-indent-function):
18782 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
18783
18784 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
18785
18786 * dired-aux.el (dired-mark-read-string): Don't return default
18787 value on empty input (Bug#9361).
18788 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
18789 Omit initial minibuffer contents.
18790 (dired-do-chmod): Signal an error on empty input.
18791 (dired-mark-read-string): Don't return default on empty input.
18792
18793 * files.el (file-modes-symbolic-to-number): Doc fix.
18794
18795 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18796
18797 * international/mule-cmds.el (ucs-completions): Remove.
18798 (read-char-by-name): Use complete-with-action instead; add metadata.
18799
18800 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
18801
18802 * window.el (display-buffer--action-function-custom-type)
18803 (display-buffer--action-custom-type): New vars.
18804 (display-buffer-alist, display-buffer-default-action)
18805 (display-buffer-overriding-action): Add defcustom types.
18806
18807 * frame.el (delete-other-frames): Doc fix (Bug#276).
18808
18809 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18810
18811 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
18812
18813 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
18814
18815 Change modes that used same-window-* vars to use switch-to-buffer.
18816
18817 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
18818 Use switch-to-buffer.
18819
18820 * cus-edit.el (customize-group, custom-buffer-create)
18821 (customize-browse, custom-buffer-create-other-window):
18822 Use switch-to-buffer or switch-to-buffer-other-window.
18823
18824 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
18825 (Info-prev, Info-up, Info-speedbar-goto-node)
18826 (info-display-manual): Use switch-to-buffer.
18827 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
18828
18829 * mail/sendmail.el (mail): Use switch-to-buffer.
18830 (mail-recover): Use switch-to-buffer-other-window.
18831
18832 * cmuscheme.el (run-scheme, switch-to-scheme):
18833 * ielm.el (ielm):
18834 * shell.el (shell):
18835 * net/rlogin.el (rlogin):
18836 * net/telnet.el (telnet, rsh):
18837 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
18838
18839 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
18840
18841 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
18842
18843 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18844
18845 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
18846 so don't mention it (bug#9301).
18847 (dired-sort-toggle-or-edit): Clarify string further.
18848
18849 * faces.el (face-spec-set-match-display): Make `(type graphic)'
18850 match `x', `w32' and `ns', like the manual says (bug#9029).
18851
18852 * subr.el (eval-after-load): Doc string clarification (bug#9125).
18853 (process-kill-buffer-query-function): Mention the buffer name in
18854 the query.
18855
18856 * image-mode.el (image-next-line): The line parameter is mandatory
18857 (bug#9258).
18858
18859 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
18860 which can be useful (bug#9301).
18861
18862 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
18863
18864 * subr.el (match-string): Mention that the current buffer should
18865 be the same as the search was done in (bug#9282).
18866
18867 * facemenu.el: Disable the remove-* commands if the mark isn't
18868 active (bug#9162).
18869
18870 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
18871
18872 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
18873 of display-buffer.
18874 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
18875
18876 * replace.el (occur-mode-goto-occurrence)
18877 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
18878 and display-buffer.
18879
18880 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
18881 display-buffer.
18882
18883 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
18884 special-display and same-window variables.
18885 (mail-other-window): Use switch-to-buffer-other-window.
18886 (mail-other-frame): USe switch-to-buffer-other-frame.
18887
18888 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
18889 Use display-buffer-other-frame.
18890 (gdb-display-gdb-buffer): Use pop-to-buffer.
18891
18892 * progmodes/gud.el (gud-goto-info): Use info-other-window.
18893
18894 * progmodes/python.el: Don't set same-window-buffer-names.
18895
18896 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
18897
18898 * window.el (display-buffer-alist): Add *Python*.
18899
18900 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
18901
18902 * window.el (display-buffer-alist): Add entry for buffers
18903 previously handled same-window-*.
18904 (display-buffer-alist, display-buffer-default-action)
18905 (display-buffer-overriding-action): Mark as risky.
18906 (display-buffer-alist): Document action function changes.
18907 (display-buffer--same-window-action)
18908 (display-buffer--other-frame-action): New variables.
18909 (switch-to-buffer, display-buffer-other-frame): Use them.
18910 (display-buffer): Rename reuse-frame entry to reusable-frames.
18911 (display-buffer-reuse-selected-window): Function deleted.
18912 (display-buffer-reuse-window): Handle reusable-frames alist entry.
18913 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
18914 (display-buffer-special): New function.
18915 (display-buffer--maybe-pop-up-frame-or-window): Rename from
18916 display-buffer-reuse-or-pop-window. Split off special-display
18917 part into display-buffer-special.
18918 (display-buffer-use-some-window): Don't perform any special
18919 pop-up-frames handling.
18920 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
18921 (display-buffer--maybe-same-window): Rename from
18922 display-buffer-maybe-same-window.
18923
18924 * info.el: Don't set same-window-regexps.
18925 (info-setup): New function.
18926 (info-other-window, info): Call it.
18927
18928 * cus-edit.el: Don't set same-window-regexps.
18929 (customize-group): New argument.
18930 (customize-group-other-window): Use it.
18931 (customize-face, customize-face-other-window): Likewise.
18932 (custom-buffer-create-other-window): Use pop-to-buffer directly.
18933
18934 * net/rlogin.el:
18935 * net/telnet.el:
18936 * progmodes/gud.el: Don't set same-window-regexps.
18937
18938 * cmuscheme.el:
18939 * ielm.el:
18940 * shell.el:
18941 * mail/sendmail.el:
18942 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
18943
18944 2011-09-10 Juri Linkov <juri@jurta.org>
18945
18946 * isearch.el (isearch-edit-string): Remove obsolete mention of
18947 `C-w' (`isearch-yank-word-or-char') from docstring.
18948 (isearch-query-replace): Fix typo in docstring (bug#9466).
18949
18950 2011-09-10 Juri Linkov <juri@jurta.org>
18951
18952 * paren.el (show-paren-function): Don't show escaped parens.
18953 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
18954
18955 2011-09-10 Eli Zaretskii <eliz@gnu.org>
18956
18957 * mail/sendmail.el (mml-to-mime, mml-attach-file)
18958 (mm-default-file-encoding): Remove autoload forms, they are
18959 replaced with autoload cookies in mml.el and mm-encode.el.
18960 (mail-add-attachment): New command.
18961 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
18962 (mail-mode): Mention mail-insert-file and mail-add-attachment in
18963 the doc string.
18964 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
18965
18966 2011-09-10 Reuben Thomas <rrt@sc3d.org>
18967
18968 * simple.el (count-words-region): Use buffer if there's no region
18969 (bug#9429).
18970
18971 2011-09-09 Juri Linkov <juri@jurta.org>
18972
18973 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
18974 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
18975 (wdired-isearch-filter-read-only): New function. (Bug#6362)
18976
18977 2011-09-09 Alan Mackenzie <acm@muc.de>
18978
18979 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
18980 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
18981
18982 2011-09-09 Eli Zaretskii <eliz@gnu.org>
18983
18984 Fix for Savannah bug#9392.
18985 * simple.el (mail-encode-mml): New defvar.
18986
18987 * mail/rmail.el (mail-encode-mml): Add a defvar.
18988 (rmail-enable-mime-composing): Default to t.
18989 (rmail-forward): Use MIME method of forwarding only if both
18990 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
18991 Set mail-encode-mml non-nil if the MIME method was used.
18992
18993 * mail/sendmail.el (mml-to-mime): Add autoload form.
18994 (mail-encode-mml): Add a defvar.
18995 (mail-mode): Make mail-encode-mml buffer-local and initialize it
18996 to nil.
18997 (mail-send): If mail-encode-mml is non-nil, run the outgoing
18998 message through mml-to-mime, and reset mail-encode-mml to nil.
18999
19000 2011-09-09 Glenn Morris <rgm@gnu.org>
19001
19002 * woman.el (woman-if-body): When processing an .el block,
19003 do not delete the next .el block as well. (Bug#9447)
19004 (woman-special-characters): Add oq, cq, and hy characters.
19005
19006 2011-09-08 Martin Rudalics <rudalics@gmx.at>
19007
19008 * window.el (window-deletable-p): Make sure window is live before
19009 invoking window-prev-buffers.
19010
19011 2011-09-08 Leo Liu <sdl.web@gmail.com>
19012
19013 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
19014
19015 2011-09-08 Juri Linkov <juri@jurta.org>
19016
19017 * progmodes/compile.el (compilation-environment): Make it
19018 a defcustom (bug#8340).
19019
19020 2011-09-08 Martin Rudalics <rudalics@gmx.at>
19021
19022 * window.el (frame-auto-delete): Rename to window-auto-delete.
19023 Make it control auto-deletion of windows and/or frames.
19024 (window-deletable-p): New argument FORCE. Rewrite conditions
19025 for deleting window/frame. (Bug#9419)
19026 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
19027 Rewrite handling of case when window/frame can be deleted.
19028 (delete-windows-on): Call window-deletable-p with new FORCE
19029 argument t. (Bug#9456)
19030
19031 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
19032
19033 * help-mode.el (help-mode): Restore autoload.
19034
19035 2011-09-07 Juri Linkov <juri@jurta.org>
19036
19037 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
19038 `compilation-environment'. Set buffer-local
19039 `compilation-environment' to `thisenv' later after (funcall mode).
19040 (Bug#8340)
19041
19042 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
19043 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
19044 instead of replacing its value. (Bug#8340)
19045
19046 2011-09-07 Juri Linkov <juri@jurta.org>
19047
19048 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
19049 based on text properties put by `grep-filter' instead of matching
19050 escape sequences.
19051 (grep-mode): Set buffer-local `compilation-error-screen-columns'
19052 to the value of `grep-error-screen-columns' (bug#9438).
19053
19054 2011-09-07 Juri Linkov <juri@jurta.org>
19055
19056 * simple.el (next-error-highlight, next-error-highlight-no-select):
19057 Doc fix (bug#9432).
19058
19059 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
19060
19061 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
19062 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
19063
19064 2011-09-07 Leo Liu <sdl.web@gmail.com>
19065
19066 * net/rcirc.el (rcirc-mode): Conditionally initialize
19067 rcirc-input-ring.
19068
19069 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
19070
19071 * emacs-lisp/find-func.el (find-function-C-source): Only set
19072 find-function-C-source-directory after checking that we found a source
19073 file there (bug#9440).
19074
19075 2011-09-06 Alan Mackenzie <acm@muc.de>
19076
19077 * isearch.el (isearch-other-meta-char): Wherever a key list is
19078 unread, "unread" the prefix arg, too. This fixes bug #8901.
19079
19080 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
19081
19082 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
19083
19084 2011-09-05 Juri Linkov <juri@jurta.org>
19085
19086 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
19087
19088 2011-09-05 Juri Linkov <juri@jurta.org>
19089
19090 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
19091 keeping point where processing of grep matches begins, and
19092 continue to delete remaining escape sequences from the same point.
19093 (grep-filter): Make leading zero optional in "0?1;31m" because
19094 git-grep emits "\033[1;31m" escape sequences unlike expected
19095 "\033[01;31m" as GNU Grep does (bug#9408).
19096 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
19097
19098 2011-09-05 Juri Linkov <juri@jurta.org>
19099
19100 * subr.el (y-or-n-p): Capitalize "yes".
19101
19102 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
19103
19104 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
19105 `tramp-cache-unload-hook' where appropriate.
19106 (tramp-methods): Rename `tramp-remote-sh' to
19107 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
19108 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
19109
19110 * net/tramp-sh.el (top): Don't require 'shell.
19111 (tramp-methods): Add `tramp-remote-shell' and
19112 `tramp-remote-shell-args' entries.
19113 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
19114 (tramp-sh-handle-shell-command): Remove.
19115 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
19116 Use `tramp-remote-shell'.
19117
19118 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
19119
19120 * mail/sendmail.el (sendmail-query-once-function): Delete.
19121 (sendmail-query-once): Save directly to send-mail-function.
19122 Update message-send-mail-function too.
19123
19124 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
19125
19126 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
19127
19128 * progmodes/python.el (python-mode-map): Use correct function to
19129 start python interpreter from menu-bar (as reported by Geert
19130 Kloosterman).
19131 (inferior-python-mode-map): Fix typo.
19132 (python-shell-map): Remove.
19133
19134 2011-09-03 Deniz Dogan <deniz@dogan.se>
19135
19136 * net/rcirc.el (rcirc-print): Simplify code for
19137 rcirc-scroll-show-maximum-output. There is no need to walk
19138 through all windows to find the right one.
19139
19140 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
19141
19142 * help.el (help-return-method): Doc fix.
19143
19144 2011-09-03 Martin Rudalics <rudalics@gmx.at>
19145
19146 * window.el (window-deletable-p): Don't return a non-nil value
19147 when there's a buffer that was shown in the window before.
19148 (Bug#9419)
19149 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
19150 Set window's previous buffers to nil.
19151
19152 2011-09-03 Eli Zaretskii <eliz@gnu.org>
19153
19154 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
19155 newline before and after the tag line, so it doesn't interfere
19156 with determining the paragraph direction of bidirectional text.
19157
19158 2011-09-03 Leo Liu <sdl.web@gmail.com>
19159
19160 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
19161
19162 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
19163
19164 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
19165 (pop-to-buffer): Change interactive spec. Pass second argument
19166 directly to display-buffer.
19167 (display-buffer): Fix interactive spec. Use functionp to
19168 distinguish between a function and a list of functions.
19169
19170 * abbrev.el (edit-abbrevs):
19171 * arc-mode.el (archive-extract):
19172 * autoinsert.el (auto-insert):
19173 * bookmark.el (bookmark-bmenu-list):
19174 * files.el (find-file):
19175 * view.el (view-buffer):
19176 * progmodes/compile.el (compilation-goto-locus):
19177 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
19178
19179 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
19180
19181 * window.el (display-buffer-alist): Doc fix.
19182 (display-buffer): Add docstring. Don't treat
19183 display-buffer-default specially.
19184 (display-buffer-reuse-selected-window)
19185 (display-buffer-same-window, display-buffer-maybe-same-window)
19186 (display-buffer-reuse-window, display-buffer-pop-up-frame)
19187 (display-buffer-pop-up-window)
19188 (display-buffer-reuse-or-pop-window)
19189 (display-buffer-use-some-window): New functions.
19190 (display-buffer-default-action): Use them.
19191 (display-buffer-default): Delete.
19192 (pop-to-buffer-1): Fix choice of actions.
19193
19194 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
19195
19196 * minibuffer.el (completion--insert-strings): Don't get confused by
19197 completion entries that end with an LF char.
19198
19199 2011-09-01 Eli Zaretskii <eliz@gnu.org>
19200
19201 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
19202
19203 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
19204
19205 * window.el (display-buffer): Restore interactive spec.
19206 (display-buffer-same-window, display-buffer-other-window):
19207 New functions.
19208 (pop-to-buffer-1): New function. Use the above.
19209 (pop-to-buffer, pop-to-buffer-same-window): Use it.
19210 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
19211
19212 * view.el (view-buffer-other-window, view-buffer-other-frame):
19213 Just use pop-to-buffer.
19214
19215 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19216
19217 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
19218
19219 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
19220
19221 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
19222
19223 2011-08-31 Richard Stallman <rms@gnu.org>
19224
19225 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
19226 of the separation of rmail-view-buffer from rmail-buffer.
19227 If you say no to "replace original", the decrypt is in the
19228 view buffer. If you say yes, the decrypt goes into the
19229 rmail buffer also.
19230
19231 2011-08-31 Martin Rudalics <rudalics@gmx.at>
19232
19233 * window.el (display-buffer-window): Rewrite doc-string.
19234 (display-buffer-record-window): New function.
19235 (display-buffer-macro-specifiers)
19236 (display-buffer-even-window-sizes, display-buffer-set-height)
19237 (display-buffer-set-width, display-buffer-in-window)
19238 (display-buffer-reuse-window, display-buffer-split-specifiers)
19239 (display-buffer-side-specifiers, display-buffer-split-window-1)
19240 (display-buffer-split-window, display-buffer-split-atom-window)
19241 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
19242 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
19243 (display-buffer-other-window-means-other-frame)
19244 (display-buffer-normalize-special)
19245 (display-buffer-normalize-default)
19246 (display-buffer-normalize-argument)
19247 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
19248 (display-buffer-normalize-specifiers, display-buffer-frame)
19249 (display-buffer-same-window, display-buffer-same-frame)
19250 (display-buffer-other-window)
19251 (display-buffer-same-frame-other-window)
19252 (display-buffer-other-frame, pop-to-buffer-same-window)
19253 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
19254 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
19255 (switch-to-buffer-same-frame)
19256 (switch-to-buffer-other-window-same-frame)
19257 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
19258 (display-buffer-alist-set-1, display-buffer-alist-set-2)
19259 (display-buffer-alist-set): Remove.
19260 (display-buffer-function, special-display-buffer-names)
19261 (special-display-regexps, special-display-function):
19262 In doc-string refer to display-buffer-window and quit-restore
19263 parameter.
19264 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
19265 (special-display-frame-alist, special-display-popup-frame)
19266 (same-window-buffer-names, same-window-regexps, same-window-p)
19267 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
19268 (split-window-preferred-function, split-height-threshold)
19269 (split-width-threshold, window-splittable-p)
19270 (split-window-sensibly, window--try-to-split-window)
19271 (window--frame-usable-p, even-window-heights)
19272 (window--even-window-heights, window--display-buffer-1)
19273 (window--display-buffer-2, display-buffer-other-frame):
19274 Restore old Emacs 23 code, order and doc-strings where applicable.
19275 (display-buffer-default, display-buffer-assq-regexp): New functions.
19276 (display-buffer-alist): Rewrite doc-string.
19277 (display-buffer-default-action)
19278 (display-buffer-overriding-action): New variables.
19279 (display-buffer, switch-to-buffer): Rewrite.
19280 (pop-to-buffer): Restore Emacs 23 behavior but use
19281 window-normalize-buffer-to-display.
19282 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
19283 Restore Emacs 23 behavior but use
19284 window-normalize-buffer-to-switch-to.
19285 (pop-to-buffer-same-window): Rewrite.
19286 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
19287 Rewrite using Emacs 23 options.
19288
19289 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
19290
19291 * net/tramp.el (tramp-root-regexp): Remove.
19292 (tramp-completion-file-name-regexp-unified)
19293 (tramp-completion-file-name-regexp-separate)
19294 (tramp-completion-file-name-regexp-url): Don't use leading volume
19295 letter on w32 systems. (Bug#5303, Bug#9311)
19296 (tramp-drop-volume-letter): Simplify definition.
19297 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
19298
19299 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
19300
19301 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
19302 (bug#9356).
19303
19304 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
19305
19306 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
19307
19308 2011-08-29 Juri Linkov <juri@jurta.org>
19309
19310 * isearch.el (isearch-done): Don't display message "Mark saved"
19311 when arg `edit' is non-nil to prevent its flicker in the echo area.
19312
19313 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
19314
19315 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
19316 obsolete packages for deletion.
19317
19318 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
19319
19320 * help-mode.el (help-mode-map): Add special-mode-map to parent.
19321 (help-mode): Derive help-mode from special-mode. Don't invoke
19322 view-mode from help-mode.
19323 (help-xref-override-view-map): Remove.
19324 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
19325 view-mode is not used anymore.
19326
19327 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
19328
19329 * server.el (server-port): Doc fix.
19330
19331 * cus-theme.el (custom-theme-choose-mode): Inherit from
19332 special-mode (Bug#9124).
19333 (custom-theme-choose-mode-map): Add special-mode to parent.
19334
19335 2011-08-28 Alan Mackenzie <acm@muc.de>
19336
19337 * progmodes/cc-fonts.el
19338 (c-make-font-lock-BO-decl-search-function): New function.
19339 (c-basic-matchers-after - "Fontify the clauses after various
19340 keywords"): Extract the three keyword lists for the 3 erroneous
19341 constructs from the list of four, and use the new function above
19342 in place of an old one.
19343
19344 2011-08-28 Deniz Dogan <deniz@dogan.se>
19345
19346 * net/rcirc.el (rcirc-insert-prev-input)
19347 (rcirc-insert-next-input): Remove unused argument.
19348
19349 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19350
19351 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
19352
19353 2011-08-27 Alan Mackenzie <acm@muc.de>
19354
19355 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
19356 handle function pointer parameters properly.
19357
19358 2011-08-27 Martin Rudalics <rudalics@gmx.at>
19359
19360 * window.el (display-buffer-reuse-window): Fix case where
19361 selected window was reused with non-nil OTHER-WINDOW argument.
19362 (Bug#9381)
19363
19364 2011-08-27 Deniz Dogan <deniz@dogan.se>
19365
19366 * net/rcirc.el (rcirc-check-auth-status): Adding support for
19367 oftc's NickServ messages.
19368
19369 2011-08-27 Glenn Morris <rgm@gnu.org>
19370
19371 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
19372
19373 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
19374
19375 * emacs-lisp/package.el (package-install): Call package-initialize
19376 if called interactively.
19377
19378 2011-08-26 Leo Liu <sdl.web@gmail.com>
19379
19380 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
19381
19382 2011-08-25 Juri Linkov <juri@jurta.org>
19383
19384 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
19385 `search-whitespace-regexp' (bug#9364).
19386
19387 2011-08-25 Juri Linkov <juri@jurta.org>
19388
19389 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
19390 `regexp-search-ring' to their global values to protect from
19391 updating by `read-from-minibuffer' (bug#9185).
19392
19393 2011-08-25 Juri Linkov <juri@jurta.org>
19394
19395 * textmodes/ispell.el (ispell-command-loop): Add newline
19396 at the end of the "Use option `i'..." line.
19397
19398 2011-08-25 Juri Linkov <juri@jurta.org>
19399
19400 * battery.el (display-battery-mode): If `battery-status-function'
19401 or `battery-mode-line-format' is nil, display the message and set
19402 `display-battery-mode' to nil (bug#9363).
19403
19404 2011-08-25 Eli Zaretskii <eliz@gnu.org>
19405
19406 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
19407 bidi-string-mark-left-to-right; they are unnecessary now.
19408
19409 2011-08-25 Deniz Dogan <deniz@dogan.se>
19410
19411 * net/quickurl.el: Documentation typo fixes.
19412
19413 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
19414
19415 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
19416
19417 2011-08-25 Glenn Morris <rgm@gnu.org>
19418
19419 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
19420
19421 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
19422 (smtpmail-via-smtp): Handle nil response from smtp.
19423
19424 2011-08-24 Juri Linkov <juri@jurta.org>
19425
19426 * proced.el (proced-marked): Inherit from `error' instead of
19427 `font-lock-warning-face'.
19428
19429 * ibuffer.el (ibuffer-marked-face): Change default face from
19430 `font-lock-warning-face' to `warning'.
19431 (ibuffer-deletion-face): Change default face from
19432 `font-lock-type-face' to `error'.
19433
19434 * battery.el (battery-update): Use the face `error' instead of
19435 `font-lock-warning-face' (bug#6117).
19436
19437 2011-08-24 Juri Linkov <juri@jurta.org>
19438
19439 * faces.el (success): Change face color from "Green3" to
19440 "ForestGreen" on light background (bug#9353).
19441
19442 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
19443
19444 * window.el (quit-window): Rename from quit-restore-window.
19445 Use same arglist as old quit-window.
19446 (frame-auto-delete): Doc fix.
19447
19448 * view.el (view-mode-exit): Use quit-window.
19449
19450 2011-08-24 Juri Linkov <juri@jurta.org>
19451
19452 * isearch.el (isearch-ring-adjust1): Start visiting previous
19453 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
19454 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
19455 for empty search string (when the last search string is reused
19456 automatically) to adjust the isearch ring to the last element and
19457 prepare the correct index for further M-p commands (bug#9185).
19458
19459 2011-08-24 Kenichi Handa <handa@m17n.org>
19460
19461 * international/ucs-normalize.el: If decomposition property of
19462 CHAR is the default one (i.e. a list of CHAR itself), treat it as
19463 nil.
19464 (nfd, nfkd): Likewise.
19465
19466 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
19467
19468 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
19469 from process filters aren't reliably transmitted to the surrounding
19470 accept-process-output.
19471 (mpc-proc-check): New function.
19472 (mpc-proc-sync): Use it (bug#8293)
19473
19474 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
19475
19476 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
19477 Add compatibility functions (bug#9313).
19478
19479 2011-08-23 Eli Zaretskii <eliz@gnu.org>
19480
19481 * cus-start.el (all): Add entry for bidi-paragraph-direction.
19482
19483 * international/uni-bidi.el: Regenerate.
19484
19485 2011-08-23 Kenichi Handa <handa@m17n.org>
19486
19487 * international/charprop.el:
19488 * international/uni-bidi.el:
19489 * international/uni-category.el:
19490 * international/uni-combining.el:
19491 * international/uni-comment.el:
19492 * international/uni-decimal.el:
19493 * international/uni-decomposition.el:
19494 * international/uni-digit.el:
19495 * international/uni-lowercase.el:
19496 * international/uni-mirrored.el:
19497 * international/uni-name.el:
19498 * international/uni-numeric.el:
19499 * international/uni-old-name.el:
19500 * international/uni-titlecase.el:
19501 * international/uni-uppercase.el: Regenerate.
19502
19503 2011-08-23 Martin Rudalics <rudalics@gmx.at>
19504
19505 * help.el (help-window-setup): Fix message displayed when other
19506 window is reused. (Bug#9341)
19507
19508 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
19509
19510 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
19511 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
19512
19513 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
19514 Mark obsolete.
19515 * shell.el (shell-parse-pcomplete-arguments): New function.
19516 (shell-completion-vars): Use it instead (bug#9160).
19517
19518 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
19519
19520 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
19521 strings and comments (bug#9333).
19522
19523 * emacs-lisp/debug.el (debug-arglist): New function.
19524 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
19525 (debug-on-entry-1): Handle interpreted closures (bug#9120).
19526
19527 2011-08-22 Juri Linkov <juri@jurta.org>
19528
19529 * progmodes/compile.el (compilation-mode-font-lock-keywords):
19530 Revert regexp that highlights output switches to its old
19531 pre-2010-10-28 value and remove one `?' from it (bug#9319).
19532
19533 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
19534 to check for empty output (bug#9226).
19535
19536 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
19537
19538 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
19539 symbol-constituent as the default, as that stops font-lock from
19540 working properly (Bug#8843).
19541
19542 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19543
19544 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
19545 `coding-system-for-*' around the process open call to avoid
19546 auth-source side effects.
19547 (smtpmail-try-auth-methods): Expand the secret password.
19548 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
19549 probe hangs.
19550
19551 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
19552
19553 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
19554
19555 * emacs-lisp/find-func.el (find-function-noselect): New arg
19556 lisp-only.
19557
19558 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
19559 signal an error for built-in functions (Bug#6664).
19560
19561 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19562
19563 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
19564 (smtpmail-try-auth-methods): Use it.
19565
19566 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
19567
19568 * font-lock.el (font-lock-fontify-region)
19569 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
19570 (font-lock-default-unfontify-buffer)
19571 (font-lock-default-fontify-region)
19572 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
19573
19574 * progmodes/compile.el (compilation-error-properties):
19575 Fix confusion between file struct and message struct (Bug#9319).
19576 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
19577 `ant' regexp.
19578
19579 * net/browse-url.el (browse-url-firefox): Don't call
19580 browse-url-firefox-sentinel unless using -remote (Bug#9328).
19581
19582 2011-08-20 Glenn Morris <rgm@gnu.org>
19583
19584 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
19585
19586 * tutorial.el (tutorial--default-keys): Update some default bindings.
19587
19588 * files.el (hack-local-variables): Fully ignore case for "mode:".
19589
19590 2011-08-20 Alan Mackenzie <acm@muc.de>
19591
19592 Resolve invalid use of a regexp in regexp-opt.
19593
19594 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
19595 detection for a java annotation.
19596
19597 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
19598 detection for a java annotation.
19599
19600 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
19601 handling for java.
19602 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
19603
19604 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
19605
19606 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
19607 (Bug#9274).
19608
19609 2011-08-20 Alan Mackenzie <acm@muc.de>
19610
19611 Fontify CPP expressions correctly when starting in the middle of
19612 such a construct. Mainly for when jit-lock etc. starts a chunk
19613 here.
19614
19615 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
19616 variable.
19617 (c-make-font-lock-search-form): New function, extracted from
19618 c-make-font-lock-search-function.
19619 (c-make-font-lock-search-function): Use the above function.
19620 (c-make-font-lock-context-search-function): New function.
19621 (c-cpp-matchers): Enhance the preprocessor expression case with
19622 the above function
19623 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
19624 which takes an expression.
19625
19626 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
19627
19628 2011-08-20 Martin Rudalics <rudalics@gmx.at>
19629
19630 * window.el (display-buffer-reuse-window)
19631 (display-buffer-pop-up-window): Don't reuse or split a side
19632 window.
19633
19634 2011-08-19 Glenn Morris <rgm@gnu.org>
19635
19636 * files.el (hack-local-variables-prop-line, hack-local-variables):
19637 Downcase "Mode:". (Bug#9331)
19638
19639 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
19640
19641 * international/characters.el: Add L and R categories.
19642
19643 * subr.el (bidi-string-mark-left-to-right): Rename from
19644 string-mark-left-to-right. Use category search.
19645
19646 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
19647
19648 2011-08-18 Juri Linkov <juri@jurta.org>
19649
19650 * faces.el (error, warning, success): New faces with definitions
19651 copied from old default values of `font-lock-warning-face',
19652 `compilation-warning', `compilation-info' (bug#6117).
19653
19654 * font-lock.el (font-lock-warning-face): Inherit from `error'.
19655
19656 * progmodes/compile.el (compilation-error): Inherit from `error'.
19657 (compilation-warning): Inherit from `warning'.
19658 (compilation-info): Inherit from `success'.
19659
19660 * dired.el (dired-marked): Inherit from `warning'.
19661 (dired-flagged): Inherit from `error'.
19662
19663 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19664
19665 * mail/smtpmail.el (auth-source): Require to avoid problems with
19666 binding variables (bug#9298). Also clean up some unused
19667 autoloads.
19668
19669 * net/network-stream.el (network-stream-open-starttls):
19670 Support using starttls.el without using gnutls-cli.
19671
19672 2011-08-17 Juri Linkov <juri@jurta.org>
19673
19674 * progmodes/grep.el (rgrep): Handle the case when
19675 `grep-find-command' is a cons cell (bug#9278).
19676
19677 2011-08-17 Martin Rudalics <rudalics@gmx.at>
19678
19679 * window.el (display-buffer-pop-up-frame): Run frame creation
19680 function with BUFFER current (as special-display-popup-frame
19681 does). Reported by Drew Adams.
19682
19683 2011-08-17 Daiki Ueno <ueno@unixuser.org>
19684
19685 * epa-mail.el: Simplify GnuPG group expansion using
19686 epg-expand-group.
19687 (epa-mail-group-alist, epa-mail-group-modtime)
19688 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
19689 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
19690 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
19691 Remove.
19692
19693 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
19694
19695 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
19696
19697 2011-08-16 Alan Mackenzie <acm@muc.de>
19698
19699 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
19700 Correct, to avoid the inside of macros.
19701
19702 2011-08-16 Richard Stallman <rms@gnu.org>
19703
19704 * epa-mail.el: Handle GnuPG group definitions.
19705 (epa-mail-group-alist, epa-mail-group-modtime)
19706 (epa-mail-gnupg-conf-file): New variables.
19707 (epa-mail-parse-groups, epa-mail-sync-groups)
19708 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
19709 (epa-mail-expand-recipients): New functions.
19710 (epa-mail-encrypt): Call epa-mail-expand-recipients.
19711
19712 * mail/rmail.el (rmail-epa-decrypt): New command.
19713
19714 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
19715 Don't bind buffer-read-only, just inhibit-read-only.
19716 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
19717 (epa-decrypt-armor-in-region): Make error message clearer.
19718
19719 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
19720
19721 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
19722 and "a2b" to "ab" for `prefix'.
19723
19724 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
19725
19726 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
19727 filter groups.
19728 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
19729 Fourquet (Bug#8804).
19730
19731 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
19732
19733 * startup.el (argi): Declare as global variable (bug#9275).
19734
19735 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
19736
19737 * subr.el (string-mark-left-to-right): Search the entire string
19738 for RTL script, not just the terminating character. Doc fix.
19739
19740 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
19741
19742 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
19743 New function.
19744 (js--regexp-literal, js-syntax-propertize-function): Remove.
19745 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
19746 (js-mode-map): Don't rebind electric keys.
19747 (js-insert-and-indent): Remove.
19748 (js-mode): Setup electric-layout and electric-indent instead.
19749
19750 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
19751
19752 2011-08-12 Daiki Ueno <ueno@unixuser.org>
19753
19754 * epa.el (epa-progress-callback-function): Fix the logic of
19755 displaying progress.
19756 * epa-file.el (epa-file-insert-file-contents): Make progress
19757 display more user-friendly.
19758 (epa-file-write-region): Ditto.
19759
19760 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
19761
19762 * subr.el (string-mark-left-to-right): New function.
19763
19764 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
19765 Use string-mark-left-to-right.
19766 (list-buffers-noselect): Caller changed.
19767
19768 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19769 Use string-mark-left-to-right.
19770 (tabulated-list-print): Recenter after moving point.
19771
19772 2011-08-10 Juri Linkov <juri@jurta.org>
19773
19774 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
19775 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
19776 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
19777
19778 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
19779
19780 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
19781 (Bug#7554).
19782
19783 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
19784
19785 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
19786 character. (Bug#6594)
19787
19788 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
19789
19790 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
19791 (image-dired--with-db-file): New macro.
19792 (image-dired-write-tags, image-dired-remove-tag)
19793 (image-dired-create-gallery-lists, image-dired-write-comments)
19794 (image-dired-get-comment, image-dired-mark-tagged-files)
19795 (image-dired-list-tags, image-dired-gallery-generate): Use it.
19796 (image-dired-gallery-generate): Use insert-file-contents.
19797
19798 * time.el (display-time-world-list, display-time-world-display):
19799 * time-stamp.el (time-stamp-string):
19800 * vc/add-log.el (add-change-log-entry): Use setenv instead of
19801 set-time-zone-rule (Bug#7337).
19802
19803 2011-08-08 Daiki Ueno <ueno@unixuser.org>
19804
19805 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
19806 (epg-error-to-string, epg-errors-to-string): New function.
19807 (epg-wait-for-completion): Reverse errors list.
19808 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
19809 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
19810 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
19811 (epg-sign-keys, epg-generate-key-from-file)
19812 (epg-generate-key-from-string): Format errors by using
19813 epg-errors-to-string (bug#9255).
19814 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
19815
19816 2011-08-07 Juri Linkov <juri@jurta.org>
19817
19818 * faces.el (list-faces-display): Remove extra angle bracket
19819 from `help-mode-map'.
19820
19821 * info.el (Info-history-toc-nodes): Doc fix.
19822
19823 * longlines.el (longlines-mode): Doc fix.
19824
19825 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
19826
19827 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
19828 of statements and in a few more cases (bug#9183).
19829
19830 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
19831 New functions.
19832 (cl-transform-lambda): Use them (bug#9239).
19833
19834 2011-08-05 Martin Rudalics <rudalics@gmx.at>
19835
19836 * window.el (display-buffer-same-window)
19837 (display-buffer-same-frame, display-buffer-other-window)
19838 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
19839 (pop-to-buffer-other-window)
19840 (pop-to-buffer-same-frame-other-window)
19841 (pop-to-buffer-other-frame): Make them defuns.
19842 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
19843
19844 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
19845
19846 * subr.el (make-composed-keymap): Move from C. Change calling
19847 convention, and improve docstring to bring attention to a subtle point.
19848 * minibuffer.el (completing-read-default): Adjust accordingly.
19849
19850 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
19851
19852 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
19853 (tramp-open-shell): Use `tramp-shell-quote-argument'.
19854
19855 * net/trampver.el: Update release number.
19856
19857 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
19858
19859 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
19860 "in" (bug#9190).
19861
19862 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19863
19864 * mail/sendmail.el (sendmail-query-once): Restore the current
19865 buffer after querying (bug#9074).
19866
19867 * dired.el (dired-flagged): Use different faces for marked and
19868 flagged files (bug#6117).
19869
19870 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
19871 (bug#4433).
19872
19873 * ido.el (ido-mode): Switch off the message if called
19874 non-interactively.
19875
19876 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
19877 before 587, since it appears that that's more likely to work for
19878 more people.
19879
19880 * cus-edit.el (custom-file): When running under emacs -q, always
19881 refuse to save the customizations, even if the .emacs file doesn't
19882 exist.
19883
19884 * info.el: Remove the `Info-beginning-of-buffer' function
19885 (bug#8325).
19886
19887 * net/network-stream.el (network-stream-open-starttls):
19888 Use `starttls-available-p' to see whether starttls.el can be used.
19889
19890 2011-08-01 Martin Rudalics <rudalics@gmx.at>
19891
19892 * window.el (display-buffer-in-window): Don't set dedicated status
19893 of window here (Bug#9215).
19894 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
19895 (display-buffer-pop-up-side-window)
19896 (display-buffer-in-side-window): Set dedicated status of window here.
19897
19898 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
19899
19900 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
19901 before binding generated-autoload-file.
19902
19903 2011-08-01 Deniz Dogan <deniz@dogan.se>
19904
19905 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
19906
19907 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
19908
19909 Sync with Tramp 2.2.2.
19910
19911 * net/trampver.el: Update release number.
19912
19913 2011-07-30 Juri Linkov <juri@jurta.org>
19914
19915 * dired-aux.el (dired-touch-initial): Remove function.
19916 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
19917 current time, and `default' to the last modification time of the
19918 current marked file (bug#6887).
19919
19920 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
19921
19922 * simple.el (goto-line): Use string-to-number to provide a
19923 numeric argument to read-number (bug#9163).
19924
19925 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
19926
19927 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
19928 connection process, it could be nil.
19929
19930 2011-07-27 Leo Liu <sdl.web@gmail.com>
19931
19932 Simplify url handling in rcirc-mode.
19933
19934 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
19935 (rcirc-browse-url-at-mouse): Remove.
19936 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
19937
19938 2011-07-26 Alan Mackenzie <acm@muc.de>
19939
19940 Fontify bitfield declarations properly.
19941
19942 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
19943 (c-symbol-chars): Now exported as a lang variable.
19944 (c-not-primitive-type-keywords): New lang variable.
19945
19946 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
19947 QT keyword "more" to prevent "more slots: ...." being spuriously
19948 parsed as a bitfield declaration.
19949
19950 * progmodes/cc-engine.el (c-beginning-of-statement-1):
19951 Refactor and enhance to handle bitfield declarations.
19952 (c-punctuation-in): New function.
19953 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
19954 declarations properly.
19955
19956 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
19957
19958 * calendar/icalendar.el (icalendar--all-events): Take care of
19959 multiple vcalendars in a single file.
19960 (icalendar--convert-float-to-ical): Checkdoc fixes.
19961
19962 2011-07-25 Deniz Dogan <deniz@dogan.se>
19963
19964 * image.el (insert-image): Clarifying docstring.
19965
19966 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
19967
19968 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
19969 `tramp-send-command-and-check' if there is no error.
19970 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
19971
19972 2011-07-22 Alan Mackenzie <acm@muc.de>
19973
19974 Prevent cc-langs.elc being loaded at run time.
19975
19976 * progmodes/cc-mode.el: Remove two autoload forms which loaded
19977 cc-langs.
19978
19979 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
19980 "(require 'cc-langs)". Quote a form so it will evaluate at
19981 (cc-mode's) compilation time.
19982
19983 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
19984
19985 * net/tramp.el (tramp-file-name-handler): Avoid recursive
19986 loading. (Bug#9114)
19987
19988 2011-07-21 Martin Rudalics <rudalics@gmx.at>
19989
19990 * window.el (display-buffer-pop-up-window)
19991 (display-buffer-pop-up-side-window)
19992 (display-buffer-in-side-window): Call display-buffer-set-height
19993 and display-buffer-set-width after setting the new window's
19994 buffer so `fit-window-to-buffer' and friends work on the right buffer.
19995
19996 2011-07-20 Sam Steingold <sds@gnu.org>
19997
19998 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
19999 (etags-tags-included-tables): Call `convert-standard-filename' on
20000 the file names contained in TAGS so that windows Emacs can handle
20001 TAGS files created by cygwin ctags.
20002
20003 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
20004
20005 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
20006 which apparently didn't work.
20007
20008 2011-07-19 Roland Winkler <winkler@gnu.org>
20009
20010 * proced.el (proced-send-signal): For *Marked Processes* buffer
20011 put point at beginning of buffer.
20012
20013 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
20014
20015 * proced.el (proced-format): Make header lines align with the text
20016 (bug#1779).
20017
20018 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
20019
20020 * view.el (view-buffer): Allow running in `special' modes if we're
20021 visiting a file (bug#8615).
20022
20023 2011-07-19 Martin Rudalics <rudalics@gmx.at>
20024
20025 * window.el (display-buffer-alist-of-strings-p)
20026 (display-buffer-alist-set-1, display-buffer-alist-set-2):
20027 New functions.
20028 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
20029 more accurately.
20030
20031 2011-07-18 Alan Mackenzie <acm@muc.de>
20032
20033 Fontify declarators properly when, e.g., a jit-lock chunk begins
20034 inside a declaration.
20035
20036 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
20037
20038 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
20039 New function.
20040 (c-complex-decl-matchers): Insert reference to
20041 c-font-lock-enclosing-decls.
20042
20043 * progmodes/cc-engine.el (c-backward-single-comment):
20044 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
20045 to nil around calls to (forward-comment -1).
20046
20047 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20048
20049 * image.el (put-image): Doc typo fix.
20050
20051 * progmodes/etags.el (tags-search): Doc typo fix.
20052
20053 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
20054 password if we get errors 550 to 554.
20055
20056 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
20057
20058 * net/gnutls.el (gnutls-log-level): Remove.
20059
20060 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
20061 indentation character (bug#6380).
20062
20063 * files.el (buffer-offer-save): Made permanently local (bug#6241).
20064
20065 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
20066 to clarify what the problem is (bug#4291).
20067
20068 * simple.el (current-kill): Clarify what
20069 `interprogram-paste-function' does (bug#7500).
20070 (auto-fill-mode): Document `auto-fill-function' in relation to
20071 `auto-fill-mode' (bug#2470).
20072
20073 2011-07-16 Lawrence Mitchell <wence@gmx.li>
20074
20075 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
20076 method if slot is read-only (bug#9035).
20077
20078 2011-07-16 Martin Rudalics <rudalics@gmx.at>
20079
20080 * frame.el (select-frame-set-input-focus): New argument NORECORD.
20081 * window.el (pop-to-buffer): Select window used even if it was
20082 selected before, see discussion of (Bug#8615), (Bug#6954).
20083 Pass argument NORECORD on to select-frame-set-input-focus.
20084
20085 2011-07-15 Glenn Morris <rgm@gnu.org>
20086
20087 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
20088 Respect help-form.
20089
20090 2011-07-09 Lawrence Mitchell <wence@gmx.li>
20091
20092 * net/gnutls.el (gnutls-min-prime-bits): New variable.
20093 (gnutls-negotiate): Use it.
20094
20095 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20096
20097 * net/gnutls.el (gnutls-negotiate):
20098 Upcase `gnutls-algorithm-priority'.
20099
20100 2011-07-15 Glenn Morris <rgm@gnu.org>
20101
20102 * jka-compr.el (jka-compr-verbose): Move from here...
20103 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
20104 Add missing :version tag.
20105 * info.el: No need to require jka-compr when compiling.
20106
20107 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20108
20109 * net/gnutls.el (gnutls-algorithm-priority): New variable.
20110 (gnutls-negotiate): Use it.
20111
20112 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
20113
20114 * info.el (Info-beginning-of-buffer): New command.
20115 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
20116 announcing `b' as the key (bug#8325).
20117 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
20118
20119 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
20120
20121 * international/mule-cmds.el
20122 (describe-specified-language-support): Make the error message
20123 clearer (bug#8905).
20124
20125 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
20126
20127 * isearch.el (isearch-barrier): Add a doc string, since it's
20128 mentioned in a function doc string (bug#8678).
20129
20130 2011-07-15 Martin Rudalics <rudalics@gmx.at>
20131
20132 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
20133 buffer argument (Bug#9083) and self-identifying label argument.
20134
20135 2011-07-15 Glenn Morris <rgm@gnu.org>
20136
20137 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
20138
20139 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20140
20141 * man.el (Man-fontify-manpage): Fix message when formatting the
20142 man page (bug#7929).
20143
20144 2011-07-14 Eli Zaretskii <eliz@gnu.org>
20145
20146 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
20147 argument LRM; if non-nil, append an invisible LRM character to the
20148 buffer name.
20149 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
20150 last argument non-nil, when formatting buffer names.
20151 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
20152 paragraph direction.
20153
20154 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20155
20156 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
20157 the man page name (bug#7929).
20158
20159 * image.el (put-image): Mention the `put-image' overlay property
20160 (bug#7834).
20161
20162 * scroll-bar.el (set-scroll-bar-mode): Mention that
20163 `scroll-bar-mode' lists the values (bug#7772).
20164
20165 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
20166 command (bug#7729).
20167
20168 * rect.el (apply-on-rectangle): Return the point after the last
20169 operation.
20170 (string-rectangle): Go to the point after the last operation
20171 (bug#7522).
20172
20173 * printing.el (pr-toggle-region): Clarify the documentation
20174 slightly (bug#7493).
20175
20176 * time.el (display-time-update):
20177 Allow `display-time-mail-function' to return nil (bug#7158).
20178 Fix suggested by Detlev Zundel.
20179
20180 * vc/diff.el (diff): Clarify the order the file names are read
20181 (bug#7111).
20182
20183 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
20184 the doc string (bug#7015).
20185
20186 * font-lock.el (font-lock-maximum-decoration): Mention what
20187 numeric levels mean (bug#6935).
20188
20189 * startup.el (initial-buffer-choice): Don't mention the `none'
20190 selection, which is against policy.
20191
20192 2011-07-14 Martin Rudalics <rudalics@gmx.at>
20193
20194 * window.el (display-buffer-normalize-special):
20195 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
20196
20197 2011-07-14 Eli Zaretskii <eliz@gnu.org>
20198
20199 * subr.el (version<, version<=, version=): Mention "-CVS" and
20200 "-12345" alpha version numbers.
20201
20202 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
20203
20204 * bindings.el: Add advertised binding for set-mark-command
20205 (Bug#5772).
20206
20207 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
20208
20209 * bindings.el (mode-line-other-buffer):
20210 * bookmark.el (bookmark-bmenu-2-window):
20211 * bs.el (bs-cycle-next, bs-cycle-previous):
20212 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
20213 switch-to-buffer.
20214
20215 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
20216 Delete.
20217
20218 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
20219
20220 * follow.el (follow-debug-message, follow-redisplay):
20221 * jka-cmpr-hook.el (with-auto-compression-mode):
20222 Fix typos in docstrings.
20223
20224 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20225
20226 * subr.el (with-silent-modifications): Clarify somewhat what the
20227 macro inhibits (bug#6525).
20228
20229 * simple.el (eval-expression): Note what it does if called
20230 interactively (bug#6495).
20231
20232 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
20233
20234 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
20235 Use pop-to-buffer buffer-or-name if it is nil.
20236
20237 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20238 Remove switch-to-buffer.
20239
20240 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20241
20242 * files.el (make-directory): Clarify that an error will be raised
20243 if there's an error (bug#6397).
20244
20245 * startup.el (initial-buffer-choice): Add `none' as a choice
20246 (bug#6234).
20247
20248 * subr.el (add-hook): Clarify section about buffer-local hooks
20249 (bug#6218).
20250
20251 * dired.el (dired-flagged): Clarify doc string (bug#6117).
20252
20253 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
20254
20255 * tabify.el (untabify): Preserve the current column so that point
20256 doesn't move (bug#6032).
20257
20258 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20259
20260 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
20261 Rewrite to avoid awkward possessive "s" (bug#5986).
20262
20263 2011-07-13 Glenn Morris <rgm@gnu.org>
20264
20265 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
20266 (dired-insert-directory): Give a message the first time
20267 if ls is found not to support --dired.
20268
20269 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20270
20271 * simple.el (toggle-truncate-lines): Clarify what is toggled
20272 (bug#5580). Text by Drew Adams.
20273
20274 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
20275
20276 * simple.el (blink-matching-open): Make the error message from the
20277 last change less verbose.
20278
20279 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
20280
20281 * font-lock.el (font-lock-comment-face): Use the high contrast
20282 "yellow" color for font-lock-comment-face on low color terminals
20283 using a dark background color (bug#4221).
20284
20285 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20286
20287 * dired.el (dired-insert-set-properties): Make the doc string
20288 reflect what it does now (bug#5325).
20289
20290 * simple.el (blink-matching-open): Say that we were unable to find
20291 the match within the limit, if we're limited (bug#5122).
20292
20293 * international/mule-cmds.el (prefer-coding-system): Add an
20294 example (bug#4869).
20295
20296 * progmodes/etags.el (tags-search): Document `file-list-form'
20297 (bug#4731).
20298
20299 2011-07-13 Lawrence Mitchell <wence@gmx.li>
20300
20301 * net/browse-url.el (browse-url-default-browser)
20302 (browse-url-browser-function): Make the default browser choice a
20303 bit more logical (bug#4300). Also clean up the doc string.
20304
20305 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
20306
20307 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
20308 binary endings (bug#4440).
20309
20310 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20311
20312 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
20313 which can be pretty annoying (bug#8971).
20314
20315 * jka-compr.el (jka-compr-verbose): New variable, and use
20316 throughout (bug#8971).
20317
20318 * info.el (Info-find-file): Fall back on the installation
20319 directory if we can't find the info node anywhere else.
20320
20321 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
20322
20323 * vc/vc.el (vc-revert-file):
20324 Don't set file time-stamp in the past. (Bug#5181)
20325
20326 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20327
20328 * files.el (after-find-file): Give a better error message when
20329 trying to find a symlink that points to a file that doesn't exist
20330 (bug#4398).
20331
20332 * progmodes/cc-vars.el: Remove (probably) misleading comment
20333 (bug#4396).
20334
20335 2011-07-12 Johan Bockgård <bojohan@gnu.org>
20336
20337 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
20338
20339 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
20340
20341 * mouse-sel.el: Hack restoring functionality, while keeping
20342 compatibility with 2010-07-03 changes to mouse selection.
20343 (mouse-sel-primary-overlay): New var.
20344 (mouse-sel-selection-alist): Use it.
20345 (mouse-sel-mode): Doc fix; remove points that are default features
20346 of mouse.el.
20347
20348 2011-07-12 Johan Bockgård <bojohan@gnu.org>
20349
20350 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20351 Fix previous fix (bug#2490).
20352
20353 2011-07-12 Roland Winkler <winkler@gnu.org>
20354
20355 * textmodes/bibtex.el (bibtex-initialize):
20356 Use pop-to-buffer-same-window.
20357 (bibtex-search-entries): Fix interactive call.
20358
20359 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20360
20361 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20362 Fontise bytecomp Error lines more correctly (bug#2490).
20363 Fix suggested by Johan Bockgård.
20364
20365 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
20366
20367 * dired-x.el (dired-guess-default): Use `delete-dups'.
20368
20369 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
20370
20371 * dired.el (dired-mark-prompt):
20372 * dired-aux.el (dired-read-shell-command): Doc fix.
20373
20374 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20375
20376 * mail/sendmail.el (sendmail-query-once):
20377 Use `customize-save-variable' unconditionally, now that it works under
20378 emacs -Q.
20379
20380 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
20381
20382 * cus-edit.el (custom-file): Take an optional no-error variable.
20383 (customize-save-variable): Set the variable, and give a warning if
20384 running under "emacs -q".
20385
20386 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
20387
20388 * loadhist.el (unload-feature-special-hooks):
20389 Add `auto-coding-functions', `fill-nobreak-predicate' and
20390 `find-directory-functions' (bug#5327).
20391
20392 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20393
20394 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
20395
20396 * cus-edit.el (custom-guess-name-alist): -alist variables should
20397 use the `alist' type (bug#3120). Suggested by Drew Adams.
20398
20399 * printing.el: Add documentation to all the `pr-toggle-' commands.
20400
20401 2011-07-11 Leo Liu <sdl.web@gmail.com>
20402
20403 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
20404 backends where it makes sense (bug#2623).
20405
20406 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20407
20408 * dired-x.el (dired-guess-default): Remove duplicate shell command
20409 entries (bug#2028).
20410 (dired-guess-default): Fix grammar in doc string (bug#2028).
20411 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
20412
20413 * subr.el (remove-duplicates): New conveniency function.
20414
20415 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
20416
20417 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
20418 (bug#1526).
20419
20420 2011-07-10 Martin Rudalics <rudalics@gmx.at>
20421
20422 * window.el (display-buffer-normalize-default): Don't invert
20423 meaning of even-window-heights. Reported by Eli Zaretskii
20424 <eliz@gnu.org>.
20425
20426 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
20427
20428 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
20429
20430 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
20431
20432 * window.el (display-buffer): Fix arguments to
20433 display-buffer-reuse-window in last change.
20434
20435 * faces.el (link): Use a less saturated blue on light backgrounds.
20436
20437 * startup.el (fancy-startup-text, fancy-about-text)
20438 (fancy-startup-tail): Use font-lock faces, for background safety.
20439
20440 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
20441
20442 * emulation/viper-cmd.el (viper-change-state-to-vi):
20443 Limit triggering of abbrev expansion (Bug#9038).
20444
20445 2011-07-09 Martin Rudalics <rudalics@gmx.at>
20446
20447 * window.el (display-buffer-default-specifiers): Remove.
20448 (display-buffer-macro-specifiers): Remove default specifiers.
20449 (display-buffer-alist): Default to nil.
20450 (display-buffer-reuse-window): New optional argument other-window.
20451 (display-buffer-pop-up-window): Allow splitting internal
20452 windows. Check whether a live window was created.
20453 (display-buffer-other-window-means-other-frame)
20454 (display-buffer-normalize-arguments): Rename to
20455 display-buffer-normalize-argument and rewrite. Set the
20456 other-window specifier.
20457 (display-buffer-normalize-special): New function.
20458 (display-buffer-normalize-options): Rename to
20459 display-buffer-normalize-default and rewrite.
20460 (display-buffer-normalize-options-inhibit): Remove.
20461 (display-buffer-normalize-specifiers): Rewrite.
20462 (display-buffer): Process other-window specifier and call
20463 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
20464 more faithfully.
20465 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
20466 (display-buffer-alist-set): Don't handle 'unset default values.
20467 (display-buffer-in-window, display-buffer-alist-set):
20468 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
20469 <tassilo@member.fsf.org>.
20470
20471 2011-07-09 Leo Liu <sdl.web@gmail.com>
20472
20473 * register.el (insert-register): Restore accidental change on
20474 2011-06-26. (Bug#9028)
20475
20476 2011-07-09 Glenn Morris <rgm@gnu.org>
20477
20478 * subr.el (remq): Handle the empty list. (Bug#9024)
20479
20480 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
20481
20482 * mail/sendmail.el (send-mail-function): No longer delay custom
20483 initialization.
20484 * custom.el (custom-initialize-delay): Doc fix.
20485
20486 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
20487
20488 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
20489
20490 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
20491
20492 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
20493 human-friendly prompt.
20494
20495 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
20496
20497 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
20498 provided by a particular plugin.
20499
20500 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
20501
20502 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
20503 save customizations (with "emacs -Q"), just set the variable
20504 instead of erroring out.
20505
20506 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
20507
20508 2011-07-08 Juri Linkov <juri@jurta.org>
20509
20510 * arc-mode.el (archive-zip-expunge, archive-zip-update)
20511 (archive-zip-update-case): Use 7z if found by `executable-find'.
20512 The order of searching the available programs is the same as in
20513 `archive-zip-extract' (bug#8968).
20514
20515 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20516
20517 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
20518 (menu-bar-options-menu): Tweak descriptions.
20519
20520 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
20521
20522 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
20523 menu items into verb phrases (bug#1421). Also refill to fit under
20524 80 columns.
20525
20526 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20527
20528 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
20529 (Info-read-node-name): Doc fix (Bug#1084).
20530
20531 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
20532 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
20533 (end-of-sexp, beginning-of-sexp)
20534 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
20535 (forward-symbol, forward-same-syntax, word-at-point)
20536 (sentence-at-point): Doc fix (Bug#1144).
20537
20538 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
20539
20540 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
20541 should cover it (bug#1281).
20542
20543 * cus-edit.el (custom-show): Mark as obsolete.
20544
20545 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
20546 negotiation fails, then possibly try again with a non-encrypted
20547 connection (bug#9017).
20548
20549 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
20550 be used.
20551
20552 2011-07-07 Richard Stallman <rms@gnu.org>
20553
20554 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
20555 property, and handle its changed format.
20556 Look for the correct line number.
20557 Use file's line contents (but not past first =) to find
20558 correct line in message.
20559
20560 2011-07-07 Kenichi Handa <handa@m17n.org>
20561
20562 * international/characters.el (build-unicode-category-table):
20563 Delete it.
20564 (unicode-category-table): Set it by unicode-property-table-internal.
20565
20566 * international/mule-cmds.el (char-code-property-alist): Move to
20567 to src/chartab.c.
20568 (get-char-code-property): Call unicode-property-table-internal to
20569 load a file. Call get-unicode-property-internal where necessary.
20570 (put-char-code-property): Call unicode-property-table-internal to
20571 load a file. Call put-unicode-property-internal where necessary.
20572 put-unicode-property-internal where necessary.
20573 (char-code-property-description):
20574 Call unicode-property-table-internal to load a file.
20575
20576 * international/charprop.el:
20577 * international/uni-bidi.el:
20578 * international/uni-category.el:
20579 * international/uni-combining.el:
20580 * international/uni-comment.el:
20581 * international/uni-decimal.el:
20582 * international/uni-decomposition.el:
20583 * international/uni-digit.el:
20584 * international/uni-lowercase.el:
20585 * international/uni-mirrored.el:
20586 * international/uni-name.el:
20587 * international/uni-numeric.el:
20588 * international/uni-old-name.el:
20589 * international/uni-titlecase.el:
20590 * international/uni-uppercase.el: Regenerate.
20591
20592 * loadup.el: Load international/charprop.el before
20593 international/characters.
20594
20595 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20596
20597 * window.el (next-buffer, previous-buffer): Signal an error if
20598 called from a minibuffer window.
20599
20600 * bindings.el: Revert 2011-07-04 change.
20601
20602 2011-07-06 Richard Stallman <rms@gnu.org>
20603
20604 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
20605 (rmail-mime-insert-bulk, rmail-mime-insert-text):
20606 Treat markers like ints.
20607 (rmail-mime-entity): Doc fix.
20608
20609 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20610
20611 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
20612 defcustom again for backwards compatibility.
20613
20614 * simple.el (shell-command-on-region): Fill.
20615
20616 * dired-aux.el (dired-kill-line): Add a doc string.
20617
20618 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
20619 to "\\sw\\|\\s_" (bug#358).
20620
20621 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
20622 (dired-unmark-backward): Ditto.
20623 (dired-flag-backup-files): Ditto.
20624
20625 * dired-x.el (dired-mark-sexp): Ditto.
20626
20627 2011-07-06 Richard Stallman <rms@gnu.org>
20628
20629 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
20630 (rmail-mime-entity): New arg TRUNCATED.
20631 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
20632 New functions.
20633 (rmail-mime-save): Warn if entity is truncated.
20634 (rmail-mime-toggle-hidden): Likewise, for showing.
20635 (rmail-mime-process-multipart): Record when an entity is truncated.
20636
20637 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
20638 if ENTITY is a string.
20639
20640 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20641
20642 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
20643 of faces when `M-C-x'-ing their definitions (bug#8378).
20644 Also clean up the code slightly.
20645
20646 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
20647 because that makes the colors go away.
20648
20649 * mail/sendmail.el (send-mail-function): Change the default to
20650 `sendmail-query-once'.
20651 (sendmail-query-once): Add an autoload cookie.
20652
20653 * net/network-stream.el (network-stream-open-starttls): Try using
20654 a plain connection even if the server offered STARTTLS, and we
20655 kinda wanted to use it, if Emacs doesn't have any STARTTLS
20656 capability. This should make smtpmail.el work in slightly more
20657 configurations.
20658
20659 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
20660
20661 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
20662 New defun.
20663 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
20664
20665 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
20666
20667 * progmodes/sql.el: Version 3.0
20668 (sql-product-alist): Add product :completion-object,
20669 :completion-column, and :statement attributes.
20670 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
20671 (sql-mode-syntax-table): Mark all punctuation.
20672 (sql-font-lock-keywords-builder): Temporarily remove fallback on
20673 ansi keywords.
20674 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
20675 (sql-mode-oracle-font-lock-keywords): Improve.
20676 (sql-oracle-show-reserved-words): New function for development.
20677 (sql-product-font-lock): Simplify for source code buffers.
20678 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
20679 New functions.
20680 (sql-highlight-product): Set product specific syntax table.
20681 (sql-mode-map): Add statement movement functions.
20682 (sql-ansi-statement-starters, sql-oracle-statement-starters):
20683 New variable.
20684 (sql-statement-regexp, sql-beginning-of-statement)
20685 (sql-end-of-statement, sql-signum): New functions.
20686 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
20687 (sql-show-sqli-buffer): Bug fix.
20688 (sql-interactive-mode): Store connection data as buffer local.
20689 (sql-connect): Add NEW-NAME parameter. Redesign interaction
20690 with sql-interactive-mode.
20691 (sql-save-connection): Save buffer local settings.
20692 (sql-connection-menu-filter): Change menu entry name.
20693 (sql-product-interactive): Bug fix.
20694 (sql-preoutput-hold): New variable.
20695 (sql-interactive-remove-continuation-prompt): Bug fixes.
20696 (sql-debug-redirect): New variable.
20697 (sql-str-literal): New function.
20698 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
20699 Redesign.
20700 (sql-oracle-save-settings, sql-oracle-restore-settings)
20701 (sql-oracle-list-all, sql-oracle-list-table): New functions.
20702 (sql-completion-object, sql-completion-column)
20703 (sql-completion-sqlbuf): New variables.
20704 (sql-build-completions-1, sql-build-completions)
20705 (sql-try-completion): New functions.
20706 (sql-read-table-name): Use them.
20707 (sql-contains-names): New buffer local variable.
20708 (sql-list-all, sql-list-table): Use it.
20709 (sql-oracle-completion-types): New variable.
20710 (sql-oracle-completion-object, sql-sqlite-completion-object)
20711 (sql-postgres-completion-object): New functions.
20712
20713 2011-07-06 Glenn Morris <rgm@gnu.org>
20714
20715 * window.el (pop-to-buffer): Doc fix.
20716
20717 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
20718
20719 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
20720
20721 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
20722
20723 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
20724
20725 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
20726
20727 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
20728
20729 * button.el (button): Inherit from link face. Suggested by Dan
20730 Nicolaescu.
20731
20732 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20733
20734 * progmodes/gdb-mi.el: Fit in 80 columns.
20735 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
20736 switch-to-buffer.
20737
20738 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
20739 if imenu is simply not configured (bug#8941).
20740
20741 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
20742
20743 * allout.el (allout-post-undo-hook): New allout outline-change
20744 event hook to signal undo activity.
20745 (allout-post-command-business): Run allout-post-undo-hook if an
20746 undo just occurred.
20747 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
20748 * allout-widgets.el (allout-widgets-after-undo-function):
20749 Ensure the integrity of the current item's decoration after it has been
20750 in the vicinity of an undo.
20751 (allout-widgets-mode): Include allout-widgets-after-undo-function
20752 on the new allout-post-undo-hook.
20753
20754 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20755
20756 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
20757 Let define-derived-mode define it.
20758 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
20759 cycles of abbrev-table inheritance (bug#8998).
20760
20761 2011-07-05 Roland Winkler <winkler@gnu.org>
20762
20763 * textmodes/bibtex.el: Add support for biblatex.
20764 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
20765 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
20766 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
20767 (bibtex-entry-alist, bibtex-field-alist): New variables.
20768 (bibtex-entry-field-alist): Obsolete alias for
20769 bibtex-BibTeX-entry-alist.
20770 (bibtex-entry-alist, bibtex-field-alist): New widgets.
20771 (bibtex-set-dialect): New command.
20772 (bibtex-entry-type, bibtex-entry-head)
20773 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
20774 Bind via bibtex-set-dialect.
20775 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
20776 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
20777 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
20778 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
20779 Define via bibtex-set-dialect.
20780 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
20781 Obey bibtex-no-opt-remove-re.
20782 (bibtex-vec-push, bibtex-vec-incr): New functions.
20783 (bibtex-format-entry, bibtex-field-list)
20784 (bibtex-print-help-message, bibtex-validate)
20785 (bibtex-search-entries): Use new format of bibtex-entry-alist.
20786
20787 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20788
20789 * progmodes/compile.el (compilation-goto-locus):
20790 * net/tramp-cmds.el (tramp-append-tramp-buffers):
20791 * bs.el (bs-cycle-next, bs-cycle-previous):
20792 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
20793 * bindings.el (mode-line-other-buffer):
20794 * autoinsert.el (auto-insert):
20795 * arc-mode.el (archive-extract):
20796 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
20797
20798 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20799
20800 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
20801 Fix check of `emacs-lock-unlockable-modes'.
20802 Coerce true values of `emacs-lock--try-unlocking' to t.
20803
20804 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20805
20806 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
20807 * emacs-lock.el: New file.
20808
20809 2011-07-05 Julien Danjou <julien@danjou.info>
20810
20811 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
20812 than `boundp' to check if face is set.
20813
20814 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20815
20816 * register.el (registerv-make):
20817 * window.el (window-min-height): Fix typos in docstrings.
20818
20819 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
20820
20821 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
20822 Update doc string.
20823
20824 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
20825
20826 * server.el (server-execute): Catch quit and call
20827 `server-return-error' to pass the error back to emacsclient and
20828 close the connection (bug#8942).
20829
20830 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
20831
20832 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
20833 insecure exception for current topic. Also note that auto-saves
20834 are handled differently.
20835
20836 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
20837 State variables for tracking auto-save inhibition situation.
20838
20839 (allout-write-contents-hook-handler): Rename from
20840 'allout-write-file-hook-handler', and describe how it depends on
20841 write-contents-functions sensitivity to non-nil value to prevent
20842 file write.
20843
20844 (allout-auto-save-hook-handler): Remove. auto-save does not check
20845 this in individual buffers, only in the starting buffer, so this
20846 is not the right way for us to inhibit auto-save in a buffer
20847 according to its condition.
20848
20849 (allout-mode): Use new allout-write-contents-hook-handler, and
20850 only with write-contents-functions. Remove auto-save provisions -
20851 they're implemented elsewhere.
20852
20853 (allout-before-change-handler): If undo is in progress, note that
20854 for attention of allout-post-command-business.
20855
20856 (allout-post-command-business): If the command we're following was
20857 an undo, check for change in the status of encrypted items and
20858 adjust auto-save inhibitions accordingly.
20859
20860 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
20861 according to whether there are or aren't any plain-text topics
20862 pending encryption.
20863
20864 (allout-inhibit-auto-save-info-for-decryption):
20865 Adjust buffer-saved-size and some allout state to inhibit auto-saves
20866 if there are plain-text topics pending encryption.
20867
20868 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
20869 buffer-saved-size and some allout state to not inhibit auto-saves
20870 if there are no longer any plain-text topics pending encryption.
20871
20872 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
20873 No longer provide for exemption of the current topic.
20874
20875 2011-07-04 Juri Linkov <juri@jurta.org>
20876
20877 Add 7z operations to delete and save changed members (bug#8968).
20878 * arc-mode.el (archive-7z-expunge, archive-7z-update):
20879 New defcustoms.
20880 (archive-7z-write-file-member): New function.
20881 (archive-7z-summarize): Fix the number of dashes in the
20882 listing output.
20883
20884 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
20885
20886 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
20887 (bug#8958).
20888
20889 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
20890
20891 * bindings.el: Ignore next-buffer and previous-buffer in
20892 minibuffer-local-map.
20893
20894 * font-lock.el (font-lock-builtin-face): Change light background
20895 color to dark slate blue (Bug#6693).
20896
20897 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
20898
20899 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
20900
20901 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
20902
20903 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
20904 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20905 Add switch-to-buffer.
20906
20907 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
20908
20909 * isearch.el (isearch-search-fun-function): Clarify further the
20910 meaning of the function returned.
20911
20912 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
20913
20914 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
20915
20916 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
20917 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
20918 Use it.
20919 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
20920 `tramp-default-remote-path' does not exist.
20921 (tramp-send-command-and-read): New optional argument NOERROR.
20922 (tramp-open-connection-setup-interactive-shell)
20923 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
20924 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
20925 (tramp-process-sentinel): Flush also process' connection property.
20926 (tramp-sh-handle-start-file-process): Do not set process
20927 sentinel. It is done now ...
20928 (tramp-maybe-open-connection): ... here. (Bug#8929)
20929
20930 2011-07-04 MON KEY <monkey@sandpframing.com>
20931
20932 * play/animate.el (animate-string): Doc fixes and allow changing
20933 the buffer name (bug#5417).
20934
20935 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
20936
20937 * play/animate.el (animation-buffer-name): Rename from *animate*.
20938
20939 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
20940
20941 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
20942 This is simpler and helps future-proof the code.
20943 (timer-until): Use time-subtract and float-time.
20944 (timer--time-less-p): Use time-less-p.
20945
20946 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
20947
20948 * type-break.el (timep): Use the value of `float-time' to avoid a
20949 byte-compiler warning.
20950
20951 * server.el (server-eval-and-print): Return any result, even nil.
20952
20953 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
20954
20955 * type-break.el: Accept time formats that the builtins accept.
20956 (timep, type-break-time-difference): Accept any format that
20957 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
20958 This is simpler and helps future-proof the code.
20959 (type-break-time-difference): Round rather than ignoring
20960 subseconds components.
20961
20962 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20963
20964 * info.el (Info-apropos-matches): Make non-interactive, since it
20965 doesn't seem to do anything useful as a command (bug#8829).
20966
20967 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
20968
20969 * frame.el (frame-background-mode, frame-set-background-mode):
20970 Move from faces.el.
20971 (frame-default-terminal-background): New function.
20972
20973 * custom.el (custom-push-theme): Don't record faces in `changed'
20974 theme; this doesn't work correctly for per-frame face settings.
20975 (disable-theme): Use face-set-after-frame-default to reset faces.
20976 (custom--frame-color-default): New function.
20977
20978 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20979
20980 * dired.el (dired-flagging-regexp): Remove unused variable
20981 (bug#8769).
20982
20983 2011-03-29 Kevin Ryde <user42@zip.com.au>
20984
20985 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20986 `perl-Test2' extend to match possible "fail #N" rep count
20987 (bug#8377).
20988
20989 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20990
20991 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
20992 `smtpmail-via-smtp' now returns the error instead of nil.
20993
20994 * isearch.el (isearch-search-fun-function): Clarify the doc string
20995 (bug#8101).
20996
20997 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
20998
20999 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
21000 unnecessary spaces (bug#8987).
21001
21002 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21003
21004 * net/network-stream.el (open-network-stream): Use the
21005 :end-of-capability command thoughout.
21006
21007 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
21008
21009 * net/network-stream.el (open-network-stream): Add the
21010 :end-of-capability command parameter, used by pop3.el.
21011
21012 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21013
21014 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
21015
21016 * fringe.el (fringe-query-style): Remove redundant text " (type ?
21017 for list)" (bug#6475).
21018
21019 * files.el (file-expand-wildcards): Ignore non-readable
21020 sub-directories while trying to find matches instead of signaling
21021 an error (bug#6297).
21022
21023 * man.el (Man-reference-regexp): Allow matching possible
21024 word-wrapped references (bug#6289).
21025
21026 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
21027 for consistency with the other vc buffers (bug#6197).
21028 (vc-checkin): Ditto.
21029
21030 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
21031
21032 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
21033
21034 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21035
21036 * custom.el (defcustom): Clarify that :set is only used in the
21037 Customize user interface (bug#6089).
21038
21039 * progmodes/flymake.el (flymake-mode): If the buffer isn't
21040 associated with a file, refuse to run instead of erroring out
21041 (bug#6084).
21042
21043 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
21044 the doc string, since it appears that using `fill-column' always
21045 controls the width (bug#7845).
21046
21047 * simple.el (shell-command-on-region): Say where the error output
21048 went if `shell-command-default-error-buffer' is set (bug#6857).
21049
21050 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
21051
21052 * allout.el (allout-yank-processing): Adjust cursor position for
21053 backwards-deleted space.
21054
21055 (allout-rebullet-heading): Register changes with
21056 allout-exposure-changed-hook, so the modified topic is properly
21057 decorated.
21058
21059 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21060
21061 * minibuffer.el (completion-in-region): Document PREDICATE
21062 (bug#7136).
21063
21064 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
21065 of keyword/argument pairs (bug#6904).
21066
21067 * replace.el (multi-occur):
21068 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
21069
21070 2011-07-02 Drew Adams <drew.adams@oracle.com>
21071
21072 * dired.el (dired-mark-if): Make the message about whether it's
21073 marking or unmarking clearer (bug#8523).
21074
21075 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21076
21077 * disp-table.el (display-table-print-array): New function.
21078 (describe-display-table): Use it to print the vectors more pretty
21079 (Bug#8859).
21080
21081 2011-07-02 Martin Rudalics <rudalics@gmx.at>
21082
21083 * window.el (window-state-get-1): Don't assign clone numbers.
21084 Add clone-of item to list of window parameters.
21085 (window-state-put-2): Don't process clone numbers.
21086 (display-buffer-alist): Fix doc-string.
21087
21088 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
21089
21090 * subr.el (remq): Don't allocate if it's not needed.
21091 (keymap--menu-item-binding, keymap--menu-item-with-binding)
21092 (keymap--merge-bindings): New functions.
21093 (keymap-canonicalize): Use them to refine the canonicalization.
21094 * minibuffer.el (minibuffer-local-completion-map)
21095 (minibuffer-local-must-match-map): Move initialization from C.
21096 (minibuffer-local-filename-completion-map): Move initialization from C;
21097 don't inherit from anything here.
21098 (minibuffer-local-filename-must-match-map): Make obsolete.
21099 (completing-read-default): Use make-composed-keymap to combine
21100 minibuffer-local-filename-completion-map with either
21101 minibuffer-local-must-match-map or
21102 minibuffer-local-filename-completion-map.
21103
21104 2011-07-01 Glenn Morris <rgm@gnu.org>
21105
21106 * type-break.el (type-break-time-sum): Use dolist.
21107
21108 * textmodes/flyspell.el (flyspell-word-search-backward):
21109 Replace CL function.
21110
21111 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21112
21113 * mouse.el (mouse--strip-first-event): New function.
21114 (function-key-map): Use it to map fringe clicks to normal clicks
21115 by default.
21116
21117 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
21118 (vc-bzr-revision-completion-table): Add support for annotate and date.
21119
21120 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
21121 inherit from parent.
21122
21123 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
21124
21125 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
21126 (dired-show-file-type): Doc fixup (bug#8818).
21127
21128 * dired.el (dired-mode): Fix up the doc string as suggested by
21129 Drew Adams (bug#8817).
21130
21131 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
21132 cookie, since the manual says that it should be possible to add
21133 this function to `find-file-hook' (bug#8709).
21134
21135 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
21136
21137 * progmodes/cfengine.el: Moved all cfengine3.el functionality
21138 here. Noted Ted Zlatanov as the maintainer.
21139 (cfengine-common-settings, cfengine-common-syntax): New functions
21140 to set up common things between `cfengine-mode' and
21141 `cfengine3-mode'.
21142 (cfengine3-mode): New mode.
21143 (cfengine3-defuns cfengine3-defuns-regex
21144 (cfengine3-class-selector-regex cfengine3-category-regex)
21145 (cfengine3-vartypes cfengine3-font-lock-keywords)
21146 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
21147 (cfengine3-indent-line): Add from cfengine3.el.
21148
21149 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
21150
21151 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
21152
21153 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
21154
21155 2011-07-01 Martin Rudalics <rudalics@gmx.at>
21156
21157 * window.el (same-window-buffer-names, same-window-regexps)
21158 (same-window-p, special-display-frame-alist)
21159 (special-display-popup-frame, special-display-function)
21160 (special-display-buffer-names, special-display-regexps)
21161 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
21162 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21163 (split-window-preferred-function, split-height-threshold)
21164 (split-width-threshold, even-window-heights)
21165 (display-buffer-mark-dedicated, window-splittable-p)
21166 (split-window-sensibly, window-safely-shrinkable-p):
21167 Un-obsolete.
21168 (display-buffer): Don't spread args with function specifier
21169 because special-display-popup-frame won't like it.
21170
21171 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
21172
21173 Time-stamp simplifications and fixes.
21174 These improve accuracy slightly, and future-proof the code
21175 against some potential changes to current-time format.
21176
21177 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
21178 by using time-since and float-time.
21179
21180 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
21181 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
21182 + NNN microseconds".
21183
21184 * type-break.el (type-break-time-sum): Rewrite using time-add.
21185
21186 * play/hanoi.el (hanoi-current-time-float): Remove.
21187 All uses replaced by float-time.
21188
21189 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
21190 This yields a more-accurate answer.
21191 (rng-time-to-float): Remove; no longer needed.
21192
21193 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
21194
21195 * calendar/timeclock.el (timeclock-seconds-to-time):
21196 Defalias to seconds-to-time, since they're the same thing.
21197
21198 * emacs-lisp/elp.el (elp-elapsed-time):
21199 * emacs-lisp/benchmark.el (benchmark-elapse):
21200 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
21201
21202 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21203
21204 * window.el (bury-buffer): Don't iconify the only frame.
21205 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
21206 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
21207
21208 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
21209
21210 * eshell/em-smart.el (eshell-smart-display-navigate-list):
21211 Add mouse-yank-primary.
21212
21213 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
21214
21215 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
21216
21217 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21218
21219 * emacs-lisp/find-func.el (find-library--load-name): New fun.
21220 (find-library-name): Use it to find relative load names when provided
21221 absolute file name (bug#8803).
21222
21223 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
21224
21225 * textmodes/flyspell.el (flyspell-word): Consider words that
21226 differ only in case as potential doublons (bug#5687).
21227
21228 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
21229 Remove two rather uninteresting debugging-like messages to make
21230 debbugs.el more silent.
21231
21232 * comint.el (comint-password-prompt-regexp): Accept "Response" as
21233 a password-like phrase.
21234
21235 2011-06-30 Masatake YAMATO <yamato@redhat.com>
21236
21237 * progmodes/cc-guess.el: New file.
21238
21239 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
21240
21241 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
21242 derived from `c-basic-common-init'.
21243
21244 * progmodes/cc-mode.el (top-level): Require cc-guess.
21245 (c-basic-common-init): Use `cc-choose-style-for-mode'.
21246
21247 2011-06-30 Lawrence Mitchell <wence@gmx.li>
21248
21249 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
21250
21251 2011-06-30 Alan Mackenzie <acm@muc.de>
21252
21253 * progmodes/cc-engine.el (c-guess-continued-construct):
21254 Correct the handling of template-args-cont, particularly for when font
21255 lock is disabled. Name this case as "CASE G".
21256
21257 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
21258
21259 * allout.el (allout-yank-processing): Fix injection of extra space
21260 between bullet and non-whitespace character in first topic when
21261 pasting, ensuring that the actual spacing in the pasted topic
21262 following the bullet char is preserved. This extra space was
21263 causing pasted encrypted topics to get a decrypted status even
21264 when the content was actually still encrypted. Now the decryption
21265 status from before the paste is preserved.
21266
21267 (allout-flag-region): Set all allout overlays so they evaporate
21268 when reduced to zero length (evanescent), to prevent overlay
21269 leakage.
21270
21271 2011-06-30 Glenn Morris <rgm@gnu.org>
21272
21273 * w32-fns.el (w32-charset-info-alist): Declare.
21274
21275 * find-dired.el (find-grep-options): Simplify.
21276
21277 * term/ns-win.el (ns-set-resource): Declare.
21278
21279 * ses.el (row, col): Declare dynamic variables honestly.
21280
21281 * textmodes/reftex-parse.el (index-tags): Declare.
21282
21283 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
21284
21285 * cus-edit.el (customize-push-and-save): New function.
21286
21287 * files.el (hack-local-variables-confirm): Use it.
21288
21289 * custom.el (load-theme): New arg NO-CONFIRM.
21290 Use customize-push-and-save (Bug#8720).
21291 (custom-enabled-themes): Doc fix.
21292
21293 * cus-theme.el (customize-create-theme)
21294 (custom-theme-merge-theme): Callers to load-theme changed.
21295
21296 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
21297
21298 * thingatpt.el (thing-at-point-short-url-regexp): Require that
21299 short URLs have at least one dot in them (bug #7614).
21300
21301 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
21302 nil, because using a pty is apparently too slow (bug #895).
21303
21304 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
21305
21306 * mail/sendmail.el (sendmail-query-once): New function.
21307 (sendmail-query-once-function): New variable.
21308
21309 2011-06-29 Glenn Morris <rgm@gnu.org>
21310
21311 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
21312
21313 * ses.el (top-level): Require cl when compiling.
21314 (ses-set-localvars): Fix error statement.
21315 Call it at compile time to silence a storm of warnings.
21316
21317 2011-06-29 Martin Rudalics <rudalics@gmx.at>
21318
21319 * window.el (normalize-live-buffer): Rename to
21320 window-normalize-buffer.
21321 (normalize-live-frame): Rename to window-normalize-frame.
21322 (normalize-any-window): Rename to window-normalize-any-window.
21323 (normalize-live-window): Rename to window-normalize-live-window.
21324 (make-window-atom): Rename to window-make-atom.
21325 (window-resize-reset): Rename to window--resize-reset.
21326 (window-resize-reset-1): Rename to window--resize-reset-1.
21327 (resize-mini-window): Rename to window--resize-mini-window.
21328 (resize-subwindows-skip-p): Rename to
21329 window--resize-subwindows-skip-p.
21330 (resize-subwindows-normal): Rename to
21331 window--resize-subwindows-normal.
21332 (resize-subwindows): Rename to window--resize-subwindows.
21333 (resize-other-windows): Rename to window--resize-siblings.
21334 (resize-this-window): Rename to window--resize-this-window.
21335 (resize-root-window): Rename to window--resize-root-window.
21336 (resize-root-window-vertically): Rename to
21337 window--resize-root-window-vertically.
21338 (normalize-buffer-to-display): Rename to
21339 window-normalize-buffer-to-display.
21340 (normalize-buffer-to-switch-to): Rename to
21341 window-normalize-buffer-to-switch-to.
21342 Correspondingly update all callers of the functions listed
21343 above.
21344 (display-buffer-alist, display-buffer-normalize-arguments)
21345 (display-buffer-normalize-options, display-buffer)
21346 (display-buffer-alist-set): Use "function" instead of
21347 "fun-with-args".
21348
21349 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
21350
21351 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
21352 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
21353 debbugs.gnu.org. Mention acknowledgment email.
21354
21355 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
21356
21357 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
21358 buffer multibyteness, since it shouldn't matter.
21359
21360 2011-06-28 Martin Rudalics <rudalics@gmx.at>
21361
21362 * window.el (display-buffer-in-side-window): Handle dedicated
21363 windows as in display-buffer-reuse-window.
21364 (display-buffer-normalize-alist): Use value of override
21365 specifier.
21366 (display-buffer-normalize-specifiers): Use value of
21367 other-window-means-other-frame specifier.
21368 (display-buffer-alist): Rewrite some texts in widgets.
21369 (display-buffer): Spread arguments when calling function
21370 specified by fun-with-args.
21371
21372 2011-06-28 Deniz Dogan <deniz@dogan.se>
21373
21374 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
21375 Unnest `let'.
21376
21377 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
21378 selectors (Bug#5732).
21379 (css-proprietary-nmstart-re): Use `regexp-opt'.
21380
21381 2011-06-27 Jari Aalto <jari.aalto@cante.net>
21382
21383 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
21384 (eshell-ls-date-format): New defcustom.
21385 (eshell-ls-file): Use it.
21386
21387 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
21388
21389 * help-fns.el (describe-variable): Fix message for terminal-local vars.
21390
21391 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
21392
21393 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
21394 (ange-ftp-make-tmp-name): New arg.
21395 (ange-ftp-file-local-copy): Use it.
21396
21397 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
21398
21399 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
21400 no-conversion (Bug#8870).
21401
21402 2011-06-27 Martin Rudalics <rudalics@gmx.at>
21403
21404 * window.el (window-right, window-left, window-child)
21405 (window-child-count, window-last-child)
21406 (window-iso-combination-p, walk-window-tree-1)
21407 (window-atom-check-1, window-tree-1, delete-window)
21408 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
21409 new naming conventions - window-vchild, window-hchild,
21410 window-next and window-prev are now called window-top-child,
21411 window-left-child, window-next-sibling and window-prev-sibling
21412 respectively.
21413 (resize-window-reset): Rename to window-resize-reset.
21414 (resize-window-reset-1): Rename to window-resize-reset-1.
21415 (resize-window): Rename to window-resize.
21416 (window-min-height, window-min-width)
21417 (resize-mini-window, resize-this-window, resize-root-window)
21418 (resize-root-window-vertically, adjust-window-trailing-edge)
21419 (enlarge-window, shrink-window, maximize-window)
21420 (minimize-window, delete-window, quit-restore-window)
21421 (split-window, balance-windows, balance-windows-area-adjust)
21422 (balance-windows-area, window-state-put-2)
21423 (display-buffer-even-window-sizes, display-buffer-set-height)
21424 (display-buffer-set-width, set-window-text-height)
21425 (fit-window-to-buffer): Rename all "resize-window" prefixed
21426 calls to use the "window-resize" prefix convention.
21427 (display-buffer-alist): Fix symbol for label specifier.
21428 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
21429 corresponding specifier.
21430 Reported by Juanma Barranquero <lekktu@gmail.com>.
21431
21432 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
21433
21434 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
21435 convention.
21436 (ses-call-printer): Does not pass an empty string to formatter when the
21437 cell is empty to keep from barking printer Calc math-format-value.
21438
21439 2011-06-27 Richard Stallman <rms@gnu.org>
21440
21441 * battery.el (battery-mode-line-limit): New variable.
21442 (battery-update): Handle it.
21443
21444 * mail/rmailmm.el (rmail-mime-process-multipart):
21445 Handle truncated messages.
21446
21447 2011-06-27 Glenn Morris <rgm@gnu.org>
21448
21449 * progmodes/flymake.el (flymake-err-line-patterns):
21450 Allow for column numbers in the ant/javac pattern. (Bug#8866)
21451
21452 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
21453
21454 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
21455 (ses--clean-!, ses--clean-_): New functions.
21456 (ses-range): Add configurability of readout order, and conversion
21457 to Calc vector.
21458
21459 * ses.el (ses-repair-cell-reference-all): New function.
21460 (ses-cell-symbol): Set macro as safe, so that it can be used in
21461 formulas.
21462
21463 * ses.el: Update cycle detection algorithm.
21464 (ses-localvars): Add ses--Dijkstra-attempt-nb and
21465 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
21466 (ses-set-localvars): New function.
21467 (ses-make-cell): Add property-list as a cell element.
21468 (ses-cell-property-get-fun, ses-cell-property-get)
21469 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
21470 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
21471 New functions.
21472 (ses-cell-property-set, ses-cell-property-pop)
21473 (ses-cell-property-get-handle): New macro.
21474 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
21475 New aliases, used for code readability.
21476 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
21477 cycle detection.
21478 (ses-self-reference-early-detection): New defcustom.
21479 (ses-formula-references): Robustify against self-referring cells.
21480 (ses-mode): Use ses-set-localvars.
21481 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
21482 before lauching the update processing.
21483 (ses-initialize-Dijkstra-attempt): New function.
21484 (ses-recalculate-cell): Update for cycle detection based on
21485 Dijkstra algorithm.
21486
21487 * ses.el: Fix commenting and indenting convention.
21488
21489 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
21490
21491 * bs.el (bs-cycle-next): Complete last change.
21492
21493 2011-06-27 Drew Adams <drew.adams@oracle.com>
21494
21495 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
21496
21497 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
21498
21499 * net/network-stream.el (network-stream-open-starttls):
21500 Don't re-get capabilities unless we've reestablished connection.
21501 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
21502
21503 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
21504 to binary to possibly avoid line encoding issues on Windows (among
21505 other things).
21506
21507 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
21508
21509 * net/network-stream.el (open-network-stream): Return an :error
21510 saying what the problem was, if possible.
21511
21512 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
21513 server.
21514
21515 * net/network-stream.el (network-stream-open-starttls): If we
21516 wanted to use STARTTLS, and the server offered it, but we weren't
21517 able to because we had no STARTTLS support, then close the connection.
21518 (open-network-stream): Return an :error element, if present.
21519
21520 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
21521
21522 * hl-line.el (hl-line-sticky-flag): Doc fix.
21523 (global-hl-line-sticky-flag): New option (Bug#8323).
21524 (global-hl-line-highlight): Obey it.
21525
21526 * vc/vc.el (vc-revert-show-diff): Default to t.
21527
21528 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
21529
21530 * allout-widgets.el (allout-widgets-post-command-business):
21531 Stop decorating intermediate isearch matches. They're not being
21532 undecorated when an isearch is continued past, and isearch
21533 automatically collapses them. This leads to "widget leaks", where
21534 decorated items accumulate in collapsed areas. Lines with lots of
21535 hidden widgets can slow down cursor travel, substantially.
21536 Too much complicated machinery would be needed to ensure undecoration,
21537 so we're doing without this nicety.
21538
21539 (allout-widgets-tally-string): Don't try to do a hash-table-count
21540 of allout-widgets-tally when it's nil. This eliminates spurious "Error
21541 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
21542 *Messages* when allout-widgets-maintain-tally is t.
21543
21544 2011-06-26 Martin Rudalics <rudalics@gmx.at>
21545
21546 * window.el (display-buffer-normalize-argument): Rename to
21547 display-buffer-normalize-arguments. Handle special meaning of
21548 LABEL argument. Respect special-display-function when popping up
21549 a new frame. Fix code searching for a window showing the buffer
21550 on another frame.
21551 (display-buffer-normalize-specifiers):
21552 Call display-buffer-normalize-arguments.
21553 (display-buffer-in-window): Don't undedicate the window if its
21554 buffer remains the same.
21555 Reported by Drew Adams <drew.adams@oracle.com>.
21556 (display-buffer-alist): Add choice for same-window macro
21557 specfier.
21558 (display-buffer): Mention special meaning of LABEL argument in
21559 doc-string. Fix quoting. Don't pop up a new frame even as
21560 fallback.
21561
21562 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
21563
21564 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
21565 avoid deleting the current window in some cases (bug#8911).
21566
21567 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
21568
21569 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
21570 (Bug#8934)
21571
21572 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
21573
21574 * net/network-stream.el (network-stream-open-starttls):
21575 Use built-in TLS support if `gnutls-available-p' is true.
21576 (network-stream-open-tls): Ditto.
21577
21578 2011-06-26 Leo Liu <sdl.web@gmail.com>
21579
21580 * register.el (registerv): New struct.
21581 (registerv-make): New function.
21582 (jump-to-register, describe-register-1, insert-register):
21583 Support the jump-func, print-func and insert-func slot of a registerv
21584 struct. (Bug#8415)
21585
21586 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
21587
21588 * vc/vc.el (vc-revert-show-diff): New defcustom.
21589 (vc-diff-internal): New arg specifying diff buffer.
21590 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
21591 reuse an existing *vc-diff* buffer (Bug#8927).
21592
21593 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
21594
21595 2011-06-26 Glenn Morris <rgm@gnu.org>
21596
21597 * progmodes/f90.el (f90-critical-indent): New option.
21598 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
21599 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
21600 (f90-mode): Doc fix.
21601 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
21602 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
21603 (f90-beginning-of-block, f90-next-block, f90-indent-region)
21604 (f90-match-end): Handle block, critical.
21605
21606 2011-06-25 Glenn Morris <rgm@gnu.org>
21607
21608 * calendar/diary-lib.el (diary-included-files): Doc fix.
21609 (diary-include-files): New function, extracted from
21610 diary-include-other-diary-files and diary-mark-included-diary-files.
21611 (diary-include-other-diary-files, diary-mark-included-diary-files):
21612 Just call diary-include-files.
21613 (diary-mark-entries): Reset diary-included-files on first call.
21614
21615 * calendar/diary-lib.el (diary-mark-entries)
21616 (diary-mark-included-diary-files):
21617 Visit included diary-files in temp buffers.
21618
21619 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
21620 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
21621 (f90-start-block-re, f90-imenu-generic-expression)
21622 (f90-looking-at-program-block-start, f90-no-block-limit):
21623 Add support for submodules.
21624
21625 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
21626 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
21627
21628 2011-06-25 Eli Zaretskii <eliz@gnu.org>
21629
21630 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
21631 buffer-file-type before setting its value, to avoid disastrous
21632 global effects on decoding files for DOS/Windows systems. (Bug#8780)
21633
21634 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
21635
21636 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
21637
21638 * ses.el (ses-unload-function):
21639 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
21640
21641 * proced.el (proced-unload-function):
21642 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
21643
21644 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
21645
21646 * server.el (server-create-window-system-frame): Add parameters arg.
21647 (server-process-filter): Doc fix. Handle frame-parameters.
21648
21649 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
21650
21651 Fix bug#8730, bug#8781.
21652
21653 * loadhist.el (unload--set-major-mode): New function.
21654 (unload-feature): Use it.
21655
21656 * progmodes/python.el (python-after-info-look): Add autoload cookie.
21657 (python-unload-function): New function.
21658
21659 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
21660
21661 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
21662
21663 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
21664
21665 * net/browse-url.el (browse-url-firefox-program): Add icecat to
21666 the candidates list.
21667
21668 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
21669
21670 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
21671
21672 2011-06-23 Richard Stallman <rms@gnu.org>
21673
21674 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
21675 (rmail-variables): Set next-error-move-function.
21676 (rmail-what-message): Take argument POS.
21677 (rmail-next-error-move): New function.
21678
21679 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
21680
21681 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
21682 messages for adjacent non-terminals.
21683
21684 2011-06-23 Richard Stallman <rms@gnu.org>
21685
21686 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
21687 (rmail-show-message-1): Preserve buffer modified flag.
21688 (rmail-start-mail): Don't specify use of rmail-mail-return;
21689 that's done by mail-bury now.
21690 (rmail-mail-return): Handle arg NEWBUF.
21691
21692 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
21693
21694 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
21695 SIZE is a number.
21696
21697 2011-06-23 Martin Rudalics <rudalics@gmx.at>
21698
21699 * window.el (get-lru-window, get-mru-window)
21700 (get-largest-window): Never return a minibuffer window.
21701 (display-buffer-pop-up-window): Fix a bug that could lead to
21702 reusing the minibuffer window.
21703 (display-buffer): Pass original specifier argument to
21704 display-buffer-function instead of the normalized one.
21705 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
21706
21707 2011-06-22 Leo Liu <sdl.web@gmail.com>
21708
21709 * minibuffer.el (completing-read-function)
21710 (completing-read-default): Move from minibuf.c.
21711
21712 2011-06-22 Richard Stallman <rms@gnu.org>
21713
21714 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
21715 to Rmail even if not started by a special Rmail command.
21716
21717 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
21718 Copy the buffer currently showing just one message.
21719
21720 2011-06-22 Roland Winkler <winkler@gnu.org>
21721
21722 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
21723 (bibtex-clean-entry): First delete the old key so that a
21724 customized algorithm for generating the new key does not get
21725 confused by the old key.
21726 (bibtex-url): Obey regexp of first step.
21727 (bibtex-search-entries): Do not use add-to-list with local
21728 list-var.
21729
21730 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
21731
21732 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
21733 stored a user name, then query for the password first, instead of
21734 waiting for SMTP to give an error message and the trying again.
21735
21736 2011-06-22 Lawrence Mitchell <wence@gmx.li>
21737
21738 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
21739 BUFFER in call-process.
21740
21741 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
21742
21743 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
21744 QUIT twice.
21745 (smtpmail-try-auth-methods): Require user name and password from
21746 auth-source.
21747
21748 2011-06-22 Martin Rudalics <rudalics@gmx.at>
21749
21750 * window.el (display-buffer-default-specifiers)
21751 (display-buffer-alist): Remove entries for pop-up-frame-alist.
21752 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
21753 (split-window): Normalize SIDE argument (Bug#8916).
21754
21755 * frame.el (pop-up-frame-alist, pop-up-frame-function)
21756 (special-display-frame-alist, special-display-popup-frame):
21757 Remove duplicate declarations. These are now in window.el.
21758
21759 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21760
21761 * mail/smtpmail.el (smtpmail-via-smtp):
21762 Set :use-starttls-if-possible so that we always use STARTTLS if the
21763 server supports it. SMTP servers that support STARTTLS commonly
21764 require it.
21765
21766 * net/network-stream.el (network-stream-open-starttls): Support
21767 upgrading to STARTTLS always, even if we don't have built-in support.
21768 (open-network-stream): Add the :always-query-capabilities keyword.
21769
21770 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
21771 upgrades with `open-network-stream', and rely solely on
21772 auth-source for all credentials. Big changes throughout the file,
21773 but in particular:
21774 (smtpmail-auth-credentials): Remove.
21775 (smtpmail-starttls-credentials): Remove.
21776 (smtpmail-via-smtp): Check for servers saying they want AUTH after
21777 MAIL FROM, too.
21778
21779 * net/network-stream.el (network-stream-open-starttls):
21780 Provide support for client certificates both for external and built-in
21781 STARTTLS.
21782 (auth-source): Require.
21783 (open-network-stream): Document the :client-certificate keyword.
21784 (network-stream-certificate): Change cert-cert to cert and
21785 cert-key to key.
21786
21787 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
21788
21789 * net/tramp-cache.el (top): Don't load the persistency file when
21790 "emacs -Q" has been called.
21791
21792 2011-06-21 Tim Harper <timcharper@gmail.com>
21793
21794 * term/ns-win.el (ns-initialize-window-system):
21795 Set application-specific `ApplePressAndHoldEnabled' system
21796 resource to NO as it is not yet supported by the NS port.
21797
21798 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
21799
21800 * misc.el (list-dynamic-libraries--refresh): Compute header here...
21801 (list-dynamic-libraries): ...not here.
21802
21803 2011-06-21 Leo Liu <sdl.web@gmail.com>
21804
21805 * subr.el (sha1): Implement sha1 using secure-hash.
21806
21807 2011-06-21 Martin Rudalics <rudalics@gmx.at>
21808
21809 * window.el (display-buffer-alist): In default value do not
21810 enforce searching a window on any but the selected frame.
21811 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
21812 (display-buffer-select-window): Remove function.
21813 (display-buffer-in-window): When a window on another frame gets
21814 reused, do not select it any more but just raise its frame if
21815 necessary (Bug#8851) and (Bug#8856).
21816 (display-buffer-normalize-options): Handle pop-up-frames related
21817 options more faithfully.
21818 (pop-to-buffer): Don't rely on `display-buffer' selecting the
21819 window if it is on another frame.
21820 (display-buffer-alist, display-buffer-default-specifiers):
21821 Don't make new frame unsplittable by default.
21822 (display-buffer-normalize-argument): Fix doc-string typo and use
21823 'same-frame-other-window instead of 'other-window when associating
21824 with display-buffer-macro-specifiers.
21825
21826 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
21827
21828 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
21829 New functions.
21830 (5x5-mode-map, 5x5-mode-menu): Bind them.
21831 (5x5-draw-grid): Tweak the solver's rendering.
21832
21833 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
21834
21835 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
21836 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
21837
21838 2011-06-21 Drew Adams <drew.adams@oracle.com>
21839
21840 * menu-bar.el: Use function variable instead of switch-to-buffer.
21841 (menu-bar-select-buffer-function): New variable.
21842 (menu-bar-update-buffers): Use it (bug#8876).
21843
21844 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
21845
21846 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
21847 variable's status.
21848
21849 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
21850
21851 * x-dnd.el (x-dnd-version-from-flags)
21852 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
21853 and long as number (Bug#8899).
21854 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
21855
21856 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
21857
21858 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
21859 (completion-try-completion, completion-all-completions): Compute the
21860 metadata argument if it's missing; make it optional (bug#8795).
21861
21862 * wid-edit.el: Use lex-bind and move towards completion-at-point.
21863 (widget-complete): Use new :completion-function property.
21864 (widget-completions-at-point): New function.
21865 (default): Use :completion-function instead of :complete.
21866 (widget-default-completions): Rename from widget-default-complete;
21867 Rewrite.
21868 (widget-string-complete, widget-file-complete, widget-color-complete):
21869 Remove functions.
21870 (file, symbol, function, variable, coding-system, color):
21871 * international/mule-cmds.el (default-input-method, charset)
21872 (language-info-custom-alist):
21873 * cus-edit.el (face): Use new property :completions.
21874
21875 * progmodes/pascal.el (pascal-completions-at-point): New function.
21876 (pascal-mode): Use it.
21877 (pascal-mode-map): Use completion-at-point.
21878 (pascal-toggle-completions): Make obsolete.
21879 (pascal-complete-word, pascal-show-completions):
21880 * progmodes/octave-mod.el (octave-complete-symbol):
21881 Redefine as obsolete alias.
21882 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
21883 Signal absence of completion info for old Octave,
21884 (inferior-octave-complete): Redefine as obsolete alias.
21885 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
21886 (meta-completions-at-point): Rename from meta-complete-symbol and
21887 adapt it for use on completion-at-point-functions.
21888 (meta-common-mode): Use it.
21889 (meta-looking-at-backward, meta-match-buffer): Remove.
21890 (meta-complete-symbol): Redefine as obsolete alias.
21891 (meta-common-mode-map): Use completion-at-point.
21892 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
21893 (makefile-mode-map): Use completion-at-point.
21894 (makefile-completions-at-point): Rename from makefile-complete and
21895 adapt it for use on completion-at-point-functions.
21896 (makefile-mode): Use it.
21897 (makefile-complete): Redefine as obsolete alias.
21898
21899 2011-06-20 Deniz Dogan <deniz@dogan.se>
21900
21901 * net/rcirc.el: Delete trailing whitespaces once and for all.
21902
21903 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
21904
21905 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
21906
21907 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
21908
21909 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
21910
21911 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
21912
21913 2011-06-19 Martin Rudalics <rudalics@gmx.at>
21914
21915 * window.el (display-buffer-other-window-means-other-frame):
21916 Call display-buffer-normalize-alist.
21917 (display-buffer-normalize-specifiers-1): Rename to
21918 display-buffer-normalize-argument. New argument other-frame.
21919 Rewrite.
21920 (display-buffer-normalize-specifiers-2): Rename to
21921 display-buffer-normalize-options.
21922 (display-buffer-normalize-alist-1): New function.
21923 (display-buffer-normalize-specifiers-3): Rename to
21924 display-buffer-normalize-alist.
21925 Call display-buffer-normalize-alist-1.
21926 (display-buffer-normalize-options-inhibit): New variable.
21927 (display-buffer-normalize-specifiers): Rewrite calling
21928 display-buffer-normalize-alist,
21929 display-buffer-normalize-argument, and
21930 display-buffer-normalize-options. Don't call the latter if
21931 display-buffer-normalize-options-inhibit is non-nil.
21932 (frame-auto-delete): New option.
21933 (window-deletable-p): Use frame-auto-delete.
21934 (window-list-no-nils, window-state-ignored-parameters)
21935 (window-state-get-1, window-state-get, window-state-put-list)
21936 (window-state-put-1, window-state-put-2, window-state-put):
21937 New functions.
21938 (display-buffer-normalize-options): Move special-display-p group
21939 after pop-up-frame group (Bug#8851) and (Bug#8856).
21940
21941 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
21942
21943 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
21944 groups (Bug#8776).
21945 (rx-submatch-n): New function.
21946 (rx): Document it.
21947
21948 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
21949 (Bug#8768).
21950
21951 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
21952
21953 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
21954
21955 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
21956 anytime existing face settings are present (Bug#8889).
21957
21958 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
21959 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
21960 Remove unused argument.
21961
21962 2011-06-18 Martin Rudalics <rudalics@gmx.at>
21963
21964 * window.el (display-buffer-default-specifiers):
21965 Remove pop-up-frame. Add pop-up-window-min-height,
21966 pop-up-window-min-width, and another reuse-window specifier
21967 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
21968 (display-buffer-normalize-specifiers-2):
21969 Handle split-height-threshold and split-width-threshold also when
21970 pop-up-windows is unset. Add a reuse-window specifier for the
21971 case popping up a new window fails.
21972 (special-display-popup-frame): Remove double quoting.
21973 (display-buffer-normalize-specifiers-1): Fix thinko.
21974
21975 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
21976
21977 * shell.el (shell-completion-vars): Set pcomplete-termination-string
21978 according to comint-completion-addsuffix.
21979
21980 * pcomplete.el: Convert to lexical binding and fix bug#8819.
21981 (pcomplete-suffix-list): Mark as obsolete.
21982 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
21983 pcomplete-seen in the closure.
21984 (pcomplete-comint-setup): Setup completion-at-point as well.
21985 (pcomplete--entries): New function.
21986 (pcomplete--env-regexp): New var.
21987 (pcomplete-entries): Rewrite to work with partial-completion and
21988 without relying on pcomplete-suffix-list.
21989 (pcomplete-pare-list): Remove, unused.
21990
21991 2011-06-17 Martin Rudalics <rudalics@gmx.at>
21992
21993 * window.el (display-buffer-alist): Set pop-up-window-min-height
21994 and pop-up-window-min-width in default value. Reported by
21995 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
21996 other-window-means-other-frame.
21997 (display-buffer-macro-specifiers): Comment out entry for
21998 other-window specifier.
21999 (display-buffer-other-window-means-other-frame): New function.
22000 (display-buffer-normalize-specifiers-1): New arguments
22001 buffer-name and label. Treat other-window case specially.
22002 (display-buffer-normalize-specifiers-2): Treat other-window case
22003 specially.
22004 (display-buffer-normalize-specifiers-3): New function.
22005 (display-buffer-normalize-specifiers):
22006 Call display-buffer-normalize-specifiers-3.
22007
22008 2011-06-17 Martin Rudalics <rudalics@gmx.at>
22009
22010 * window.el (same-window-p): Fix two typos introduced when
22011 adding with-no-warnings.
22012 (display-buffer-normalize-specifiers-1): Don't check
22013 pop-up-frames for 'unset initialization.
22014 (display-buffer-normalize-specifiers-2): Major rewrite using
22015 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
22016 (pop-up-frames, display-buffer-reuse-frames)
22017 (display-buffer-mark-dedicated): Don't initialize to 'unset.
22018 Suggested by David Engster <deng@randomsample.de>.
22019 (even-window-heights): Initialize to 'unset.
22020 (display-buffer-alist-set): Handle new 'unset initializations.
22021 (display-buffer-macro-specifiers): Don't pop up a new frame in the
22022 other window case.
22023
22024 2011-06-16 Martin Rudalics <rudalics@gmx.at>
22025
22026 * window.el (display-buffer-normalize-specifiers-1):
22027 Respect current value of pop-up-frames for most reasonable values of
22028 second argument of display-buffer (Bug#8865).
22029 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
22030 (switch-to-buffer-other-window-same-frame)
22031 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
22032 Adams (Bug#8875).
22033 (display-buffer): Don't check noninteractive when calling
22034 display-buffer-pop-up-frame.
22035 (display-buffer-pop-up-frame): Never pop up a frame in
22036 noninteractive mode (Bug#8857).
22037 (enlarge-window, shrink-window): Don't report an error when the
22038 window can't be resized as requested (Bug#8862).
22039
22040 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
22041
22042 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
22043
22044 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
22045
22046 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
22047
22048 2011-06-15 Alan Mackenzie <acm@muc.de>
22049
22050 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
22051 for declarators, disable knr checking to speed up for normal files.
22052 2: Refactor, replacing a sequence of nested if forms by a cond form.
22053
22054 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
22055
22056 * net/network-stream.el (open-network-stream): Add the keyword
22057 :always-query-capabilities for the case where you want to force a
22058 `plain' network connection, but the protocol still requires the
22059 capabilitiy command (i.e., SMTP and EHLO).
22060
22061 * subr.el (process-live-p): Rename from `process-alive-p' for
22062 consistency with other `-live-p' functions.
22063
22064 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
22065
22066 * window.el (same-window-buffer-names, same-window-regexps)
22067 (special-display-frame-alist, special-display-popup-frame)
22068 (special-display-function, special-display-buffer-names)
22069 (special-display-regexps, pop-up-frame-alist)
22070 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
22071 (pop-up-windows, split-window-preferred-function)
22072 (split-height-threshold, split-width-threshold, even-window-heights)
22073 (display-buffer-mark-dedicated): Don't encourage the use of
22074 display-buffer-alist from Elisp code.
22075
22076 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
22077
22078 * progmodes/python.el (python-mode): Derive from prog-mode.
22079 * progmodes/ps-mode.el (ps-mode):
22080 * progmodes/mixal-mode.el (mixal-mode):
22081 * progmodes/cfengine.el (cfengine-mode):
22082 * progmodes/ld-script.el (ld-script-mode): Likewise.
22083
22084 2011-06-15 Martin Rudalics <rudalics@gmx.at>
22085
22086 * window.el (display-buffer-alist): Trim default value to avoid
22087 popping up a new frame (Bug#8857) or reusing an arbitrary window
22088 on another frame.
22089 (display-buffer): Do not fall back on popping up a new frame in
22090 batch mode (Bug#8857).
22091
22092 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
22093
22094 * cus-theme.el (describe-theme-1): Use custom-theme-p.
22095 (custom-theme-summary): New function.
22096 (customize-themes): Use it.
22097
22098 2011-06-13 Glenn Morris <rgm@gnu.org>
22099
22100 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
22101
22102 2011-06-13 Martin Rudalics <rudalics@gmx.at>
22103
22104 * help.el (help-window): Remove variable.
22105 (help-window-point-marker, temp-buffer-max-height)
22106 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
22107 (help-print-return-message): Don't set help-window.
22108 (resize-temp-buffer-window): Rewrite cod eand doc-string.
22109 (help-window-setup-finish): Remove.
22110 (help-window-display-message, help-window-setup)
22111 (with-help-window): Major rewrite based on new
22112 display-buffer-window variable.
22113
22114 * help-mode.el (help-mode-finish): Remove help-window related
22115 code.
22116
22117 * view.el (view-exits-all-viewing-windows): Remove reference to
22118 view-return-to-alist in doc-string.
22119 (view-return-to-alist): Make obsolete.
22120 (view-buffer): Call pop-to-buffer-same-window and remove
22121 undo-window code.
22122 (view-buffer-other-window): Call pop-to-buffer-other-window and
22123 simplify code. Ignore second argument.
22124 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
22125 simplify code. Ignore second argument.
22126 (view-return-to-alist-update): Make obsolete.
22127 (view-mode-enter): Rename second argument to QUIT-RESTORE.
22128 Rewrite using quit-restore window parameters.
22129 (view-mode-exit): Rename second argument to EXIT-ONLY.
22130 Rewrite using quit-restore-window.
22131 (View-exit, View-exit-and-edit, View-leave, View-quit)
22132 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
22133 appropriate arguments.
22134 (view-end-message): Use quit-restore window parameter.
22135
22136 * window.el (display-buffer-function): Rewrite doc-string.
22137 (display-buffer-window, display-buffer-alist): New variables.
22138 (display-buffer-split-specifiers)
22139 (display-buffer-side-specifiers)
22140 (display-buffer-macro-specifiers): New constants.
22141 (display-buffer-even-window-sizes, display-buffer-set-height)
22142 (display-buffer-set-width, display-buffer-select-window)
22143 (display-buffer-in-window, display-buffer-reuse-window)
22144 (display-buffer-split-window-1, display-buffer-split-window)
22145 (display-buffer-split-atom-window, display-buffer-pop-up-window)
22146 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
22147 (display-buffer-in-side-window, normalize-buffer-to-display)
22148 (display-buffer-normalize-specifiers-1)
22149 (display-buffer-normalize-specifiers-2)
22150 (display-buffer-normalize-specifiers, display-buffer-frame):
22151 New functions.
22152 (display-buffer): Major rewrite.
22153 (display-buffer-other-window, display-buffer-other-frame)
22154 (pop-to-buffer, switch-to-buffer-other-window)
22155 (switch-to-buffer-other-frame): Rewrite.
22156 (display-buffer-same-window, display-buffer-same-frame)
22157 (display-buffer-same-frame-other-window)
22158 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
22159 (pop-to-buffer-other-window)
22160 (pop-to-buffer-same-frame-other-window)
22161 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
22162 (switch-to-buffer-other-window-same-frame): New functions.
22163 (same-window-p, special-display-p): Rewrite disabling warnings.
22164 Make obsolete.
22165 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
22166 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
22167 Make obsolete
22168 (same-window-buffer-names, same-window-regexps)
22169 (special-display-frame-alist, special-display-popup-frame)
22170 (special-display-function, special-display-buffer-names)
22171 (special-display-regexps, pop-up-frame-alist)
22172 (pop-up-frame-function, split-window-preferred-function)
22173 (split-height-threshold, split-width-threshold)
22174 (even-window-heights): Make obsolete.
22175
22176 2011-06-12 Glenn Morris <rgm@gnu.org>
22177
22178 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
22179 Misc simplifications.
22180
22181 2011-06-12 Martin Rudalics <rudalics@gmx.at>
22182
22183 * window.el (window-safely-shrinkable-p): Restore function which
22184 was inadvertently removed in change from 2011-06-11. Declare as
22185 obsolete.
22186
22187 * calendar/calendar.el (calendar-generate-window):
22188 Use window-iso-combined-p instead of combination of one-window-p and
22189 window-safely-shrinkable-p.
22190
22191 2011-06-12 Glenn Morris <rgm@gnu.org>
22192
22193 * progmodes/fortran.el (fortran-mode-syntax-table):
22194 * progmodes/f90.el (f90-mode-syntax-table):
22195 Set % to punctuation. (Bug#8820)
22196 (f90-find-tag-default): Remove, no longer needed.
22197
22198 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
22199
22200 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
22201
22202 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
22203
22204 * image.el (image-animated-p): Return animation delay in seconds.
22205 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
22206 (image-animate-timeout): Remove DELAY argument. Don't assume
22207 every subimage has the same delay; get it from image-animated-p.
22208 (image-animate): Caller changed.
22209
22210 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
22211
22212 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
22213 to ignored backtrace functions.
22214
22215 2011-06-11 Glenn Morris <rgm@gnu.org>
22216
22217 * calendar/appt.el (appt-disp-window-function): Doc fix.
22218 (appt-check): Handle overlapping appointments. (Bug#8337)
22219
22220 2011-06-11 Martin Rudalics <rudalics@gmx.at>
22221
22222 * window.el (window-tree-1, window-tree): New functions, moving
22223 the latter to window.el.
22224 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
22225 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
22226 (bw-refresh-edges): Remove.
22227 (balance-windows-1, balance-windows-2): New functions.
22228 (balance-windows): Rewrite in terms of window tree functions,
22229 balance-windows-1 and balance-windows-2.
22230 (bw-adjust-window): Remove.
22231 (balance-windows-area-adjust): New function with functionality of
22232 bw-adjust-window but using resize-window.
22233 (set-window-text-height): Rewrite doc-string.
22234 Use normalize-live-window and resize-window.
22235 (enlarge-window-horizontally, shrink-window-horizontally):
22236 Rename argument to DELTA.
22237 (window-buffer-height): New function.
22238 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
22239 Rewrite using new window resize routines.
22240 (kill-buffer-and-window, mouse-autoselect-window-select):
22241 Use ignore-errors instead of condition-case.
22242 (quit-window): Call delete-frame instead of delete-windows-on
22243 for the only buffer on frame.
22244
22245 2011-06-10 Martin Rudalics <rudalics@gmx.at>
22246
22247 * loadup.el (top-level): Load window before files for the sake
22248 of replace-buffer-in-windows.
22249
22250 * files.el (read-buffer-to-switch)
22251 (switch-to-buffer-other-window)
22252 (switch-to-buffer-other-frame, display-buffer-other-frame):
22253 Move to window.el.
22254
22255 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
22256 (previous-buffer): Move to window.el.
22257
22258 * bindings.el (unbury-buffer): Move to window.el.
22259
22260 * window.el (delete-other-windows-vertically): Move after
22261 definition of delete-other-windows.
22262 (other-window, delete-windows-on, replace-buffer-in-windows):
22263 Move here from window.c.
22264 (record-window-buffer, unrecord-window-buffer)
22265 (set-window-buffer-start-and-point, switch-to-prev-buffer)
22266 (switch-to-next-buffer): New functions.
22267 (get-next-valid-buffer, last-buffer, next-buffer): Move here
22268 from simple.el. Call switch-to-next-buffer.
22269 (previous-buffer): Move here from simple.el.
22270 Call switch-to-prev-buffer.
22271 (bury-buffer): Move here from buffer.c. Switch to previous
22272 buffer when window cannot be deleted.
22273 (unbury-buffer): Move here from bindings.el.
22274 (ctl-x-map): Move binding for other-window from window.c to
22275 here.
22276 (read-buffer-to-switch, switch-to-buffer-other-window)
22277 (switch-to-buffer-other-frame): Move here from files.el.
22278 (normalize-buffer-to-switch-to): New functions.
22279 (switch-to-buffer): Move here from buffer.c.
22280 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
22281
22282 2011-06-10 Martin Rudalics <rudalics@gmx.at>
22283
22284 * window.el (window-min-height, window-min-width): Move here
22285 from window.c. Add defcustoms and rewrite doc-strings.
22286 (resize-mini-window, resize-window): New functions.
22287 (adjust-window-trailing-edge, enlarge-window, shrink-window):
22288 Move here from window.c.
22289 (maximize-window, minimize-window): New functions.
22290 (delete-window, delete-other-windows, split-window): Move here
22291 from window.c.
22292 (window-split-min-size): New function.
22293 (split-window-keep-point): Mention split-window-above-each-other
22294 instead of split-window-vertically.
22295 (split-window-above-each-other, split-window-vertically):
22296 Rename split-window-vertically to split-window-above-each-other
22297 and provide defalias for old definition.
22298 (split-window-side-by-side, split-window-horizontally):
22299 Rename split-window-horizontally to split-window-side-by-side
22300 and provide defalias for the old definition.
22301 (ctl-x-map): Move bindings for delete-window,
22302 delete-other-windows and enlarge-window here from window.c.
22303 Replace bindings for split-window-vertically and
22304 split-window-horizontally by bindings for
22305 split-window-above-each-other and split-window-side-by-side.
22306
22307 * cus-start.el (all): Remove entries for window-min-height and
22308 window-min-width. Add entries for window-splits and
22309 window-nest.
22310
22311 2011-06-09 Glenn Morris <rgm@gnu.org>
22312
22313 * calendar/appt.el (appt-mode-line): New function.
22314 (appt-check, appt-disp-window): Use it.
22315
22316 * files.el (hack-one-local-variable-eval-safep):
22317 Allow minor-modes with explicit +/-1 arguments.
22318
22319 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
22320
22321 * term/xterm.el (xterm): Add defgroup.
22322 (xterm-extra-capabilities): Add defcustom to supply known xterm
22323 capabilities, skip querying them, or query them (default).
22324 (terminal-init-xterm): Use it.
22325 (terminal-init-xterm-modify-other-keys): New function to set up
22326 modifyOtherKeys support to simplify `terminal-init-xterm'.
22327
22328 2011-06-09 Martin Rudalics <rudalics@gmx.at>
22329
22330 * window.el (resize-window-reset, resize-window-reset-1)
22331 (resize-subwindows-skip-p, resize-subwindows-normal)
22332 (resize-subwindows, resize-other-windows, resize-this-window)
22333 (resize-root-window, resize-root-window-vertically)
22334 (window-deletable-p, window-or-subwindow-p)
22335 (frame-root-window-p): New functions.
22336
22337 2011-06-09 Glenn Morris <rgm@gnu.org>
22338
22339 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
22340 (ange-ftp-get-files): Use it.
22341
22342 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
22343
22344 * mail/sendmail.el (mail-recover-1, mail-recover):
22345 * files.el (recover-file, recover-session):
22346 Handle dired-listing-switches not being just a single short option.
22347
22348 2011-06-09 Glenn Morris <rgm@gnu.org>
22349
22350 * calendar/appt.el (appt-display-message, appt-disp-window):
22351 Handle lists of appointments.
22352
22353 2011-06-08 Martin Rudalics <rudalics@gmx.at>
22354
22355 * window.el (one-window-p): Move down in code.
22356 Rewrite doc-string.
22357 (window-current-scroll-bars): Rewrite doc-string.
22358 Normalize live window argument.
22359 (walk-windows, get-window-with-predicate, count-windows):
22360 Rewrite doc-string. Use window-list-1.
22361 (window-in-direction-2, window-in-direction, get-mru-window):
22362 New functions.
22363
22364 2011-06-08 Reuben Thomas <rrt@sc3d.org>
22365
22366 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
22367 Doc fix (Bug#8713).
22368
22369 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
22370
22371 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
22372
22373 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
22374
22375 * loadhist.el (unload-feature-special-hooks):
22376 Add `comint-output-filter-functions'.
22377
22378 2011-06-08 Ivan Kanis <gnu@kanis.fr>
22379
22380 * calendar/appt.el (appt-check): Move some initializations into the let.
22381
22382 2011-06-08 Martin Rudalics <rudalics@gmx.at>
22383
22384 * window.el (window-height): Defalias to window-total-height.
22385 (window-width): Defalias to window-body-width.
22386
22387 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
22388
22389 * image-mode.el (image-toggle-animation): New command.
22390 (image-mode-map): Bind it to RET.
22391 (image-mode): Update message.
22392 (image-toggle-display-image): Avoid a spurious cache flush.
22393 (image-transform-rotation): Doc fix.
22394 (image-transform-properties): Return quickly in the normal case.
22395 (image-animate-loop): Rename from image-animate-max-time.
22396
22397 * image.el (image-animate-max-time): Move to image-mode.el.
22398 (create-animated-image): Remove unnecessary function.
22399 (image-animate): Rename from image-animate-start. New arg.
22400 (image-animate-stop): Remove; just use image-animate-timer.
22401 (image-animate-timer): Use car-safe.
22402 (image-animate-timeout): Rename argument.
22403
22404 2011-06-07 Martin Rudalics <rudalics@gmx.at>
22405
22406 * window.el (get-lru-window, get-largest-window): Move here from
22407 window.c. Rename first argument to ALL-FRAMES.
22408 Rephrase doc-strings.
22409 (get-buffer-window-list): Rewrite using window-list-1.
22410 Rephrase doc-string.
22411 (window-safe-min-height, window-safe-min-width): New constants.
22412 (window-size-ignore, window-min-size, window-min-size-1)
22413 (window-sizable, window-sizable-p, window-size-fixed-1)
22414 (window-size-fixed-p, window-min-delta-1, window-min-delta)
22415 (window-max-delta-1, window-max-delta, window-resizable)
22416 (window-resizable-p, window-total-height, window-total-width)
22417 (window-body-width): New functions.
22418 (window-full-height-p, window-full-width-p): Rewrite using
22419 window-total-size.
22420 (window-body-height): Rewrite using window-body-size.
22421
22422 2011-06-06 Martin Rudalics <rudalics@gmx.at>
22423
22424 * window.el (window-right, window-left, window-child)
22425 (window-child-count, window-last-child, window-any-p)
22426 (normalize-live-buffer, normalize-live-frame)
22427 (normalize-any-window, normalize-live-window)
22428 (window-iso-combination-p, window-iso-combined-p)
22429 (window-iso-combinations)
22430 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
22431 (windows-with-parameter, window-with-parameter)
22432 (window-atom-root, make-window-atom, window-atom-check-1)
22433 (window-atom-check, window-side-check, window-check):
22434 New functions.
22435 (ignore-window-parameters, window-sides, window-sides-vertical)
22436 (window-sides-slots): New variables.
22437 (window-size-fixed): Move down in code. Minor doc-string fix.
22438
22439 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
22440
22441 * comint.el (comint-dynamic-complete-as-filename)
22442 (comint-dynamic-complete-filename): Correctly call
22443 completion-in-region.
22444
22445 2011-06-05 Deniz Dogan <deniz@dogan.se>
22446
22447 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
22448 in last change.
22449
22450 2011-06-05 Deniz Dogan <deniz@dogan.se>
22451
22452 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
22453 (rcirc): Use it to prompt for encryption.
22454
22455 2011-06-05 Roland Winkler <winkler@gnu.org>
22456
22457 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
22458 (bibtex-search-entries): New command bound to C-c C-a.
22459 (bibtex-display-entries): New function.
22460
22461 2011-06-05 Roland Winkler <winkler@gnu.org>
22462
22463 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
22464 (bibtex-insert-kill): After yanking insert newline if necessary.
22465 (bibtex-initialize): Call bibtex-string-files-init only once.
22466 (bibtex-mode): Do not call easy-menu-add.
22467 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
22468 (bibtex-yank): Set arg properly if nil.
22469
22470 2011-06-05 Roland Winkler <winkler@gnu.org>
22471
22472 * textmodes/bibtex.el (bibtex-search-entry-globally):
22473 New variable.
22474 (bibtex-search-entry): Use it.
22475
22476 2011-06-05 Roland Winkler <winkler@gnu.org>
22477
22478 * textmodes/bibtex.el (bibtex-entry-format): New option
22479 sort-fields.
22480 (bibtex-format-entry, bibtex-reformat): Honor this option.
22481 (bibtex-parse-entry): Return fields in proper order.
22482
22483 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
22484
22485 * doc-view.el (doc-view-remove-if): Move computation of result out
22486 of `dolist' to silence misleading lexical-binding warning.
22487
22488 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
22489
22490 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
22491 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
22492
22493 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
22494
22495 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
22496 "SunOS 5.10".
22497
22498 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
22499
22500 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
22501 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
22502 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
22503 (tramp-parse-putty):
22504 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
22505 (tramp-completion-function-alist-ssh)
22506 (tramp-completion-function-alist-telnet)
22507 (tramp-completion-function-alist-su)
22508 (tramp-completion-function-alist-putty): Set `tramp-autoload'
22509 cookie.
22510
22511 * net/tramp-ftp.el:
22512 * net/tramp-sh.el:
22513 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
22514 load "tramp.el" `tramp-set-completion-function'.
22515
22516 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
22517
22518 * shell.el: Require and use pcomplete.
22519 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
22520 (shell-completion-vars): Set pcomplete-default-completion-function.
22521
22522 2011-06-04 Deniz Dogan <deniz@dogan.se>
22523
22524 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
22525 `memq' (Bug#8799).
22526
22527 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
22528
22529 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
22530
22531 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
22532
22533 * bs.el (bs--mark-unmark, bs--nth-wrapper):
22534 * mpc.el (mpc-select-extend, mpc-songpointer-context):
22535 * vc/log-view.el (log-view-beginning-of-defun):
22536 * vc/smerge-mode.el (smerge-apply-resolution-patch)
22537 (smerge-refine-forward, smerge-refine-chopup-region):
22538 Silence warning for unused `dotimes' counter variables.
22539
22540 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
22541
22542 * net/tramp.el (tramp-with-progress-reporter): Rename from
22543 with-progress-reporter. Use `declare'.
22544 * net/tramp-smb.el:
22545 * net/tramp-sh.el:
22546 * net/tramp-gvfs.el: Update all uses.
22547
22548 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
22549
22550 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
22551 buffer isn't killed before making it current.
22552
22553 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
22554
22555 Silence various byte-compiler warnings.
22556 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
22557 `access-type' and new obsolescence format.
22558 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
22559 new format.
22560 (byte-compile-check-variable): New `access-type' argument.
22561 Only warn if the access-type is obsolete.
22562 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
22563 (byte-compile-variable-set): Adjust callers.
22564 * help-fns.el (describe-variable): Adjust to new obsolescence format.
22565 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
22566 setting it as obsolete.
22567 * simple.el (minibuffer-completing-symbol):
22568 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
22569 access as obsolete.
22570 * minibuffer.el (minibuffer-completing-file-name): Don't make it
22571 obsolete yet.
22572 * international/quail.el (quail-mouse-choose-completion): Remove unused
22573 code referring to obsolete var.
22574 (quail-choose-completion-string): Remove.
22575 * server.el (server-clients-with, server-kill-buffer-query-function)
22576 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
22577 * proced.el (proced-send-signal):
22578 * emacs-lisp/lisp.el (lisp-complete-symbol):
22579 Replace completion-annotate-function with completion-extra-properties.
22580
22581 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
22582
22583 * simple.el (goto-line): Use read-number.
22584 (overriding-map-is-bound): Remove.
22585 (saved-overriding-map): Change default.
22586 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
22587 Take the map as argument.
22588 (universal-argument, negative-argument, digit-argument): Use it.
22589 (restore-overriding-map): Adjust.
22590 (do-auto-fill): Use fill-forward-paragraph.
22591 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
22592
22593 * minibuffer.el (minibuffer-inactive-mode-map): New var.
22594 (minibuffer-inactive-mode): New major mode.
22595 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
22596 the *Messages* buffer" hack.
22597 (mouse-popup-menubar): Don't burp if the event is a normal key.
22598
22599 Miscellaneous tweaks.
22600 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
22601 lexical scoping as in subr.el's dolist and dotimes.
22602 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
22603 Silence compiler warning.
22604 * thingatpt.el (forward-whitespace): Trivial coding style fix.
22605 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
22606 * international/ccl.el (ccl-compile): Trivial simplification.
22607 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
22608 * emacs-lisp/testcover.el (testcover-end): Remove spurious
22609 `printflag' argument.
22610 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
22611 Purecopy the whole obsolescence data.
22612
22613 2011-06-01 Leo Liu <sdl.web@gmail.com>
22614
22615 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
22616 improve doc-string as suggested by Marco Pessotto
22617 <melmothx@gmail.com>.
22618 (rcirc-print): Fix last change.
22619
22620 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22621
22622 * minibuffer.el (complete-with-action): Return nil for the metadata and
22623 boundaries of non-functional tables.
22624 (completion-table-dynamic): Return nil for the metadata.
22625 (completion-table-with-terminator): Add default case, using
22626 complete-with-action.
22627 (completion--metadata): New function.
22628 (completion-all-sorted-completions, minibuffer-completion-help): Use it
22629 to try and avoid pathological performance problems.
22630 (completion--embedded-envvar-table): Return `category' metadata.
22631
22632 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
22633
22634 * subr.el (process-alive-p): New tiny convenience function.
22635
22636 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22637
22638 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
22639 content but also its previous major mode.
22640
22641 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
22642
22643 * emacs-lisp/debug.el (debug): Restore the previous content of the
22644 *Backtrace* buffer when we exit with C-M-c.
22645
22646 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22647
22648 * minibuffer.el: Add metadata method to completion tables.
22649 (completion-category-overrides): New defcustom.
22650 (completion-metadata, completion--field-metadata)
22651 (completion-metadata-get, completion--styles)
22652 (completion--cycle-threshold): New functions.
22653 (completion-try-completion, completion-all-completions):
22654 Add `metadata' argument to choose completion-styles.
22655 (completion--do-completion): Use metadata to choose cycling.
22656 (completion-all-sorted-completions): Use metadata for sorting.
22657 Remove :completion-cycle-penalty which is not needed any more.
22658 (completion--try-word-completion): Add `metadata' argument.
22659 (minibuffer-completion-help): Check metadata for annotation function
22660 and sorting.
22661 (completion-file-name-table): Return `category' metadata.
22662 (minibuffer-completing-file-name): Make obsolete.
22663 * simple.el (minibuffer-completing-symbol): Make obsolete.
22664 * icomplete.el (icomplete-completions): Pass new `metadata' param to
22665 completion-try-completion.
22666
22667 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
22668
22669 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
22670
22671 2011-05-30 Leo Liu <sdl.web@gmail.com>
22672
22673 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
22674 (rcirc-print): Decode all incoming messages (bug#8744).
22675 (rcirc-decode-coding-system): Allow value nil for automatic coding
22676 system detection.
22677
22678 2011-06-01 Glenn Morris <rgm@gnu.org>
22679
22680 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
22681
22682 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22683
22684 * image.el (image-animate-max-time): Allow nil and t values.
22685 Default to nil.
22686 (create-animated-image): Doc fix.
22687 (image-animate-start): Remove second arg; just use
22688 image-animate-max-time.
22689 (image-animate-timeout): Doc fix. Args changed.
22690
22691 * image-mode.el (image-toggle-display-image): Ensure that the
22692 image spec passed to the animate timer is the same object as in
22693 the buffer's display property (Bug#6981).
22694 (image-transform-properties): Doc fix.
22695
22696 * image.el (image-animate-max-time): Default to nil.
22697
22698 2011-05-29 Martin Rudalics <rudalics@gmx.at>
22699
22700 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
22701 entire buffer list (Bug#8184).
22702
22703 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22704
22705 * image.el (imagemagick-types-inhibit)
22706 (imagemagick-register-types): Doc fix.
22707
22708 2011-05-29 Deniz Dogan <deniz@dogan.se>
22709
22710 * net/rcirc.el (rcirc): Use the user's stored encryption method by
22711 default.
22712
22713 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22714
22715 * select.el: Don't perform clipboard-manager saving in hooks;
22716 leave the hooks empty.
22717
22718 2011-05-28 Leo Liu <sdl.web@gmail.com>
22719
22720 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
22721 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
22722 (occur-edit-mode): New major mode (Bug#8463).
22723 (occur-after-change-function): New function.
22724 (occur-engine): Give Occur tags a read-only property.
22725
22726 2011-05-28 Kevin Ryde <user42@zip.com.au>
22727
22728 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
22729
22730 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22731
22732 * bindings.el (help-echo): Make the initial non-indicator dash
22733 empty on graphical terminals (Bug#7295).
22734
22735 * files.el (auto-mode-alist): Move config rule after the
22736 in-stripping one (Bug#8547).
22737
22738 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
22739
22740 * startup.el (normal-splash-screen): Remove gratuitous mode-line
22741 setting (Bug#8740).
22742
22743 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
22744
22745 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
22746 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
22747 (Bug#8539).
22748
22749 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22750
22751 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
22752
22753 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
22754
22755 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
22756 (hs-hide-block-at-point, hs-find-block-beginning)
22757 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
22758 (Bug#8279).
22759
22760 2011-05-28 Glenn Morris <rgm@gnu.org>
22761
22762 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
22763
22764 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22765
22766 * help-fns.el (describe-function-1): If the function is a derived
22767 major mode, print the parent mode.
22768
22769 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
22770 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
22771
22772 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
22773
22774 * minibuffer.el (completion--capf-wrapper): Check applicability before
22775 returning non-nil for non-exclusive completion data.
22776 * progmodes/etags.el (tags-completion-at-point-function):
22777 * info-look.el (info-lookup-completions-at-point): Mark as
22778 non-exclusive.
22779 (info-complete): Adjust accordingly.
22780
22781 * info-look.el: Convert to lexical-binding and completion-at-point.
22782 (info-lookup-completions-at-point): New function.
22783 (info-complete): Use it and completion-in-region.
22784
22785 2011-05-28 Drew Adams <drew.adams@oracle.com>
22786
22787 * isearch.el: Let M-e start with point at the first mismatched char.
22788 (isearch-fail-pos): New function.
22789 (isearch-edit-string): Use it.
22790
22791 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
22792
22793 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
22794
22795 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
22796
22797 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
22798 traversal functions for avl-trees.
22799 (avl-tree--stack): New struct.
22800 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
22801 (avl-tree-enter): Add optional `updatefun' arg.
22802 (avl-tree--do-enter): Add optional `updatefun' arg.
22803 Change return value.
22804 (avl-tree-delete): Add optional `test' and `nilflag' args.
22805 (avl-tree--do-delete): Add `test' and `nilflag' args.
22806 Change return value.
22807 (avl-tree-member): Add optional `nilflag'
22808 (avl-tree-member-p): New function.
22809 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
22810 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
22811 (avl-tree-stack-empty-p): New functions.
22812
22813 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
22814 avl-tree--del-balance1 and make it work both ways.
22815 (avl-tree--del-balance2): Remove.
22816 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
22817 make it work both ways.
22818 (avl-tree--enter-balance2): Remove.
22819 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
22820 New macros.
22821 (avl-tree--mapc, avl-tree-map): Add direction argument.
22822
22823 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
22824
22825 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
22826
22827 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
22828
22829 * select.el: Support clipboard managers with built-in function
22830 x-clipboard-manager-save, via delete-frame-functions and
22831 kill-emacs-hook.
22832 (xselect-convert-to-targets): Add MULTIPLE target to list.
22833 (xselect-convert-to-save-targets): New function.
22834
22835 2011-05-27 Kenichi Handa <handa@m17n.org>
22836
22837 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
22838 let-binding rfc2047-encode-encoded-words to nil.
22839
22840 2011-05-27 Glenn Morris <rgm@gnu.org>
22841
22842 * mail/emacsbug.el: Don't require url-util.
22843
22844 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
22845
22846 * files.el (set-auto-mode):
22847 Also respect mode: entries at the end of the file. (Bug#8586)
22848
22849 2011-05-26 Glenn Morris <rgm@gnu.org>
22850
22851 * files.el (hack-local-variables-prop-line, hack-local-variables):
22852 Downcase mode names, as seems to be traditional.
22853 (hack-local-variables, hack-local-variables-apply): Doc fixes.
22854
22855 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
22856 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
22857
22858 2011-05-25 Julien Danjou <julien@danjou.info>
22859
22860 * textmodes/rst.el (rst-define-level-faces): Do not define face
22861 symbol if it is already defined.
22862
22863 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
22864
22865 * play/5x5.el (5x5-new-game, 5x5-randomize):
22866 Reset 5x5-solver-output to nil when a new grid is cast.
22867 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
22868 these debugging traces, as defmacro breaks the compiled code.
22869
22870 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
22871
22872 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
22873
22874 2011-05-24 Leo Liu <sdl.web@gmail.com>
22875
22876 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
22877 (vc-bzr-sha1): Adapt.
22878
22879 * sha1.el: Remove. Function `sha1' is now builtin.
22880
22881 * bindings.el: Provide sha1 feature.
22882
22883 2011-05-24 Kenichi Handa <handa@m17n.org>
22884
22885 * mail/sendmail.el: Require `rfc2047'.
22886 (mail-insert-from-field): Do not perform RFC2047 encoding.
22887 (mail-encode-header): New function.
22888 (sendmail-send-it): Set buffer-file-coding-system of the work
22889 buffer to the return value of select-message-coding-system.
22890 Call mail-encode-header.
22891
22892 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
22893
22894 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
22895
22896 * mail/supercite.el (sc-default-cite-frame):
22897 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
22898
22899 2011-05-24 Glenn Morris <rgm@gnu.org>
22900
22901 * progmodes/python.el (brm-menu): Declare.
22902
22903 * emulation/viper.el (viper-set-hooks): Declare.
22904
22905 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
22906 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
22907 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
22908 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
22909 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
22910 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
22911
22912 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
22913
22914 Add an :exit-function for completion-at-point.
22915
22916 * minibuffer.el (completion--done): New fun.
22917 (completion--do-completion): Use it. New arg `expect-exact'.
22918 (minibuffer-complete, minibuffer-complete-word): Don't output message,
22919 since completion--do-completion does it for us now.
22920 (minibuffer-force-complete): Use completion--done and
22921 completion--replace. Handle sole-completion case with more care.
22922 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
22923 (completion-extra-properties): New var.
22924 (completion-annotate-function): Make obsolete.
22925 (minibuffer-completion-help): Adjust accordingly.
22926 Use completion-list-insert-choice-function.
22927 (completion-at-point, completion-help-at-point):
22928 Bind completion-extra-properties.
22929 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
22930 * simple.el (completion-list-insert-choice-function): New var.
22931 (completion-setup-function): Preserve it.
22932 (choose-completion): Pay attention to it, shuffle the code a bit.
22933 (choose-completion-string): New arg `insert-function'.
22934
22935 * textmodes/bibtex.el: Convert to lexical binding.
22936 (bibtex-mode-map): Use completion-at-point.
22937 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
22938 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
22939 (bibtex-complete): Define as obsolete alias.
22940 (bibtex-complete-internal): Remove.
22941 (bibtex-format-entry): Remove unused sub-group in regexp.
22942 * shell.el (shell--command-completion-data)
22943 (shell-environment-variable-completion):
22944 * pcomplete.el (pcomplete-completions-at-point):
22945 * comint.el (comint--complete-file-name-data): Use :exit-function
22946 instead of completion-table-with-terminator so it also works for
22947 choose-completion.
22948
22949 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
22950
22951 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
22952
22953 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
22954 (bug#8710).
22955
22956 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
22957
22958 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
22959
22960 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
22961 customization variable and implement: If non-nil, auto-fill will
22962 be inhibited while on topic's header line.
22963
22964 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
22965
22966 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
22967 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
22968 always have a solution in grid size = 5 cases.
22969 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
22970 (5x5-solver-output, 5x5-log-buffer): New vars.
22971 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
22972 Make these variables buffer local to achieve 5x5 multi-session-ness.
22973 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
22974 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
22975 (5x5-solve-suggest): New funs.
22976 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
22977 randomize a grid so that we ensure that there is always a solution.
22978 (5x5-make-random-grid): Allow other movement than flipping.
22979
22980 2011-05-23 Kevin Ryde <user42@zip.com.au>
22981
22982 * emacs-lisp/advice.el (ad-read-advised-function):
22983 Use `function-called-at-point' as the default, if it has
22984 advice and passes PREDICATE.
22985
22986 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
22987
22988 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
22989 byte-compile-lambda if it's actually a lambda.
22990
22991 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
22992 Fix function quoting. Use backquote better.
22993
22994 2011-05-22 Yuanle Song <sylecn@gmail.com>
22995
22996 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
22997 matching (Bug#8516).
22998
22999 2011-05-22 Jari Aalto <jari.aalto@cante.net>
23000
23001 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
23002 different face (Bug#8178).
23003
23004 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
23005
23006 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
23007 defface (Bug#8144).
23008
23009 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
23010
23011 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
23012 funcall as well (bug#8712). Warn when performing those conversions.
23013 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
23014
23015 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
23016
23017 2011-05-22 Glenn Morris <rgm@gnu.org>
23018
23019 * files.el (hack-local-variables-prop-line): Small simplifications.
23020 (hack-local-variables, hack-local-variables-prop-line):
23021 If MODE-ONLY, return the mode, rather than just `t'.
23022
23023 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
23024
23025 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
23026
23027 2011-05-21 Glenn Morris <rgm@gnu.org>
23028
23029 * files.el (hack-local-variables-prop-line, hack-local-variables):
23030 If only interested in the mode, don't bother doing the other stuff.
23031
23032 * image-mode.el (image-after-revert-hook):
23033 Redraw all frames on which the image is visible. (Bug#8567)
23034
23035 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
23036
23037 * wid-edit.el (widget-checklist-match-inline):
23038 Fix 2011-04-19 change. (Bug#8649)
23039
23040 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
23041
23042 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
23043 Also allow singlespace after single-letter capitals followed by a dot.
23044
23045 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
23046 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
23047
23048 2011-05-20 Nix <nix@esperi.org.uk>
23049
23050 * files.el (basic-save-buffer-2):
23051 Fix handling of break-hardlink-on-save with non-existent files.
23052
23053 2011-05-19 Deniz Dogan <deniz@dogan.se>
23054
23055 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
23056 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
23057
23058 2011-05-19 Glenn Morris <rgm@gnu.org>
23059
23060 * progmodes/f90.el (f90-type-def-re):
23061 Handle "type, bind(c)". (Bug#8691)
23062
23063 * emacs-lisp/autoload.el (batch-update-autoloads):
23064 Set autoload-excludes by parsing loadup.el rather than Makefiles.
23065
23066 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
23067
23068 * net/tramp.el (tramp-process-actions): Set "first-password-request"
23069 property for the correct connection in case of multihops.
23070
23071 2011-05-18 Glenn Morris <rgm@gnu.org>
23072
23073 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
23074 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
23075
23076 Rationalize calendar handling of day and month abbrev-arrays.
23077 * calendar/calendar.el (calendar-customized-p): New function.
23078 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
23079 (calendar-day-name-array, calendar-month-name-array): Doc fix.
23080 Add :set function.
23081 (calendar-abbrev-length, calendar-day-abbrev-array)
23082 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
23083 (calendar-day-abbrev-array, calendar-month-abbrev-array):
23084 Elements may no longer be nil.
23085 (calendar-day-name, calendar-month-name):
23086 Update for changed nature of abbrev arrays.
23087 * calendar/diary-lib.el (diary-name-pattern):
23088 Update for changed nature of abbrev arrays.
23089 (diary-mark-entries-1): Update calendar-make-alist calls.
23090 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
23091 * calendar/cal-html.el (cal-html-day-abbrev-array):
23092 Simply inherit from calendar-day-abbrev-array.
23093
23094 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
23095
23096 * progmodes/grep.el (grep-mode): Disable default
23097 compilation-directory-matcher setting (bug#8684).
23098
23099 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
23100
23101 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
23102 instead of "head" and "tail". There were problems with SunOS 5.9,
23103 and it performs better.
23104
23105 2011-05-17 Glenn Morris <rgm@gnu.org>
23106
23107 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
23108
23109 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
23110 Replace obsolete function.
23111
23112 * shell.el (pcomplete-parse-arguments-function): Declare.
23113
23114 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
23115 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
23116 (appt-check): Doc fixes.
23117 (appt-disp-window-function, appt-delete-window-function):
23118 Remove needless special case in custom :type.
23119 (appt-display-count): Default to 0, not nil.
23120 (appt-check): Reset appt-display-count to 0, not nil.
23121
23122 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
23123
23124 * progmodes/python.el (python-font-lock-keywords):
23125 Add the Python 3.X keyword "nonlocal" (bug#8639).
23126
23127 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
23128
23129 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
23130
23131 2011-05-16 Kevin Ryde <user42@zip.com.au>
23132
23133 * info-look.el (makefile-automake-mode): New setups, looking in
23134 automake manual, then makefile-mode.
23135 (makefile-mode): Remove automake manual, have it just in
23136 makefile-automake-mode since there's various things different or
23137 not relevant to plain make.
23138 (makefile-mode): Remove "other-modes" non-existent automake-mode,
23139 believe a hypothetical automake-mode would go to makefile-mode,
23140 not the other way around.
23141
23142 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
23143
23144 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
23145 hunk-end tags (Bug#8672).
23146
23147 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
23148 vc-annotate-show-diff-revision-at-line (Bug#8671).
23149
23150 2011-05-14 Glenn Morris <rgm@gnu.org>
23151
23152 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
23153 in the middle of an existing one with multiple authors. (Bug#8645)
23154 (change-log-font-lock-keywords): Also handle multiple author lines
23155 with leading tabs. (Bug#8644)
23156
23157 * calendar/appt.el (appt-check): Rename some local variables.
23158 Some simplification/reordering.
23159
23160 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
23161 (feedmail-sendmail-f-doesnt-sell-me-out)
23162 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
23163 (feedmail-debug-sit-for, feedmail-queue-express-hook)
23164 (feedmail-queue-runner-message-sender): Set :version.
23165 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
23166 (bbdb-dwim-net-address, vm-mail): Declare.
23167 (feedmail-binmail-gnulinuxish-template):
23168 Rename from feedmail-binmail-linuxish-template.
23169 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
23170 Use insert-buffer-substring.
23171
23172 2011-05-14 Bill Carpenter <bill@carpenter.org>
23173
23174 * mail/feedmail.el (feedmail-patch-level): Increase.
23175 (feedmail-debug): New custom group.
23176 (feedmail-confirm-outgoing-timeout)
23177 (feedmail-sendmail-f-doesnt-sell-me-out)
23178 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
23179 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
23180 (feedmail-sender-line, feedmail-from-line)
23181 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
23182 (feedmail-spray-this-address)
23183 (feedmail-spray-address-fiddle-plex-list)
23184 (feedmail-queue-use-send-time-for-date)
23185 (feedmail-queue-use-send-time-for-message-id)
23186 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
23187 (feedmail-buffer-eating-function):
23188 Doc fixes.
23189 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
23190 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
23191 (feedmail-message-action-scroll-down): New functions.
23192 (feedmail-queue-directory, feedmail-queue-draft-directory):
23193 Use expand-file-name.
23194 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
23195 Remove C-v help entry.
23196 (feedmail-queue-buffer-file-name): New variable.
23197 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
23198 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
23199 (feedmail-message-action-send-strong, feedmail-message-action-edit)
23200 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
23201 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
23202 (feedmail-message-action-toggle-spray)
23203 (feedmail-run-the-queue-no-prompts)
23204 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
23205 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
23206 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
23207 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
23208 (feedmail-envelope-deducer, feedmail-fiddle-from)
23209 (feedmail-fiddle-sender, feedmail-default-date-generator)
23210 (feedmail-fiddle-date, feedmail-fiddle-message-id)
23211 (feedmail-fiddle-spray-address)
23212 (feedmail-fiddle-list-of-spray-fiddle-plexes)
23213 (feedmail-fiddle-list-of-fiddle-plexes)
23214 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
23215 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
23216 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
23217 Change default. Doc fix.
23218 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
23219 (feedmail-binmail-linuxish-template): New constant.
23220 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
23221 Respect feedmail-sendmail-f-doesnt-sell-me-out.
23222 (feedmail-send-it): Add debug call.
23223 Use feedmail-queue-buffer-file-name, and
23224 feedmail-send-it-immediately-wrapper.
23225 (feedmail-message-action-send): Add debug call.
23226 Use feedmail-send-it-immediately-wrapper.
23227 (feedmail-queue-express-to-queue): Add debug call.
23228 Run feedmail-queue-express-hook.
23229 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
23230 (feedmail-message-action-help-blat):
23231 Rename from feedmail-queue-send-edit-prompt-help-first.
23232 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
23233 Check line-endings. Handle errors better.
23234 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
23235 Doc fix. Add debug call.
23236 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
23237 Use feedmail-queue-send-edit-prompt-inner.
23238 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
23239 (feedmail-queue-send-edit-prompt-inner): New function, extracted
23240 from feedmail-queue-send-edit-prompt.
23241 (feedmail-queue-send-edit-prompt-help)
23242 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
23243 (feedmail-tidy-up-slug): Add debug call.
23244 Respect feedmail-queue-slug-suspect-regexp.
23245 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
23246 (feedmail-dump-message-to-queue): Add debug call.
23247 Expand queue-directory.
23248 (feedmail-dump-message-to-queue): Change message slightly.
23249 Use feedmail-say-chatter.
23250 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
23251 (feedmail-send-it-immediately-wrapper): New function.
23252 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
23253 Insert empty string rather than newline. Handle full-frame case.
23254 Use catch/throw. Use feedmail-say-chatter.
23255 (feedmail-fiddle-from): Try mail-host-address.
23256 (feedmail-default-message-id-generator): Doc fix.
23257 Bind system-time-locale. Handle missing end.
23258 (feedmail-fiddle-x-mailer): Add debug call.
23259 Handle feedmail-x-mailer-line being nil.
23260 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
23261 Add debug call. Use buffer-substring-no-properties.
23262 (feedmail-say-debug, feedmail-say-chatter): New functions.
23263 (feedmail-find-eoh): Give an explicit error.
23264
23265 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
23266
23267 * net/newst-treeview.el (newsticker-treeview-face): Change default
23268 family from helvetica to sans.
23269 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
23270 etc/images/newsticker.
23271
23272 * net/newst-reader.el (newsticker-feed-face): Change default
23273 family from helvetica to sans.
23274
23275 * net/newst-plainview.el (newsticker-new-item-face)
23276 (newsticker-old-item-face, newsticker-immortal-item-face)
23277 (newsticker-obsolete-item-face, newsticker-date-face)
23278 (newsticker-statistics-face): Change default family from
23279 helvetica to sans.
23280 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
23281 etc/images/newsticker.
23282
23283 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
23284 (newsticker--process-auto-mark-filter-match): Tell user about
23285 auto-marking.
23286
23287 2011-05-13 Didier Verna <didier@xemacs.org>
23288
23289 Common Lisp indentation improvements on defmethod and lambda-lists.
23290 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
23291 TODO entries.
23292 (lisp-lambda-list-keyword-parameter-indentation)
23293 (lisp-lambda-list-keyword-parameter-alignment)
23294 (lisp-lambda-list-keyword-alignment): New customizable user options.
23295 (lisp-indent-defun-method): Improve docstring.
23296 (extended-loop-p): Fix comment.
23297 (lisp-indent-lambda-list-keywords-regexp): New variable.
23298 (lisp-indent-lambda-list): New function.
23299 (lisp-indent-259): Use it.
23300 (lisp-indent-defmethod): Support for more than one
23301 method qualifier and properly indent methods lambda-lists.
23302 (defgeneric): Provide a missing common-lisp-indent-function property.
23303
23304 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
23305
23306 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
23307 bounds for the empty string (bug#8667).
23308
23309 2011-05-13 Glenn Morris <rgm@gnu.org>
23310
23311 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
23312
23313 * mail/sendmail.el (sendmail-program): Try executable-find first.
23314 (sendmail-send-it): `sendmail-program' cannot be unbound.
23315
23316 * calendar/appt.el (appt-make-list): Simplify.
23317 (appt-time-msg-list): Doc fix.
23318 (appt-check): Change mode-line message at the time of the appointment.
23319
23320 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
23321
23322 * progmodes/ld-script.el (ld-script-keywords)
23323 (ld-script-builtins): Update keywords list.
23324
23325 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23326
23327 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
23328
23329 * shell.el (shell-completion-vars): New function.
23330 (shell-mode):
23331 * simple.el (read-shell-command): Use it.
23332 (blink-matching-open): No need for " [...]" in minibuffer-message.
23333
23334 2011-05-12 Glenn Morris <rgm@gnu.org>
23335
23336 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
23337 (appt-check): Simplify.
23338
23339 2011-05-12 Eli Zaretskii <eliz@gnu.org>
23340
23341 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
23342 literal "/dev/null".
23343
23344 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23345
23346 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
23347 Fix typo.
23348
23349 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
23350
23351 * progmodes/which-func.el (which-function):
23352 Use add-log-current-defun instead of add-log-current-defun-function,
23353 which might not be defined (Bug#8260).
23354
23355 2011-05-12 Glenn Morris <rgm@gnu.org>
23356
23357 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
23358 Let byte-compile-initial-macro-environment always take precedence.
23359
23360 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23361
23362 * net/rcirc.el: Add support for SSL/TLS connections.
23363 (rcirc-server-alist): New field `encryption'.
23364 (rcirc): Check `encryption' settings.
23365 (rcirc-connect): New arg `encryption'. Use open-network-stream.
23366 Merge make-local-variable into `set'.
23367 (rcirc--connection-open-p): New function.
23368 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
23369 the process is not a network process (e.g. running gnutls-cli).
23370 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
23371 Make rcirc-(en|de)code-coding-system local here.
23372 (rcirc-mode): Merge make-local-variable into `set'.
23373 (rcirc-parent-buffer): Make permanent buffer-local.
23374 (rcirc-multiline-minor-mode): Don't do it here.
23375 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
23376 there's no server buffer.
23377
23378 2011-05-11 Glenn Morris <rgm@gnu.org>
23379
23380 * newcomment.el (comment-kill): Prefix "unused" local.
23381
23382 * term/w32console.el (get-screen-color): Declare.
23383
23384 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
23385 Handle symbol elements of byte-compile-initial-macro-environment.
23386
23387 2011-05-10 Leo Liu <sdl.web@gmail.com>
23388
23389 * bookmark.el (bookmark-bmenu-mode-map):
23390 Bind bookmark-bmenu-search to `/'.
23391
23392 * mail/footnote.el: Convert to utf-8 encoding.
23393 (footnote-unicode-string, footnote-unicode-regexp): New variable.
23394 (Footnote-unicode): New function.
23395 (footnote-style-alist): Add unicode style to the list.
23396 (footnote-style): Doc fix.
23397
23398 2011-05-10 Jim Meyering <meyering@redhat.com>
23399
23400 Fix doubled-word typos.
23401 * international/quail.el (quail-insert-kbd-layout): and and -> and
23402 * kermit.el: and and -> and
23403 * net/ldap.el (ldap-search-internal): to to -> to
23404 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
23405 * progmodes/js.el (js-mode): and and -> and
23406 * textmodes/artist.el (artist-move-to-xy): at at -> at
23407 (artist-draw-region-trim-line-endings): if if -> if
23408 And Safetyc -> Safety.
23409 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
23410
23411 2011-05-10 Glenn Morris <rgm@gnu.org>
23412 Stefan Monnier <monnier@iro.umontreal.ca>
23413
23414 * files.el (hack-one-local-variable-eval-safep):
23415 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
23416
23417 2011-05-10 Glenn Morris <rgm@gnu.org>
23418
23419 * calendar/diary-lib.el (diary-list-entries-hook)
23420 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
23421 (diary-nongregorian-marking-hook, diary-list-entries)
23422 (diary-include-other-diary-files, diary-mark-entries)
23423 (diary-mark-included-diary-files): Doc fixes.
23424
23425 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
23426
23427 * misc.el: Require tabulated-list.el during compilation.
23428
23429 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
23430
23431 * progmodes/compile.el (compilation-start):
23432 Run compilation-filter-hook for the async case too.
23433 (compilation-filter-hook): Doc fix.
23434
23435 2011-05-09 Deniz Dogan <deniz@dogan.se>
23436
23437 * wdired.el: Remove outdated installation comment. Fix usage
23438 comment.
23439
23440 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
23441
23442 * misc.el: Implement new command `list-dynamic-libraries'.
23443 (list-dynamic-libraries--loaded-only-p): New variable.
23444 (list-dynamic-libraries--refresh): New function.
23445 (list-dynamic-libraries): New command.
23446
23447 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
23448
23449 * progmodes/compile.el (compilation-error-regexp-alist-alist):
23450 Fix the ant regexp to handle end-line and end-column info from jikes.
23451 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
23452 higher priority to avoid clobbering by gnu.
23453
23454 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
23455
23456 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
23457 if the face has existing theme settings (Bug#8454).
23458
23459 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
23460
23461 * progmodes/perl-mode.el (perl-imenu-generic-expression):
23462 Only match variables declared via `my' or `our' (Bug#8261).
23463
23464 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
23465 special file names `.' and `..' (Bug#8259).
23466
23467 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
23468
23469 * progmodes/grep.el (grep-mode-font-lock-keywords):
23470 Remove buffer-changing entries.
23471 (grep-filter): New function.
23472 (grep-mode): Add it to compilation-filter-hook.
23473
23474 * progmodes/compile.el (compilation-filter-hook)
23475 (compilation-filter-start): New defvars.
23476 (compilation-filter): Call compilation-filter-hook prior to
23477 updating the process mark.
23478
23479 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
23480
23481 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
23482
23483 2011-05-07 Eli Zaretskii <eliz@gnu.org>
23484
23485 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
23486 mailclient-send-it even if window-system is nil. (Bug#8595)
23487
23488 * term/w32console.el (terminal-init-w32console):
23489 Call get-screen-color and use its output to set the frame
23490 background-mode. (Bug#8597)
23491
23492 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
23493
23494 Make bytecomp.el understand that defmethod defines funs (bug#8631).
23495 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
23496 New functions.
23497 (defgeneric, eieio--defmethod): Use them.
23498 (eieio-defgeneric): Remove.
23499 (defmethod): Call defgeneric in a way visible to the byte-compiler.
23500
23501 2011-05-07 Glenn Morris <rgm@gnu.org>
23502
23503 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
23504 Use let rather than let*.
23505 (timeclock-find-discrep): Remove unused local.
23506
23507 * calendar/diary-lib.el (diary-comment-start): Doc fix.
23508
23509 * calendar/appt.el (appt-time-msg-list): Doc fix.
23510
23511 2011-05-06 Noah Friedman <friedman@splode.com>
23512
23513 * apropos.el (apropos-print-doc): Only use
23514 emacs-lisp-docstring-fill-column when it is bound to an integer,
23515 per that variable's documentation.
23516
23517 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
23518
23519 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
23520 and warnings are not silently discarded (e.g. use -d instead of -P).
23521
23522 2011-05-06 Glenn Morris <rgm@gnu.org>
23523
23524 * calendar/appt.el (appt-message-warning-time): Doc fix.
23525 (appt-warning-time-regexp): New option.
23526 (appt-make-list): Respect appt-message-warning-time.
23527
23528 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
23529 New options.
23530 (diary-add-to-list): Strip comments from the displayed string.
23531 (diary-mode): Set comment-start and comment-end.
23532
23533 * vc/diff-mode.el (smerge-refine-subst): Declare.
23534 (diff-refine-hunk): Don't require smerge-mode when compiling.
23535
23536 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
23537
23538 * simple.el (list-processes): Return nil as the docstring says.
23539
23540 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
23541
23542 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
23543 to "".
23544 (ange-ftp-write-region, ange-ftp-insert-file-contents)
23545 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
23546 determining of binary transfer. (Bug#7383)
23547
23548 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
23549
23550 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23551 Fix port computation bug. (Bug#8618)
23552
23553 2011-05-05 Glenn Morris <rgm@gnu.org>
23554
23555 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
23556
23557 * simple.el (shell-dynamic-complete-functions)
23558 (comint-dynamic-complete-functions): Declare.
23559
23560 * net/network-stream.el (gnutls-negotiate):
23561 * simple.el (tabulated-list-print): Fix declarations.
23562
23563 * progmodes/gud.el (syntax-symbol, syntax-point):
23564 Remove unnecessary and incorrect declarations.
23565
23566 * emacs-lisp/check-declare.el (check-declare-scan):
23567 Handle byte-compile-initial-macro-environment in bytecomp.el.
23568
23569 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
23570
23571 Fix earlier half-done eieio-defmethod change (bug#8338).
23572 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
23573 Streamline and change calling convention.
23574 (defmethod): Adjust accordingly and simplify.
23575 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
23576 new eieio--defmethod.
23577 (slot-boundp): Minor CSE simplification.
23578
23579 2011-05-05 Milan Zamazal <pdm@zamazal.org>
23580
23581 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
23582 (glasses-make-readable): Use glasses-separate-capital-groups.
23583
23584 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
23585
23586 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
23587 (warning-series): Doc fix.
23588 (display-warning): Don't try to create the buffer if we just found it.
23589
23590 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
23591
23592 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
23593 (autoload-find-generated-file): New function.
23594 (generate-file-autoloads): Bind generated-autoload-file to
23595 buffer-file-name.
23596 (update-file-autoloads, update-directory-autoloads):
23597 Use autoload-find-generated-file. If called interactively, prompt for
23598 output file (Bug#7989).
23599 (batch-update-autoloads): Doc fix.
23600
23601 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
23602
23603 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
23604
23605 2011-05-04 Glenn Morris <rgm@gnu.org>
23606
23607 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
23608 function, so it follows changes in calendar-date-style.
23609 (diary-fancy-date-matcher): New function.
23610 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
23611 (diary-fancy-font-lock-fontify-region-function):
23612 Use diary-fancy-date-pattern as a function.
23613
23614 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
23615 non-numbers for `year' etc pseudo-variables. (Bug#8583)
23616
23617 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
23618
23619 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
23620 instead of positional arguments. Allow :keylist and :crlfiles
23621 arguments.
23622 (open-gnutls-stream): Call it.
23623
23624 * net/network-stream.el (network-stream-open-starttls): Adjust to
23625 call `gnutls-negotiate' with :process and :hostname arguments.
23626
23627 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
23628
23629 * minibuffer.el (completion--message): New function.
23630 (completion--do-completion, minibuffer-complete)
23631 (minibuffer-force-complete, minibuffer-complete-word): Use it.
23632 (completion--do-completion): Don't ignore completion-auto-help when in
23633 icomplete-mode.
23634
23635 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
23636 internal encoding (e.g. tibetan zero is not whitespace).
23637 (global-whitespace-mode): Prefer save-current-buffer.
23638 (whitespace-trailing-regexp): Remove useless save-match-data.
23639 (whitespace-empty-at-bob-regexp): Minor simplification.
23640
23641 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
23642
23643 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
23644
23645 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
23646
23647 * textmodes/ispell.el (ispell-add-per-file-word-list):
23648 Use `concat' to create string for insertion.
23649
23650 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
23651
23652 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
23653 Avoid open-line which runs post-self-insert-hook.
23654 (bibtex-fill-entry): Remove unused `end' var.
23655
23656 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
23657
23658 * textmodes/ispell.el (ispell-add-per-file-word-list):
23659 Protect against `nil' value of `comment-start' (Bug#8579).
23660
23661 2011-05-03 Leo Liu <sdl.web@gmail.com>
23662
23663 * isearch.el (isearch-yank-pop): New command.
23664 (isearch-mode-map): Bind it to `M-y'.
23665 (isearch-forward): Mention it.
23666
23667 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
23668
23669 * simple.el (minibuffer-complete-shell-command): Remove.
23670 (minibuffer-local-shell-command-map): Use completion-at-point.
23671 (read-shell-command): Setup completion vars here instead.
23672 (read-expression-map): Bind TAB to symbol completion.
23673
23674 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
23675 error directly rather via storing it into `results'.
23676
23677 2011-05-02 Leo Liu <sdl.web@gmail.com>
23678
23679 * vc/diff.el: Fix description.
23680
23681 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23682
23683 * server.el (server-eval-at): New function.
23684
23685 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
23686
23687 * net/network-stream.el (open-network-stream): Take a :nowait
23688 parameter and pass it on to `make-network-process'.
23689 (network-stream-open-plain): Ditto.
23690
23691 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
23692
23693 * faces.el (face-spec-set-match-display): Don't match toolkit
23694 options on terminal frames.
23695
23696 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
23697
23698 * progmodes/pascal.el: Use lexical binding.
23699 (pascal-mode-map): Remove author preferences.
23700
23701 * pcomplete.el (pcomplete-std-complete): Don't abuse
23702 completion-at-point.
23703
23704 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
23705
23706 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
23707 removing code that has been dead since 1991 or so.
23708
23709 * startup.el (command-line): When warning about "_emacs", use a
23710 delayed warning to allow the user to filter it out.
23711
23712 2011-04-28 Deniz Dogan <deniz@dogan.se>
23713
23714 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
23715 user has not joined.
23716
23717 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
23718
23719 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
23720 aren't any completions at point.
23721
23722 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
23723
23724 * subr.el (display-delayed-warnings): New function.
23725 (delayed-warnings-hook): New variable.
23726
23727 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
23728
23729 * minibuffer.el (completion-at-point, completion-help-at-point):
23730 Don't presume that a given completion-at-point-function will always
23731 use the same calling convention.
23732
23733 * pcomplete.el (pcomplete-completions-at-point):
23734 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
23735 pcomplete-seen is non-nil.
23736 (pcomplete-comint-setup): Also recognize the new comint/shell
23737 completion functions.
23738 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
23739 pcomplete-seen is non-nil.
23740
23741 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
23742
23743 * calendar/icalendar.el (diary-lib): Add require statement.
23744 (icalendar--create-uid): Read out a uid from a text-property on
23745 the first character in the entry. This allows for code to add its
23746 own uid to the entry.
23747 (icalendar--convert-float-to-ical): Add export of
23748 `diary-float'-entries save for those with the optional DAY
23749 argument.
23750
23751 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
23752
23753 * subr.el (shell-quote-argument): Use alternate escaping strategy
23754 when we spot a variable reference in a string.
23755
23756 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
23757
23758 * cus-start.el (all): Define customization for debug-on-event.
23759
23760 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
23761
23762 * subr.el (shell-quote-argument): Escape correctly under Windows.
23763
23764 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
23765
23766 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
23767
23768 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
23769
23770 * net/tramp.el (tramp-process-actions): Add POS argument.
23771 Delete region between POS and (pos).
23772
23773 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23774 Use `nil' position in `tramp-process-actions' call.
23775 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
23776
23777 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
23778 position in `tramp-process-actions' call.
23779
23780 * net/trampver.el: Update release number.
23781
23782 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
23783
23784 * custom.el (defcustom): Obey lexical-binding.
23785
23786 Fix octave-inf completion problems reported by Alexander Klimov.
23787 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
23788 Inherit from octave-mode-syntax-table.
23789 (inferior-octave-mode): Set info-lookup-mode.
23790 (inferior-octave-completion-at-point): New function.
23791 (inferior-octave-complete): Use it and completion-in-region.
23792 (inferior-octave-dynamic-complete-functions): Use it as well, and use
23793 comint-filename-completion.
23794 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
23795 symbol elements which shouldn't be word elements.
23796 (octave-font-lock-keywords, octave-beginning-of-defun)
23797 (octave-function-header-regexp): Adjust regexps accordingly.
23798 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
23799
23800 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
23801
23802 * net/gnutls.el (gnutls-errorp): Declare before first use.
23803
23804 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
23805
23806 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
23807 verify-error, and verify-hostname-error parameters. Check whether
23808 default trustfile exists before going to use it. Add missing
23809 argument to gnutls-message-maybe call. Return value.
23810 Reported by Claudio Bley <claudio.bley@gmail.com>.
23811 (open-gnutls-stream): Add usage example.
23812
23813 * net/network-stream.el (network-stream-open-starttls): Give host
23814 parameter to `gnutls-negotiate'.
23815 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
23816 * subr.el (shell-quote-argument): Escape correctly under Windows.
23817
23818 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
23819
23820 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
23821 Use correct match group (bug#8438).
23822
23823 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
23824
23825 * emacs-lisp/package.el (package-built-in-p): Fix typo.
23826 (package-menu--generate): New arg specifying packages to show.
23827 (package-menu-refresh, package-menu-execute, list-packages):
23828 Callers changed.
23829 (package-show-package-list): New function, replacing deleted
23830 package--list-packages (renamed because it is non-internal).
23831
23832 * finder.el (finder-list-matches): Use package-show-package-list
23833 instead of deleted package--list-packages.
23834
23835 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
23836 Based on a previous implementation by Juanma Barranquero (Bug#8366).
23837 (vc-annotate-mode-map): Bind it to RET.
23838
23839 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
23840
23841 * progmodes/etags.el (next-file): Don't use set-buffer to change
23842 buffers (Bug#8478).
23843
23844 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
23845
23846 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
23847
23848 * apropos.el (apropos-label-face): Avoid variable-pitch face.
23849 (apropos-accumulator): Doc fix.
23850 (apropos-function, apropos-macro, apropos-command)
23851 (apropos-variable, apropos-face, apropos-group, apropos-widget)
23852 (apropos-plist): Add face property.
23853 (apropos-symbols-internal): Fix indentation.
23854 (apropos-print): Simplify help, and recognize apropos-multi-type.
23855 (apropos-print-doc): Use button-type-get to extract the button's
23856 face property. Fill docstring (Bug#8352).
23857
23858 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
23859
23860 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
23861
23862 * play/mpuz.el (mpuz-silent): Doc fix.
23863 (mpuz-mode-map): Use mapc.
23864 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
23865 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
23866 Fix typos in docstrings.
23867
23868 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
23869 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
23870
23871 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
23872
23873 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
23874
23875 * minibuffer.el (completion--do-completion): Avoid the "Next char
23876 not unique" prompt if icomplete-mode is enabled (Bug#5849).
23877
23878 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
23879 mouse-2 into unread-command-events, it is interpreted correctly.
23880
23881 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
23882 (image-toggle-display): Doc fix.
23883
23884 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
23885
23886 * textmodes/page.el (what-page): Use line-number-at-pos to
23887 calculate line number (Bug#6825).
23888
23889 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
23890
23891 * eshell/esh-mode.el (find-tag-interactive): Declare function.
23892 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
23893 Pass argument NO-DEFAULT to `find-tag-interactive'.
23894
23895 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
23896
23897 Lexical-binding cleanup.
23898
23899 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
23900 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
23901 * progmodes/ada-prj.el (ada-prj-initialize-values)
23902 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
23903 (ada-prj-show-value):
23904 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
23905 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
23906 (antlr-invalidate-context-cache, antlr-options-menu-filter)
23907 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
23908 * progmodes/bug-reference.el (bug-reference-push-button):
23909 * progmodes/fortran.el (fortran-line-length):
23910 * progmodes/glasses.el (glasses-change):
23911 * progmodes/octave-mod.el (octave-fill-paragraph):
23912 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
23913 (python-pdbtrack-grub-for-buffer, python-sentinel):
23914 * progmodes/sql.el (sql-save-connection):
23915 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
23916 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
23917 Mark unused parameters.
23918
23919 * progmodes/compile.el (compilation--flush-directory-cache)
23920 (compilation--flush-parse, compile-internal): Mark unused parameters.
23921 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
23922 (compilation-next-error-function): Remove unused variable `timestamp'.
23923
23924 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
23925 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
23926
23927 * progmodes/dcl-mode.el (dcl-end-of-command):
23928 Remove unused variable `start'.
23929 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
23930 (dcl-option-value-basic, dcl-option-value-offset)
23931 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
23932 Mark unused parameters.
23933 (dcl-save-local-variable): Remove unused variable `val'.
23934 (mode): Declare.
23935
23936 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
23937 Mark unused parameters.
23938 (delphi-ignore-changes): Move before first use.
23939 (delphi-charset-token-at): Remove unused variable `start'.
23940 (delphi-else-start): Remove unused variable `if-count'.
23941 (delphi-comment-block-start, delphi-comment-block-end):
23942 Remove unused variable `kind'.
23943 (delphi-indent-line): Remove unused variable `new-point'.
23944
23945 * progmodes/ebrowse.el (ebrowse-files-list)
23946 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
23947 Mark unused parameters. Don't quote `lambda'.
23948 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
23949 Don't quote `lambda'.
23950 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
23951 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
23952 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
23953 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
23954 Use `ignore-errors'.
23955 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
23956 (ebrowse-view/find-file-and-search-pattern)
23957 (ebrowse-view/find-member-declaration/definition):
23958 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
23959 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
23960 Rename parameter PREFIX-ARG to PREFIX.
23961 (ebrowse-tags-read-name): Remove unused variables `start' and
23962 `member-info'.
23963 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
23964 to `tags-file'.
23965
23966 * progmodes/etags.el (local-find-tag-hook): Declare.
23967 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
23968 Mark unused parameters.
23969
23970 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
23971 (executable-interpret): Mark unused parameter.
23972
23973 * progmodes/flymake.el (flymake-process-sentinel)
23974 (flymake-after-change-function)
23975 (flymake-create-temp-with-folder-structure)
23976 (flymake-get-include-dirs-dot): Mark unused parameters.
23977 (flymake-safe-delete-directory): Remove unused variable `err'.
23978
23979 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
23980 (speedbar-timer-fn, speedbar-line-text)
23981 (speedbar-change-expand-button-char, speedbar-delete-subblock)
23982 (speedbar-center-buffer-smartly): Declare functions.
23983 (gdb-find-watch-expression): Remove unused variable `array'.
23984 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
23985 (gdb-starting): Mark unused parameters.
23986 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
23987 (gdb-table-string): Remove unused variable `res'.
23988 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
23989 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
23990 (gdb-display-buffer): Remove unused variable `cur-size'.
23991
23992 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
23993 allow lexical-binding compilation.
23994 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
23995 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
23996 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
23997 Mark unused parameters.
23998 (gud-gdb-marker-filter): Remove unused variable `match'.
23999 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
24000 lambda expressions and funcall them, instead of using `fset'.
24001
24002 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
24003 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
24004
24005 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
24006 variable `header-beg'; use `let'.
24007
24008 * progmodes/icon.el (indent-icon-exp): Remove unused variables
24009 `restart', `last-sexp' and `at-do'.
24010
24011 * progmodes/js.el (js--debug): Mark unused parameter.
24012 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
24013 (js--splice-into-items): Remove unused variable `item'.
24014 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
24015
24016 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
24017 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
24018 (makefile-complete): Remove unused variable `try'.
24019 (makefile-fill-paragraph, makefile-match-function-end):
24020 Mark unused parameters.
24021
24022 * progmodes/octave-inf.el (inferior-octave-complete):
24023 Remove unused variable `proc'.
24024 (inferior-octave-output-digest): Mark unused parameter.
24025
24026 * progmodes/perl-mode.el (perl-calculate-indent):
24027 Remove unused variable `err'.
24028
24029 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
24030 (prolog-indent-line): Mark unused parameters.
24031 (prolog-indent-line): Remove unused variable `beg'.
24032
24033 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
24034 (reporter-dont-compact-list): Declare.
24035
24036 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
24037 Remove unused variable `char'.
24038 (sh-debug): Mark unused parameter.
24039 (sh-get-indent-info): Remove unused variable `start'.
24040 (sh-calculate-indent): Remove unused variable `var'.
24041
24042 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
24043 (simula-electric-keyword): Remove unused variable `null'.
24044 (simula-search-backward, simula-search-forward): Remove unused
24045 variables `begin' and `end'.
24046
24047 * progmodes/vera-mode.el (vera-guess-basic-syntax):
24048 Remove unused variable `pos'.
24049 (vera-electric-tab, vera-comment-uncomment-region):
24050 Mark unused parameters.
24051 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
24052
24053 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
24054
24055 * emacs-lisp/package.el (package--builtins, package-alist)
24056 (package-load-descriptor, package-built-in-p, package-activate)
24057 (define-package, package-installed-p)
24058 (package-compute-transaction, package-buffer-info)
24059 (package--push): Doc fix. Distinguish more clearly between
24060 version strings and version lists.
24061
24062 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
24063
24064 Lexical-binding cleanup.
24065
24066 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
24067 (5x5-make-mutate-best):
24068 * play/fortune.el (fortune-in-buffer):
24069 * play/gomoku.el (gomoku-init-display):
24070 * play/solitaire.el (solitaire, solitaire-do-check):
24071 * play/tetris.el (tetris-default-update-speed-function):
24072 Mark unused parameters.
24073
24074 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
24075 (bubbles--shift): Remove unused variable `char-org'.
24076 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
24077 (bubbles--show-images): Remove unused variable `char'.
24078
24079 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
24080 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
24081 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
24082 (decipher-analyze-buffer): Use ?\s.
24083 (decipher-make-checkpoint): Remove unused variable `mapping'.
24084
24085 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
24086
24087 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
24088 Remove unused variable `result'; use `let'.
24089
24090 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
24091 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
24092 (gametree-children-shown-p, gametree-compute-reduced-score):
24093 Use `ignore-errors'.
24094
24095 * play/handwrite.el (ps-lpr-switches): Declare.
24096 (handwrite): Remove unused variables `pmin' and `lastp'.
24097
24098 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
24099
24100 * play/landmark.el (landmark-init-display)
24101 (landmark-update-naught-weights): Mark unused parameters.
24102 (landmark-y): Remove unused variable `noise'. Simplify.
24103 (landmark-human-plays): Remove unused variable `score'.
24104
24105 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
24106 (mpuz-try-proposal): Remove unused variable `game'.
24107
24108 * play/zone.el (life-patterns): Declare.
24109
24110 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
24111
24112 * vc/vc.el (ediff-vc-internal): Declare function.
24113
24114 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
24115
24116 * shell.el: Use lexical-binding and std completion UI.
24117 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
24118 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
24119 comint-preoutput-filter-functions rather than on
24120 comint-output-filter-functions.
24121 (shell-command-completion, shell--command-completion-data)
24122 (shell-filename-completion, shell-environment-variable-completion)
24123 (shell-c-a-p-replace-by-expanded-directory): New functions.
24124 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
24125 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
24126 (shell-dynamic-complete-environment-variable): Use them.
24127 (shell-dynamic-complete-as-environment-variable)
24128 (shell-dynamic-complete-as-command): Remove.
24129 (shell-match-partial-variable): Match past point.
24130 * comint.el: Clean up use of completion-at-point-functions.
24131 (comint-completion-at-point): New function.
24132 (comint-mode): Use it completion-at-point-functions.
24133 (comint-dynamic-complete): Make it obsolete.
24134 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
24135 (comint-c-a-p-replace-by-expanded-history): New function.
24136 (comint-dynamic-complete-functions)
24137 (comint-replace-by-expanded-history): Use it.
24138 * minibuffer.el (completion-table-with-terminator): Allow dynamic
24139 termination strings. Try harder to avoid second try-completion.
24140 (completion-in-region-mode-map): Disable bindings that don't work yet.
24141
24142 * comint.el: Use lexical-binding. Require CL.
24143 (comint-dynamic-complete-functions): Use comint-filename-completion.
24144 (comint-completion-addsuffix): Tweak custom type.
24145 (comint-filename-completion, comint--common-suffix)
24146 (comint--common-quoted-suffix, comint--table-subvert)
24147 (comint--complete-file-name-data): New functions.
24148 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
24149 (comint-dynamic-list-filename-completions): Use them.
24150 (comint-dynamic-simple-complete): Make obsolete.
24151
24152 * minibuffer.el (completion-in-region-mode):
24153 Keep completion-in-region-mode--predicate global.
24154 (completion-in-region--postch):
24155 Assume completion-in-region-mode--predicate is not null.
24156
24157 * progmodes/flymake.el (flymake-start-syntax-check-process):
24158 Obey `dir'. Simplify.
24159
24160 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
24161 we're in VC after all.
24162
24163 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
24164
24165 * vc/vc.el (vc-diff-build-argument-list-internal)
24166 (vc-version-ediff, vc-ediff): New commands.
24167 (vc-version-diff): Use vc-diff-build-argument-list-internal.
24168
24169 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
24170
24171 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
24172 add sanity check.
24173
24174 * obsolete/erc-hecomplete.el: Make obsolete.
24175 * obsolete/: Standardize obsolescence info in the header.
24176
24177 2011-04-20 Glenn Morris <rgm@gnu.org>
24178
24179 * calendar/solar.el (solar-horizontal-coordinates):
24180 Use the longitude argument rather than `calendar-longitude'.
24181 (solar-date-next-longitude): Remove unused locals.
24182
24183 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
24184
24185 * whitespace.el: New version 13.2.1.
24186
24187 2011-04-20 felix <EmacsWiki> (tiny change)
24188
24189 * whitespace.el (global-whitespace-mode): Keep highlight when
24190 switching between major modes on a file.
24191
24192 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
24193
24194 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
24195 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
24196 multi-line comments as well.
24197
24198 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
24199
24200 Lexical-binding cleanup.
24201
24202 * arc-mode.el (archive-mode-revert):
24203 * cmuscheme.el (scheme-interactively-start-process):
24204 * custom.el (custom-initialize-delay):
24205 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
24206 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
24207 * emacs-lock.el (emacs-lock-clear-sentinel):
24208 * ezimage.el (defezimage):
24209 * follow.el (follow-avoid-tail-recenter):
24210 * fringe.el (set-fringe-mode-1):
24211 * generic-x.el (bat-generic-mode-compile):
24212 * help-mode.el (help-info-variable, help-do-xref)
24213 (help-mode-revert-buffer):
24214 * help.el (view-emacs-todo):
24215 * iswitchb.el (iswitchb-completion-help):
24216 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
24217 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
24218 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
24219 * locate.el (locate-update):
24220 * longlines.el (longlines-encode-region)
24221 (longlines-after-change-function):
24222 * outline.el (outline-isearch-open-invisible):
24223 * ps-def.el (declare-function, charset-dimension, char-width)
24224 (encode-char):
24225 * ps-mule.el (ps-mule-plot-string):
24226 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
24227 (recentf-edit-list-select, recentf-edit-list-validate)
24228 (recentf-open-files-action):
24229 * rect.el (delete-whitespace-rectangle-line)
24230 (rectangle-number-line-callback):
24231 * register.el (window-configuration-to-register)
24232 (frame-configuration-to-register):
24233 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
24234 * select.el (xselect-convert-to-string, xselect-convert-to-length)
24235 (xselect-convert-to-targets, xselect-convert-to-delete)
24236 (xselect-convert-to-filename, xselect-convert-to-charpos)
24237 (xselect-convert-to-lineno, xselect-convert-to-colno)
24238 (xselect-convert-to-os, xselect-convert-to-host)
24239 (xselect-convert-to-user, xselect-convert-to-class)
24240 (xselect-convert-to-name, xselect-convert-to-integer)
24241 (xselect-convert-to-atom, xselect-convert-to-identity):
24242 * subr.el (declare, ignore, process-kill-without-query)
24243 (text-clone-maintain):
24244 * terminal.el (te-get-char, te-tic-sentinel):
24245 * tool-bar.el (tool-bar-make-keymap):
24246 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
24247 * type-break.el (type-break-mode, type-break-noninteractive-query):
24248 * view.el (View-back-to-mark):
24249 * wid-browse.el (widget-browse-action, widget-browse-widget)
24250 (widget-browse-widgets, widget-browse-sexp):
24251 * widget.el (define-widget-keywords):
24252 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
24253 Mark unused parameters.
24254
24255 * align.el (align-adjust-col-for-rule): Mark unused parameter.
24256 (align-areas): Remove unused variable `look'.
24257 (align-region): Remove unused variables `real-end' and `pos-list'.
24258
24259 * apropos.el (apropos-score-doc): Remove unused variable `i'.
24260
24261 * bindings.el (mode-line-modified, mode-line-remote):
24262 Mark unused parameters.
24263 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
24264
24265 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
24266 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
24267
24268 * comint.el (comint-history-isearch-pop-state)
24269 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
24270 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
24271 (comint-substitute-in-file-name): Doc fix.
24272
24273 * completion.el (cmpl-statistics-block): Mark unused parameter.
24274 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
24275 (save-completions-to-file, load-completions-from-file):
24276 Remove unused local variable `e'.
24277
24278 * composite.el (compose-chars): Remove unused variable `len'.
24279 (lgstring-insert-glyph): Remove unused variable `g'.
24280 (compose-glyph-string): Remove unused variables `ascent',
24281 `descent', `lbearing' and `rbearing'.
24282 (compose-glyph-string-relative): Remove unused variables
24283 `lbearing', `rbearing' and `wadjust'.
24284 (compose-gstring-for-graphic): Remove unused variables `header',
24285 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
24286 (compose-gstring-for-terminal): Remove unused variables `header'
24287 and `nchars'. Use `let', not `let*'.
24288
24289 * cus-edit.el (Custom-set, Custom-save, custom-reset)
24290 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
24291 (Custom-buffer-done, custom-buffer-create-internal)
24292 (custom-browse-visibility-action, custom-browse-group-tag-action)
24293 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
24294 (widget-magic-mouse-down-action, custom-toggle-parent)
24295 (custom-add-parent-links, custom-toggle-hide-variable)
24296 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
24297 (custom-toggle-hide-face, face, hook, custom-group-link-action)
24298 (custom-face-menu-create, custom-variable-menu-create, get)
24299 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
24300 (custom-reset-standard-save-and-update): Remove unused variable `value'.
24301 (customize-apropos): Remove unused variable `tests'.
24302 (custom-group-value-create): Remove unused variable `hidden-p'.
24303 (sort-fold-case): Declare.
24304
24305 * cus-theme.el (custom-reset-standard-faces-list)
24306 (custom-reset-standard-variables-list): Declare.
24307 (customize-create-theme, custom-theme-revert, custom-theme-write)
24308 (custom-theme-choose-mode, customize-themes, custom-theme-save):
24309 Mark unused parameters.
24310
24311 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
24312
24313 * delim-col.el (delimit-columns-max): Move defvar before first use.
24314
24315 * descr-text.el (describe-char-categories): Don't quote `lambda'.
24316 (describe-char): Don't quote `lambda'. Mark unused parameter.
24317
24318 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
24319 (auto-insert): Declare.
24320 (desktop-restore-file-buffer): Rename desktop-* parameters;
24321 mark unused ones.
24322 (desktop-create-buffer): Rename desktop-* parameters and bind them.
24323 (desktop-buffer): Rename desktop-* parameters.
24324
24325 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
24326 (dframe-reposition-frame-xemacs, dframe-help-echo)
24327 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
24328 Mark unused parameters.
24329
24330 * dired-aux.el (backup-extract-version-start, overwrite-query)
24331 (overwrite-backup-query, rename-regexp-query)
24332 (rename-non-directory-query): Declare.
24333 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
24334 (dired-add-entry): Remove unused variable `orig-file-name'.
24335 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
24336 Use parameter PRESERVE-TIME instead of accessing dynamic variable
24337 `dired-copy-preserve-time' directly.
24338 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
24339 (dired-insert-subdir-newpos): Rename unused variable `pos'.
24340
24341 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
24342 (dired-virtual-revert, dired-make-relative-symlink):
24343 Mark unused parameters.
24344 (manual-program): Declare.
24345 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
24346 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
24347 wrapped in `with-no-warnings' to avoid replacing one warning by another.
24348
24349 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
24350
24351 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
24352
24353 * echistory.el (electric-history-in-progress, Helper-return-blurb):
24354 Declare.
24355
24356 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
24357
24358 * electric.el (Electric-command-loop): Rename parameter
24359 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
24360
24361 * expand.el (expand-in-literal): Remove unused variable `here'.
24362
24363 * facemenu.el (facemenu-add-new-color):
24364 Remove unused variable `docstring'.
24365
24366 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
24367 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
24368 (face-attr-construct): Mark unused parameter. Doc fix.
24369 (read-color): Remove unused variable `hex-string'.
24370
24371 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
24372 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
24373 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
24374 (display-buffer-other-frame): Remove unused variable `old-window'.
24375 (kill-buffer-hook): Declare.
24376 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
24377 Mark unused parameters.
24378 (after-find-file): Pass 1 to `auto-save-mode', not t.
24379
24380 * files-x.el (auto-insert): Declare.
24381 (modify-file-local-variable-prop-line): Remove unused variable `val'.
24382
24383 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
24384 variable `buf'. Mark unused parameter.
24385 (find-lisp-insert-directory): Mark unused parameter.
24386
24387 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
24388 (format-encode-region): Remove unused variables `cur-buf' and `result'.
24389 (format-common-tail): Remove, unused.
24390 (format-deannotate-region): Remove unused variable `loc'.
24391 (format-annotate-region): Remove unused variable `p'.
24392 (format-annotate-single-property-change): Remove unused variables
24393 `default' and `tail'.
24394
24395 * forms.el (read-file-filter): Declare.
24396 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
24397
24398 * frame.el (frame-creation-function-alist): Mark unused parameter.
24399 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
24400
24401 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
24402 Remove unused parameters.
24403 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
24404 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
24405
24406 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
24407 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
24408 (hfy-prepare-tag-map): Mark unused parameters.
24409 (htmlfontify-buffer): Use `called-interactively-p'.
24410
24411 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
24412 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
24413 (ibuffer-do-occur): Mark unused parameters.
24414 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
24415 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
24416
24417 * ibuffer.el: Don't quote `lambda'.
24418 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
24419 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
24420 Mark unused parameters.
24421
24422 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
24423 (ido-completing-read): Mark unused parameters.
24424 (ido-copy-current-word): Mark unused parameters;
24425 remove unused variable `name'.
24426 (ido-sort-merged-list): Remove unused parameter `dirs'.
24427
24428 * ielm.el (ielm-input-sender): Mark unused parameter.
24429 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
24430 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
24431 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
24432 `ielm-string' as a dynamic variable accessible from the IELM prompt.
24433 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
24434
24435 * image-dired.el (image-dired-display-thumbs): Remove unused
24436 variables `curr-file' and `count'.
24437 (image-dired-remove-tag): Remove unused variable `start'.
24438 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
24439 variable `curr-file'
24440 (image-dired-rotate-original): Remove unused variable `temp-file'.
24441 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
24442 Remove unused variable `file'.
24443 (image-dired-gallery-generate): Remove unused variable `curr'.
24444 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
24445
24446 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
24447
24448 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
24449
24450 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
24451
24452 * isearch.el (minibuffer-history-symbol): Declare.
24453 (isearch-edit-string): Remove unused variable `err'.
24454 (isearch-message-prefix, isearch-message-suffix):
24455 Mark unused parameters.
24456
24457 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
24458
24459 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
24460
24461 * makesum.el (double-column): Remove unused variable `cnt'.
24462
24463 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
24464 (ido-ignore-item-temp-list): Declare.
24465
24466 * mouse-drag.el (mouse-drag-throw): Remove unused variables
24467 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
24468 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
24469 (mouse-drag-drag): Remove unused variables `mouse-delta' and
24470 `mouse-col-delta'.
24471
24472 * mouse-sel.el (mouse-extend-internal):
24473 Remove unused variable `orig-window-frame'.
24474
24475 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
24476 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
24477 Move declarations before first use.
24478 (pcomplete-opt): Mark unused parameters; doc fix.
24479
24480 * proced.el (proced-revert): Mark unused parameter.
24481 (proced-send-signal): Remove unused variable `err'.
24482
24483 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
24484 Rename parameter PREFIX-ARG to ARG.
24485 (ps-basic-plot-string, ps-basic-plot-whitespace):
24486 Mark unused parameters.
24487
24488 * replace.el (replace-count): Define.
24489 (occur-revert-function): Mark unused parameters.
24490 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
24491 (isearch-case-fold-search, isearch-string): Declare.
24492 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
24493 bind `case-fold-search'. Remove unused variables `beg' and `end',
24494 and simplify.
24495 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
24496 COUNT and bind `replace-count'.
24497 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
24498 to COUNT.
24499
24500 * savehist.el (print-readably, print-string-length): Declare.
24501
24502 * shadowfile.el (shadow-expand-cluster-in-file-name):
24503 Remove unused variable `cluster'.
24504 (shadow-copy-file): Remove unused variable `i'.
24505 (shadow-noquery, shadow-clusters, shadow-site-cluster)
24506 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
24507 (shadow-define-literal-group, shadow-define-regexp-group)
24508 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
24509
24510 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
24511 (shell): Use `called-interactively-p'.
24512 (shell-directory-tracker): Remove unused variable `chdir-failure'.
24513
24514 * simple.el (compilation-context-lines, comint-file-name-quote-list)
24515 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
24516 (delete-backward-char): Remove unused variable `ocol'.
24517 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
24518 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
24519 (event-apply-hyper-modifier, event-apply-shift-modifier)
24520 (event-apply-control-modifier, event-apply-meta-modifier):
24521 Mark unused parameters.
24522 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
24523 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
24524
24525 * speedbar.el (speedbar-ignored-directory-expressions)
24526 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
24527 (speedbar-find-file, speedbar-dir-follow)
24528 (speedbar-directory-buttons-follow, speedbar-tag-find)
24529 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
24530 (speedbar-buffers-line-directory, speedbar-buffer-click):
24531 Mark unused parameters.
24532 (speedbar-tag-file): Remove unused variable `mode'.
24533 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
24534
24535 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
24536
24537 * talk.el (talk): Remove unused variable `display'.
24538
24539 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
24540 (tar-write-region-annotate): Mark unused parameter.
24541
24542 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
24543 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
24544 Declare them, wrapped in `with-no-warnings' to avoid replacing one
24545 warning by another.
24546
24547 * time-stamp.el (time-stamp-string-preprocess):
24548 Remove unused variable `require-padding'.
24549
24550 * tree-widget.el (widget-glyph-enable): Declare.
24551 (tree-widget-action): Mark unused parameter.
24552
24553 * w32-fns.el (x-get-selection): Mark unused parameter.
24554 (autoload-make-program, generated-autoload-file): Declare.
24555
24556 * wdired.el (wdired-revert): Mark unused parameters.
24557 (wdired-xcase-word): Remove unused variable `err'.
24558
24559 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
24560 (whitespace-help-scroll): Remove unused variable `data-help'.
24561
24562 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
24563 (widget-image-insert, widget-after-change, default)
24564 (widget-default-format-handler, widget-default-notify)
24565 (widget-default-prompt-value, widget-info-link-action)
24566 (widget-url-link-action, widget-function-link-action)
24567 (widget-variable-link-action, widget-file-link-action)
24568 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
24569 (widget-field-prompt-internal, widget-field-action, widget-field-match)
24570 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
24571 (widget-insert-button-action, widget-delete-button-action, visibility)
24572 (widget-documentation-link-action, widget-documentation-string-action)
24573 (widget-const-prompt-value, widget-regexp-match, symbol)
24574 (widget-coding-system-prompt-value)
24575 (widget-key-sequence-value-to-external, sexp)
24576 (widget-sexp-value-to-internal, character, vector, cons)
24577 (widget-choice-prompt-value, widget-boolean-prompt-value)
24578 (widget-color--choose-action): Mark unused parameters.
24579 (widget-item-match-inline, widget-choice-match-inline)
24580 (widget-checklist-match, widget-checklist-match-inline)
24581 (widget-group-match): Rename parameter VALUES to VALS.
24582 (widget-field-value-set): Remove unused variable `size'.
24583 (widget-color-action): Remove unused variables `value' and `start'.
24584
24585 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
24586 variable `dir'. Doc fix.
24587 (windmove-find-other-window): Don't pass it.
24588
24589 * window.el (count-windows): Mark unused parameter.
24590 (bw-adjust-window): Remove unused variable `err'.
24591
24592 * woman.el (woman-file-name): Remove unused variable `default'.
24593 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
24594 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
24595 (global-font-lock-mode): Declare.
24596 (woman-decode-region): Mark unused parameter.
24597 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
24598
24599 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
24600 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
24601 (x-dnd-handle-moz-url): Remove unused variable `title'.
24602 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
24603
24604 * xml.el (xml-parse-tag, xml-parse-attlist):
24605 Remove unused variable `pos'.
24606
24607 2011-04-19 Glenn Morris <rgm@gnu.org>
24608
24609 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
24610 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
24611 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
24612 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
24613 * calendar/cal-html.el (cal-html-insert-minical):
24614 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
24615 (calendar-mark-date-pattern):
24616 Prefix "unused" locals.
24617
24618 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
24619 optional argument `style'.
24620
24621 * calendar/appt.el (appt-make-list):
24622 * calendar/cal-china.el (calendar-chinese-date-string):
24623 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
24624 (diary-hebrew-yahrzeit):
24625 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
24626 * calendar/calendar.el (calendar-generate-window):
24627 * calendar/time-date.el (time-to-days):
24628 Remove unused local variables.
24629
24630 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
24631
24632 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
24633 glyphless-char-display table.
24634 (tabulated-list-glyphless-char-display): New var.
24635
24636 2011-04-18 Sam Steingold <sds@gnu.org>
24637
24638 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
24639 to acknowledgments.
24640
24641 2011-04-17 Glenn Morris <rgm@gnu.org>
24642
24643 * calendar/diary-lib.el (diary-sexp-entry):
24644 * calendar/holidays.el (holiday-sexp):
24645 Set debug-on-error rather than the removed stack-trace-on-error.
24646
24647 2011-04-16 Glenn Morris <rgm@gnu.org>
24648
24649 * progmodes/f90.el: Use lexical-binding.
24650 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
24651
24652 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
24653
24654 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
24655 (mail-mode): Setup mailalias completion here instead.
24656 * mail/mailalias.el: Use lexical-binding.
24657 (pattern, mailalias-done): Declare dynamic.
24658 (mail-completion-at-point-function): New function, from mail-complete.
24659 (mail-complete): Use it.
24660 (mail-completion-expand): New function.
24661 (mail-get-names): Use it.
24662 (mail-directory, mail-directory-process, mail-directory-stream):
24663 Don't use `pattern' for lexically bound arg.
24664
24665 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
24666
24667 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
24668 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
24669 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
24670
24671 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
24672 (byte-save-window-excursion, byte-temp-output-buffer-setup)
24673 (byte-interactive-p): Define them again, for use when inlining
24674 old code.
24675
24676 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
24677
24678 * loadup.el: Use `string-to-number', not `string-to-int'.
24679
24680 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
24681
24682 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
24683 gud-gdb-complete-command.
24684 (gud-gdb-completions): New function, from gud-gdb-complete-command.
24685 (gud-gdb-completion-at-point): New function.
24686 (gud-gdb-completions): Remove.
24687
24688 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
24689
24690 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
24691 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
24692 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
24693 whether `executable-find' is bound.
24694
24695 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
24696
24697 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
24698
24699 * minibuffer.el (completion-in-region-mode-predicate)
24700 (completion-in-region-mode--predicate): New vars.
24701 (completion-in-region, completion-in-region--postch)
24702 (completion-in-region-mode): Use them.
24703 (completion--capf-wrapper): Also return the hook function.
24704 (completion-at-point, completion-help-at-point):
24705 Adjust and provide a predicate.
24706
24707 Preserve arg names for advice of subr and lexical functions (bug#8457).
24708 * help-fns.el (help-function-arglist): Consolidate the subr and
24709 new-byte-code cases. Add argument `preserve-names' to extract names
24710 from the docstring when needed.
24711 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
24712 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
24713 (ad-arglist): Use help-function-arglist's new arg.
24714 (ad-definition-type): Use cond.
24715
24716 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
24717
24718 * autorevert.el (auto-revert-handler):
24719 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
24720 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
24721 Don't quote lambda.
24722
24723 * image-mode.el (image-transform-set-scale):
24724 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
24725
24726 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
24727
24728 * net/network-stream.el (network-stream-open-starttls): Only do
24729 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
24730 Upgrades via gnutls-cli are too slow to be done opportunistically.
24731
24732 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
24733
24734 * dframe.el (dframe-current-frame): Remove spurious quote.
24735
24736 2011-04-12 Glenn Morris <rgm@gnu.org>
24737
24738 * calendar/cal-tex.el (cal-tex-end-document):
24739 Try to automatically use latin1 input if needed.
24740
24741 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
24742 Don't try to cons a mark onto an empty element.
24743
24744 2011-04-11 Leo Liu <sdl.web@gmail.com>
24745
24746 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
24747 buffers.
24748 (ido-kill-buffer-at-head): Support killing virtual buffers.
24749
24750 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
24751
24752 * minibuffer.el (completion-show-inline-help): New var.
24753 (completion--do-completion, minibuffer-complete)
24754 (minibuffer-force-complete, minibuffer-complete-word):
24755 Inhibit minibuffer messages if completion-show-inline-help is nil.
24756
24757 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
24758 to avoid interference from inline help (Bug#5849).
24759
24760 2011-04-10 Leo Liu <sdl.web@gmail.com>
24761
24762 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
24763 Fix typo.
24764
24765 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
24766
24767 * image-mode.el (image-toggle-display-image): Signal an error if
24768 not in Image mode.
24769 (image-transform-mode, image-transform-resize)
24770 (image-transform-set-rotation): Doc fix.
24771 (image-transform-set-resize): Delete.
24772 (image-transform-set-scale, image-transform-fit-to-height)
24773 (image-transform-fit-to-width): Handle image-toggle-display-image
24774 and image-transform-resize directly.
24775
24776 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
24777
24778 * doc-view.el (doc-view-fit-width-to-window)
24779 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
24780 New functions for fitting the shown image to the Emacs window size.
24781 (doc-view-mode-map): Add bindings for the new functions.
24782
24783 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
24784
24785 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
24786 Fix typo in docstring.
24787
24788 2011-04-08 Eli Zaretskii <eliz@gnu.org>
24789
24790 * files.el (file-size-human-readable): Produce one digit after
24791 decimal, like "ls -lh" does.
24792
24793 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
24794 the file size representation.
24795
24796 * simple.el (list-processes): If async subprocesses are not
24797 available, error out with a clear error message.
24798
24799 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
24800
24801 * help.el (help-form-show): New function, to be called from C.
24802 Put help-form output in a buffer named differently than *Help*.
24803
24804 2011-04-08 Eli Zaretskii <eliz@gnu.org>
24805
24806 * files.el (file-size-human-readable): New function.
24807
24808 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
24809 computing the representation inline. Don't require `cl'.
24810
24811 2011-04-08 Glenn Morris <rgm@gnu.org>
24812
24813 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
24814
24815 * net/browse-url.el (browse-url-firefox):
24816 Test system-type, not system-configuration.
24817
24818 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
24819 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
24820 Use log-edit-empty-buffer-p. (Bug#7598)
24821
24822 * net/rlogin.el (rlogin-process-connection-type): Simplify.
24823 (rlogin-mode-map): Initialize in the defvar.
24824 (rlogin): Use ignore-errors.
24825
24826 * replace.el (occur-mode-map): Some fixes for menu items.
24827
24828 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
24829
24830 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
24831
24832 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
24833
24834 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
24835 issuing unused warnings.
24836
24837 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
24838 macro directly.
24839
24840 * simple.el: Lisp reimplement of list-processes. Based on an
24841 earlier reimplementation by Leo Liu, but using tabulated-list.el.
24842 (process-menu-mode): New major mode.
24843 (list-processes--refresh, list-processes):
24844 (process-menu-visit-buffer): New functions.
24845
24846 * files.el (save-buffers-kill-emacs): Don't assume any return
24847 value of list-processes, which is undocumented anyway.
24848
24849 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
24850
24851 * emacs-lisp/tabulated-list.el: New file.
24852
24853 * emacs-lisp/package.el: Use Tabulated List mode.
24854 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
24855 (package-menu-mode): Derive from tabulated-list-mode. Set up the
24856 table format using Tabulated List mode variables.
24857 (package--push): New macro, replacing package-list-maybe-add.
24858 (package-menu--generate): Use package--push. Renamed from
24859 package--generate-package-list.
24860 (package-menu-refresh, list-packages): Use it.
24861 (package-menu--print-info): Rename from package-print-package.
24862 Return insertion data instead of inserting it directly.
24863 (package-menu-describe-package, package-menu-execute):
24864 Use tabulated-list-get-id.
24865 (package-menu-mark-delete, package-menu-mark-install)
24866 (package-menu-mark-unmark, package-menu-backup-unmark)
24867 (package-menu-mark-obsolete-for-deletion):
24868 Use tabulated-list-put-tag.
24869 (package--list-packages, package-menu-revert)
24870 (package-menu-get-package, package-menu-get-version)
24871 (package-menu-sort-by-column): Functions deleted.
24872 (package-menu-package-list, package-menu-sort-key): Vars deleted.
24873 (package-menu--status-predicate, package-menu--version-predicate)
24874 (package-menu--name-predicate)
24875 (package-menu--description-predicate): Handle arguments in the
24876 Tabulated List format.
24877 (package-list-packages-no-fetch): Call list-packages.
24878
24879 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
24880
24881 * files.el (after-find-file-from-revert-buffer): Remove variable.
24882 (after-find-file): Don't bind it.
24883 (revert-buffer-in-progress-p): New variable.
24884 (revert-buffer): Bind it.
24885 Pass nil for `after-find-file-from-revert-buffer'.
24886
24887 * saveplace.el (save-place-find-file-hook): Use new variable
24888 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
24889
24890 2011-04-06 Glenn Morris <rgm@gnu.org>
24891
24892 * Makefile.in (AUTOGEN_VCS): New variable.
24893 (autoloads): Use $AUTOGEN_VCS.
24894
24895 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
24896 * calendar/calendar.el (calendar-mode-map):
24897 Check for toolkit scroll bars. (Bug#8305)
24898
24899 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
24900
24901 * minibuffer.el (completion-in-region--postch)
24902 (completion-in-region-mode): Remove unnecessary messages.
24903
24904 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
24905
24906 * font-lock.el (font-lock-refresh-defaults):
24907 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
24908 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
24909
24910 * info.el (Info-directory-list, Info-read-node-name-2)
24911 (Info-split-parameter-string): Doc fixes.
24912 (Info-virtual-nodes): Reflow docstring.
24913 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
24914 (Info-apropos-toc-nodes, info-finder, Info-get-token)
24915 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
24916 Fix typos in docstrings.
24917 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
24918 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
24919 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
24920 (Info-restore-desktop-buffer): Mark unused parameters.
24921 (Info-directory-find-file, Info-directory-find-node)
24922 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
24923 (Info-virtual-index-find-node, Info-apropos-find-file)
24924 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
24925 Mark unused parameters; fix typos in docstrings.
24926 (Info-virtual-index): Remove unused local variable `nodename'.
24927
24928 2011-04-05 Deniz Dogan <deniz@dogan.se>
24929
24930 * net/rcirc.el: Update my e-mail address.
24931 (rcirc-mode-map): Remove M-o binding.
24932
24933 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
24934
24935 * startup.el (command-line): Save the cursor's theme-face
24936 directly, instead of using face-override-spec.
24937
24938 * custom.el (load-theme): Minor optimization in assigning faces.
24939
24940 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
24941
24942 * help-fns.el (describe-variable): Complete all variables having
24943 documentation, including keywords.
24944 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
24945
24946 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
24947
24948 Convert to lexical-binding.
24949
24950 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
24951 (bs--get-marked-string, bs--get-modified-string)
24952 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
24953 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
24954 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
24955
24956 * ehelp.el (electric-help-execute-extended)
24957 (electric-help-ctrl-x-prefix):
24958 * hexl.el (hexl-revert-buffer-function):
24959 * linum.el (linum-after-change, linum-after-scroll):
24960 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
24961
24962 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
24963
24964 2011-04-04 Daiki Ueno <ueno@unixuser.org>
24965
24966 * epa-dired.el:
24967 * epa-mail.el:
24968 * epa-hook.el:
24969 * epa-file.el:
24970 * epa.el:
24971 * epg.el: Use lexical binding.
24972
24973 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
24974
24975 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
24976
24977 * textmodes/flyspell.el (flyspell-word): Recognize default
24978 dictionary case for flyspell-mark-duplications-exceptions.
24979 Use regexp matching for languages.
24980 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
24981 default dictionary (Bug#7926).
24982
24983 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
24984
24985 * emacs-lisp/package.el (package--with-work-buffer):
24986 Recognize https URLs.
24987
24988 * net/network-stream.el: Move from gnus/proto-stream.el.
24989 Change prefix to network-stream throughout.
24990 (open-protocol-stream): Merge into open-network-stream, leaving
24991 open-protocol-stream as an alias. Handle nil BUFFER args.
24992
24993 * subr.el (open-network-stream): Move to net/network-stream.el.
24994
24995 2011-04-02 Glenn Morris <rgm@gnu.org>
24996
24997 * find-dired.el (find-exec-terminator): New option.
24998 (find-ls-option): Test for -ls support.
24999 (find-ls-subdir-switches): Test for -b in find-ls-option.
25000 (find-dired, find-grep-dired): Doc fixes.
25001 (find-dired): Use find-exec-terminator.
25002
25003 * find-dired.el (find-ls-option, find-ls-subdir-switches)
25004 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
25005 (find-name-arg): Remove purecopy.
25006
25007 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
25008 (grep-compute-defaults): Check for `-exec COMMAND +' support.
25009 Set grep-find-use-xargs, grep-find-command, and grep-find-template
25010 accordingly. Don't add the null-device if not needed.
25011
25012 * files.el (save-some-buffers): Doc fix.
25013
25014 2011-04-02 Eli Zaretskii <eliz@gnu.org>
25015
25016 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
25017
25018 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
25019
25020 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
25021 Use `dolist' rather than `mapcar'.
25022
25023 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
25024
25025 Add lexical binding.
25026
25027 * subr.el (apply-partially): Use new closures rather than CL.
25028 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
25029 (dolist, dotimes): Use slightly different expansion for lexical code.
25030 (functionp): Move to C.
25031 (letrec): New macro.
25032 (with-wrapper-hook): Use it and apply-partially instead of CL.
25033 (eval-after-load): Preserve lexical-binding.
25034 (save-window-excursion, with-output-to-temp-buffer): Turn them
25035 into macros.
25036
25037 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
25038
25039 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
25040 than the arglist.
25041 (help-add-fundoc-usage): Don't add `Not documented'.
25042 (help-function-arglist): Handle closures, subroutines, and new
25043 byte-code-functions.
25044 (help-make-usage): Remove leading underscores.
25045 (describe-function-1): Handle closures.
25046 (describe-variable): Use special-variable-p for completion.
25047
25048 * files.el (lexical-binding): Declare safe.
25049
25050 * emacs-lisp/pcase.el: Don't use destructuring-bind.
25051 (pcase--memoize): Rename from pcase-memoize. Change weakness.
25052 (pcase): Add `let' pattern.
25053 Change memoization so it actually works.
25054 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
25055 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
25056 <let>: New case.
25057
25058 * emacs-lisp/macroexp.el: Use lexical binding.
25059 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
25060 Don't convert ' to #' without checking that it's indeed quoting
25061 a lambda.
25062
25063 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
25064 Use eval-sexp-add-defvars.
25065 (eval-sexp-add-defvars): New fun.
25066
25067 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
25068
25069 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
25070 Don't autoload.
25071 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
25072 than the internal `byte-compile-lambda'.
25073 (defmethod): Don't hide code under quotes.
25074 (eieio-defmethod): New `code' argument.
25075
25076 * emacs-lisp/eieio-comp.el: Remove.
25077
25078 * emacs-lisp/edebug.el (edebug-eval-defun)
25079 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
25080 (edebug-toggle): Avoid `eval'.
25081
25082 * emacs-lisp/disass.el (disassemble-internal): Handle new
25083 `closure' objects.
25084 (disassemble-1): Handle new byte codes.
25085
25086 * emacs-lisp/cl.el (pushnew): Silence warning.
25087
25088 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
25089 (cl-byte-compile-throw): Remove.
25090 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
25091
25092 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
25093 closures.
25094
25095 * emacs-lisp/cconv.el: New file.
25096
25097 * emacs-lisp/bytecomp.el: Use lexical binding instead of
25098 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
25099 (byte-compile-initial-macro-environment):
25100 Handle declare-function here.
25101 (byte-compile--lexical-environment): New var.
25102 (byte-stack-ref, byte-stack-set, byte-discardN)
25103 (byte-discardN-preserve-tos): New lap codes.
25104 (byte-interactive-p): Don't use any more.
25105 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
25106 New macros.
25107 (byte-compile-lapcode): Use them and handle new lap codes.
25108 (byte-compile-obsolete): Remove.
25109 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
25110 (byte-compile-arglist-warn): Check late def of inlinable funs.
25111 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
25112 since they should have been expanded by now.
25113 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
25114 (byte-compile-from-buffer): Remove unused second arg.
25115 (byte-compile-preprocess): New function.
25116 (byte-compile-toplevel-file-form): New function to distinguish
25117 file-form calls from outside from file-form calls from hunk-handlers.
25118 (byte-compile-file-form): Simplify.
25119 (byte-compile-file-form-defsubst): Remove.
25120 (byte-compile-file-form-defmumble): Simplify now that
25121 byte-compile-lambda always returns a byte-code-function.
25122 (byte-compile): Preprocess.
25123 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
25124 Remove, not used any more.
25125 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
25126 (byte-compile-make-args-desc): New funs.
25127 (byte-compile-lambda): Handle lexical functions. Always return
25128 a byte-code-function.
25129 (byte-compile-reserved-constants): New var, to make up room for
25130 closed-over variables.
25131 (byte-compile-constants-vector): Obey it.
25132 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
25133 (byte-compile-macroexpand-declare-function): New function.
25134 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
25135 byte-code-functions.
25136 (byte-compile-form): Check obsolescence here.
25137 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
25138 (byte-compile-variable-ref): Remove.
25139 (byte-compile-dynamic-variable-op): New fun.
25140 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
25141 (byte-compile-variable-set): New funs.
25142 (byte-compile-discard): Add 2 args.
25143 (byte-compile-stack-ref, byte-compile-stack-set)
25144 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
25145 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
25146 macroexpand-all instead.
25147 (byte-compile-quote-form): Remove.
25148 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
25149 (byte-compile-bind, byte-compile-unbind): New funs.
25150 (byte-compile-let): Handle let* and lexical binding.
25151 (byte-compile-let*): Remove.
25152 (byte-compile-catch, byte-compile-unwind-protect)
25153 (byte-compile-track-mouse, byte-compile-condition-case):
25154 Handle a new :fun-body form, used for lexical scoping.
25155 (byte-compile-save-window-excursion)
25156 (byte-compile-with-output-to-temp-buffer): Remove.
25157 (byte-compile-defun): Simplify.
25158 (byte-compile-stack-adjustment): New fun.
25159 (byte-compile-out): Use it.
25160 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
25161
25162 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
25163 handler any more.
25164
25165 * emacs-lisp/byte-opt.el: Use lexical binding.
25166 (byte-inline-lapcode): Remove (to bytecomp).
25167 (byte-compile-inline-expand): Pay attention to inlining to/from
25168 lexically bound code.
25169 (byte-compile-unfold-lambda): Don't handle byte-code-functions
25170 any more.
25171 (byte-optimize-form-code-walker): Don't handle save-window-excursion
25172 any more and don't call compiler-macros.
25173 (byte-compile-splice-in-already-compiled-code): Remove.
25174 (byte-code): Don't inline any more.
25175 (disassemble-offset): Receive `bytes' as argument rather than via
25176 dynamic scoping.
25177 (byte-compile-tag-number): Declare before first use.
25178 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
25179 `return' even if make-spliceable.
25180 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
25181 obsolete interactive-p.
25182 (byte-optimize-lapcode): Optimize new lap-codes.
25183 Don't trip up on new form of `byte-constant' lap code.
25184
25185 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
25186
25187 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
25188
25189 * custom.el (custom-initialize-default, custom-declare-variable):
25190 Use `defvar'.
25191
25192 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
25193 New variables.
25194 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
25195 (COMPILE_FIRST): Add macroexp and cconv.
25196 * makefile.w32-in: Mirror changes in Makefile.in.
25197
25198 * vc/cvs-status.el:
25199 * vc/diff-mode.el:
25200 * vc/log-edit.el:
25201 * vc/log-view.el:
25202 * vc/smerge-mode.el:
25203 * textmodes/bibtex-style.el:
25204 * textmodes/css-mode.el:
25205 * startup.el:
25206 * uniquify.el:
25207 * minibuffer.el:
25208 * newcomment.el:
25209 * reveal.el:
25210 * server.el:
25211 * mpc.el:
25212 * emacs-lisp/smie.el:
25213 * doc-view.el:
25214 * dired.el:
25215 * abbrev.el: Use lexical binding.
25216
25217 2011-04-01 Eli Zaretskii <eliz@gnu.org>
25218
25219 * info.el (info-display-manual): New function.
25220
25221 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
25222
25223 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
25224
25225 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
25226
25227 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
25228 an entry for that server in rcirc-authinfo. (Bug#8385)
25229
25230 2011-03-31 Glenn Morris <rgm@gnu.org>
25231
25232 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
25233
25234 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
25235
25236 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
25237
25238 * progmodes/python.el (python-default-interpreter)
25239 (python-python-command-args, python-jython-command-args)
25240 (python-which-shell, python-which-args, python-which-bufname)
25241 (python-file-queue, python-comint-output-filter-function)
25242 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
25243 variables and functions.
25244
25245 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
25246
25247 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
25248 (completion-in-region-mode): New minor mode.
25249 (completion-in-region): Use it.
25250 (completion-in-region--data, completion-in-region-mode-map): New vars.
25251 (completion-in-region--postch): New function.
25252 (completion--capf-misbehave-funs, completion--capf-safe-funs):
25253 New vars.
25254 (completion--capf-wrapper): New function.
25255 (completion-at-point): Use it to track well-behavedness of
25256 hook functions.
25257 (completion-help-at-point): New command.
25258
25259 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
25260
25261 * vc/add-log.el (add-change-log-entry): Don't use whitespace
25262 syntax class to search for whitespace on a single line
25263 (Message-ID: <4D938140.4030905@redhat.com>).
25264
25265 2011-03-30 Leo Liu <sdl.web@gmail.com>
25266
25267 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
25268 New commands.
25269 (edit-abbrevs-map): Bind them here.
25270 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
25271
25272 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
25273
25274 * allout.el (allout-hide-by-annotation, allout-flag-region):
25275 Reduce possibility of overlay leakage by making them volatile.
25276
25277 * allout-widgets.el (allout-widgets-tally): Define as nil so the
25278 hash is not shared between buffers. Mode initialization is
25279 responsible for giving it a useful starting value.
25280 (allout-item-span): Reduce possibility of overlay leakage by
25281 making them volatile.
25282 (allout-widgets-count-buttons-in-region): Add diagnostic function
25283 for tracking down button overlay leaks.
25284
25285 2011-03-29 Leo Liu <sdl.web@gmail.com>
25286
25287 * ido.el (ido-read-internal): Use the default history var
25288 minibuffer-history if no HISTORY is specified.
25289
25290 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
25291
25292 * net/imap.el (imap-shell-open, imap-process-connection-type):
25293 Use imap-process-connection-type for 'shell' streams as well as
25294 Kerberos, SSL, other subprocesses.
25295
25296 2011-03-28 Leo Liu <sdl.web@gmail.com>
25297
25298 * abbrev.el (abbrev-table-empty-p): New function.
25299 (prepare-abbrev-list-buffer): Place empty abbrev tables after
25300 nonempty ones. (Bug#5937)
25301
25302 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
25303
25304 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
25305
25306 2011-03-27 Leo Liu <sdl.web@gmail.com>
25307
25308 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
25309 for foreground and background colors.
25310 (ansi-color-make-color-map): Adapt.
25311
25312 2011-03-25 Leo Liu <sdl.web@gmail.com>
25313
25314 * midnight.el (midnight-time-float): Remove. Note it calculates
25315 the microsecond component incorrectly and seconds-to-time does the
25316 same job.
25317 Remove redundant (require 'timer).
25318
25319 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
25320 (ido-completions): Remove unused arguments. (Bug#8329)
25321
25322 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
25323
25324 * minibuffer.el (completion--flush-all-sorted-completions):
25325 Remove itself from hook.
25326 (completion-at-point): Let the functions perform the completion
25327 immediately and return nil or t.
25328 * comint.el (comint-dynamic-complete-functions): Now identical to
25329 completion-at-point-functions.
25330 (comint-dynamic-list-input-ring): Remove unused var `index'.
25331 (comint--match-partial-filename, comint--unquote&expand-filename):
25332 New funs, split from comint-match-partial-filename.
25333 (comint-dynamic-complete): Use completion-at-point.
25334 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
25335
25336 2011-03-24 Drew Adams <drew.adams@oracle.com>
25337
25338 * thingatpt.el: Support `defun'.
25339
25340 2011-03-23 Leo Liu <sdl.web@gmail.com>
25341
25342 * abbrevlist.el: Move to obsolete/abbrevlist.el.
25343
25344 * help-mode.el (help-mode-finish): Tweak regexp.
25345
25346 2011-03-23 Glenn Morris <rgm@gnu.org>
25347
25348 * eshell/esh-opt.el (eshell-eval-using-options):
25349 Do not bind unused local variable `eshell-option-stub'.
25350
25351 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
25352
25353 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
25354
25355 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
25356 keymap variable in `with-no-warnings' to avoid a warning when the
25357 keymap has been already `defconst'ed.
25358
25359 2011-03-22 Leo Liu <sdl.web@gmail.com>
25360
25361 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
25362 encode all chars in abbrevs; otherwise use emacs-mule or
25363 utf-8-emacs. (Bug#8308)
25364
25365 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
25366
25367 * simple.el (backward-delete-char-untabify):
25368 Avoid warning about using `delete-backward-char'.
25369
25370 * image.el (image-type-file-name-regexps): Make it variable.
25371 `imagemagick-register-types' modifies it, and the user may want
25372 to add new extensions for known image types.
25373 (imagemagick-register-types): Throw error if not using ImageMagick.
25374
25375 2011-03-22 Leo Liu <sdl.web@gmail.com>
25376
25377 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
25378 located before rcirc-prompt-end-marker.
25379 (rcirc-complete): Error if point is not after rcirc prompt.
25380 Handle the case when table is nil.
25381 (rcirc-user-authenticated): Define to fix compiler warning.
25382
25383 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
25384
25385 * custom.el (custom--inhibit-theme-enable): Make it affect only
25386 custom-theme-set-variables and custom-theme-set-faces.
25387 (provide-theme): Ignore custom--inhibit-theme-enable.
25388 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
25389 (custom-enabling-themes): Delete variable.
25390 (enable-theme): Accept only loaded themes as arguments.
25391 Ignore the special custom-enabled-themes variable.
25392 (custom-enabled-themes): Forbid themes from setting this.
25393 Eliminate use of custom-enabling-themes.
25394 (custom-push-theme): Quote "changed" custom var entry.
25395
25396 2011-03-21 Leo Liu <sdl.web@gmail.com>
25397
25398 * ido.el (ido-read-internal): Add ido-selected to history instead
25399 of user input.
25400
25401 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
25402
25403 * subr.el (deferred-action-list, deferred-action-function):
25404 Mark obsolete.
25405
25406 2011-03-21 Leo Liu <sdl.web@gmail.com>
25407
25408 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
25409 change on 2011-02-13 (bug#8309).
25410
25411 * minibuffer.el (read-file-name-function): Change default value.
25412 (read-file-name--defaults): Rename from read-file-name-defaults.
25413 (read-file-name-default): Rename from read-file-name.
25414 (read-file-name): Call read-file-name-function.
25415
25416 2011-03-21 Glenn Morris <rgm@gnu.org>
25417
25418 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
25419 Doc fixes.
25420
25421 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
25422
25423 * cus-theme.el: Add missing provide statement.
25424 (customize-create-theme): Extract theme value correctly.
25425 (custom-theme-visit-theme): Autoload.
25426 (customize-create-theme): Prompt before inserting default faces.
25427
25428 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
25429
25430 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
25431 units and musical notes.
25432
25433 2011-03-20 Leo Liu <sdl.web@gmail.com>
25434
25435 * ido.el (ido-read-internal): Use completing-read-default.
25436 (ido-completing-read): Fix compatibility with completing-read.
25437
25438 2011-03-20 Christian Ohler <ohler@gnu.org>
25439
25440 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
25441 (ert-delete-all-tests): Use `called-interactively-p' rather than
25442 `interactive-p'.
25443 (ert--make-xrefs-region): Respect END.
25444
25445 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
25446
25447 * dired-aux.el (dired-create-directory): Signal an error if the
25448 directory already exists (Bug#8246).
25449
25450 * facemenu.el (list-colors-display): Call list-faces-display
25451 inside with-help-window.
25452 (list-colors-print): Use display property to align the final
25453 column, instead of checking window-width.
25454
25455 2011-03-19 Eli Zaretskii <eliz@gnu.org>
25456
25457 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
25458 windows-nt systems.
25459 (emerge-protect-metachars): Quote correctly for ms-dos and
25460 windows-nt systems.
25461
25462 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
25463
25464 * info.el (info-initialize): Replace all uses of `:' with
25465 path-separator for compatibility with non-Unix systems.
25466 Cache quoting of path-separator. (Bug#8258)
25467
25468 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
25469
25470 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
25471 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
25472 (mouse-avoidance-mode): Fix typos in docstrings.
25473
25474 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
25475
25476 * startup.el (package-subdirectory-regexp): Move from package.el.
25477 Omit \\` and \\', and let callers add them.
25478
25479 * emacs-lisp/package.el (package-strip-version)
25480 (package-load-all-descriptors): Add \\` and \\' to
25481 package-subdirectory-regexp before using it.
25482 (package-untar-buffer): New arg DIR; ensure that file untars only
25483 into this expected directory. Remove superfluous delete-region.
25484 (package-unpack): Caller changed.
25485 (package-tar-file-info): Use package-subdirectory-regexp.
25486
25487 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
25488
25489 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
25490 diff-mode-shared-map (bug#8284).
25491 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
25492
25493 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
25494
25495 * calendar/time-date.el (format-seconds): Use assoc instead of
25496 assoc-string, since assoc-string doesn't exist in XEmacs.
25497
25498 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
25499
25500 * custom.el (custom-known-themes): Reflow docstring.
25501 (custom-theme-load-path): Fix typo in docstring.
25502 (load-theme): Fix typo in error message.
25503 (custom-available-themes, custom-variable-theme-value):
25504 Use `let', not `let*'.
25505
25506 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
25507
25508 * calc/README: Mention inclusion of musical notes.
25509
25510 * calc/calc-units.el (calc-lu-quant): Rename from
25511 `calc-logunits-quantity'.
25512 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
25513 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
25514 (calc-db): Rename from `calc-dblevel'.
25515 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
25516 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
25517 (calc-np): Rename from `calc-nplevel'.
25518 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
25519 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
25520 (calc-lu-plus): Rename from `calc-logunits-add'.
25521 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
25522 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
25523 (calc-lu-minus): Rename from `calc-logunits-sub'.
25524 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
25525 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
25526 (calc-lu-times): Rename from `calc-logunits-mul'.
25527 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
25528 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
25529 (calc-lu-divide): Rename from `calc-logunits-div'.
25530 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
25531 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
25532
25533 * calc/calc-ext.el (calc-init-extensions): Update the names of the
25534 functions being autoloaded.
25535
25536 * calc/calc.el (calc-lu-power-reference): Rename from
25537 `calc-logunits-power-reference'.
25538 (calc-lu-field-reference): Rename from
25539 `calc-logunits-field-reference'.
25540
25541 * calc/calc-help.el (calc-l-prefix-help):
25542 Mention musical note functions.
25543
25544 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
25545
25546 * minibuffer.el (completion-all-sorted-completions):
25547 Use :completion-cycle-penalty text property if present.
25548
25549 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
25550
25551 * allout.el (allout-yank-processing): Adjust for new rebulleting
25552 regime so bullet being yanked is used without prompting the user
25553 for a choice.
25554
25555 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
25556
25557 * startup.el (command-line): Warn the user that _emacs is deprecated.
25558
25559 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
25560
25561 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
25562 (delphi-verbose, delphi-comment-face, delphi-string-face)
25563 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
25564 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
25565 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
25566 (delphi-new-comment-line, delphi-font-lock-defaults)
25567 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
25568 Fix typos in docstrings.
25569
25570 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
25571
25572 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
25573 Invert the roles of character and string values for INSTEAD, so a
25574 string is used for the more common case of a defaulting prompt.
25575
25576 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25577
25578 * progmodes/ruby-mode.el (ruby-backward-sexp):
25579 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
25580 * play/gamegrid.el (gamegrid-make-face):
25581 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
25582 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
25583 * notifications.el (notifications-notify):
25584 * net/xesam.el (xesam-search-engines):
25585 * net/quickurl.el (quickurl-list-insert):
25586 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
25587
25588 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
25589
25590 * startup.el (command-line): Update package subdirectory regexp.
25591
25592 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25593
25594 * allout.el (allout-abbreviate-flattened-numbering)
25595 (allout-mode-deactivate-hook): Fix up obsolescence "date".
25596
25597 * subr.el (read-char-choice): Only show the cursor after the prompt,
25598 not after the answer.
25599
25600 2011-03-15 Kevin Ryde <user42@zip.com.au>
25601
25602 * help-fns.el (variable-at-point): Skip leading quotes, if any
25603 (bug#8253).
25604
25605 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25606
25607 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
25608 warning message.
25609
25610 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
25611
25612 * shell.el (shell): When called interactively, offer to change the
25613 shell file name on remote hosts.
25614
25615 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
25616
25617 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
25618 integration for LDAP parameters. The host, base, user or binddn,
25619 and secret tokens can be specified in a netrc file, for instance.
25620 This is optional because an `auth-source' parameter must be
25621 specified in the search attributes.
25622
25623 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
25624
25625 * help.el (describe-mode): Link to the mode's definition (bug#8185).
25626
25627 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
25628
25629 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
25630 into declaration. Remove redundant and harmful binding.
25631
25632 2011-03-12 Eli Zaretskii <eliz@gnu.org>
25633
25634 * files.el (file-ownership-preserved-p): Pass `integer' as an
25635 explicit 2nd argument to `file-attributes'. If the file's owner
25636 is the Administrators group on Windows, and the current user is
25637 Administrator, consider that a match.
25638
25639 * server.el (server-ensure-safe-dir): Consider server directory
25640 safe on MS-Windows if its owner is the Administrators group while
25641 the current Emacs user is Administrator. Use `=' to compare
25642 numerical UIDs, since they could be integers or floats.
25643
25644 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
25645
25646 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
25647
25648 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
25649
25650 Sync with Tramp 2.2.1.
25651
25652 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
25653
25654 * net/trampver.el: Update release number.
25655
25656 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
25657
25658 * progmodes/compile.el (compilation--previous-directory): Fix up
25659 various nil/dead-marker mismatches (bug#8014).
25660 (compilation-directory-properties, compilation-error-properties):
25661 Don't call it at a position past the one we're about to change.
25662
25663 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
25664 Disable obsolescence warnings in the file that declares it.
25665
25666 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
25667
25668 * allout-widgets.el (allout-widgets-tally):
25669 Initialize allout-widgets-tally as a hash table rather than nil to
25670 prevent mode-line redisplay warnings. Also, clarify the module
25671 description and fix a comment typo.
25672
25673 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
25674
25675 * help-fns.el (describe-variable): Don't complete keywords.
25676 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
25677
25678 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
25679
25680 * emacs-lisp/package.el (package-version-join): Impose a standard
25681 string representation for pre/alpha/beta version lists.
25682 (package-unpack-single): Standardize the directory name by passing
25683 it through package-version-join.
25684 (package-strip-rcs-id): Accept any version string that does not
25685 signal an error in version-to-list.
25686
25687 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
25688
25689 * simple.el (delete-trailing-whitespace): Return nil for the
25690 benefit of `write-file-functions'.
25691
25692 2011-03-10 Glenn Morris <rgm@gnu.org>
25693
25694 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
25695
25696 * vc/vc-git.el (vc-git-program): New option.
25697 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
25698 (vc-git--call): Use it.
25699
25700 * eshell/esh-util.el (eshell-condition-case): Doc fix.
25701
25702 * cus-edit.el (Custom-newline): If no button at point, look
25703 for a subgroup button at start-of-line. (Bug#2298)
25704
25705 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
25706
25707 2011-03-10 Julien Danjou <julien@danjou.info>
25708
25709 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
25710 `cursor-type' is nil.
25711
25712 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
25713
25714 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
25715
25716 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
25717
25718 * allout.el: Change so yank of distinctive-bullet items
25719 preserves the existing header prefix, rebulleting it if necessary,
25720 rather than replacing it. This is necessary for proper operation
25721 of cooperative addons like allout-widgets.
25722 (allout-make-topic-prefix, allout-rebullet-heading):
25723 Change SOLICIT arg to INSTEAD, and interpret additionally a string
25724 value as alternate bullet to be used, instead of prompting the user
25725 for a bullet character.
25726
25727 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
25728
25729 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25730 Do not use `tramp-file-name-port', because this returns also
25731 `tramp-default-port'.
25732
25733 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
25734
25735 * net/rcirc.el (rcirc-handler-001): Remove useless
25736 with-rcirc-process-buffer.
25737 (rcirc-check-auth-status): Swap arguments to string-match.
25738
25739 2011-03-09 Glenn Morris <rgm@gnu.org>
25740
25741 * shell.el (shell-mode):
25742 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
25743
25744 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
25745 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
25746
25747 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
25748
25749 * emacs-lisp/package.el (package-refresh-contents)
25750 (package-menu-execute): Use condition-case-no-debug.
25751
25752 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
25753
25754 * simple.el (shell-command-to-string): Use `process-file'.
25755
25756 * emacs-lisp/package.el (package-tar-file-info): Handle also
25757 remote files.
25758
25759 * emacs-lisp/package-x.el (package-upload-buffer-internal):
25760 Use `equal' for upload base check.
25761
25762 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
25763
25764 * textmodes/texinfo.el (texinfo-environments):
25765 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
25766
25767 2011-03-08 Glenn Morris <rgm@gnu.org>
25768
25769 * cus-start.el (cursor-in-non-selected-windows):
25770 Fix :set quoting oddness. (Bug#8192)
25771
25772 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
25773 in some setf expressions. (Bug#2159)
25774
25775 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
25776
25777 * custom.el (custom-available-themes): Return themes in
25778 alphabetical order.
25779
25780 See ChangeLog.15 for earlier changes.
25781
25782 ;; Local Variables:
25783 ;; coding: utf-8
25784 ;; End:
25785
25786 Copyright (C) 2011-2013 Free Software Foundation, Inc.
25787
25788 This file is part of GNU Emacs.
25789
25790 GNU Emacs is free software: you can redistribute it and/or modify
25791 it under the terms of the GNU General Public License as published by
25792 the Free Software Foundation, either version 3 of the License, or
25793 (at your option) any later version.
25794
25795 GNU Emacs is distributed in the hope that it will be useful,
25796 but WITHOUT ANY WARRANTY; without even the implied warranty of
25797 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25798 GNU General Public License for more details.
25799
25800 You should have received a copy of the GNU General Public License
25801 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.