ispell.el: No longer mark as wrong-by-flyspell words just accepted by ispell (bug...
[bpt/emacs.git] / lisp / ChangeLog
1 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2
3 * textmodes/ispell.el (ispell-command-loop): Remove
4 flyspell highlight of a word when ispell accepts it (bug #14178).
5
6 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
7
8 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
9 uses code from the previous `ange-ftp-run-real-handler'.
10 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
11 only in case that function exist. This is needed for proper
12 unloading of Tramp.
13
14 2013-04-15 Tassilo Horn <tsdh@gnu.org>
15
16 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
17
18 * textmodes/reftex.el (reftex-compile-variables): Use it.
19
20 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
21
22 * files.el (normal-mode): Only use default major-mode if no other mode
23 was specified.
24
25 * emacs-lisp/trace.el (trace-values): New function.
26
27 * files.el: Allow : in local variables (bug#14089).
28 (hack-local-variable-regexp): New var.
29 (hack-local-variables-prop-line, hack-local-variables): Use it.
30
31 2013-04-13 Roland Winkler <winkler@gnu.org>
32
33 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
34 data before it gets modified by bibtex-beginning-of-entry.
35
36 2013-04-13 Roland Winkler <winkler@gnu.org>
37
38 * textmodes/bibtex.el (bibtex-url): Doc fix.
39
40 2013-04-13 Roland Winkler <winkler@gnu.org>
41
42 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
43 does not visit a BibTeX file, exclude it from the list of buffers
44 returned by bibtex-initialize.
45
46 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
47
48 * window.el (split-window): Remove interactive form, since as a
49 command this function is a special case of split-window-below.
50 Correct doc string.
51
52 2013-04-12 Roland Winkler <winkler@gnu.org>
53
54 * faces.el (read-face-name): Do not override value of arg default.
55 Allow single faces and strings as default values. Remove those
56 elements from return value that are not faces.
57 (describe-face): Simplify.
58 (face-at-point): New optional args thing and multiple so that this
59 function can provide the same functionality previously provided by
60 read-face-name.
61 (make-face-bold, make-face-unbold, make-face-italic)
62 (make-face-unitalic, make-face-bold-italic, invert-face)
63 (modify-face, read-face-and-attribute): Use face-at-point.
64
65 * cus-edit.el (customize-face, customize-face-other-window)
66 * cus-theme.el (custom-theme-add-face)
67 * face-remap.el (buffer-face-set)
68 * facemenu.el (facemenu-set-face): Use face-at-point.
69
70 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
71
72 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
73
74 2013-04-10 Tassilo Horn <tsdh@gnu.org>
75
76 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
77 off leading { and trailing } from field values.
78
79 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
80
81 * emacs-lisp/timer.el (timer--check): New function.
82 (timer--time, timer-set-function, timer-event-handler): Use it.
83 (timer-set-idle-time): Simplify.
84 (timer--activate): CSE.
85 (timer-event-handler): Give more info in error message.
86 (internal-timer-start-idle): New function, moved from C.
87
88 * mpc.el (mpc-proc): Add `restart' argument.
89 (mpc-proc-cmd): Use it.
90 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
91 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
92 less often.
93
94 2013-04-10 Masatake YAMATO <yamato@redhat.com>
95
96 * progmodes/sh-script.el: Implement `sh-mode' own
97 `add-log-current-defun-function' (bug#14112).
98 (sh-current-defun-name): New function.
99 (sh-mode): Use the function.
100
101 2013-04-09 Bastien Guerry <bzg@gnu.org>
102
103 * simple.el (choose-completion-string): Fix docstring (bug#14163).
104
105 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
106
107 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
108
109 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
110 timer (bug#14156).
111
112 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
113
114 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
115 declaration.
116
117 2013-04-07 Leo Liu <sdl.web@gmail.com>
118
119 * pcmpl-x.el: New file.
120
121 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
122
123 Do not set x-display-name until X connection is established.
124 This is needed to prevent from weird situation described at
125 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
126 * frame.el (make-frame): Set x-display-name after call to
127 window system initialization function, not before.
128 * term/x-win.el (x-initialize-window-system): Add optional
129 display argument and use it.
130 * term/w32-win.el (w32-initialize-window-system):
131 * term/ns-win.el (ns-initialize-window-system):
132 * term/pc-win.el (msdos-initialize-window-system):
133 Add compatible optional display argument.
134
135 2013-04-06 Eli Zaretskii <eliz@gnu.org>
136
137 * files.el (normal-backup-enable-predicate): On MS-Windows and
138 MS-DOS compare truenames of temporary-file-directory and of the
139 file, so that 8+3 aliases (usually found in $TEMP on Windows)
140 don't fail comparison by compare-strings. Also, compare file
141 names case-insensitively on MS-Windows and MS-DOS.
142
143 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
144
145 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
146 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
147
148 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
149
150 * whitespace.el (whitespace-color-on, whitespace-color-off):
151 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
152
153 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
154
155 * ispell.el (ispell-set-spellchecker-params):
156 Really set `ispell-args' for all equivs.
157
158 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
159
160 * ido.el (ido-completions): Use extra elements of ido-decorations
161 (bug#14143).
162 (ido-decorations): Update docstring.
163
164 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
165
166 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
167 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
168 nil during initialization, in order not to miss changes since the
169 file was opened. (Bug#14140)
170
171 2013-04-05 Leo Liu <sdl.web@gmail.com>
172
173 * kmacro.el (kmacro-call-macro): Fix bug#14135.
174
175 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
176
177 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
178
179 2013-04-04 Glenn Morris <rgm@gnu.org>
180
181 * electric.el (electric-pair-inhibit-predicate): Add :version.
182
183 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
184
185 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
186 when a package is required several times (bug#14082).
187
188 2013-04-04 Roland Winkler <winkler@gnu.org>
189
190 * faces.el (read-face-name): Behave as promised by the docstring.
191 Assume that arg default is a list of faces.
192 (describe-face): Call read-face-name with list of default faces.
193
194 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
195
196 * bookmark.el: Fix deletion of bookmarks (bug#13972).
197 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
198 (bookmark-bmenu-execute-deletions): Only skip first line if it's
199 the header.
200 (bookmark-exit-hook-internal): Save even if list is empty.
201
202 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
203
204 * emacs-lisp/package.el (package-pinned-packages): New var.
205 (package--add-to-archive-contents): Obey it (bug#14118).
206
207 2013-04-03 Alan Mackenzie <acm@muc.de>
208
209 Handle `parse-partial-sexp' landing inside a comment opener
210 (Bug#13244). Also adapt to the new values of element 7 of a parse
211 state.
212
213 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
214 parameter `not-in-delimiter'. Handle being inside comment opener.
215 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
216 character in case we're typing a '*' after a '/'.
217 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
218 instead by passing the parameter to c-state-pp-to-literal.
219
220 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
221 for elt. 7 of a parse state.
222
223 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
224
225 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
226 * international/latin1-disp.el, international/mule-util.el:
227 * language/cyril-util.el, language/european.el, language/ind-util.el:
228 * language/lao-util.el, language/thai.el, language/tibet-util.el:
229 * language/tibetan.el, language/viet-util.el:
230 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
231
232 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
233
234 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
235 (electric-pair-post-self-insert-function): Use it.
236 (electric-pair-default-inhibit): New function, extracted from
237 electric-pair-post-self-insert-function.
238
239 2013-03-31 Roland Winkler <winkler@gnu.org>
240
241 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
242
243 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
244
245 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
246
247 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
248
249 Un-indent after "pass" and "return" statements (Bug#13888)
250 * progmodes/python.el (python-indent-block-enders): New var.
251 (python-indent-calculate-indentation): Use it.
252
253 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
254
255 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
256 defun. Defining it as defalias could introduce too eager
257 byte-compiler optimization. (Bug#14030)
258
259 2013-03-30 Chong Yidong <cyd@gnu.org>
260
261 * iswitchb.el (iswitchb-read-buffer): Fix typo.
262
263 2013-03-30 Leo Liu <sdl.web@gmail.com>
264
265 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
266 (kmacro-execute-from-register): Pass the keyboard macro to
267 kmacro-call-macro or repeating won't work correctly.
268
269 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
270
271 * progmodes/subword.el: Back to using `forward-symbol'.
272
273 * subr.el (forward-whitespace, forward-symbol)
274 (forward-same-syntax): Move from thingatpt.el.
275
276 2013-03-29 Leo Liu <sdl.web@gmail.com>
277
278 * kmacro.el (kmacro-to-register): New command.
279 (kmacro-execute-from-register): New function.
280 (kmacro-keymap): Bind to 'x'. (Bug#14071)
281
282 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
283
284 * mpc.el: Use defvar-local and setq-local.
285 (mpc--proc-connect): Connection failures are not bugs.
286 (mpc-mode-map): `follow-link' only applies to the buffer's content.
287 (mpc-volume-map): Bind to the up-events.
288
289 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
290
291 * progmodes/subword.el (superword-mode): Use `forward-sexp'
292 instead of `forward-symbol'.
293
294 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
295
296 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
297 (edebug--recursive-edit): Use it.
298 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
299 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
300
301 2013-03-28 Leo Liu <sdl.web@gmail.com>
302
303 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
304
305 2013-03-27 Eli Zaretskii <eliz@gnu.org>
306
307 * facemenu.el (list-colors-callback): New defvar.
308 (list-colors-redisplay): New function.
309 (list-colors-display): Install list-colors-redisplay as the
310 revert-buffer-function. (Bug#14063)
311
312 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
313
314 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
315 and suffixes don't overlap (bug#14061).
316
317 * case-table.el: Use lexical-binding.
318 (case-table-get-table): New function.
319 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
320
321 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
322
323 * progmodes/subword.el: Add `superword-mode' to do word motion
324 over symbol_words (parallels and leverages `subword-mode' which
325 does word motion inside MixedCaseWords).
326
327 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
328
329 * eshell/em-unix.el: Move su and sudo to...
330 * eshell/em-tramp.el: ...Eshell tramp module
331
332 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
333
334 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
335 Change return value to be a sexp. Delay `get-buffer' to after
336 restoring the desktop (bug#13951).
337
338 2013-03-26 Leo Liu <sdl.web@gmail.com>
339
340 * register.el: Move semantic tag handling back to
341 cedet/semantic/senator.el. (Bug#14052)
342
343 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
344
345 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
346 into the prompt either (bug#13963).
347
348 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
349
350 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
351 part of "(error-foo)".
352
353 2013-03-24 Juri Linkov <juri@jurta.org>
354
355 * replace.el (list-matching-lines-prefix-face): New defcustom.
356 (occur-1): Pass `list-matching-lines-prefix-face' to the function
357 `occur-engine' if `face-differs-from-default-p' returns t.
358 (occur-engine): Add `,' inside backquote construct to evaluate
359 `prefix-face'. Propertize the prefix with the `prefix-face' face.
360 Pass `prefix-face' to the functions `occur-context-lines' and
361 `occur-engine-add-prefix'.
362 (occur-engine-add-prefix, occur-context-lines): Add optional arg
363 `prefix-face' and propertize the prefix with `prefix-face'.
364 (Bug#14017)
365
366 2013-03-24 Leo Liu <sdl.web@gmail.com>
367
368 * nxml/rng-valid.el (rng-validate-while-idle)
369 (rng-validate-quick-while-idle): Guard against deleted buffer.
370 (Bug#13999)
371
372 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
373 is the last entry in kill-buffer-hook.
374
375 * files.el (kill-buffer-hook): Doc fix.
376
377 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
378
379 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
380 Make it safe-local.
381
382 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
383
384 2013-03-23 Leo Liu <sdl.web@gmail.com>
385
386 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
387 Remove.
388
389 * nxml/rng-valid.el (rng-validate-mode)
390 (rng-after-change-function, rng-do-some-validation):
391 * nxml/rng-maint.el (rng-validate-buffer):
392 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
393 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
394 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
395 (nxml-extend-after-change-region): Use with-silent-modifications.
396
397 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
398 timer-idle-list.
399
400 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
401 (rng-next-error-1, rng-previous-error-1): Do not let-bind
402 timer-idle-list. (Bug#13999)
403
404 2013-03-23 Juri Linkov <juri@jurta.org>
405
406 * info.el (info-index-match): New face.
407 (Info-index, Info-apropos-matches): Add a nested subgroup to the
408 main pattern and add text properties with the new face to matches
409 in index entries relative to the beginning of the index entry.
410 (Bug#14015)
411
412 2013-03-21 Eric Ludlam <zappo@gnu.org>
413
414 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
415 Inhibit read only while inserting objects.
416
417 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
418
419 * progmodes/cfengine.el: Update docs to mention
420 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
421 symbol motion. Remove "_" from the word syntax.
422
423 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
424
425 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
426 syntax for both `cfengine2-mode' and `cfengine3-mode'.
427
428 2013-03-20 Juri Linkov <juri@jurta.org>
429
430 * info.el (Info-next-reference-or-link)
431 (Info-prev-reference-or-link): New functions.
432 (Info-next-reference, Info-prev-reference): Use them.
433 (Info-try-follow-nearest-node): Handle footnote navigation.
434 (Info-fontify-node): Fontify footnotes. (Bug#13989)
435
436 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
437
438 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
439 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
440
441 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
442
443 Suppress unnecessary non-ASCII chatter during build process.
444 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
445 (batch-skkdic-convert): Suppress most of the chatter.
446 It's not needed so much now that machines are faster,
447 and its non-ASCII component was confusing; see Dmitry Gutov in
448 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
449
450 2013-03-20 Leo Liu <sdl.web@gmail.com>
451
452 * ido.el (ido-chop): Fix bug#10994.
453
454 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
455
456 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
457 Remove vars.
458 (whitespace-color-on, whitespace-color-off):
459 Use `font-lock-fontify-buffer' (Bug#13817).
460
461 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
462
463 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
464 remapping in mode-line.
465 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
466
467 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
468
469 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
470 value for `whitespace-line' face (Bug#13875).
471 (whitespace-font-lock-keywords): Change description.
472 (whitespace-color-on): Don't save `font-lock-keywords' value, save
473 the constructed keywords instead.
474 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
475
476 2013-03-19 Leo Liu <sdl.web@gmail.com>
477
478 * progmodes/compile.el (compilation-display-error): New command.
479 (compilation-mode-map, compilation-minor-mode-map): Bind it to
480 C-o. (Bug#13992)
481
482 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
483
484 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
485
486 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
487
488 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
489
490 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
491
492 * net/tramp-compat.el (tramp-compat-user-error): New defun.
493
494 * net/tramp-adb.el (tramp-adb-handle-shell-command):
495 * net/tramp-gvfs.el (top):
496 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
497 (tramp-handle-shell-command): Use it.
498 (tramp-dissect-file-name): Raise an error when hostname is a
499 method name, and neither method nor user is specified.
500
501 * net/trampver.el: Update release number.
502
503 2013-03-18 Leo Liu <sdl.web@gmail.com>
504
505 Make sure eldoc can be turned off properly.
506 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
507 eldoc-mode.
508 (eldoc-display-message-p): Revert last change.
509 (eldoc-display-message-no-interference-p)
510 (eldoc-print-current-symbol-info): Tweak.
511
512 2013-03-18 Tassilo Horn <tsdh@gnu.org>
513
514 * doc-view.el (doc-view-new-window-function): Check the new window
515 overlay's display property instead the char property of the
516 buffer's first char. Use `with-selected-window' instead of
517 `save-window-excursion' with `select-window'.
518 (doc-view-document->bitmap): Check the current doc-view overlay's
519 display property instead the char property of the buffer's first char.
520
521 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
522
523 Automate the build of ja-dic.el (Bug#13984).
524 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
525 from the input, rather than assume that it's been done for us by the
526 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
527 the current date into a ja-dic.el comment, as that complicates
528 regression testing.
529
530 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
531
532 * whitespace.el: Fix double evaluation.
533 (whitespace-space, whitespace-hspace, whitespace-tab)
534 (whitespace-newline, whitespace-trailing, whitespace-line)
535 (whitespace-space-before-tab, whitespace-indentation)
536 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
537 obsolete defvars.
538 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
539 (whitespace-color-on): Use a single font-lock-add-keywords call.
540 Fix double-evaluation of face variables.
541
542 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
543
544 * net/tramp-adb.el (tramp-adb-parse-device-names):
545 Use `start-process' instead of `call-process'. Otherwise, the
546 function might be blocked under MS Windows. (Bug#13299)
547
548 2013-03-17 Leo Liu <sdl.web@gmail.com>
549
550 Extend eldoc to display info in the mode-line. (Bug#13978)
551 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
552 (eldoc-mode-line-string): New variable.
553 (eldoc-minibuffer-message): New function.
554 (eldoc-message-function): New variable.
555 (eldoc-message): Use it.
556 (eldoc-display-message-p)
557 (eldoc-display-message-no-interference-p):
558 Support eldoc-post-insert-mode.
559
560 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
561 (eval-expression): Run it.
562
563 2013-03-17 Roland Winkler <winkler@gnu.org>
564
565 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
566 strings in the list of return values.
567
568 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
569
570 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
571 radix before checking for HMS forms.
572
573 2013-03-16 Leo Liu <sdl.web@gmail.com>
574
575 * progmodes/scheme.el: Add indentation and font-locking for λ.
576 (Bug#13975)
577
578 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
579
580 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
581 token before point (bug#13942).
582
583 2013-03-16 Leo Liu <sdl.web@gmail.com>
584
585 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
586
587 2013-03-16 Eli Zaretskii <eliz@gnu.org>
588
589 * startup.el (command-line-normalize-file-name): Fix handling of
590 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
591 <xfq.free@gmail.com> in
592 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
593
594 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
595
596 Sync with Tramp 2.2.7.
597
598 * net/trampver.el: Update release number.
599
600 2013-03-14 Tassilo Horn <tsdh@gnu.org>
601
602 * doc-view.el Fix bug#13887.
603 (doc-view-insert-image): Don't modify overlay associated to
604 non-live windows, and implement horizontal centering of image in
605 case it's smaller than the window.
606 (doc-view-new-window-function): Force redisplay of new windows on
607 doc-view buffers.
608
609 2013-03-13 Karl Fogel <kfogel@red-bean.com>
610
611 * saveplace.el (save-place-alist-to-file): Don't sort
612 `save-place-alist', just pretty-print it (bug#13882).
613
614 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
615
616 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
617 whether `default-file-name-coding-system' is bound. It isn't in
618 XEmacs.
619
620 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
621
622 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
623 backquotes for `obsolete' (bug#13929).
624
625 * international/mule.el (find-auto-coding): Include file name in
626 obsolescence warning (bug#13922).
627
628 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
629
630 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
631 for CFEngine 3-specific indentation.
632 (cfengine3-indent-line): Use it. Fix up category regex.
633 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
634
635 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
636
637 * type-break.el (type-break-file-name):
638 * textmodes/remember.el (remember-data-file):
639 * strokes.el (strokes-file):
640 * shadowfile.el (shadow-initialize):
641 * saveplace.el (save-place-file):
642 * ps-bdf.el (bdf-cache-file):
643 * progmodes/idlwave.el (idlwave-config-directory):
644 * net/quickurl.el (quickurl-url-file):
645 * international/kkc.el (kkc-init-file-name):
646 * ido.el (ido-save-directory-list-file):
647 * emulation/viper.el (viper-custom-file-name):
648 * emulation/vip.el (vip-startup-file):
649 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
650 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
651
652 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
653
654 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
655 * language/thai-word.el: Switch to UTF-8.
656
657 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
658
659 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
660
661 2013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
662
663 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
664 Use with-current-buffer and don't move point.
665 (net-utils-run-simple): Remove useless code.
666 (net-utils-remove-ctl-m): Remove unused custom.
667
668 2013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
669
670 * international/characters.el (glyphless-set-char-table-range): New fun.
671 (update-glyphless-char-display): Use it (bug#13744).
672
673 2013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
674
675 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
676 namespaces in the syntax, indent closer for hanging brace
677 correctly, allow single-quote delimited 'strings', and make
678 `cfengine3-mode' the default.
679
680 2013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
681
682 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
683 Use lexical-binding. Fix up docstring according to conventions.
684 (gdbmi-debug-mode): New var.
685 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
686 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
687 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
688 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
689 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
690 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
691 (gdbmi-bnf-incomplete-record-result): New functions.
692 (gdb-car<): Remove function.
693 (gdbmi-record-list): Remove variable.
694 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
695 (gdbmi-bnf-result-state-configs): New const.
696 (gud-gdbmi-marker-filter): Rewrite.
697 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
698 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
699 Add `token' argument.
700 (gdb-done, gdb-error): New functions.
701 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
702
703 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
704
705 * term/xterm.el (xterm--report-background-handler): Don't burp
706 upon timeout.
707 (xterm--version-handler): Extract from terminal-init-xterm.
708 (xterm--query): Don't mishandle timeout. Remove debugging messages.
709 Allow multiple handlers.
710 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
711
712 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
713 (xterm--report-background-handler, xterm--query): New functions.
714 (terminal-init-xterm): Use them.
715
716 2013-03-11 Michael R. Mauger <michael@mauger.com>
717
718 * progmodes/sql.el Version 3.2
719 Please note that my address changed to <michael@mauger.com>;
720 the <mmaug@yahoo.com> address remains active.
721 (sql-connection-alist): Updates documentation to fix bug#13715.
722 (sql-connect): Handle missing `sql-connection-alist' correctly.
723 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
724 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
725 property.
726 (sql-default-value): New function.
727 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
728 values were not used.
729 (sql-rename-buffer): Make sure alternate buffer name has no text
730 properties.
731 (sql-input-sender, sql-execute-feature): Fetch variable with
732 `buffer-local-value' rather than `with-current-buffer'.
733 (sql-*): Use #' function syntax consistently.
734 (sql-*): Use message/error/user-error consistently.
735
736 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
737
738 * xt-mouse.el (xterm-mouse-event-read): Remove.
739 (xterm-mouse--read-event-sequence-1000)
740 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
741
742 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
743
744 * term/xterm.el (xterm-function-map): Support format used with
745 formatOtherKeys=1 (bug#13839).
746
747 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
748 (with-no-warnings): Use `declare'.
749
750 * whitespace.el (whitespace-enable-predicate): New variable.
751 (whitespace-enable-predicate): Use it.
752
753 * comint.el (comint-send-input, comint-snapshot-last-prompt)
754 (comint-output-filter, comint-update-fence):
755 Use with-silent-modifications.
756
757 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
758
759 * replace.el (occur-read-regexp-defaults-function): New var.
760 (occur-read-regexp-defaults): New defun.
761 (occur-read-primary-args): Propagate above change (bug#13892).
762
763 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
764
765 * mouse.el (mouse-drag-track): Remove left-over debugging code.
766
767 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
768
769 Major rewrite due to changed D-Bus interface of GVFS 1.14.
770
771 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
772 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
773 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
774 New defconst.
775 (tramp-gvfs-file-name-handler-alist) [directory-files]
776 [directory-files-and-attributes, file-exists-p, file-modes]:
777 Use Tramp default handler.
778 [file-acl, file-selinux-context, process-file, set-file-acl]:
779 [set-file-modes, set-file-selinux-context, shell-command]:
780 [start-file-process]: Remove handler.
781 [verify-visited-file-modtime]: New handler.
782 (tramp-gvfs-dbus-string-to-byte-array)
783 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
784 calls of `dbus-string-to-byte-array' and
785 `tramp-gvfs-dbus-byte-array-to-string'.
786 (tramp-gvfs-handle-copy-file)
787 (tramp-gvfs-handle-delete-directory)
788 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
789 (tramp-gvfs-handle-file-directory-p)
790 (tramp-gvfs-handle-file-executable-p)
791 (tramp-gvfs-handle-file-name-all-completions)
792 (tramp-gvfs-handle-file-readable-p)
793 (tramp-gvfs-handle-file-writable-p)
794 (tramp-gvfs-handle-insert-directory)
795 (tramp-gvfs-handle-insert-file-contents)
796 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
797 (tramp-gvfs-handle-set-visited-file-modtime)
798 (tramp-gvfs-handle-write-region): Rewrite.
799 (tramp-gvfs-handle-file-acl)
800 (tramp-gvfs-handle-file-selinux-context)
801 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
802 (tramp-gvfs-handle-set-file-modes)
803 (tramp-gvfs-handle-set-file-selinux-context)
804 (tramp-gvfs-handle-shell-command)
805 (tramp-gvfs-handle-start-file-process)
806 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
807 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
808 over the symlinks. Fix user handling.
809 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
810 of the D-Bus signals.
811 (tramp-gvfs-connection-mounted-p): Handle different names of the
812 D-Bus methods.
813 (tramp-gvfs-mount-spec-entry): New defun.
814 (tramp-gvfs-mount-spec): Use it.
815 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
816 there is a share name. Handle different names of the D-Bus
817 signals and methods. Set connection properties needed for
818 `tramp-check-cached-permissions'.
819 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
820 Return t or nil.
821
822 * net/tramp.el (tramp-backtrace): Move up.
823 (tramp-error): Dump a backtrace into the debug buffer when
824 `tramp-verbose > 9.
825 (tramp-file-mode-type-map, tramp-file-mode-from-int)
826 (tramp-file-mode-permissions, tramp-get-local-uid)
827 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
828 tramp-sh.el.
829
830 * net/tramp-sh.el (tramp-file-mode-type-map)
831 (tramp-check-cached-permissions, tramp-file-mode-from-int)
832 (tramp-file-mode-permissions, tramp-get-local-uid)
833 (tramp-get-local-gid): Move to tramp.el.
834
835 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
836
837 Separate mouse-1-click-follows-link from mouse-drag-region.
838 * mouse.el (mouse--down-1-maybe-follows-link): New function.
839 (key-translation-map): Use it to implement mouse-1-click-follows-link.
840 (mouse-drag-line, mouse-drag-track):
841 Remove mouse-1-click-follows-link code.
842 (mouse--remap-link-click-p): Remove.
843
844 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
845
846 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
847 (hi-lock-read-regexp-defaults): New defun.
848 (hi-lock-line-face-buffer, hi-lock-face-buffer)
849 (hi-lock-face-phrase-buffer): Propagate above change.
850 Update docstring (bug#13892).
851
852 * subr.el (find-tag-default-as-regexp): New defun.
853 * replace.el (read-regexp): Propagate above change.
854
855 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
856
857 * calc/calc-units.el (calc-convert-units): Fix the way that default
858 new units are stored.
859
860 2013-03-07 Matthias Meulien <orontee@gmail.com>
861
862 * bookmark.el: Define a face to highlight bookmark names in
863 bookmark menu buffers, where the default is a bold face similarly
864 to buffer names in buffer menu buffers.
865 (bookmark-menu-bookmark): New face to highlight bookmark names.
866 (bookmark-insert-location): Remove duplicated text property to
867 conform to buffer list (see `list-buffers').
868 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
869 `bookmark-menu-bookmark' to bookmark names.
870
871 2013-03-07 Matthias Meulien <orontee@gmail.com>
872 Karl Fogel <kfogel@red-bean.com>
873
874 * bookmark.el: Display the bookmark list header similarly to the
875 buffer list header (see `list-buffers'), where the default is now
876 an immovable/immutable header line.
877 (bookmark-bmenu-use-header-line): New variable.
878 (bookmark-bmenu-inline-header-height): New name for
879 `bookmark-bmenu-header-height', to avoid confusion with the code
880 for the new immovable header. All references changed.
881 (bookmark-bmenu-set-header): New function.
882 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
883 Conditionalize header construction accordingly.
884 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
885 the inline header height.
886 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
887 Conditionalize the skipping of the inline header height.
888
889 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
890
891 * progmodes/js.el (js--multi-line-declaration-indentation):
892 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
893
894 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
895
896 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
897 Only propertize regexp when not inside a string (Bug#13885).
898
899 2013-03-06 Alan Mackenzie <acm@muc.de>
900
901 Correct the position of point in some line-up functions.
902 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
903 (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
904 point at column 0 rather than at a random place in the line.
905
906 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
907
908 * net/tramp-compat.el (tramp-compat-delete-directory):
909 Implement TRASH argument.
910
911 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
912
913 Keep pre-existing highlighting in completion candidates (Bug#13250).
914 * minibuffer.el (completions-first-difference): State that the
915 face is "added" in the docstring.
916 (completions-common-part): Same. And don't inherit from default.
917 (completion-hilit-commonality): Prepend 'completions-common-part
918 and 'completion-first-difference faces to the 'face property,
919 instead of replacing the value(s).
920 (completion--insert-strings): Same with 'completions-annotations face.
921 (completion-hilit-commonality): Use 'face instead of
922 'font-lock-face, because it gets priority if the completion
923 strings already have 'face set.
924
925 2013-03-04 Alan Mackenzie <acm@muc.de>
926
927 Replace `last-command-event' by `last-command-char' in XEmacs.
928 * progmodes/cc-defs.el (c-last-command-char): New macro.
929 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
930 (c-semi&comma-no-newlines-before-nonblanks)
931 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
932 in place of `last-command-event'.
933 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
934 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
935 (c-electric-paren, c-electric-continued-statement): Use the new
936 macro in place of `last-command-event'.
937
938 2013-03-04 Glenn Morris <rgm@gnu.org>
939
940 * files.el (inhibit-local-variables-regexps):
941 Add .diff and .patch. (Bug#13862)
942
943 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
944
945 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
946 whether the "su" command is available on the device.
947
948 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
949
950 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
951 (tramp-adb-handle-process-file): Remove superfluous setting.
952 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
953 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
954 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
955
956 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
957
958 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
959 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
960 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
961 Use dict-key rather than dict-name for the error message.
962
963 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
964
965 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
966 when reverting (bug#13831).
967
968 2013-03-01 Agustín Martín Domingo <agustin.martin@hispalinux.es>
969
970 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
971 Always expand affix-file before storing to protect against changed
972 `default-directory'.
973 (ispell-print-if-debug): Make sure message is printed at the end
974 of the debug buffer.
975
976 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
977
978 * net/tramp.el (tramp-obsolete-methods): New defconst.
979 (tramp-warned-obsolete-methods): New defvar.
980 (tramp-find-method): Check for obsolete methods. Map them to a
981 replacement method if appropriate.
982
983 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
984 Remove methods.
985 (top): Remove completion functions for "scp1", "scp2", "ssh1",
986 "ssh2" and "plink1".
987
988 2013-02-28 Dale Sedivec <dale@codefu.org>
989
990 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
991 Return valid syntax-table property value when converting
992 quotes within text from string syntax to punctuation syntax (bug#13844).
993
994 2013-02-28 Juri Linkov <juri@jurta.org>
995
996 * dired-aux.el (dired-diff): If file at point is a backup file,
997 use its original as the default value, and reverse the order
998 of arguments to the `diff' call. Doc fix. (Bug#13772)
999
1000 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
1001
1002 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
1003 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
1004
1005 2013-02-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1006
1007 Initial support for hunspell dictionaries auto-detection (Bug#13639)
1008
1009 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
1010 Ask hunspell about available and default dictionaries.
1011 (ispell-parse-hunspell-affix-file): Extract relevant info from
1012 hunspell affix file.
1013 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
1014 `ispell-dictionary-alist' entry for given dictionary after info
1015 provided by `ispell-parse-hunspell-affix-file'.
1016 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
1017 of parsed hunspell dicts and associated affix files.
1018 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
1019 of parsed hunspell dicts and associated parameters.
1020 (ispell-set-spellchecker-params):
1021 Call `ispell-find-hunspell-dictionaries' if hunspell and not
1022 previously done.
1023 (ispell-start-process):
1024 Call `ispell-hunspell-fill-dictionary-entry' for current
1025 dictionary if it is not initialized.
1026
1027 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
1028
1029 * imenu.el: Comment nitpicks.
1030
1031 2013-02-28 Sam Steingold <sds@gnu.org>
1032
1033 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
1034 See <http://stackoverflow.com/questions/14720205>.
1035
1036 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1037
1038 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
1039 (net-utils-mode): Use it.
1040 (net-utils--revert-cmd): New var.
1041 (net-utils-run-simple): Set it, and remove bogus interactive spec.
1042 (traceroute): Use net-utils-run-simple.
1043
1044 2013-02-28 Glenn Morris <rgm@gnu.org>
1045
1046 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
1047
1048 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
1049
1050 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
1051 (doc-view-fallback-mode): Remove overlays here.
1052 (doc-view-toggle-display): Instead of here. Don't throw away
1053 image-mode-winprops-alist.
1054 (doc-view-goto-page): Don't mess with hscroll.
1055
1056 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1057
1058 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
1059 &optional (bug#13819).
1060
1061 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
1062
1063 * net/tramp-adb.el (tramp-adb-parse-device-names)
1064 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
1065
1066 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
1067
1068 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1069 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
1070 defined. POSIX environments fall back to the "C" locale then and
1071 emit a warning, which shall be suppressed.
1072
1073 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
1074
1075 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
1076 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
1077
1078 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
1079
1080 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
1081
1082 2013-02-25 Juri Linkov <juri@jurta.org>
1083
1084 * replace.el (read-regexp): Let-bind `default' to the first
1085 element of `defaults' if it's a list, otherwise it should be
1086 a string or nil. Let-bind `suggestions' to `defaults' if it's
1087 a list, otherwise make a list with the string value. Doc fix.
1088 (Bug#13805)
1089
1090 2013-02-25 Eli Zaretskii <eliz@gnu.org>
1091
1092 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
1093 that match "\`\.#", to avoid compiling lock files, even if they
1094 are readable (as they are on MS-Windows).
1095
1096 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
1097
1098 * files.el (basic-save-buffer): Remove redundant directory-creation.
1099
1100 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
1101
1102 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
1103 Add option to force `pi' to remain symbolic.
1104 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
1105 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
1106 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
1107 derivatives, when necessary.
1108
1109 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
1110
1111 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
1112 (ps-mode-octal-region): Use string-make-unibyte.
1113
1114 2013-02-23 Glenn Morris <rgm@gnu.org>
1115
1116 * emulation/viper-cmd.el (viper-submit-report):
1117 * progmodes/ps-mode.el (ps-mode-maintainer-address):
1118 * progmodes/vera-mode.el (vera-mode-help-address):
1119 * textmodes/artist.el (artist-maintainer-address):
1120 * textmodes/reftex.el (reftex-report-bug):
1121 * vc/ediff-util.el (ediff-submit-report):
1122 Add bug-gnu-emacs to bug report address.
1123
1124 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
1125 Remove bug report entries.
1126 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
1127
1128 * emacs-lisp/bytecomp.el (byte-compile-level): New.
1129 (byte-compile-file, byte-compile-from-buffer):
1130 Use separate input/output buffers for each level of recursive
1131 byte-compile-file calls. (Bug#13787)
1132
1133 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
1134
1135 * net/tramp.el (tramp-methods): Fix docstring.
1136 (tramp-ssh-controlmaster-options): Rename it from
1137 `tramp-ssh-controlmaster-template'. Return a string.
1138 (tramp-default-method): Adapt check for
1139 `tramp-ssh-controlmaster-options'.
1140
1141 * net/tramp-sh.el (tramp-methods):
1142 Replace `tramp-ssh-controlmaster-template' by "%c".
1143 (tramp-do-copy-or-rename-file-out-of-band)
1144 (tramp-maybe-open-connection): Use it in format spec. Ensure,
1145 that it is applied for the first hop only.
1146
1147 2013-02-22 Juri Linkov <juri@jurta.org>
1148
1149 * isearch.el (isearch-lazy-highlight-new-loop):
1150 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
1151 to `isearch-other-end' if it is not nil. (Bug#13402)
1152
1153 * replace.el (replace-highlight): Let-bind `isearch-other-end'
1154 to `match-beg'.
1155
1156 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
1157 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
1158 and `isearch-error' to nil.
1159
1160 2013-03-16 Fabián Ezequiel Gallina <fgallina@cuca>
1161
1162 * progmodes/python.el (python-info-current-defun):
1163 Enhance match-data cluttering prevention.
1164
1165 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
1166
1167 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
1168
1169 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1170 Handle multibyte file names.
1171
1172 2013-02-22 Glenn Morris <rgm@gnu.org>
1173
1174 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
1175 (sgml-transformation-function): Give it a :set function.
1176 (sgml-tag): Doc fix.
1177
1178 * cmuscheme.el (scheme-buffer):
1179 * progmodes/inf-lisp.el (inferior-lisp-buffer):
1180 * progmodes/tcl.el (inferior-tcl-buffer):
1181 * textmodes/tex-mode.el (tex-command): Doc fixes.
1182
1183 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
1184
1185 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
1186
1187 2013-02-21 Bastien Guerry <bzg@gnu.org>
1188
1189 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
1190
1191 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
1192
1193 * progmodes/python.el (python-info-current-defun):
1194 Enhance match-data cluttering prevention.
1195
1196 2013-02-21 Glenn Morris <rgm@gnu.org>
1197
1198 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
1199 loaded while outline-regexp is let bound. (Bug#9584)
1200
1201 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
1202
1203 * progmodes/python.el (python-info-current-defun): Fix failed
1204 defun name retrieval because of unwanted match-data cluttering.
1205
1206 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
1207
1208 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
1209 defconst. Apply independent check for ControlPersist.
1210
1211 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
1212 temporarily, via "env".
1213
1214 2013-02-21 Glenn Morris <rgm@gnu.org>
1215
1216 * info.el (Info-enable-edit): Remove.
1217 (Info-edit): Disable it rather than using Info-enable.
1218 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
1219 (Info-cease-edit): Make editing of Info files obsolete.
1220
1221 * informat.el (Info-tagify):
1222 Handle buffers not visiting files. (Bug#13763)
1223
1224 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
1225
1226 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
1227
1228 2013-02-21 Glenn Morris <rgm@gnu.org>
1229
1230 * files.el (basic-save-buffer): Move check for existing parent
1231 directory after hooks. (Bug#13773)
1232
1233 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
1234
1235 * simple.el (command-execute): Move from C. Add obsolete check.
1236 (extended-command-history): Move from C.
1237
1238 2013-02-20 Ulrich Müller <ulm@gentoo.org>
1239
1240 * jka-cmpr-hook.el (jka-compr-compression-info-list)
1241 (jka-compr-mode-alist-additions): Handle .txz suffix for
1242 XZ-compressed tar archives (bug#13770).
1243
1244 2013-02-20 Bastien Guerry <bzg@gnu.org>
1245
1246 * outline.el (outline-regexp, outline-heading-end-regexp):
1247 Make variables, not options (bug#13731).
1248
1249 2013-02-20 Glenn Morris <rgm@gnu.org>
1250
1251 * image.el (image-current-frame): Change from variable to function.
1252 (image-show-frame): Rename from image-nth-frame. Update callers.
1253 * image-mode.el (image-multi-frame): New variable.
1254 (image-mode-map, image-mode, image-goto-frame):
1255 Use image-multi-frame rather than image-current-frame.
1256 (image-mode, image-goto-frame): Use image-current-frame as
1257 function rather than as variable.
1258
1259 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
1260 * emacs-lisp/cl-macs.el (cl--make-type-test)
1261 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
1262
1263 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
1264
1265 * net/tramp-cache.el (tramp-get-hash-table): New defun.
1266 (tramp-get-file-property, tramp-set-file-property)
1267 (tramp-get-connection-property, tramp-set-connection-property): Use it.
1268 (tramp-flush-file-property, tramp-flush-directory-property):
1269 Rename argument to KEY.
1270 (tramp-flush-connection-property): Simplify a little bit.
1271 (tramp-connection-property-p): New defun.
1272 (top): Reapply saved values only if there isn't a corresponding
1273 entry in `tramp-connection-properties'.
1274
1275 2013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
1276
1277 * progmodes/python.el (python-indent-context):
1278 Fix python-info-line-ends-backslash-p call.
1279 (python-info-line-ends-backslash-p)
1280 (python-info-beginning-of-backslash): Respect line-number argument.
1281 (python-info-current-line-comment-p):
1282 Fix behavior when not at beginning-of-line.
1283 (python-util-position): Remove function.
1284 (python-util-goto-line): New function.
1285
1286 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
1287
1288 * eshell/em-unix.el (eshell/su): Require tramp.
1289 (eshell/sudo): Require tramp. Remove now unnecessary check.
1290
1291 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
1292 `tramp-current-connection' in order to avoid an error when several
1293 commands are invoked in a short time in eshell and friends.
1294
1295 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
1296
1297 Cleanup some of EIEIO's namespace.
1298 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
1299 Use it to define all the class-* and object-* field accessors (renamed
1300 to eieio--class-* and eieio--object-*). Update all uses.
1301 (eieio--class-num-slots, eieio--object-num-slots): Rename from
1302 class-num-slots and object-num-slots.
1303 (eieio--check-type): New macro.
1304 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
1305 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
1306 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
1307 (object-assoc-list-safe): Use it.
1308 (eieio-defclass): Tighten regexp.
1309 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
1310 Remove unreachable code.
1311 (object-class-fast): Declare obsolete.
1312 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
1313 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
1314 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
1315 Rename from class-name, object-name, object-set-name-string,
1316 object-class, object-class-name, class-parents, class-children,
1317 class-precedence-list, class-parent; with obsolete alias.
1318 (class-of, class-direct-superclasses, class-direct-subclasses):
1319 Declare obsolete.
1320 (eieio-defmethod): Use `memq'; remove unreachable code.
1321 * emacs-lisp/eieio-base.el (eieio-persistent-read):
1322 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
1323 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
1324
1325
1326 2013-02-18 Aidan Gauland <aidalgol@no8wireless.co.nz>
1327
1328 * eshell/em-cmpl.el: Correct "context-related help" keybinding in
1329 commentary.
1330
1331 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
1332
1333 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
1334 Use font-lock-keyword-face for macros and special forms (bug#8345).
1335
1336 2013-02-17 Didier Verna <didier@didierverna.net>
1337
1338 * net/network-stream.el (network-stream-open-starttls):
1339 Check that response to the starttls-command is non-nil. (Bug#13706)
1340
1341 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
1342
1343 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
1344 Don't assume all identifier chars have syntax word.
1345 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1346 Remove bar-not-symbol. Adjust callers.
1347 (lisp-mode-variables): Don't set a font-lock-syntax-table.
1348
1349 2013-02-17 Leo Liu <sdl.web@gmail.com>
1350
1351 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
1352
1353 2013-02-17 Glenn Morris <rgm@gnu.org>
1354
1355 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
1356
1357 * image-mode.el (image-mode-map): Add image-dired menu entry.
1358
1359 * image-dired.el (tumme): Make this alias obsolete.
1360
1361 2013-02-16 Glenn Morris <rgm@gnu.org>
1362
1363 * image.el (image-animated-types): Remove.
1364 (image-multi-frame-p): Rename from image-animated-p, and generalize.
1365 (image-animated-p): Make obsolete alias.
1366 (image-animate, image-nth-frame, image-animate-timeout):
1367 Use image-multi-frame-p.
1368 (image-animate-timeout): If no delay, use image-default-frame-delay.
1369 * image-mode.el (image-mode, image-toggle-animation):
1370 Use image-multi-frame-p. (Bug#763, bug#10739)
1371 (image-mode): Adjust startup message for a multi-frame image.
1372
1373 * image-mode.el (image-mode-map): Give it a menu.
1374
1375 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
1376
1377 * net/tramp-cache.el (tramp-connection-properties): New customer
1378 option.
1379 (tramp-get-connection-property): Use it.
1380
1381 * net/tramp-compat.el (top): Require 'trampver.
1382
1383 * net/tramp-sh.el (tramp-remote-process-environment):
1384 Set tramp-autoload cookie.
1385
1386 2013-02-16 Kevin Ryde <user42@zip.com.au>
1387
1388 * info-look.el (info-lookup-select-mode): If major-mode has no
1389 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
1390
1391 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
1392
1393 * replace.el (read-regexp): Tighten the regexp that matches tag.
1394 When tag is retrieved with `find-tag-default', use regexp that
1395 matches tag at point. Also update docstring (Bug#13687).
1396
1397 2013-02-16 Eli Zaretskii <eliz@gnu.org>
1398
1399 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
1400 add watch for the file, not its parent directory, since w32notify
1401 sets up the watch for the directory internally. (Bug#13725)
1402
1403 2013-02-16 Glenn Morris <rgm@gnu.org>
1404
1405 * image.el (image-default-frame-delay): New variable.
1406 (image-animated-p): Use image-default-frame-delay.
1407 (image-minimum-frame-delay): New constant.
1408 (image-animate-timeout): Use image-minimum-frame-delay.
1409
1410 * image.el (image-nth-frame): New, split from image-animate-timeout.
1411 (image-animate-timeout): Use image-nth-frame.
1412 * image-mode.el (image-goto-frame, image-next-frame)
1413 (image-previous-frame): New commands.
1414 (image-mode-map): Add new frame commands.
1415
1416 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
1417
1418 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
1419 If col-desc already has help-echo, use it. (Bug#13563)
1420
1421 2013-02-16 Glenn Morris <rgm@gnu.org>
1422
1423 * image.el (image-current-frame): New variable.
1424 (image-animate-timeout): Set image-current-frame.
1425 * image-mode.el (image-mode): For animated images,
1426 display a frame counter via mode-line-process.
1427
1428 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
1429
1430 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
1431
1432 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
1433
1434 2013-02-15 Alan Mackenzie <acm@muc.de>
1435
1436 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
1437 global minor mode has been enabled, call the minor mode function
1438 for a new buffer once only, after the major mode hook, whilst
1439 allowing that hook explicitly to disable the minor mode.
1440 (MODE-disable-in-buffer): New (generated) function.
1441 (disable-MODE): New (generated) buffer local variable.
1442
1443 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
1444
1445 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
1446 `iswitchb-next-match' and `iswitchb-prev-match' resply.
1447 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
1448 `ido-next-match' and `ido-prev-match' resply.
1449 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
1450 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
1451 `icomplete-backward-completions' (Bug#13708).
1452
1453 2013-02-15 Glenn Morris <rgm@gnu.org>
1454
1455 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
1456
1457 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
1458
1459 * net/goto-addr.el (goto-address-fontify): Add start and end args.
1460 (goto-address-fontify-region): Use them instead of narrowing, so
1461 syntax-ppss has access to the whole buffer.
1462
1463 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
1464
1465 * progmodes/python.el: Explain how to restore "cc-mode"-like
1466 forward-sexp movement in header documentation (Bug#13642).
1467 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
1468 comments and strings (GH bug 114).
1469
1470 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
1471
1472 * progmodes/python.el (python-info-current-defun): Fix current
1473 defun detection (Bug#13618).
1474
1475 2013-02-15 Chong Yidong <cyd@gnu.org>
1476
1477 * xml.el (xml-parse-string): Fix typo in handling of bad character
1478 references.
1479
1480 2013-02-15 Glenn Morris <rgm@gnu.org>
1481
1482 * play/fortune.el (fortune-compile): Simplify and fix previous change.
1483
1484 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
1485
1486 * net/tramp.el (tramp-debug-message):
1487 Add `tramp-condition-case-unless-debug'.
1488 (tramp-debug-on-error): New defvar.
1489 (tramp-condition-case-unless-debug): New defun.
1490 (tramp-file-name-handler): Use it.
1491
1492 2013-02-14 Juri Linkov <juri@jurta.org>
1493
1494 * info.el (Info-isearch-filter): Treat non-nil values of
1495 `search-invisible' including its default value `open'
1496 like the value `t' to match hidden text. (Bug#13402)
1497
1498 2013-02-14 Glenn Morris <rgm@gnu.org>
1499
1500 * help-fns.el (find-lisp-object-file-name): Give special treatment
1501 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
1502
1503 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
1504
1505 * net/quickurl.el (quickurl-save-urls):
1506 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
1507
1508 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
1509
1510 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
1511 depth for unfinished percent literal. Not using it in the caller.
1512 (ruby-move-to-block): Jump over multiline literals of all types,
1513 ignoring code-looking contents inside them.
1514 (ruby-add-log-current-method): Improve performance at the expense
1515 of accuracy. `ruby-block-contains-point' is relatively slow, so
1516 only use it for method and singleton class blocks.
1517
1518 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
1519
1520 Use ControlMaster where applicable. (Bug#13677)
1521
1522 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
1523 replacing `tramp-detect-ssh-controlmaster'.
1524 (tramp-default-method): Use it.
1525
1526 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
1527 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
1528 arguments.
1529 [scpc, rsyncc]: Remove methods.
1530 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
1531 and "ssh2_old".
1532 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
1533 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
1534
1535 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1536
1537 * emacs-lisp/package.el (package--initialized): Move before first use.
1538
1539 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
1540
1541 * icomplete.el (icomplete-hide-common-prefix): New user option.
1542 (icomplete-first-match): New face.
1543 (icomplete-completions): Correct handling of "complete but not
1544 unique" (Bug#12638).
1545
1546 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
1547
1548 * descr-text.el (describe-char): Display the script (bug#13698).
1549
1550 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1551
1552 * tmm.el: Use lexical-binding and current-active-maps.
1553 (tmm-menubar): Use map-keymap and pcase.
1554 (tmm--completion-table): New function.
1555 (tmm-prompt): Use it to fix the menu order.
1556 (tmm-get-keybind): Use current-active-maps.
1557
1558 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
1559
1560 Add dired-hide-details-mode. (Bug#6799)
1561
1562 * locate.el (locate-mode): Set parent mode property to dired-mode.
1563
1564 * find-dired.el (find-dired): Call dired-insert-set-properties on
1565 initial information line. Set process mark on end of buffer.
1566 (find-dired-sentinel):
1567 Call dired-insert-set-properties on summary.
1568
1569 * dired.el (dired-hide-details-hide-symlink-targets)
1570 (dired-hide-details-hide-information-lines): New options.
1571 (dired-insert-directory):
1572 Set properties after final treatment of output.
1573 (dired-insert-set-properties):
1574 Set dired-hide-details-* properties.
1575 (dired-mode-map): Bind dired-hide-details-mode.
1576 (dired-mode): Set buffer-invisibility-spec to a list.
1577 (dired-next-line): Skip hidden lines.
1578 (dired-previous-line): Use dired-next-line.
1579 (dired-hide-details-mode): New minor mode.
1580 (dired-hide-details-update-invisibility-spec): New function.
1581
1582 2013-02-13 Glenn Morris <rgm@gnu.org>
1583
1584 * play/yow.el: Move to obsolete/. (Bug#9384)
1585
1586 2013-02-13 Juri Linkov <juri@jurta.org>
1587
1588 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
1589 to select `ediff-control-frame' and set input focus correctly on Xfce.
1590 (Bug#12218)
1591
1592 2013-02-13 Juri Linkov <juri@jurta.org>
1593
1594 * image-mode.el (image-mode-map):
1595 * doc-view.el (doc-view-mode-map):
1596 * vc/ediff-util.el (ediff-setup-keymap):
1597 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
1598
1599 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
1600
1601 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
1602 performance. Instead of recalculating indentation fully for each
1603 line, sum up indentation depth based only on visited lines.
1604 (ruby-parse-partial): Increase the depth after "do" even when END
1605 is right after it.
1606 (ruby-parse-partial): When END is in the middle of a percent
1607 literal, increase the depth if the delimiter chars belong to the
1608 paren syntax class.
1609
1610 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
1611
1612 * play/fortune.el (fortune-compile): Also make the compiled file
1613 if it does not exist at all, not just if it is old. (Bug#5338)
1614
1615 2013-02-13 Glenn Morris <rgm@gnu.org>
1616
1617 * emacs-lisp/package.el (package-menu-execute): Doc fix.
1618
1619 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
1620
1621 * lisp/emacs-lisp/package.el (package-menu-execute):
1622 Add optional noquery argument. (Bug#13625)
1623
1624 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
1625
1626 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
1627 if DIR exists and PARENTS is non-nil.
1628
1629 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
1630
1631 * progmodes/js.el (js--multi-line-declaration-indentation):
1632 Silence byte-compiler warning.
1633
1634 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
1635
1636 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
1637
1638 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
1639 only if it doesn't exist.
1640
1641 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1642 Set process marker.
1643
1644 2013-02-12 Tassilo Horn <tsdh@gnu.org>
1645
1646 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
1647 UserInstallation when calling soffice to work around LibreOffice
1648 bug 37531.
1649
1650 2013-02-12 Glenn Morris <rgm@gnu.org>
1651
1652 * files.el (basic-save-buffer):
1653 Offer to create a non-existing directory. (Bug#3016)
1654
1655 * calc/calc-graph.el (calc-graph-show-dumb):
1656 * calendar/calendar.el (calendar-mode-map):
1657 * cus-edit.el (custom-mode-map):
1658 * ehelp.el (electric-help-map):
1659 * emulation/vip.el (vip-mode-map):
1660 * epa.el (epa-key-list-mode-map):
1661 * info.el (Info-mode-map):
1662 * mail/rmail.el (rmail-mode-map):
1663 * mail/rmailsum.el (rmail-summary-mode-map):
1664 * man.el (Man-mode-map):
1665 * net/newst-plainview.el (newsticker-mode-map):
1666 * progmodes/cpp.el (cpp-edit-mode-map):
1667 * progmodes/grep.el (grep-mode-map):
1668 * progmodes/idlw-help.el (idlwave-help-mode-map):
1669 * simple.el (special-mode-map):
1670 * startup.el (splash-screen-keymap):
1671 * view.el (view-mode-map):
1672 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
1673
1674 2013-02-11 Elias Pipping <pipping@lavabit.com>
1675
1676 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
1677 (bug#13679).
1678
1679 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
1680
1681 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
1682
1683 2013-02-11 Glenn Morris <rgm@gnu.org>
1684
1685 * vc/diff.el (diff-use-labels): New variable.
1686 (diff-no-select): Use --label rather than -L, and first
1687 check that it is supported. (Bug#11067)
1688
1689 * files.el (enable-dir-local-variables): New variable.
1690 (hack-dir-local-variables): Respect enable-dir-local-variables.
1691 * tutorial.el (help-with-tutorial):
1692 Ignore directory-local variables. (Bug#11127)
1693
1694 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
1695 (vc-svn-global-switches): ... to here. (Bug#13513)
1696
1697 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
1698
1699 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
1700 Handle "foo (bar, default: xxx): " prompts.
1701
1702 2013-02-10 Chong Yidong <cyd@gnu.org>
1703
1704 * files.el (basic-save-buffer-1): Do not set
1705 buffer-file-coding-system-explicit (Bug#4533).
1706
1707 * mail/emacsbug.el (report-emacs-bug): Change binding of
1708 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
1709
1710 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
1711
1712 * calc/calc.el (calc-allow-units-as-numbers): New variable.
1713 * calc/calc-units.el (calc-convert-units): Use new variable.
1714
1715 2013-02-09 Eli Zaretskii <eliz@gnu.org>
1716
1717 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
1718
1719 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
1720 buffer-file-type.
1721
1722 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
1723 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
1724 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
1725 coding-system-for-write instead.
1726
1727 * jka-compr.el (jka-compr-write-region): Don't bind
1728 buffer-file-type.
1729
1730 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
1731 buffer-file-type.
1732
1733 * files.el (file-name-buffer-file-type-alist): Remove defvar.
1734 (insert-file-contents-literally): Remove reference to
1735 file-name-buffer-file-type-alist.
1736
1737 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
1738 make-obsolete.
1739 (find-buffer-file-type-match, find-buffer-file-type): Remove.
1740 (find-buffer-file-type-coding-system): Remove references to
1741 find-buffer-file-type-match, find-buffer-file-type, and
1742 buffer-file-type.
1743 Don't put find-buffer-file-type-coding-system into
1744 file-coding-system-alist.
1745 (find-file-binary, find-file-text): Bind coding-system-for-read
1746 instead of file-name-buffer-file-type-alist.
1747
1748 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
1749
1750 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
1751 converter (Bug#13622).
1752 (doc-view-unoconv-program): Make obsolete alias.
1753 (doc-view-odf->pdf-converter-program): New variable.
1754 (doc-view-odf->pdf-converter-function): New variable.
1755 (doc-view-mode-p): Use it.
1756 (doc-view-odf->pdf-converter-unoconv):
1757 Rename from `doc-view-odf->pdf-converter-unoconv'.
1758 (doc-view-odf->pdf-converter-soffice): New function.
1759 (doc-view-convert-current-doc):
1760 Use `doc-view-odf->pdf-converter-function'.
1761
1762 2013-02-09 Chong Yidong <cyd@gnu.org>
1763
1764 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
1765 view-echo-area-messages (Bug#13340).
1766
1767 * help.el (view-echo-area-messages): Use display-buffer.
1768
1769 * dired-x.el (dired-do-run-mail): Prompt for confirmation
1770 (Bug#13561).
1771
1772 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
1773
1774 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
1775 Eval body right away, now that we do eager macroexpansion (bug#13605).
1776
1777 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
1778 (fundamental-mode): Use run-mode-hooks.
1779
1780 * eshell/esh-proc.el (eshell/kill): Fix last change.
1781 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
1782
1783 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
1784
1785 * eshell/esh-proc.el (eshell/kill): Rewrite.
1786
1787 * eshell/em-ls.el (show-almost-all): Declare.
1788 (eshell-do-ls): Add support for -A argument.
1789
1790 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
1791
1792 * icomplete.el (icomplete-forward-completions)
1793 (icomplete-backward-completions): Handle corner case (bug#13602).
1794
1795 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
1796
1797 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
1798 be nil. Handle this. (Bug#13636)
1799
1800 2013-02-07 Richard Stallman <rms@gnu.org>
1801
1802 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
1803 `save-buffer-coding-system'.
1804
1805 2013-02-07 Alan Mackenzie <acm@muc.de>
1806
1807 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
1808 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
1809 (c-parse-state-get-strategy): Don't return 'BOD any more.
1810 (c-append-lower-brace-pair-to-state-cache):
1811 Extra parameter HERE instead of narrowing.
1812 Widen to top of buffer before searching backwards for a brace pair.
1813 (c-state-push-any-brace-pair): Add HERE parameter to function call.
1814 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
1815 Narrow to parameter HERE, in place of being called narrowed.
1816 (c-remove-stale-state-cache): Extra parameter HERE in place of
1817 narrowing. Check there's an open brace in the cache before
1818 searching for its match.
1819 (c-invalidate-state-cache-1): Add HERE parameter to function call.
1820 (c-parse-state-1): Don't narrow here for 'forward strategy,
1821 instead passing extra parameter HERE to several functions.
1822 Remove 'BOD strategy.
1823
1824 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
1825
1826 * emacs-lisp/package.el (describe-package-1): Tell what archive is
1827 used to install the package.
1828
1829 2013-02-06 Glenn Morris <rgm@gnu.org>
1830
1831 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
1832 if we can't get user input. (Bug#6567)
1833
1834 * startup.el (command-line): If simple.el is missing,
1835 test and warn about for some possible causes.
1836
1837 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
1838
1839 * cus-start.el (all): Add ns-use-native-fullscreen.
1840
1841 2013-02-05 Glenn Morris <rgm@gnu.org>
1842
1843 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
1844
1845 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
1846 Fix directory creation in fallback case.
1847
1848 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1849
1850 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
1851 (vc-update-change-log): Use dolist.
1852
1853 2013-02-04 Chong Yidong <cyd@gnu.org>
1854
1855 * thingatpt.el: Rewrite the URL detection routines, absorbing some
1856 code from ffap.el.
1857 (thing-at-point-beginning-of-url-regexp): New var.
1858 (thing-at-point-uri-schemes): Update list of URI schemes.
1859 (thing-at-point-url-regexp): Variable deleted.
1860 (thing-at-point-markedup-url-regexp): Disallow newlines.
1861 (thing-at-point-newsgroup-regexp)
1862 (thing-at-point-newsgroup-heads)
1863 (thing-at-point-default-mail-uri-scheme): New variables.
1864 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
1865 method to find the possible bounds of the URI at point.
1866 New optional argument to find ill-formed URIs.
1867 (thing-at-point-url-at-point): Rewrite. New arguments for finding
1868 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
1869 the scheme-adding heuristics from ffap-url-at-point.
1870 (thing-at-point--bounds-of-well-formed-url): New function.
1871 Do parens matching to decide whether to include parens in the URI
1872 (Bug#9153).
1873
1874 * ffap.el: Require thingatpt.
1875 (ffap-url-at-point): Delegate URI detection to thing-at-point.
1876 All URI-valid characters are now recognized (Bug#5673).
1877 (ffap-string-at-point): Use use-region-p.
1878 (ffap-url-regexp): Extra character is handled by thing-at-point.
1879 (ffap-string-at-point-mode-alist): Allow parentheses.
1880 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
1881 Convert to aliases; code moved to thingatpt.el.
1882 (ffap-gnus-hook): Use setq-local.
1883
1884 2013-02-04 Glenn Morris <rgm@gnu.org>
1885
1886 * emacs-lisp/ert.el (ert--explain-format-atom):
1887 Don't try to print non-characters as characters. (Bug#13543)
1888
1889 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
1890
1891 * net/tramp.el (tramp-debug-message): Extend function exclude list.
1892 (tramp-backtrace): New defun.
1893 (tramp-handle-insert-file-contents): Use `visit' when inserting
1894 the local copy.
1895
1896 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
1897 Use `remote-file-name-inhibit-cache'.
1898
1899 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
1900
1901 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
1902 (bug#13614).
1903
1904 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
1905 current-load-list (bug#13366).
1906
1907 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
1908
1909 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1910 Identify g++ template instantiation trace. (Bug#12287)
1911 (compilation-mode-hook, compilation-start-hook)
1912 (compilation-window-height): Simplify docstrings. (Bug#13379)
1913
1914 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1915
1916 * mouse.el (mouse-drag-track): Always deactivate the mark before
1917 running the final event's command since that command is in charge of
1918 activating the mark if needed (bug#13523).
1919
1920 2013-02-02 Juri Linkov <juri@jurta.org>
1921
1922 * replace.el (perform-replace): Move let-bindings of isearch-*
1923 variables deeper to the loop that searches for the next match.
1924 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
1925 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
1926 (Bug#13579)
1927
1928 * isearch.el (isearch-search-fun-default): Check for null
1929 first element of isearch-cmds as a precaution when it's used
1930 with inactive isearch.
1931
1932 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
1933
1934 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
1935 error when buffer in question is narrowed so position 1 is out of
1936 visible part.
1937
1938 2013-02-02 Glenn Morris <rgm@gnu.org>
1939
1940 * textmodes/remember.el (remember-clipboard): Doc fix.
1941
1942 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1943
1944 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
1945 properties (bug#13179).
1946
1947 2013-02-02 Juri Linkov <juri@jurta.org>
1948
1949 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
1950 instead of hard-coded default face `match'. (Bug#9438)
1951
1952 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
1953
1954 * vc/vc-arch.el (vc-arch-registered):
1955 * vc/vc-bzr.el (vc-bzr-registered):
1956 * vc/vc-cvs.el (vc-cvs-registered):
1957 * vc/vc-git.el (vc-git-registered):
1958 * vc/vc-hg.el (vc-hg-registered):
1959 * vc/vc-mtn.el (vc-mtn-registered):
1960 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
1961 (Bug#13139)
1962
1963 * info.el (Info-next-reference, Info-prev-reference): Add numeric
1964 prefix argument. (Bug#11656)
1965
1966 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
1967
1968 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
1969
1970 2013-02-01 Glenn Morris <rgm@gnu.org>
1971
1972 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
1973 if the backend is known not to support it.
1974
1975 * imenu.el (imenu-default-create-index-function):
1976 Tweak infinite loop test to check for forward motion as well as none.
1977
1978 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
1979
1980 * net/soap-client.el (soap-invoke): Encode the string for
1981 `url-request-data' as UTF-8.
1982 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
1983
1984 2013-02-01 Glenn Morris <rgm@gnu.org>
1985
1986 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
1987
1988 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
1989
1990 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
1991
1992 * net/tramp.el (tramp-tramp-file-p): Comment check for
1993 `string-as-unibyte'. The function does not exist on XEmacs, and
1994 likely we need another approach.
1995
1996 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
1997 `tramp-gw-*' variables are bound.
1998
1999 2013-01-31 Glenn Morris <rgm@gnu.org>
2000
2001 * files.el (basic-save-buffer-2): Choose coding system for
2002 writing the file before backing it up, to reduce delay between
2003 backing up and writing the new version. (Bug#13522)
2004
2005 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
2006
2007 * simple.el (cycle-spacing): New command.
2008 (just-one-space): Use it.
2009
2010 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
2011
2012 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
2013 (opascal-newline-always-indents): Remove custom.
2014 (opascal-tab, opascal-newline): Remove commands.
2015 (opascal-new-comment-line): Insert "\n" instead of calling newline.
2016 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
2017 (opascal-save-match-data): Remove, use save-match-data instead.
2018 (opascal-save-state): Use with-silent-modifications.
2019
2020 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
2021 (bug#13585).
2022
2023 2013-01-30 Juri Linkov <juri@jurta.org>
2024
2025 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
2026 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
2027 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
2028
2029 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2030
2031 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
2032 column if we're just deleting the backslashes.
2033 (makefile-fill-paragraph): Use eolp.
2034
2035 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
2036
2037 * autorevert.el (auto-revert-use-notify): Fix docstring.
2038
2039 2013-01-30 Leo Liu <sdl.web@gmail.com>
2040
2041 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
2042
2043 2013-01-30 Glenn Morris <rgm@gnu.org>
2044
2045 * mouse.el (mouse-drag-line): Avoid pushing same event onto
2046 unread-command-events twice in some cases. This tries to implement
2047 the 2012-07-26 changes in a different way. (Bug#13560)
2048
2049 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
2050
2051 * progmodes/python.el
2052 (python-pdbtrack-comint-output-filter-function): Enhancements on
2053 stacktrace detection. (thanks @gnovak)
2054
2055 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2056
2057 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
2058 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
2059 Use defvar-local.
2060 (jit-lock-register): Use setq-local.
2061
2062 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
2063
2064 * calc-units.el (math-default-units-table): Remove initial value.
2065 (calc-convert-units): Treat expressions where all the units cancel as
2066 if they didn't have units.
2067
2068 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
2069
2070 * net/tramp.el (tramp-process-connection-type): Fix docstring.
2071 (tramp-completion-reread-directory-timeout): Fix type.
2072 (tramp-connection-min-time-diff): New defcustom.
2073
2074 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
2075
2076 2013-01-30 Glenn Morris <rgm@gnu.org>
2077
2078 * imenu.el (imenu-default-create-index-function):
2079 Put back a version of the infinite loop test removed 2013-01-23.
2080
2081 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
2082
2083 * progmodes/python.el (python-shell-parse-command):
2084 Find python-shell-interpreter with modified environment.
2085
2086 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2087
2088 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
2089
2090 2013-01-29 Alan Mackenzie <acm@muc.de>
2091
2092 Amend to fontify /regexp/s in actions correctly.
2093 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
2094 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
2095 are no longer included.
2096 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
2097 What used to be these variables without "-line" in the name.
2098 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
2099 (c-awk-non-arith-op-bra-re): Now also matches {.
2100 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
2101 "return", and "case".
2102 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
2103 by /.
2104 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
2105 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
2106
2107 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
2108
2109 * autorevert.el (auto-revert-use-notify):
2110 Use `custom-initialize-default' for initialization. (Bug#13583)
2111
2112 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
2113
2114 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2115 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
2116 in `tramp-file-name-handler'.
2117 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
2118 compatibility.
2119 (tramp-compute-multi-hops): Check, whether
2120 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
2121
2122 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2123
2124 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
2125 (bug#13297).
2126
2127 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
2128
2129 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
2130 checks made superfluous by the \_< operator.
2131 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
2132 temporarily) broken indentation.
2133 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2134 Highlight nested constants, too. \_< broke that.
2135
2136 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
2137
2138 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
2139 instead of "\\b".
2140
2141 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
2142
2143 * autorevert.el (auto-revert-handler): Notifications which result
2144 from a saved file shall not be taken into account. (Bug#13557)
2145
2146 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
2147
2148 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
2149 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
2150 (lisp-mode): Pass t for it. (Bug#13556)
2151
2152 2013-01-25 Alan Mackenzie <acm@muc.de>
2153
2154 AWK Mode: Fix indentation bug at top level. Bug #12274.
2155
2156 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
2157 just before CASE 5D.
2158
2159 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
2160
2161 * net/socks.el (socks-nslookup-host): Use string-to-number.
2162
2163 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
2164
2165 * autorevert.el (auto-revert-remote-files)
2166 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
2167 (auto-revert-notify-enabled, auto-revert-use-notify)
2168 (auto-revert-notify-watch-descriptor-hash-list)
2169 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
2170 (auto-revert-notify-event-descriptor)
2171 (auto-revert-notify-event-action)
2172 (auto-revert-notify-event-file-name): Doc fix.
2173 (global-auto-revert-mode): Reorder checks.
2174 (auto-revert-notify-rm-watch): Respect changed values of
2175 `auto-revert-notify-watch-descriptor-hash-list'.
2176 (auto-revert-notify-add-watch): Check for
2177 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
2178 `inotify-add-watch'. Watch `default-directory' instead of
2179 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
2180 has a changed meaning now. (Bug#13540)
2181 (auto-revert-notify-handler): Change implementation wrt events
2182 returning from a directory.
2183 (auto-revert-handler): Reorder implementation for checks of remote
2184 files.
2185 (auto-revert-buffers): Fix parentheses error.
2186
2187 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
2188
2189 * progmodes/python.el: Enhancements to header documentation about
2190 skeletons. (Bug#5716)
2191
2192 * imenu.el (imenu-default-create-index-function): Remove useless
2193 infinite loop check. (Bug#13438)
2194
2195 2013-01-25 Alan Mackenzie <acm@muc.de>
2196
2197 Fix a bug in the state cache mechanism. Refactor this a bit.
2198
2199 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
2200 `cache-pos' element from the return value.
2201 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
2202 buffer to enable proper searching from beyond HERE. Amend the
2203 test for detecting the sought brace pair. Amend the value written
2204 to the "brace desert cache" when the brace isn't found.
2205 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
2206 and several other variables analogously.
2207 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
2208 parameter to a locally calculated variable.
2209 (c-parse-state-1): Change the calling conventions to the two
2210 defuns involving `cache-pos'.
2211
2212 2013-01-25 Chong Yidong <cyd@gnu.org>
2213
2214 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
2215
2216 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
2217
2218 * paren.el (show-paren-function): Make sure to set 'priority and
2219 'face only if the overlay does exist.
2220
2221 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
2222
2223 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
2224
2225 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
2226 basic attributes.
2227 (tramp-sh-handle-set-file-acl): Improve error checking.
2228
2229 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
2230
2231 * doc-view.el (doc-view-display): Force mode line update until all
2232 document is converted. Suggested by Stefan Monnier (Bug#13164).
2233
2234 2013-01-23 Bastien Guerry <bzg@gnu.org>
2235
2236 * paren.el (show-paren-function): Make sure an overlay exists
2237 before trying to delete it. Also use `pos' as a position only
2238 when it is an integer.
2239
2240 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
2241
2242 * play/gametree.el (gametree-break-line-here): Use point-marker.
2243
2244 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
2245
2246 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2247 Mark descriptive parts with `display' property.
2248
2249 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2250
2251 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
2252 New variable to map standard dict names to hunspell ones.
2253 (ispell-set-spellchecker-params): Make sure specific dict names
2254 are used for standard dicts with hunspell.
2255
2256 2013-01-21 Tassilo Horn <tsdh@gnu.org>
2257
2258 * textmodes/reftex-cite.el (reftex-format-citation): Add format
2259 chars for note (%N) and url (%U).
2260 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
2261
2262 2013-01-21 Juri Linkov <juri@jurta.org>
2263
2264 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
2265 in addition to existing separate binding `meta f10' in `global-map'.
2266 (Bug#13484)
2267
2268 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
2269
2270 Improve XEmacs compatibility.
2271
2272 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
2273
2274 * net/tramp-adb.el (top): Require `time-date'.
2275 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
2276 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
2277 Use `tramp-file-name-handler'.
2278 (tramp-adb-maybe-open-connection):
2279 Use `tramp-compat-set-process-query-on-exit-flag'.
2280
2281 * net/tramp-sh.el (tramp-sh-handle-file-acl):
2282 Use `tramp-compat-funcall'.
2283
2284 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
2285 `tramp-compat-funcall'.
2286
2287 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
2288
2289 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
2290 reimplementation using "adb shell command ..." instead of running
2291 remote shell interactively.
2292
2293 2013-01-20 Glenn Morris <rgm@gnu.org>
2294
2295 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
2296 Add native profiler menu entries.
2297
2298 * profiler.el (profiler-running-p): New function.
2299 (profiler-cpu-profile): Use profiler-running-p.
2300 (profiler-report-mode-map): Add some more menu entries.
2301
2302 2013-01-19 Glenn Morris <rgm@gnu.org>
2303
2304 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
2305 fixes 2012-12-07 change. (Bug#13499)
2306
2307 2013-01-19 Leo Liu <sdl.web@gmail.com>
2308
2309 * dired.el (dired-get-marked-files): Prune erroneous values due to
2310 last change. (Bug#13152)
2311
2312 2013-01-19 Glenn Morris <rgm@gnu.org>
2313
2314 * progmodes/etags.el (tags-table-check-computed-list):
2315 Preserve point in tags buffer. (Bug#13412)
2316
2317 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
2318
2319 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
2320 Chong Yidong <cyd@gnu.org>
2321
2322 * image-mode.el (image-next-file, image-previous-file):
2323 New commands (Bug#8453).
2324 (image-mode-map): Bind them to n and p.
2325 (image-mode--images-in-directory): New helper function.
2326
2327 2013-01-19 Chong Yidong <cyd@gnu.org>
2328
2329 * image-mode.el (image-mode-fit-frame): Add a frame argument.
2330 Suggested by Drew Adams (Bug#7730). Handle window decorations;
2331 save and restore the old window configuration.
2332
2333 2013-01-18 Leo Liu <sdl.web@gmail.com>
2334
2335 * progmodes/js.el: Tweak autoload cookie for alias.
2336
2337 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
2338
2339 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
2340 buffer local, again. This was lost with the fix on 2013-01-12.
2341
2342 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
2343
2344 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
2345 order to support several eshell buffers in parallel.
2346
2347 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
2348
2349 * autorevert.el (auto-revert-use-notify): In the :set function, do
2350 not modify `kill-buffer-hook'.
2351 (auto-revert-notify-rm-watch):
2352 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
2353 (auto-revert-notify-add-watch): Do not call
2354 `auto-revert-notify-rm-watch', but add it to a buffer local
2355 `kill-buffer-hook'.
2356
2357 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2358
2359 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
2360 call to `eval' rather than a backquoted lambda.
2361
2362 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2363
2364 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
2365 to return an explicit nil.
2366 (advice--remove-function): Change accordingly.
2367
2368 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
2369 the use of nadvice.el.
2370
2371 * progmodes/which-func.el (which-function): Silence imenu errors
2372 (bug#13433).
2373
2374 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
2375
2376 * progmodes/sql.el: (sql-imenu-generic-expression):
2377 (sql-mode-font-lock-object-name): Match schema qualified names.
2378 (sql-connect): Use string keys.
2379 (sql-product-interactive): Wait for interpreter prompt.
2380 (sql-comint-oracle): Set process coding based on NLS_LANG.
2381
2382 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
2383
2384 * progmodes/sql.el (sql-output-to-send): Remove, unused.
2385 (sql-interactive-remove-continuation-prompt):
2386 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
2387
2388 2013-01-14 Leo Liu <sdl.web@gmail.com>
2389
2390 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
2391 (Bug#13420)
2392
2393 2013-01-14 Glenn Morris <rgm@gnu.org>
2394
2395 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2396 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
2397
2398 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
2399
2400 * progmodes/python.el (python-nav-end-of-statement):
2401 Fix cornercase when handling multiline strings.
2402
2403 2013-01-13 Richard Stallman <rms@gnu.org>
2404
2405 * mail/sendmail.el (mail-position-on-field): Add doc string.
2406
2407 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
2408 Get current message boundaries and pass them to
2409 message-forward-make-body-mime. Minor style changes.
2410
2411 2013-01-13 Eli Zaretskii <eliz@gnu.org>
2412
2413 * cus-start.el (all): Avoid warnings about
2414 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
2415
2416 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
2417
2418 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
2419
2420 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2421
2422 * jit-lock.el (jit-lock-debug-mode): New minor mode.
2423 (jit-lock--debug-fontifying): New var.
2424 (jit-lock--debug-fontify): New function.
2425 * subr.el (condition-case-unless-debug): Don't prevent catching the
2426 error, just let the debbugger run.
2427 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
2428 timer code and don't drop errors silently.
2429
2430 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
2431
2432 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
2433 `permanent-local' property.
2434 (auto-revert-notify-handler): Use `file-equal-p'.
2435
2436 2013-01-12 Eli Zaretskii <eliz@gnu.org>
2437
2438 * autorevert.el (auto-revert-notify-handler): Fix filtering of
2439 file notification by ACTION. For filtering by file name, compare
2440 only the non-directory part of the file name.
2441
2442 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
2443
2444 * autorevert.el: Use cl-lib instead of cl.
2445
2446 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
2447 (vc-bzr-checkin): Use it.
2448 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
2449 will preserve match-data.
2450
2451 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
2452
2453 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
2454 (js--declaration-keyword-re): New var.
2455 (js--multi-line-declaration-indentation): New function.
2456 (js--proper-indentation): Use it.
2457
2458 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
2459
2460 * calc/calc.el (calc-highlight-selections-with-faces)
2461 (calc-dispatch):
2462 * comint.el (comint-history-isearch-message):
2463 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
2464 * ffap.el (ffap-string-at-point-region, ffap-next)
2465 (ffap-string-at-point, ffap-string-around)
2466 (ffap-copy-string-as-kill, ffap-highlight-overlay)
2467 (ffap-literally):
2468 * font-lock.el (font-lock-keywords-alist)
2469 (font-lock-removed-keywords-alist):
2470 * help-mode.el (help-xref-symbol-regexp):
2471 * info.el (Info-find-emacs-command-nodes):
2472 * international/mule.el (add-to-coding-system-list):
2473 * isearch.el (isearch-message-function, isearch-fail-pos):
2474 * misearch.el (multi-isearch-next-buffer-function):
2475 * newcomment.el (comment-box):
2476 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
2477 (pr-setting-database):
2478 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
2479 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
2480 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
2481 (pike-font-lock-keywords-3):
2482 * progmodes/compile.el (compile):
2483 * progmodes/etags.el (tags-table-files)
2484 (tags-table-files-function, tags-included-tables-function):
2485 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
2486 (gdb-restore-windows):
2487 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
2488 (ps-n-up-filling-database):
2489 * server.el (server-buffer, server-log):
2490 * simple.el (newline, delete-backward-char, delete-forward-char)
2491 (minibuffer-history-isearch-message, kill-line, track-eol)
2492 (temporary-goal-column):
2493 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
2494 (flyspell-default-deplacement-commands):
2495 * textmodes/ispell.el (ispell-accept-output):
2496 * textmodes/sgml-mode.el (html-tag-help):
2497 * vc/compare-w.el (compare-ignore-whitespace)
2498 (compare-ignore-case, compare-windows-dehighlight):
2499 * vc/diff.el (diff):
2500 * whitespace.el (whitespace-point)
2501 (whitespace-font-lock-refontify, whitespace-bob-marker)
2502 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
2503
2504 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
2505
2506 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
2507 (auto-revert-notify-rm-watch): Ignore errors.
2508 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
2509 inotify, and '(size last-write-time) for w32notify.
2510 Set buffer-local `auto-revert-use-notify' to nil when adding a file
2511 watch fails - this is a fallback to the file modification check.
2512 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
2513 (auto-revert-notify-event-action)
2514 (auto-revert-notify-event-file-name): New defuns.
2515 (auto-revert-notify-handler): Use them. Implement first
2516 plausibility checks.
2517 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
2518
2519 2013-01-11 Julien Danjou <julien@danjou.info>
2520
2521 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
2522 max are almost equal. Also return the correct value for V which is
2523 already between 0 and 1.
2524
2525 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
2526
2527 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
2528
2529 2013-01-11 Eli Zaretskii <eliz@gnu.org>
2530
2531 * autorevert.el (auto-revert-notify-rm-watch)
2532 (auto-revert-notify-add-watch): Fix typos in w32notify function
2533 names.
2534
2535 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
2536
2537 * autorevert.el (auto-revert-notify-enabled): Move up.
2538 (auto-revert-use-notify): New defcustom.
2539 (auto-revert-mode, global-auto-revert-mode)
2540 (auto-revert-notify-add-watch, auto-revert-handler)
2541 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
2542 `auto-revert-notify-enabled'.
2543
2544 2013-01-10 Elias Pipping <pipping@exherbo.org>
2545
2546 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
2547 * doc-view.el (doc-view-document->bitmap):
2548 Use doc-view-single-page-converter-function instead of
2549 single-page-converter arg; adjust callers.
2550
2551 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
2552
2553 * progmodes/which-func.el (which-function): Understand Semantic's use
2554 of overlays in imenu--index-alist.
2555
2556 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
2557
2558 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
2559 (Man-man-k-use-anchor): New var.
2560 (Man-parse-man-k): New function.
2561 (Man-completion-table): Use it.
2562 (man): Flush the completion cache between uses.
2563
2564 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
2565
2566 * autorevert.el: Add file watch support.
2567 (auto-revert-notify-enabled): New defconst.
2568 (auto-revert-notify-watch-descriptor-hash-list)
2569 (auto-revert-notify-watch-descriptor)
2570 (auto-revert-notify-modified-p): New defvars.
2571 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
2572 (auto-revert-notify-handler): New defuns.
2573 (auto-revert-mode, global-auto-revert-mode): Remove file watches
2574 when mode is disabled.
2575 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
2576 (auto-revert-buffers): Add file watches for active buffers.
2577
2578 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
2579
2580 * cus-start.el (toplevel): Only allow float values for
2581 scroll-up-aggressively and scroll-down-aggressively.
2582 Allow any number for line-spacing.
2583
2584 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2585
2586 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
2587 (doc-view-pdf->png-converter-function): Use mupdf if available.
2588 (doc-view-djvu->png-converter-function)
2589 (doc-view-ps->png-converter-function): Remove.
2590 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
2591 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
2592 (doc-view-already-converted-p): Adjust accordingly.
2593 (doc-view-mode-p): Simplify.
2594 (doc-view-enlarge): Use setq-local.
2595 (doc-view-pdf->png-converter-ghostscript)
2596 (doc-view-djvu->png-converter-ddjvu)
2597 (doc-view-pdf->png-converter-mupdf): Rework to call
2598 doc-view-start-process directly.
2599 (doc-view-pdf/ps->png): Simplify accordingly.
2600 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
2601 (doc-view-document->bitmap): Rename from doc-view-document->png.
2602 (doc-view-convert-current-doc): Merge pdf and djvu cases.
2603 (doc-view-set-slice-from-bounding-box): Fix completion table.
2604 (doc-view-mode): Use add-hook for after-revert-hook.
2605
2606 2013-01-10 Glenn Morris <rgm@gnu.org>
2607
2608 * emacs-lisp/authors.el (authors-ignored-files)
2609 (authors-valid-file-names, authors-renamed-files-alist):
2610 Add some more entries.
2611
2612 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2613
2614 * image-mode.el (image-mode-winprops): Don't throw away the fallback
2615 `t' pseudo-window entry.
2616
2617 2013-01-10 Alan Mackenzie <acm@muc.de>
2618
2619 Fix bugs in the c-parse-state mechanism. Reuse some markers
2620 instead of continually generating new ones.
2621
2622 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
2623 (c-state-old-cpp-end-marker): New variables.
2624 (c-append-lower-brace-pair-to-state-cache): Start a backward
2625 search for "}" definitively outside CPP constructs.
2626 (c-remove-stale-state-cache): Inform the caller of a need to
2627 search back for a brace pair in certain circumstances.
2628 (c-state-maybe-marker): New macro.
2629 (c-parse-state): Reuse markers when appropriate.
2630
2631 2013-01-10 Glenn Morris <rgm@gnu.org>
2632
2633 * simple.el (execute-extended-command): Doc fix.
2634 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
2635
2636 2013-01-10 Chong Yidong <cyd@gnu.org>
2637
2638 * faces.el (read-face-name): Doc fix.
2639
2640 2013-01-10 Roland Winkler <winkler@gnu.org>
2641
2642 * emacs-lisp/crm.el: Allow any regexp for separators.
2643 (crm-default-separator): All spaces around the default comma separator.
2644 (crm--completion-command): New macro.
2645 (crm-completion-help, crm-complete, crm-complete-word): Use it.
2646 (crm-complete-and-exit): Handle non-single-char separators.
2647
2648 2013-01-09 Elias Pipping <pipping@lavabit.com>
2649
2650 * doc-view.el: Add support for DjVu (bug#13164).
2651 (doc-view-djvu->png-converter-function): New config var.
2652 (doc-view-single-page-converter-function, doc-view--image-type)
2653 (doc-view--image-file-extension): New vars.
2654 (doc-view-mode): Initialize them.
2655 (doc-view-goto-page): Use them.
2656 (doc-view-mode-p): Add support for ddjvu.
2657 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
2658 (doc-view-set-up-single-converter): New funs.
2659 (doc-view-pdf/ps->png): Extend for djvu.
2660 (doc-view-document->png): Rename from doc-view-pdf->png.
2661 (doc-view-convert-current-doc): Handle djvu.
2662 (doc-view-insert-image, doc-view-display)
2663 (doc-view-already-converted-p): Don't hardcode png.
2664 (doc-view-set-doc-type): Recognize djvu docs.
2665
2666 2013-01-09 Elias Pipping <pipping@lavabit.com>
2667
2668 * doc-view.el: Add support for mupdf converter (bug#13164).
2669 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
2670 (doc-view-ps->png-converter-function): New config vars.
2671 (doc-view-pdf->png-converter-ghostscript)
2672 (doc-view-ps->png-converter-ghostscript)
2673 (doc-view-pdf->png-converter-mupdf): New functions.
2674 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
2675
2676 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
2677
2678 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
2679 first in session cache: When `tramp-own-remote-path' is in
2680 `tramp-remote-path', the remote path is only set in the session
2681 cache.
2682
2683 2013-01-09 Glenn Morris <rgm@gnu.org>
2684
2685 * emacs-lisp/trace.el (trace-function-foreground)
2686 (trace-function-background): Doc fix.
2687
2688 2013-01-09 Juri Linkov <juri@jurta.org>
2689
2690 * international/mule-cmds.el (read-char-by-name): Move let-binding
2691 of completion-ignore-case around completing-read to fix regression
2692 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
2693 `string-match-p' using the nil value of `case-fold-search' and
2694 `completion-ignore-case' in `completion-pcm--all-completions'.
2695 (Bug#12615).
2696
2697 2013-01-09 Glenn Morris <rgm@gnu.org>
2698
2699 * progmodes/compile.el (compilation-parse-errors):
2700 Fix typo. (Bug#13369)
2701
2702 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
2703
2704 * comint.el (comint-send-input): Check size of buffer before
2705 waiting for process output, in case already accepted. (Bug#13290)
2706
2707 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
2708
2709 Spelling fixes.
2710 * net/tramp-adb.el (tramp-adb-get-toolbox):
2711 Fix misspelling of 'unknown'.
2712
2713 2013-01-08 Juri Linkov <juri@jurta.org>
2714
2715 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
2716 * progmodes/flymake.el (flymake-errline, flymake-warnline):
2717 Use underline style wave on terminals that support it. (Bug#13000)
2718
2719 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2720
2721 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
2722 the predicate returns nil.
2723
2724 * simple.el: Use lexical-binding.
2725 (primitive-undo): Use pcase.
2726 (minibuffer-history-isearch-push-state): Use a closure.
2727
2728 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2729
2730 * simple.el (primitive-undo): Move from undo.c.
2731
2732 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2733
2734 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
2735 (cvs-mode-remove-handled): Use it (bug#13380).
2736
2737 * emacs-lisp/nadvice.el (advice--tweak): New function.
2738 (advice--remove-function, advice--subst-main): Use it.
2739
2740 * emacs-lisp/advice.el: Update commentary.
2741
2742 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
2743
2744 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2745 Remove spurious entry.
2746
2747 2013-01-08 Glenn Morris <rgm@gnu.org>
2748
2749 * net/tramp.el (tramp-default-host-alist): Add :version.
2750
2751 2013-01-08 Juri Linkov <juri@jurta.org>
2752
2753 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
2754 single completion. (Bug#12456)
2755 (info--manual-names): Expand node completions into an explicit list
2756 before appending it to another list. Filter out internal buffers
2757 with the leading space in the buffer name. (Bug#10771)
2758
2759 2013-01-08 Juri Linkov <juri@jurta.org>
2760
2761 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
2762 that defaults to the Top node.
2763 (Info-goto-node, Info-read-node-name): Doc fix to mention that
2764 the short format (FILENAME) goes to the Top node.
2765 (Info-build-node-completions): Rename arg `file' to `filename'.
2766 (Bug#13365)
2767
2768 2013-01-07 Bastien Guerry <bzg@gnu.org>
2769
2770 * menu-bar.el (menu-bar-search-documentation-menu):
2771 Use `apropos-user-option' and fix the help message.
2772
2773 2013-01-07 Bastien Guerry <bzg@gnu.org>
2774
2775 * apropos.el (apropos-do-all): Update docstring.
2776 (apropos-user-option-button): New face.
2777 (apropos-user-option): Rename from `apropos-variable' and update
2778 docstring.
2779 (apropos-variable): Rewrite, now show all variables by default.
2780 (apropos-print): Mention "User option" instead of "Variable" when
2781 printing doc for user options. (Bug#13276)
2782
2783 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
2784
2785 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
2786 Handle filename correctly, when parsing "source -> target" symlink
2787 output.
2788 (tramp-adb-handle-set-file-times): New defun.
2789
2790 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
2791
2792 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
2793 advice list when the interactive-spec of ad-Advice-* changes.
2794
2795 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
2796
2797 * wid-edit.el (widget-default-get): Work for inlined elements.
2798 (Bug#12670)
2799
2800 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
2801
2802 * net/tramp.el (tramp-default-host-alist): New defcustom.
2803 (tramp-find-host): Use it.
2804 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
2805 `eshell-directory-change-hook'.
2806
2807 * net/tramp-adb.el (top): Add adb specific entry in
2808 `tramp-default-host-alist'.
2809 (tramp-adb-file-name-host): Remove function.
2810 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
2811 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
2812
2813 * net/tramp-sh.el: Move eshell integration code to tramp.el.
2814
2815 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
2816
2817 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
2818
2819 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
2820
2821 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
2822 consist of more than one digit.
2823 (tramp-adb-file-name-handler-alist):
2824 Use `tramp-handle-file-exists-p' consistently.
2825 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
2826 (tramp-adb-handle-file-exists-p): Remove function.
2827 (tramp-adb-file-name-host): New defun.
2828 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
2829 Use it.
2830 (tramp-adb-maybe-open-connection): Set "remote-path" property.
2831
2832 2013-01-06 Chong Yidong <cyd@gnu.org>
2833
2834 * vc/vc.el (vc-next-action): Detect buffer modifications
2835 conflicting with locking VCS operation (Bug#11490).
2836
2837 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
2838
2839 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
2840
2841 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
2842 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
2843
2844 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
2845
2846 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
2847 parsing of ls output using regular expression (handle filenames
2848 with spaces). Use virtual device number.
2849 (tramp-do-parse-file-attributes-with-ls): New defun (Code
2850 cleanup).
2851
2852 2013-01-04 Daiki Ueno <ueno@gnu.org>
2853
2854 * epg.el: Silence byte-compiler warnings.
2855 (epg--start): Use delete-char instead of delete-backward-char.
2856 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
2857
2858 2013-01-04 Daiki Ueno <ueno@gnu.org>
2859
2860 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
2861 Suggested by Eli Zaretskii <eliz@gnu.org>.
2862
2863 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
2864
2865 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
2866 non-negative integers. Otherwise, the default values are used.
2867 (tramp-convert-file-attributes): Convert uid and gid to integers.
2868
2869 2013-01-04 Glenn Morris <rgm@gnu.org>
2870
2871 * term.el (term-handle-colors-array): Ensure face attributes
2872 are fully specified, not nil. (Bug#13337)
2873
2874 * term.el (term-default-fg-color, term-default-bg-color):
2875 Fix custom type.
2876
2877 * progmodes/etags.el (tags-compression-info-list): Doc fix.
2878 (tag-find-file-of-tag-noselect): Check auto-compression-mode
2879 rather than 'jka-compr being loaded. (Bug#13338)
2880
2881 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
2882
2883 * icomplete.el (icomplete-completions):
2884 Honor icomplete-prospects-height once more following
2885 2012-11-29 changes. (Bug#13224)
2886
2887 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
2888
2889 * subr.el (internal--called-interactively-p--get-frame): Find aliases
2890 of called-interactively-p as well (bug#13237).
2891
2892 * view.el (view--enable, view--disable): Rename from view-mode-enable
2893 and view-mode-disable and assume it's called from view-mode.
2894 (view-mode-enable, view-mode-disable): Redefine as obsolete
2895 compatibility layer above view-mode.
2896 (view-mode-enter): Call `view-mode'.
2897
2898 * files.el (after-find-file): Call `view-mode'.
2899
2900 * doc-view.el (doc-view-scale-internally): New var.
2901 (doc-view-enlarge, doc-view-insert-image): Obey it.
2902
2903 2013-01-03 Daiki Ueno <ueno@gnu.org>
2904
2905 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
2906 exist. (Bug#13344)
2907
2908 2013-01-03 Glenn Morris <rgm@gnu.org>
2909
2910 * mail/rmail.el (rmail-set-header-1): Ignore case.
2911 Handle multi-line headers. (Bug#13330)
2912
2913 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
2914 Handle paragraph starting at beginning of buffer.
2915
2916 * subr.el (eval-after-load): Don't purecopy the form, so that it
2917 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
2918
2919 * emacs-lisp/byte-run.el (defun): Place cl declarations
2920 after any interactive spec. (Bug#13265)
2921
2922 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
2923
2924 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
2925 defun. Don't check for DECL if DOCSTRING isn't a string.
2926 (defun): Likewise.
2927
2928 2013-01-02 Glenn Morris <rgm@gnu.org>
2929
2930 * eshell/em-cmpl.el (eshell-pcomplete):
2931 More thoroughly imitate pcomplete. (Bug#13293)
2932
2933 * files.el (parse-colon-path): Doc fix. (Bug#12351)
2934 Return nil for empty path elements. (Bug#13296)
2935
2936 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
2937
2938 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
2939 order to improve efficiency (Based on Daniel Colascione's
2940 <dancol@dancol.org> patch). (Bug#13182)
2941
2942 2013-01-02 Glenn Morris <rgm@gnu.org>
2943
2944 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
2945
2946 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
2947
2948 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
2949 neither DOCSTRING nor DECL was given. (Bug#13316)
2950
2951 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
2952
2953 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
2954 `error' call.
2955 (tramp-do-copy-or-rename-file): Ignore errors when calling
2956 `set-file-extended-attributes'.
2957
2958 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2959 Add handler for `file-acl'.
2960 (tramp-smb-handle-file-acl): New defun.
2961
2962 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
2963
2964 * calc/README: Mention ISO 8601 week-numbering dates.
2965
2966 2013-01-01 Martin Rudalics <rudalics@gmx.at>
2967
2968 * view.el (view-mode-enable): New argument run-view-mode-hook.
2969 Run view-mode-hook only when it's non-nil (Bug#13315).
2970 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
2971 argument t.
2972
2973 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
2974
2975 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
2976 (No device connected, invalid device name). (Bug #13299)
2977
2978 2012-12-31 Martin Rudalics <rudalics@gmx.at>
2979
2980 * window.el (window-resizable--p): Rename to window-resizable-p.
2981 (window-resize-no-error): New function.
2982
2983 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
2984 broken in fix from 2012-12-28.
2985
2986 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
2987
2988 * subr.el (special-form-p): Don't signal errors on undef aliases.
2989
2990 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
2991
2992 * calc/calc-forms.el (math-parse-date): Try using
2993 `math-parse-iso-date' when it looks like it might be needed.
2994 Allow times of 24:00.
2995 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
2996 of 24:00.
2997
2998 2012-12-30 Glenn Morris <rgm@gnu.org>
2999
3000 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
3001 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
3002 (rmail-summary-displayed, rmail-summary): Declare.
3003 (mairix-rmail-display): Just require rmail.
3004
3005 2012-12-30 Chong Yidong <cyd@gnu.org>
3006
3007 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
3008 check for the tarball contents.
3009
3010 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
3011
3012 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
3013 tarfile content listings (Bug#13136).
3014
3015 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
3016
3017 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
3018 Insert the undecoded text of the message being forwarded. (Bug#9521)
3019
3020 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
3021
3022 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
3023 integers, if they are real numbers. (Bug#13282)
3024
3025 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
3026 Return `t' on success.
3027
3028 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3029 Add handler for `set-file-selinux-context'.
3030
3031 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
3032
3033 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
3034 (tramp-sh-handle-set-file-acl): Return `t' on success.
3035
3036 2012-12-29 Eli Zaretskii <eliz@gnu.org>
3037
3038 * files.el (backup-buffer-copy, basic-save-buffer-2):
3039 If set-file-extended-attributes fails, fall back on set-file-modes
3040 instead of signaling an error. (Bug#13298)
3041 (basic-save-buffer): Likewise.
3042
3043 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
3044
3045 * progmodes/python.el: Support other commands triggering
3046 python-indent-line so indentation cycling continues to work.
3047 (python-indent-trigger-commands): New defcustom.
3048 (python-indent-line): Use it.
3049
3050 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
3051
3052 * progmodes/python.el (python-shell-send-region): Add blank lines
3053 for non sent code so backtraces remain correct.
3054
3055 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
3056
3057 * progmodes/python.el: Remove cl dependency.
3058 (python-syntax-count-quotes): Replace incf call.
3059 (python-fill-string): Replace setf call.
3060
3061 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
3062
3063 * info.el (info-other-window): New arg, for consistency with info.
3064
3065 2012-12-28 Martin Rudalics <rudalics@gmx.at>
3066
3067 * mail/rmail.el (rmail-maybe-display-summary):
3068 Rewrite (Bug#13066).
3069
3070 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
3071
3072 * epg.el (epg--start): Modify process-environment locally.
3073
3074 2012-12-28 Daiki Ueno <ueno@gnu.org>
3075
3076 * epg.el: Support pinentry-curses.
3077 Suggested by Werner Koch in
3078 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
3079 (epg-agent-file, epg-agent-mtime): New variable.
3080 (epg--start): Record the modified time of gpg-agent socket file,
3081 to restore Emacs frame after pinentry-curses termination.
3082 (epg-wait-for-completion): Restore Emacs frame here.
3083
3084 2012-12-27 Juri Linkov <juri@jurta.org>
3085
3086 * info.el (Info-file-completions): New variable.
3087 (Info-read-node-name-1): Complete node names in the Info file
3088 when a file name is given. Call `Info-build-node-completions'
3089 with a file name.
3090 (Info-build-node-completions): Add new arg `file'. When it is
3091 non-nil, visit it in a temporary buffer and cache its completions in
3092 `Info-current-file-completions'. Move most of the function body to
3093 `Info-build-node-completions-1'.
3094 (Info-build-node-completions-1): New function with the body from
3095 `Info-build-node-completions'. (Bug#12456)
3096
3097 2012-12-27 Juri Linkov <juri@jurta.org>
3098
3099 * frame.el (frame-maximization-style): Remove user option.
3100 (cycle-frame-maximized): Remove function.
3101 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
3102 (toggle-frame-fullscreen): New command bound to <f11> instead of
3103 `toggle-frame-maximized'.
3104 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
3105
3106 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
3107
3108 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
3109
3110 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3111 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3112 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
3113 for `file-accessible-directory-p'. (Bug#13275)
3114
3115 2012-12-27 Sam Steingold <sds@gnu.org>
3116
3117 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
3118 continuations, see <http://stackoverflow.com/questions/3582436>.
3119
3120 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
3121
3122 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
3123 "module" and "def" to have indentation before them.
3124 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
3125
3126 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
3127
3128 2012-12-27 Alan Mackenzie <acm@muc.de>
3129
3130 Speed up fontification where there's large brace blocks.
3131 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
3132 to a call of c-beginning-of-decl-1.
3133
3134 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
3135
3136 * comint.el (comint-adjust-window-point): New function.
3137 (comint-postoutput-scroll-to-bottom):
3138 Call comint-adjust-window-point (Bug#13248).
3139
3140 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
3141
3142 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
3143 Rakefile regexp.
3144 (auto-mode-alist): Associate .gemspec files with ruby-mode
3145 (https://bugs.ruby-lang.org/issues/5453).
3146
3147 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
3148
3149 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
3150 Suppress coloring, if possible (required for BusyBox based systems like
3151 CyanogenMod).
3152 (tramp-adb-handle-file-attributes)
3153 (tramp-adb-handle-insert-directory)
3154 (tramp-adb-handle-file-name-all-completions): Use it.
3155 (tramp-adb-get-toolbox): New defun. Check for remote shell
3156 implementation (BusyBox or Toolbox).
3157
3158 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
3159
3160 * startup.el (initial-buffer-choice): Allow function as value
3161 (Bug#13251).
3162 (command-line-1): Handle case where initial-buffer-choice
3163 specifies a function.
3164 * server.el (server-execute): Handle case where
3165 initial-buffer-choice specifies a function.
3166
3167 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
3168
3169 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
3170 its own function.
3171 (smtpmail-try-auth-methods): Forget the user name/password if the
3172 login is unsuccessful (bug#12424).
3173
3174 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
3175
3176 * notifications.el (notifications-notify): Protect body with
3177 `with-demoted-errors'.
3178
3179 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3180 Check properties of remote device. Restart connection, if there is a
3181 change.
3182
3183 2012-12-21 Chong Yidong <cyd@gnu.org>
3184
3185 * sort.el (sort-subr): Doc fix (Bug#13056).
3186
3187 2012-12-21 Bastien Guerry <bzg@gnu.org>
3188
3189 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
3190
3191 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
3192
3193 * simple.el (process-file): Overwrite stderr file, if exists.
3194
3195 2012-12-21 Daiki Ueno <ueno@gnu.org>
3196
3197 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
3198 (epg-error): Set `error-message' property.
3199
3200 2012-12-21 Chong Yidong <cyd@gnu.org>
3201
3202 * international/mule-cmds.el (read-char-by-name): Signal an error
3203 if the user does not supply a valid character (Bug#13177).
3204
3205 * simple.el (transpose-subr-1): Preserve marker positions by
3206 changing the insertion sequence (Bug#13122).
3207
3208 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3209
3210 * simple.el (kill-region): Deactivate mark even for empty regions
3211 (Bug#13169).
3212
3213 2012-12-21 Chong Yidong <cyd@gnu.org>
3214
3215 * help-fns.el (describe-variable): Make sure we get the right
3216 buffer name (Bug#13105). Suggested by Kelly Dean.
3217
3218 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
3219
3220 * comint.el (comint-redirect-previous-input-string): New variable.
3221 (comint-redirect-setup, comint-redirect-cleanup)
3222 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
3223 (comint-redirect-preoutput-filter): Fix verbose message.
3224
3225 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
3226
3227 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
3228 is too long for Tramp. See discussion in
3229 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
3230
3231 * progmodes/compile.el (compilation-start): Remove line escape
3232 template.
3233
3234 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
3235
3236 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
3237 Adjust comment.
3238
3239 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
3240
3241 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
3242 following non-comment text (bug#13207).
3243 (lm-header-multiline): Continuation lines need to be indented more than
3244 the first line.
3245 (lm-homepage): New function.
3246 (lm-with-file): Don't be confused if narrowing is in effect.
3247
3248 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
3249
3250 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
3251 very beginning of a hunk (e.g. killing the first line).
3252
3253 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
3254
3255 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
3256 and text properties from returned ACL string.
3257 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
3258 for "setfacl" command.
3259
3260 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
3261
3262 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
3263 `tramp-cleanup-this-connection', when the process has died.
3264 (Bug#13151)
3265
3266 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3267
3268 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
3269
3270 2012-12-17 Kevin Ryde <user42@zip.com.au>
3271
3272 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
3273
3274 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
3275
3276 Add support for preserving ACL entries of files.
3277
3278 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
3279 `set-file-acl' handlers.
3280
3281 * net/tramp-adb.el (tramp-adb-handle-copy-file):
3282 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3283
3284 * net/tramp-compat.el (tramp-compat-copy-file):
3285 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3286
3287 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3288 Add `file-acl' and `set-file-acl' handlers.
3289 (tramp-gvfs-handle-copy-file):
3290 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3291 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
3292 New defuns.
3293
3294 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3295 Add `file-acl' and `set-file-acl' handlers.
3296 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
3297 (tramp-sh-handle-set-file-acl): New defuns.
3298 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
3299 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3300
3301 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3302 Add `file-acl' and `set-file-acl' handlers.
3303 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
3304
3305 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3306
3307 * help-macro.el (make-help-screen): Instead of switch-to-buffer
3308 use pop-to-buffer with NORECORD argument t. As buffer name, use
3309 *Metahelp* with a leading space (Bug#13190).
3310
3311 2012-12-16 Romain Francoise <romain@orebokech.com>
3312
3313 * files.el (file-extended-attributes)
3314 (set-file-extended-attributes): New functions.
3315 (backup-buffer): Use them to handle both SELinux context and ACL
3316 entries.
3317 (backup-buffer-copy): Work with an alist of extended attributes,
3318 rather than an SELinux context.
3319 (basic-save-buffer-2): Ditto.
3320
3321 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
3322
3323 * battery.el (battery-bsd-apm): New function.
3324
3325 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
3326
3327 * calc/calc.el (calc-standard-date-formats): Adjust one of the
3328 standard date formats.
3329
3330 2012-12-15 Juri Linkov <juri@jurta.org>
3331
3332 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
3333 `isearch-insert-char-by-name'.
3334 (with-isearch-suspended): New defmacro with body mostly from
3335 `isearch-edit-string' except the part that sets
3336 `isearch-new-string' and `isearch-new-message'.
3337 (isearch-edit-string): Use new macro `with-isearch-suspended' with
3338 body that sets `isearch-new-string' and `isearch-new-message'.
3339 (isearch-insert-char-by-name): New command.
3340 * international/mule-cmds.el (read-char-by-name): Let-bind
3341 `enable-recursive-minibuffers' to t.
3342 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
3343
3344 2012-12-15 Juri Linkov <juri@jurta.org>
3345
3346 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
3347 (Bug#13175)
3348
3349 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
3350
3351 * dired-x.el (dired-guess-shell-command): Put colon at the end of
3352 the prompt. (Bug#13045)
3353
3354 2012-12-14 Glenn Morris <rgm@gnu.org>
3355
3356 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
3357 Try to include filename in non-bytecomp warning. (Bug#13132)
3358
3359 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
3360
3361 Fix permissions bugs with setgid directories etc. (Bug#13125)
3362 * files.el (backup-buffer): Don't rely on 9th output of
3363 file-attributes, as it's now a placeholder. Instead, use the new
3364 optional arg of file-ownership-preserved-p.
3365 (file-ownership-preserved-p): New optional arg GROUP.
3366 Fix mishandling of setuid directories that would cause this
3367 function to return t when it should have returned nil.
3368 Document what happens if the file does not exist, and when
3369 it's not known whether the ownership will be preserved.
3370 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
3371 Likewise.
3372 (tramp-get-local-gid): Use group-gid for integer, as that's
3373 faster and more reliable.
3374
3375 2012-12-14 Julien Danjou <julien@danjou.info>
3376
3377 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
3378 Update keywords list, data type and PL/pgSQL.
3379
3380 2012-12-14 Dave Abrahams <dave@boostpro.com>
3381
3382 * vc/ediff-util.el (ediff-buffer-type): New function.
3383 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
3384 rather than taking it as as argument.
3385 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
3386
3387 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
3388
3389 * json.el: Add pretty-print option (bug#12634).
3390 (json-encoding-separator, json-encoding-default-indentation)
3391 (json--encoding-current-indentation, json-encoding-pretty-print)
3392 (json-encoding-lisp-style-closings): New vars.
3393 (json--with-indentation): New macro.
3394 (json-encode-hash-table, json-encode-alist, json-encode-plist)
3395 (json-encode-array): Use it to obey json-encoding-pretty-print.
3396 (json-pretty-print-buffer, json-pretty-print): New commands.
3397
3398 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
3399
3400 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3401 Extract `ruby-syntax-propertize-expansions'.
3402 (ruby-syntax-propertize-expansions): Only change syntax on
3403 certain string delimiters, to punctuation. This way the common
3404 functions like forward-word and thing-at-point still work.
3405 (ruby-match-expression-expansion): Improve readability.
3406 (ruby-block-contains-point): New function.
3407 (ruby-add-log-current-method): Handle several edge cases.
3408
3409 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
3410
3411 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
3412 unload-feature finishes even when aborting an ongoing edebug session.
3413 Also, do not worry about edebug-mode, unload-feature takes care of it.
3414
3415 2012-12-13 Andreas Schwab <schwab@suse.de>
3416
3417 * net/tls.el (tls-program): Update customize type.
3418
3419 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
3420
3421 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
3422 (edebug-setup-hook, cl-read-load-hooks): Use it.
3423 (edebug-unload-function): New function. (Bug#13163)
3424
3425 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
3426
3427 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
3428 Otherwise, there could be errors in autoloading. (Bug#13151)
3429
3430 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
3431
3432 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
3433 sequences.
3434
3435 2012-12-13 Alan Mackenzie <acm@muc.de>
3436
3437 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
3438 * progmodes/cc-engine.el (c-backward-comments): Add code to work
3439 around `forward-comment' not recognizing ^M as whitespace.
3440
3441 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
3442
3443 * progmodes/python.el (python-skeleton-class)
3444 (python-skeleton-def): Do not add space after defun name.
3445
3446 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3447
3448 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
3449 (cl--symbol-function): Remove (now that funbound is like nil).
3450
3451 2012-12-12 Glenn Morris <rgm@gnu.org>
3452
3453 * button.el (button--area-button-p): Fix typo.
3454
3455 2012-12-12 Sam Steingold <sds@gnu.org>
3456
3457 * frame.el (frame-maximization-style): New user option.
3458 (toggle-frame-maximized): Toggle frame maximization according to
3459 `frame-maximization-style', bound to <f11>.
3460 (cycle-frame-maximized): Cycle between all maximization styles and
3461 non-maximized frame, bound to shift-<f11>.
3462
3463 2012-12-12 David Cadé <codename68@gmail.com>
3464
3465 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
3466
3467 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
3468
3469 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
3470 (eieio-override-prin1): Don't quote kewords and booleans.
3471 (object-write) <eieio-default-superclass>: Don't put closing parens
3472 on new line, avoid needless empty lines, align values that are objects
3473 with the slot keyword (instead of beginning on the same line).
3474 (eieio-list-prin1): Align value with slot keyword; increase
3475 eieio-print-depth before printing members of the list.
3476
3477 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3478
3479 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
3480 a display text-property.
3481 (report-emacs-bug-hook): Don't bother deleting it any more.
3482
3483 * hilit-chg.el (highlight-save-buffer-state): Delete.
3484 Use with-silent-modifications instead.
3485 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
3486
3487 * button.el: Handle buttons in display text-properties.
3488 (button--area-button-p, button--area-button-string):
3489 Use (STRING . STRING-POS) representation instead of just STRING.
3490
3491 2012-12-11 Eli Zaretskii <eliz@gnu.org>
3492
3493 * makefile.w32-in (compile4-SH): Fix a typo that caused term
3494 subdirectory be skipped.
3495
3496 2012-12-11 Glenn Morris <rgm@gnu.org>
3497
3498 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
3499
3500 * progmodes/f90.el (f90-line-continued, f90-indent-region):
3501 Treat preprocessor lines embedded in continuations like comments.
3502 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
3503
3504 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
3505
3506 * calc/calc.el (calc-standard-date-formats): Add more date
3507 formats.
3508 * calc/calc-forms.el (math-parse-iso-date): New function.
3509 (math-parse-date): Use `math-parse-iso-date' when appropriate.
3510 (math-parse-iso-date-validate): Add extra error checking.
3511 (calc-date-notation): Add ability to access new date formats.
3512
3513 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3514
3515 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
3516 font-lock as well as when there's no text-property.
3517
3518 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
3519
3520 * hi-lock.el: Refine the choice of default face.
3521 (hi-lock-keyword->face): New function. Use it wherever we used
3522 cadadadr instead.
3523 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
3524 (hi-lock--last-face): Remove var.
3525 (hi-lock--unused-faces): New var to replace it.
3526 (hi-lock-read-face-name): Use/maintain it.
3527 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
3528 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
3529 if it has another face.
3530
3531 2012-12-10 Eli Zaretskii <eliz@gnu.org>
3532
3533 * subr.el (w32notify-handle-event): New function.
3534 (inotify-handle-event): Doc fix.
3535
3536 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3537
3538 * subr.el (inotify-event-p, inotify-handle-event): New functions.
3539
3540 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
3541
3542 * simple.el (just-one-space): Doc fix.
3543
3544 2012-12-10 Eli Zaretskii <eliz@gnu.org>
3545
3546 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
3547
3548 2012-12-10 Le Wang <l26wang@gmail.com>
3549
3550 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
3551 narrowed buffer (bug#12361).
3552
3553 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
3554
3555 * vc/vc-hooks.el (vc-state): Doc fix.
3556
3557 2012-12-10 Glenn Morris <rgm@gnu.org>
3558
3559 * mail/rmail.el (rmail-maybe-display-summary):
3560 Preserve buffer, in case select-window changes it. (Bug#13066)
3561
3562 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3563
3564 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
3565 cl-load-hook where they belong.
3566
3567 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3568
3569 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
3570
3571 2012-12-09 Eli Zaretskii <eliz@gnu.org>
3572
3573 Parallelize byte compilation on MS-Windows.
3574 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
3575 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
3576 (WINS_BASIC): Define as concatenation of the above.
3577 (compile): Subdivide into 4 separate and independent jobs that can
3578 be run in parallel.
3579 (compile0-CMD, compile0-SH): New targets for compiling
3580 COMPILE_FIRST files, which are prerequisites for the rest of the
3581 byte-compilation.
3582 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
3583 New targets for parallel compilation with cmd.exe.
3584 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
3585 compiling under a Unixy shell.
3586
3587 2012-12-09 Chong Yidong <cyd@gnu.org>
3588
3589 * simple.el (set-mark-default-inactive): Delete this
3590 accidentally-introduced option.
3591 (set-mark-command, exchange-point-and-mark): Remove calls.
3592
3593 2012-12-09 Glenn Morris <rgm@gnu.org>
3594
3595 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
3596 Respect a defcustom's :set function, if appropriate. (Bug#109)
3597 (eval-defun): Doc fix.
3598
3599 2012-12-08 Juri Linkov <juri@jurta.org>
3600
3601 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
3602 (Info-fontify-node, Info-bookmark-make-record): Remove the
3603 file extension from Info-current-file (Bug#13016).
3604
3605 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3606
3607 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
3608 point, still provide some default.
3609 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
3610 names, since we don't use it right now. Actually return the list.
3611 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
3612
3613 2012-12-07 Chong Yidong <cyd@gnu.org>
3614
3615 * novice.el (disabled-command-function): Remove a spurious help
3616 xref (Bug#13043). Suggested by Kelly Dean.
3617
3618 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
3619 syntax is specified (Bug#13025).
3620
3621 * info.el (Info-set-mode-line): Remove the file extension from
3622 Info-current-file if there is one (Bug#13016).
3623
3624 2012-12-07 Glenn Morris <rgm@gnu.org>
3625
3626 * mail/rmail.el (rmail-mime-decoded): New permanent local.
3627 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
3628 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
3629 and rmail-mime-decoded. (Bug#9841)
3630
3631 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
3632 (batch-unrmail, unrmail): Doc fixes.
3633 (unrmail): Respect unrmail-mbox-format.
3634 * mail/rmail.el (rmail-mbox-format): New option.
3635 (rmail-show-message-1): Respect rmail-mbox-format.
3636
3637 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3638
3639 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
3640
3641 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3642
3643 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
3644 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
3645 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
3646 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
3647 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
3648 (cl-progv): Don't rely on dynamic scoping to find the body.
3649 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
3650 (cl--proclaims-deferred): Rename from the "cl-" prefix.
3651 (cl-declaim): Use backquotes.
3652 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
3653 Use "cl--" prefix for the object's tag.
3654
3655 * ses.el: Use advice-add/remove.
3656 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
3657 (copy-region-as-kill, yank): Use advice-add.
3658 (ses-unload-function): Use advice-remove.
3659
3660 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
3661
3662 * button.el: Make them work in header-lines (bug#12817).
3663 (button-map): Add bindings for header-line and mode-line use.
3664 (button-get, button-put, button-label): `button' may now be a string.
3665 (button-activate): Don't make it a defsubst.
3666 (button--area-button-p, button--area-button-string): New functions.
3667 (make-text-button): Fix the return value when `beg' was a string.
3668 (push-button): Handle the mode-line case.
3669
3670 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3671
3672 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
3673 (sql-signum): Remove. Use `cl-signum' instead.
3674 (sql-read-passwd): Remove; use read-passwd instread.
3675 (sql-get-login-ext): Use read-string.
3676 (sql-get-login): Use dolist and pcase.
3677 (sql--completion-table): Rename from sql-try-completion.
3678 Use complete-with-action.
3679 (sql-mode): Don't change abbrev-all-caps globally.
3680 (sql-connect): Don't rely on dynamic scoping for `new-name'.
3681 (sql-postgres-completion-object): Initialize vars in their `let'.
3682 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
3683 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
3684 (sql-comint-interbase): Use a single append, without setq.
3685 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
3686
3687 * hi-lock.el: Rework the default face and the serialize regexp code.
3688 (hi-lock--auto-select-face-defaults): Remove.
3689 (hi-lock-string-serialize-serial): Remove.
3690 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
3691 make weak.
3692 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
3693 equal string.
3694 (hi-lock-set-pattern): Adjust accordingly.
3695 (hi-lock--regexps-at-point): Simplify accordingly.
3696 (hi-lock--auto-select-face-defaults): Remove.
3697 (hi-lock--last-face): New var to replace it.
3698 (hi-lock-read-face-name): Rewrite (bug#11095).
3699 (hi-lock-unface-buffer): Arrange for the face to be the next default.
3700
3701 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
3702
3703 * net/tramp.el (tramp-replace-environment-variables):
3704 Hide compiler warning.
3705 (tramp-file-name-for-operation): Remove `executable-find',
3706 `start-process', `call-process' and `call-process-region'.
3707
3708 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
3709
3710 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
3711 compatibility.
3712
3713 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
3714
3715 2012-12-06 Chong Yidong <cyd@gnu.org>
3716
3717 * ffap.el (ffap-replace-file-component): Fix typo.
3718
3719 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3720
3721 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
3722 fix open-paren-like token test (bug#12785).
3723
3724 2012-12-06 Glenn Morris <rgm@gnu.org>
3725
3726 * mail/rmailsum.el (rmail-new-summary): Tweak for
3727 rmail-maybe-display-summary changing buffer. (Bug#13066)
3728
3729 2012-12-06 Juri Linkov <juri@jurta.org>
3730
3731 * info.el (Info-fontify-node): Don't hide the last newline.
3732 (Bug#12272)
3733
3734 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
3735
3736 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
3737 so as to enable message-read-from-minibuffer to expand mail aliases.
3738
3739 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3740
3741 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
3742 the `intangible' property.
3743 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
3744
3745 2012-12-05 Deniz Dogan <deniz@dogan.se>
3746
3747 * net/rcirc.el (rcirc-urls): Update documentation.
3748 (rcirc-condition-filter): New function.
3749 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
3750 and exclude consecutive duplicate URLs (Bug#6082).
3751
3752 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
3753
3754 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3755 Check return code of copy command.
3756
3757 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
3758 Use group `tramp'. Add version.
3759
3760 2012-12-05 Chong Yidong <cyd@gnu.org>
3761
3762 * ffap.el (ffap-url-regexp): Don't require matching at front of
3763 string (Bug#4952).
3764 (ffap-url-p): If only a substring matches, return that.
3765 (ffap-url-at-point): Use the return value of ffap-url-p.
3766 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
3767 (find-file-at-point, dired-at-point, dired-at-point-prompter)
3768 (ffap-guess-file-name-at-point): Likewise.
3769 (ffap-replace-file-component): Fix typo.
3770
3771 * info.el (info-display-manual): Add existing Info buffers, whose
3772 files may not be in Info-directory-list, to the completion.
3773 (info--manual-names): New helper function.
3774
3775 2012-12-05 Glenn Morris <rgm@gnu.org>
3776
3777 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
3778 New functions, for detecting and resolving conflicts. (Bug#10709)
3779
3780 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
3781
3782 * hi-lock.el (hi-lock-auto-select-face): New user variable.
3783 (hi-lock-auto-select-face-defaults): New buffer local variable.
3784 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
3785 (hi-lock-unface-buffer): Prompt user with useful defaults.
3786 With prefix arg, unhighlight all hi-lock patterns in buffer.
3787
3788 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3789
3790 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
3791
3792 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
3793
3794 * Makefile.in (TRAMP_SRC):
3795 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
3796
3797 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
3798
3799 * net/tramp-adb.el: New package.
3800
3801 2012-12-04 Chong Yidong <cyd@gnu.org>
3802
3803 * terminal.el: Move to obsolete/.
3804
3805 * longlines.el: Move to obsolete/.
3806
3807 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
3808 Remove code referring to longlines mode.
3809
3810 2012-12-03 Juri Linkov <juri@jurta.org>
3811
3812 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
3813
3814 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3815
3816 * textmodes/ispell.el (ispell-init-process)
3817 (ispell-start-process, ispell-internal-change-dictionary):
3818 Make sure personal dictionary name is expanded after initial
3819 `default-directory' value. Use expanded strings for
3820 keep/restart checks and for value (Bug#13019).
3821
3822 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
3823
3824 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
3825
3826 2012-12-03 Leo Liu <sdl.web@gmail.com>
3827
3828 * files.el (dir-locals-read-from-file): Check file non-empty
3829 before reading. (Bug#13038)
3830
3831 2012-12-03 Glenn Morris <rgm@gnu.org>
3832
3833 * jka-cmpr-hook.el (jka-compr-get-compression-info):
3834 Remove any version extension before checking filename. (Bug#13006)
3835 (jka-compr-compression-info-list): Belated :version bump.
3836
3837 2012-12-03 Chong Yidong <cyd@gnu.org>
3838
3839 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
3840
3841 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
3842 (buffer-menu): Doc fix (Bug#12294).
3843
3844 2012-12-03 Roland Winkler <winkler@gnu.org>
3845
3846 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
3847 of diary-show-all-entries in the diary buffer (Bug#12994).
3848
3849 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
3850
3851 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
3852 "<STDIN>". This is binary safe.
3853
3854 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
3855
3856 * calc/calc-forms.el (math-absolute-from-iso-dt)
3857 (math-date-to-iso-dt, math-parse-iso-date-validate)
3858 (math-iso-dt-to-date): New functions.
3859 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
3860 (math-fd-isoweekday): New variables.
3861 (calc-date-notation, math-parse-standard-date, math-format-date)
3862 (math-format-date-part): Add support for more formatting codes.
3863
3864 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
3865
3866 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
3867 current buffer's file name when called interactively (Bug#12488).
3868
3869 2012-12-02 Juri Linkov <juri@jurta.org>
3870
3871 * info.el (info-display-manual): Don't clobber an existing Info
3872 buffer (Bug#10770). Add completion (Bug#10771).
3873
3874 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
3875
3876 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
3877 before using it for comparison (Bug#5297).
3878
3879 2012-12-01 Jari Aalto <jari.aalto@cante.net>
3880
3881 * textmodes/css-mode.el (css-current-defun-name): New function.
3882 (css-mode): Use it.
3883
3884 * textmodes/sgml-mode.el (html-current-defun-name): New function.
3885 (html-mode): Use it.
3886
3887 2012-12-01 Chong Yidong <cyd@gnu.org>
3888
3889 Modularize add-log-current-defun (Bug#2224).
3890 Suggested by Jari Aalto.
3891
3892 * vc/add-log.el (add-log-current-defun-function): Doc fix.
3893 (add-log-current-defun): Move mode-specific code to other files.
3894 (add-log-lisp-like-modes, add-log-c-like-modes)
3895 (add-log-tex-like-modes): Variables deleted.
3896
3897 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
3898 (lisp-mode-variables): Use it.
3899
3900 * progmodes/cc-mode.el (c-common-init):
3901 * progmodes/cperl-mode.el (cperl-mode): Set a value for
3902 add-log-current-defun-function.
3903
3904 * progmodes/m4-mode.el (m4-current-defun-name): New function.
3905 (m4-mode): Use it.
3906
3907 * progmodes/perl-mode.el (perl-current-defun-name): New.
3908 (perl-mode): Use it.
3909
3910 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
3911 Use lisp-current-defun-name.
3912
3913 * textmodes/tex-mode.el (tex-current-defun-name): New.
3914 (tex-common-initialization): Use it.
3915
3916 * textmodes/texinfo.el (texinfo-current-defun-name): New.
3917 (texinfo-mode): Use it.
3918
3919 2012-12-01 Chong Yidong <cyd@gnu.org>
3920
3921 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
3922 * progmodes/autoconf.el (autoconf-mode):
3923 * progmodes/js.el (js-mode):
3924 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
3925 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
3926 * progmodes/perl-mode.el (perl-mode):
3927 * progmodes/sh-script.el (sh-mode, sh-set-shell):
3928 * textmodes/css-mode.el (css-mode):
3929 * textmodes/sgml-mode.el (html-mode, sgml-mode)
3930 (sgml-tags-invisible, sgml-guess-indent):
3931 * textmodes/tex-mode.el (tex-common-initialization)
3932 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
3933 (doctex-mode, plain-tex-mode, latex-mode):
3934 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
3935
3936 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
3937
3938 * vc/vc-hg.el (vc-hg-next-revision):
3939 Ensure use of default "tip" output format. (Bug#6968)
3940
3941 2012-12-01 Kim F. Storm <storm@cua.dk>
3942
3943 * startup.el (fancy-startup-tail): Add a clickable link
3944 (Bug#2176).
3945
3946 2012-12-01 Chong Yidong <cyd@gnu.org>
3947
3948 * startup.el (fancy-startup-tail): Improve the message about
3949 auto-save files (Bug#2176).
3950
3951 * files.el (recover-session): Improve the descriptive message, and
3952 use substitute-command-keys.
3953
3954 2012-12-01 Glenn Morris <rgm@gnu.org>
3955
3956 * ido.el (ido-file-internal):
3957 Handle other-window, other-frame for dired. (Bug#13036)
3958
3959 2012-11-30 Glenn Morris <rgm@gnu.org>
3960
3961 * icomplete.el (icomplete-separator): Fix :version.
3962
3963 2012-11-30 Chong Yidong <cyd@gnu.org>
3964
3965 * shell.el (shell): For C-u M-x shell, use an inactive shell
3966 buffer as the default (Bug#1975).
3967 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
3968 (shell-mode): Use them to reapply ansi colorization if Shell mode
3969 is re-enabled.
3970
3971 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
3972
3973 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
3974
3975 2012-11-30 Samuel Bronson <naesten@gmail.com>
3976
3977 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
3978 flag to xargs, for compatibility with BSD xargs (Bug#11703).
3979
3980 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
3981
3982 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
3983 by move-to-column (Bug#3234).
3984
3985 2012-11-30 Chong Yidong <cyd@gnu.org>
3986
3987 * longlines.el (longlines-wrap-line, longlines-encode-region):
3988 Preserve text properties (Bug#1425).
3989
3990 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
3991
3992 * vc/vc.el (vc-register): Allow registering a file which is
3993 already registered with a different backend (Bug#10589).
3994
3995 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
3996 Stefan Monnier <monnier@iro.umontreal.ca>
3997
3998 * icomplete.el: Change separator; add ido-style commands.
3999 (icomplete-show-key-bindings): Remove custom var.
4000 (icomplete-get-keys): Remove function.
4001 (icomplete-forward-completions, icomplete-backward-completions):
4002 New commands.
4003 (icomplete-minibuffer-map): New var.
4004 (icomplete-minibuffer-setup): Use it.
4005 (icomplete-exhibit): Don't delay if the list of completions is known.
4006 (icomplete-separator): New custom.
4007 (icomplete-completions): Use it.
4008 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
4009 (minibuffer-force-complete-and-exit): New command.
4010 (minibuffer--complete-and-exit): New function extracted from
4011 minibuffer-complete-and-exit.
4012 (minibuffer-complete-and-exit): Use it.
4013
4014 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
4015 error message when the file doesn't exist (bug#12974).
4016
4017 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
4018
4019 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
4020
4021 2012-11-29 Glenn Morris <rgm@gnu.org>
4022
4023 * files.el (hack-dir-local-variables): Warn if try to set
4024 coding via dir-locals, since it doesn't work. (Bug#7169)
4025
4026 Add desktop support for restoring vc-dir buffers. (Bug#10606)
4027 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
4028 Set buffer-local value of desktop-save-buffer.
4029 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
4030 New functions.
4031 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
4032 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
4033
4034 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
4035 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
4036 Doc fix.
4037 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
4038 Doc fixes.
4039
4040 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
4041
4042 * calc/calc-forms.el (calc-date-notation): Fix regexp
4043 used to find time codes. Fix symbol for seconds.
4044
4045 2012-11-27 Glenn Morris <rgm@gnu.org>
4046
4047 * emacs-lisp/derived.el (derived-mode-make-docstring):
4048 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
4049
4050 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4051
4052 * textmodes/table.el (table-insert): Don't use `symbol-name' on
4053 lexically scoped variables (bug#13005).
4054
4055 2012-11-27 Glenn Morris <rgm@gnu.org>
4056
4057 * vc/vc-hooks.el (vc-mistrust-permissions):
4058 Default to t, to avoid data-loss. (Bug#11490)
4059
4060 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
4061
4062 * progmodes/python.el (python-indent-guess-indent-offset):
4063 If indentation is guessed make python-indent-offset buffer-local.
4064
4065 Fix Imenu regression.
4066 * progmodes/python.el (python-nav-beginning-of-defun):
4067 Fix forward movement when statement(s) separates point from defun.
4068 (python-imenu-prev-index-position): New function.
4069
4070 2012-11-27 Eli Zaretskii <eliz@gnu.org>
4071
4072 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
4073
4074 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
4075 Don't set buffer-file-type. Return nil. (Bug#12989)
4076
4077 2012-11-27 Glenn Morris <rgm@gnu.org>
4078
4079 * hippie-exp.el (hippie-expand-try-functions-list):
4080 Re-autoload it. (Bug#12982)
4081
4082 2012-11-27 Eli Zaretskii <eliz@gnu.org>
4083
4084 * descr-text.el (describe-char-padded-string):
4085 Call internal-char-font only on GUI frames. (Bug#11964)
4086
4087 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
4088
4089 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
4090 and obsoletion message.
4091
4092 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4093
4094 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
4095 the constructs to keep outside of the `cl-block' (bug#12977).
4096
4097 2012-11-27 Chong Yidong <cyd@gnu.org>
4098
4099 * mouse.el (mouse-drag-line): Even if the line is not draggable,
4100 keep reading until we get the up-event anyway, in order to process
4101 the up-event for mouse-1-click-follows-link (Bug#12971).
4102
4103 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
4104
4105 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
4106 base function is not yet defined (bug#12965).
4107 (ad-activate-advised-definition): Use ad-compile-function.
4108 (ad-activate): Use cond.
4109
4110 2012-11-25 Leo Liu <sdl.web@gmail.com>
4111
4112 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
4113 (Bug#12979)
4114
4115 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
4116
4117 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
4118 reftex-section-info-function in order to be compatible with
4119 Texinfo integration.
4120
4121 * textmodes/reftex.el (reftex-section-pre-regexp)
4122 (reftex-section-post-regexp, reftex-section-info-function):
4123 New variable.
4124 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
4125 reftex-section-post-regexp, and reftex-section-info-function in order
4126 to be compatible with Texinfo integration.
4127
4128 * textmodes/reftex-toc.el (reftex-toc-promote-action):
4129 use reftex-section-pre-regexp variable in order to be compatible with
4130 Texinfo integration.
4131
4132 2012-11-25 Chong Yidong <cyd@gnu.org>
4133
4134 * faces.el: Make face-spec-set more analogous to setq.
4135 (face-spec-set): Change the third arg to specify whether this
4136 function is being called via defface, customize, or a third party.
4137 Set the appropriate symbol properties. Clear the override spec if
4138 setting via Custom. Initialize face if necessary. (Bug#4988)
4139 (face-spec-recalc): Allow theme faces to completely replace the
4140 defface spec, in the same way as custom faces (Bug#8454).
4141
4142 * cus-face.el (custom-declare-face): Move face initialization to
4143 face-spec-set.
4144 (custom-theme-set-faces): Don't initialize the face name here, as
4145 that is now done in face-spec-set.
4146
4147 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
4148 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
4149 Simplify by using the new arg to face-spec-set.
4150
4151 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
4152 reset face-override-spec too, and use custom-declare-face.
4153
4154 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
4155
4156 * term/ns-win.el (ns-initialize-window-system): Move creation of
4157 fontsets here (Bug#11964).
4158
4159 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
4160
4161 * ses.el (ses-rename-cell): Correct bug on mode-line update after
4162 cell renaming.
4163
4164 2012-11-24 Chong Yidong <cyd@gnu.org>
4165
4166 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
4167 obsolete.
4168
4169 * custom.el (custom-theme-set-variables): Use a topological sort
4170 for ordering by custom dependencies (Bug#12952).
4171 (custom--sort-vars, custom--sort-vars-1): New functions.
4172
4173 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
4174
4175 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
4176 lexical-binding (bug#12938).
4177
4178 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
4179
4180 * image-mode.el (image-transform-check-size): Use assertions only
4181 for images of type imagemagick.
4182
4183 Otherwise no error, image-transform-fit-to-{width,height} is
4184 silently ignored, as before. Doc fix.
4185
4186 2012-11-24 Chong Yidong <cyd@gnu.org>
4187
4188 * faces.el (color-defined-p): Doc fix (Bug#12853).
4189
4190 2012-11-24 Juri Linkov <juri@jurta.org>
4191
4192 * dired.el (dired-mark): Add optional arg `interactive'.
4193 Check for `use-region-p' if `interactive' is non-nil.
4194 (dired-unmark, dired-flag-file-deletion): Add optional arg
4195 `interactive'. Call `dired-mark' with the arg `interactive'.
4196 (Bug#10624)
4197
4198 * wdired.el: Revert 2012-10-17 change partly and replace it with
4199 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
4200 (wdired-finish-edit): Add marks for new file names to
4201 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
4202 after `revert-buffer'.
4203 (wdired-do-renames): Remove calls to `dired-remove-file',
4204 `dired-add-file', `dired-add-entry'. (Bug#11795)
4205
4206 2012-11-24 Alan Mackenzie <acm@muc.de>
4207
4208 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
4209
4210 Fix bugs in the state cache. Enhance a debugging mechanism.
4211 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
4212 "brace at column zero" strategy for C++.
4213 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
4214 (c-parse-state-point): New variable.
4215 (c-record-parse-state-state): Record old parse state with
4216 `copy-tree'. Record previous value of point.
4217 (c-debug-parse-state-double-cons): New debugging function.
4218 (c-debug-parse-state): Call the above new function.
4219 (c-toggle-parse-state-debug): Output a confirmatory message.
4220
4221 * progmodes/cc-mode.el (c-before-change, c-after-change):
4222 Call c-invalidate-state-cache from `c-before-change' instead of
4223 `c-after-change'.
4224
4225 2012-11-23 Chong Yidong <cyd@gnu.org>
4226
4227 * find-cmd.el (find-constituents): Add executable, ipath,
4228 readable, samefile, writable, daystart, regextype (Bug#12856).
4229
4230 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
4231
4232 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
4233
4234 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
4235
4236 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
4237 definition. This fixes a bootstrap failure.
4238 (calc-gregorian-switch): In menu, put dates before regions.
4239 This is easier to follow, lines up better in the menu, and lets us
4240 coalesce regions that switch at the same time. Give country
4241 names, not "Vatican", as that's better for non-expert users.
4242 Use names that are stable between the date of switch and now, e.g.,
4243 Bohemia and Moravia (which existed then and now) and not
4244 Czechoslovakia (which didn't exist then and doesn't exist now).
4245 What is now the U.S. mostly did not switch at the same time as
4246 Britain, so omit the U.S. Correct spelling of "Britain".
4247 Catholic Switzerland was too much of a mess, so omit it.
4248
4249 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
4250
4251 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
4252 after the variable is changed.
4253
4254 2012-11-21 Daniel Colascione <dancol@dancol.org>
4255
4256 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
4257 in SQL declarations for font-lock.
4258 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
4259
4260 2012-11-21 Glenn Morris <rgm@gnu.org>
4261
4262 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
4263 (face-italic-p): Add optional argument "inherit".
4264
4265 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
4266 Remove -p suffix from names, for consistency with other set-face-*.
4267 (set-face-inverse-video): Fix interactive spec.
4268 * play/gamegrid.el (gamegrid-make-mono-tty-face):
4269 * textmodes/table.el (table--update-cell-face):
4270 Use set-face-inverse-video rather than now obsolete alias.
4271
4272 2012-11-21 Eli Zaretskii <eliz@gnu.org>
4273
4274 * simple.el (line-move): Don't call line-move-partial if
4275 scroll-conservatively is in effect. (Bug#12927)
4276
4277 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4278
4279 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
4280 Fallback on completion-at-point rather than
4281 pcomplete-expand-and-complete, and only if pcomplete actually failed.
4282 (eshell-cmpl-initialize): Setup completion-at-point.
4283
4284 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
4285
4286 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
4287
4288 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
4289
4290 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
4291 are remote, check out-of-band property for both.
4292
4293 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4294
4295 * window.el (switch-to-buffer): Re-add the warning that was lost in the
4296 code rewrite.
4297
4298 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
4299
4300 More minor time fixes.
4301 * calendar/time-date.el: Commentary fix.
4302 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
4303 too much other code depends on (0 0) time stamps.
4304 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
4305 Add a couple of FIXME comments.
4306
4307 Minor cleanup for times as lists of four integers.
4308 * files.el (dir-locals-directory-cache):
4309 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
4310 Doc fixes.
4311 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
4312 * ps-bdf.el (bdf-file-newer-than-time):
4313 Process four-integers time stamps, not two. Doc fixes.
4314
4315 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4316
4317 * uniquify.el (uniquify-managed): Use defvar-local.
4318 (rename-buffer, create-file-buffer): Advise with advice-add.
4319 (uniquify-unload-function): Unadvise accordingly.
4320
4321 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
4322 (trace-buffer): Don't purecopy.
4323 (trace-entry-message, trace-exit-message): Add `context' arg.
4324 (trace--timer): New var.
4325 (trace-make-advice): Adjust for use in nadvice.
4326 Add `context' argument. Delay `display-buffer' via a timer.
4327 (trace-function-internal): Use advice-add.
4328 (trace--read-args): New function.
4329 (trace-function-foreground, trace-function-background): Use it.
4330 (trace-function): Rename to trace-function-foreground and redefine as
4331 an alias to that new name.
4332 (untrace-function, untrace-all): Adjust to the use of nadvice.
4333
4334 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
4335
4336 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
4337
4338 * subr.el (called-interactively-p-functions): New var.
4339 (internal--called-interactively-p--get-frame): New macro.
4340 (called-interactively-p, interactive-p): Rewrite in Lisp.
4341 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
4342 (called-interactively-p-functions): Use it.
4343 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
4344 (called-interactively-p-functions): Use it.
4345 * allout.el (allout-called-interactively-p): Don't assume
4346 called-interactively-p is a subr.
4347
4348 2012-11-20 Glenn Morris <rgm@gnu.org>
4349
4350 * profiler.el (profiler-report-mode-map): Add a menu.
4351 No need to bind `q' because we derive from special-mode.
4352 (profiler-report-find-entry): Handle calls from the menu-bar.
4353
4354 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
4355
4356 * emacs-lisp/byte-run.el (defun-declarations-alist):
4357 Allow a compiler-macro to be a lambda expression.
4358
4359 * progmodes/python.el: Use cl-lib. Move var declarations outside of
4360 eval-when-compile.
4361 (python-syntax-context): Add compiler-macro.
4362 (python-font-lock-keywords): Simplify with De Morgan.
4363
4364 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
4365
4366 * files.el (load-file): Require match in minibuffer selection, as was
4367 the case in Emacs-20 before we changed the spec to allow .elc files
4368 (bug#12935).
4369
4370 * json.el: Don't require cl since we don't use it.
4371 * color.el: Don't require cl.
4372 (color-complement): `caddr' -> `nth 2'.
4373
4374 * calendar/time-date.el (time-to-seconds): De-obsolete.
4375
4376 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
4377
4378 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
4379 year numbers.
4380 (math-date-to-julian-dt): Adjust the initial approximation for the
4381 year to deal with the new definition of the DATE.
4382
4383 2012-11-19 Daniel Colascione <dancol@dancol.org>
4384
4385 * term/w32-win.el (cygwin-convert-path-from-windows):
4386 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
4387
4388 2012-11-18 Chong Yidong <cyd@gnu.org>
4389
4390 * filecache.el (file-cache--read-list): New function.
4391 (file-cache-add-directory-list, file-cache-add-file-list)
4392 (file-cache-delete-file-list, file-cache-delete-directory-list):
4393 Use it to read a list of files or directories (Bug#12846).
4394 (file-cache-add-file, file-cache-add-directory)
4395 (file-cache-delete-file-list, file-cache-delete-file-regexp)
4396 (file-cache-delete-directory): Print an message.
4397
4398 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
4399
4400 * calc/calc-forms.el (math-date-to-dt): Use integer date when
4401 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
4402
4403 2012-11-18 Glenn Morris <rgm@gnu.org>
4404
4405 * image.el (insert-image, insert-sliced-image): Doc fix.
4406
4407 2012-11-18 Chong Yidong <cyd@gnu.org>
4408
4409 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
4410 (Bug#12810).
4411
4412 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
4413
4414 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
4415 response when the target file is in a subdirectory (Bug#12757).
4416
4417 2012-11-18 Chong Yidong <cyd@gnu.org>
4418
4419 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
4420
4421 2012-11-18 Glenn Morris <rgm@gnu.org>
4422
4423 * emacs-lisp/cl-lib.el (face-underline-p):
4424 Use set-face-underline rather than the alias set-face-underline-p.
4425
4426 * window.el (with-temp-buffer-window): Doc fix.
4427 * subr.el (with-output-to-temp-buffer):
4428 Add doc xref to with-temp-buffer-window.
4429
4430 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
4431
4432 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
4433 * calc/calc.el (math-format-date-cache): Declare.
4434
4435 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
4436
4437 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
4438 It also uses January 1, 1 AD as its day number 1.
4439 * calc/calc-forms.el (math-julian-date-beginning)
4440 (math-julian-date-beginning-int): Implement this.
4441
4442 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
4443
4444 * descr-text.el (quail-find-key):
4445 * dired.el (desktop-file-name):
4446 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
4447 * generic-x.el (comint-mode, comint-exec):
4448 * image-dired.el (widget-forward):
4449 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
4450 (speedbar-change-expand-button-char)
4451 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
4452 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
4453 * printing.el (easy-menu-add-item, easy-menu-remove-item)
4454 (widget-field-action, widget-value-set):
4455 * speedbar.el (imenu--make-index-alist):
4456 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
4457 (ring-length, ring-insert):
4458 * vcursor.el (compare-windows-skip-whitespace):
4459 * woman.el (dired-get-filename):
4460 Declare functions.
4461
4462 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
4463
4464 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
4465
4466 * calc/calc.el (calc-gregorian-switch): New variable.
4467
4468 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
4469 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
4470 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
4471 (math-leap-year-p): Add option to distinguish between Julian
4472 and Gregorian calendars.
4473 (math-day-number): Use `math-day-in-year' to do the computations.
4474 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
4475 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
4476 to do the computations.
4477 (math-date-to-dt): Use `math-date-to-julian-dt' and
4478 `math-date-to-gregorian-dt' to do the computations.
4479 (calcFunc-weekday, math-format-date-part): Use the new version of
4480 the DATE to determine the weekday.
4481 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
4482 when necessary.
4483
4484 2012-11-17 Eli Zaretskii <eliz@gnu.org>
4485
4486 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
4487 Cygwin; otherwise use 'file:'. (Bug#12914)
4488 (cygwin-convert-path-from-windows): Declare, to avoid
4489 byte-compiler warnings.
4490
4491 2012-11-17 Andreas Politz <politza@fh-trier.de>
4492
4493 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
4494 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
4495 prefix and negative numeric prefix args (Bug#12795).
4496
4497 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
4498
4499 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
4500 Don't signal an error with a score that is too low to add to the
4501 list of top scores. (Bug#12779)
4502
4503 2012-11-17 Chong Yidong <cyd@gnu.org>
4504
4505 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
4506
4507 * filecache.el (file-cache-add-file): Handle relative file name in
4508 the argument (Bug#12694).
4509
4510 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
4511
4512 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
4513
4514 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4515
4516 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
4517
4518 * emacs-lisp/cl-lib.el: Set more meaningful version number.
4519
4520 2012-11-16 Martin Rudalics <rudalics@gmx.at>
4521
4522 * window.el (enlarge-window, shrink-window): Don't mention return
4523 value in doc-string (Bug#12896).
4524 (window--display-buffer): Don't resize frames - it won't work
4525 with all window managers and defeat pop-up-frame-alist.
4526 (display-buffer-alist): In doc-string explain that CONDITION can
4527 be a function and which arguments are passed to it (Bug#12854).
4528 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
4529 expressions (Bug#12854).
4530 (display-buffer): Pass ACTION argument to
4531 display-buffer-assq-regexp.
4532
4533 2012-11-16 Glenn Morris <rgm@gnu.org>
4534
4535 * window.el (fit-frame-to-buffer-bottom-margin)
4536 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
4537
4538 * faces.el (face-underline-p): Use face-attribute-specified-or.
4539
4540 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
4541
4542 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
4543
4544 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4545
4546 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
4547
4548 2012-11-16 Glenn Morris <rgm@gnu.org>
4549
4550 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
4551 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
4552
4553 * faces.el (face-underline-p): Doc fix. Handle :underline being
4554 things other than `t' (a string, a list).
4555 (face-inverse-video-p): Doc fix.
4556 (set-face-underline): Rename it back from set-face-underline-p.
4557 Doc fix. Allow interactive input of values other than t.
4558 (read-face-attribute): Apply formatting to :underline,
4559 since like :box and :stipple it can take list values.
4560
4561 * term.el (ansi-term): Don't let C-x escape-char binding
4562 clobber the more standard C-c binding. (Bug#12842)
4563
4564 * subr.el (set-temporary-overlay-map): Doc fix.
4565
4566 2012-11-16 Martin Rudalics <rudalics@gmx.at>
4567
4568 * window.el (record-window-buffer)
4569 (display-buffer-record-window): When copying the markers to
4570 window-point preserve window-point-insertion-type. (Bug#12588)
4571
4572 2012-11-16 Glenn Morris <rgm@gnu.org>
4573
4574 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
4575 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
4576 Use new names for hooks rather than obsolete aliases.
4577
4578 2012-11-15 Daniel Colascione <dancol@dancol.org>
4579
4580 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
4581 prefix instead of "file:" so that when FILE-NAME begins with "//",
4582 as it does when the target file is on a network share, url-handler
4583 isn't confused.
4584
4585 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4586
4587 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
4588 a preactivated advice from an old advice.el; they're not compatible!
4589
4590 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
4591
4592 * emacs-lisp/nadvice.el (advice--make-interactive-form):
4593 Fix string-spec case.
4594
4595 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
4596
4597 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4598
4599 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
4600 (advice--buffer-local-function-sample): New var.
4601 (advice--set-buffer-local, advice--buffer-local): New functions.
4602 (add-function, remove-function): Use them.
4603
4604 2012-11-15 Drew Adams <drew.adams@oracle.com>
4605
4606 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
4607
4608 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4609
4610 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
4611 potential binding of print-gensym to t, and prettify (back)quotes in
4612 case they appear in args's default values (bug#12884).
4613
4614 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4615
4616 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
4617 (advice-eval-interactive-spec): New function.
4618 (advice--make-interactive-form): Support around advice (bug#12844).
4619
4620 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
4621
4622 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
4623 more strict. Add docstring.
4624 (ruby-expression-expansion-re): Extract from
4625 `ruby-match-expression-expansion'.
4626 (ruby-syntax-propertize-function): After everything else, search
4627 for expansions in string literals, mark their insides as
4628 whitespace syntax and save match data for font-lock.
4629 (ruby-font-lock-keywords): Use the 2nd group from expression
4630 expansion matches.
4631 (ruby-match-expression-expansion): Use the match data saved to the
4632 text property in ruby-syntax-propertize-function.
4633
4634 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4635
4636 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
4637 (bug#12879).
4638
4639 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4640
4641 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
4642 start/end keyword a bit harder. Works with different values of N.
4643 Add more comments.
4644 (ruby-end-of-block): Update accordingly.
4645
4646 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4647
4648 * woman.el (woman-file-name): Don't mess with unread-command-events
4649 (bug#12861).
4650
4651 * emacs-lisp/advice.el: Layer on top of nadvice.el.
4652 Remove out of date self-require hack.
4653 (ad-do-advised-functions): Use simple `dolist'.
4654 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
4655 (ad-advice-definition): Redefine as functions.
4656 (ad-advice-classes): Move before first use.
4657 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
4658 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
4659 (ad--defalias-fset): Remove functions.
4660 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
4661 (ad-get-orig-definition): Rewrite.
4662 (ad-make-advised-definition-docstring): Change base docstring.
4663 (ad-real-orig-definition): Rewrite.
4664 (ad-map-arglists): Change name of called function.
4665 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
4666 (ad-make-advised-definition): Simplify.
4667 (ad-assemble-advised-definition): Tweak for new calling context.
4668 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
4669 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
4670 function and call ad-activate if needed.
4671 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
4672 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
4673 (ad-compile-function): Compile ad-Advice-*.
4674 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
4675 (ad-start-advice, ad-stop-advice): Remove.
4676
4677 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4678
4679 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
4680 period before class method names, not after. Remove handling of
4681 one impossible case. Add comments.
4682
4683 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4684
4685 * emacs-lisp/advice.el: Remove support for freezing.
4686 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
4687 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
4688 Remove support for `freeze'.
4689
4690 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
4691 override the default.
4692 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
4693 cl--dotimes/dolist.
4694 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
4695 `cl' is loaded.
4696
4697 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
4698 from add-advice.
4699 (advice--strip-macro): New function.
4700 (advice--defalias-fset): Use them to handle macros.
4701 (advice-add): Use them.
4702 (advice-member-p): Correctly handle macros.
4703
4704 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4705
4706 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4707 Never font-lock the beginning of singleton class as heredoc.
4708
4709 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4710
4711 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
4712
4713 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
4714
4715 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
4716 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
4717 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
4718
4719 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
4720
4721 Fix end-of-defun misbehavior.
4722 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
4723 python-beginning-of-defun-function. Handle nested defuns
4724 correctly.
4725 (python-nav-end-of-defun): Rename from
4726 python-end-of-defun-function. Ensure forward movement.
4727 (python-info-current-defun): Reimplement to work as intended
4728 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
4729 parent defuns as soon as possible.
4730
4731 2012-11-13 Glenn Morris <rgm@gnu.org>
4732
4733 * progmodes/flymake.el (flymake-error-bitmap)
4734 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
4735 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
4736
4737 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4738
4739 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
4740 backward, always stop at indentation. Reverts the change from
4741 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
4742
4743 2012-11-13 Glenn Morris <rgm@gnu.org>
4744
4745 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
4746 Add ibuffer-filter-by-derived-mode.
4747
4748 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
4749 the same name shadowing each other.
4750
4751 * window.el (with-temp-buffer-window): Doc tweak.
4752
4753 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
4754
4755 * help.el (temp-buffer-max-height):
4756 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
4757 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
4758
4759 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
4760
4761 * emacs-lisp/nadvice.el: New package.
4762 * subr.el (special-form-p): New function.
4763 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
4764 (elp-all-instrumented-list): Remove var.
4765 (elp-not-profilable): Remove elp-wrapper.
4766 (elp-profilable-p): Use autoloadp and special-form-p.
4767 (elp--advice-name): New const.
4768 (elp-instrument-function): Use advice-add.
4769 (elp--instrumented-p): New predicate.
4770 (elp-restore-function): Use advice-remove.
4771 (elp-restore-all, elp-reset-all): Use mapatoms.
4772 (elp-set-master): Use elp--instrumented-p.
4773 (elp--make-wrapper): Rename from elp-wrapper, return a function
4774 suitable for advice-add. Use cl-inf.
4775 (elp-results): Use mapatoms+elp--instrumented-p.
4776 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
4777 (debug-function-list): Remove var.
4778 (debug): Rename arg, and then let-bind it explicitly inside.
4779 (debugger-setup-buffer): Rename arg.
4780 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
4781 (debugger-frame-number): Adjust to new debug-on-entry setup.
4782 (debug--implement-debug-on-entry): Rename from
4783 implement-debug-on-entry, add argument.
4784 (debugger-special-form-p): Remove, use special-form-p instead.
4785 (debug-on-entry): Use advice-add.
4786 (debug--function-list): New function.
4787 (cancel-debug-on-entry): Use it, along with advice-remove.
4788 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
4789 (debugger-list-functions): Use debug--function-list instead of
4790 debug-function-list.
4791 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
4792 (ad-special-form-p): Remove, use special-form-p instead.
4793 (ad-set-advice-info): Use add-function and remove-function.
4794 (ad--defalias-fset): Adjust accordingly.
4795
4796 2012-11-10 Glenn Morris <rgm@gnu.org>
4797
4798 * mail/emacsbug.el (report-emacs-bug-tracker-url)
4799 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
4800 (report-emacs-bug-create-existing-bugs-buffer)
4801 (report-emacs-bug-parse-query-results)
4802 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
4803
4804 * term.el (term-default-fg-color, term-default-bg-color):
4805 Make obsolete, rather than just saying "deprecated" in the doc.
4806
4807 * term.el (term): Rename from `term-face'.
4808 (term-current-face, ansi-term-color-vector)
4809 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
4810 Update all users.
4811
4812 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
4813
4814 * server.el (server-create-window-system-frame): Handle Nextstep
4815 specially (Bug#12780).
4816
4817 2012-11-10 Glenn Morris <rgm@gnu.org>
4818
4819 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
4820 Unautoload, and make obsolete. (Bug#7449)
4821
4822 2012-11-10 Chong Yidong <cyd@gnu.org>
4823
4824 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
4825 rename from diff-remove-trailing-whitespace (Bug#12831).
4826
4827 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4828
4829 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
4830 miscompilation of trace.el.
4831
4832 2012-11-10 Glenn Morris <rgm@gnu.org>
4833
4834 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
4835
4836 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4837
4838 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
4839 (bug#12812).
4840
4841 2012-11-10 Chong Yidong <cyd@gnu.org>
4842
4843 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
4844 a defcustom with an appropriate :set function.
4845 (minibuffer-default--in-prompt-regexps): New function.
4846
4847 2012-11-10 Glenn Morris <rgm@gnu.org>
4848
4849 * emacs-lisp/cl.el (define-setf-expander, defsetf)
4850 (define-modify-macro): Doc fixes.
4851
4852 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
4853 (gv-define-simple-setter): Update doc of `fix-return'.
4854
4855 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4856
4857 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
4858 twice when `fix-return' is set (bug#12813).
4859
4860 * emacs-lisp/cl.el (defsetf): Pass the third arg to
4861 gv-define-simple-setter (bug#12812).
4862
4863 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
4864 (bug#12756).
4865
4866 2012-11-10 Glenn Morris <rgm@gnu.org>
4867
4868 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
4869
4870 * emacs-lisp/cl-extra.el (cl-prettyexpand):
4871 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
4872 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
4873 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
4874
4875 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
4876
4877 2012-11-10 Leo Liu <sdl.web@gmail.com>
4878
4879 * ido.el (ido-set-matches-1): Improve flex matching performance by
4880 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
4881
4882 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4883
4884 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
4885 (ad--defalias-fset): New function.
4886 (ad-safe-fset): Remove.
4887 (ad-make-freeze-definition): Use cl-letf*.
4888
4889 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4890
4891 * subr.el (dolist): Don't bind VAR in RESULT.
4892
4893 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
4894 (fset, documentation): Don't save real def since we don't advise.
4895 (ad-do-advised-functions): Remove problematic `result-form'.
4896 (ad-safe-fset): `ad-real-fset' => `fset'.
4897 (ad-read-advised-function): Don't assume that ad-do-advised-functions
4898 uses CL's dolist internally.
4899 (ad-arglist): Remove unused arg `name'.
4900 (ad-docstring, ad-make-advised-docstring):
4901 `ad-real-documentation' => `documentation'.
4902 (warning-suppress-types): Declare.
4903 (ad-set-arguments): Simple CSE.
4904 (ad-recover-normality): Sanity check.
4905
4906 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
4907 (funcall '(lambda ..) ..) into ((lambda ..) ..).
4908
4909 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
4910
4911 * ses.el: symbol to coordinate mapping is made by symbol property
4912 `ses-cell'. This means that the same mapping is done for all SES
4913 sheets. That is good enough for cells with standard A1 names, but
4914 not for named cell. So a hash map is added for the latter.
4915 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
4916 (ses-sym-rowcol): Use hashmap for named cell.
4917 (ses-is-cell-sym-p): New defun.
4918 (ses-decode-cell-symbol): New defun.
4919 (ses-create-cell-variable): Add cell to hashmap when name is not
4920 A1-like.
4921 (ses-rename-cell): Check that cell new name is not already in
4922 spreadsheet with the use of ses-is-cell-sym-p
4923 (ses-rename-cell): Use hash map for named cells, but accept also
4924 renaming back to A1-like.
4925
4926 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4927
4928 * emacs-lisp/advice.el: Use new dynamic docstrings.
4929 (ad-make-advised-definition-docstring, ad-advised-definition-p):
4930 Use dynamic-docstring-function instead of ad-advice-info.
4931 (ad--make-advised-docstring): New function extracted from
4932 ad-make-advised-docstring.
4933 (ad-make-advised-docstring): Use it.
4934 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
4935 from sql-help.
4936 (sql-help): Use it with dynamic-docstring-function.
4937
4938 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
4939
4940 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4941
4942 * files.el (hack-one-local-variable--obsolete): New function.
4943 (hack-one-local-variable): Use it for obsolete settings.
4944
4945 * subr.el (locate-user-emacs-file): If both old and new name exist, use
4946 the new name.
4947
4948 * progmodes/js.el (js--filling-paragraph): New var.
4949 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
4950 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
4951 less sneaky.
4952
4953 2012-11-08 Julien Danjou <julien@danjou.info>
4954
4955 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
4956 `auto-mode-alist' (Bug#12835).
4957
4958 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4959
4960 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
4961 (perl--prettify-symbols-alist): New const.
4962 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
4963 New functions.
4964 (perl-font-lock-keywords-2): Use them.
4965 (perl-electric-noindent-p): New function.
4966 (perl-mode): Use it to set up electric-indent-mode.
4967 (perl-electric-terminator, perl-indent-command): Mark obsolete.
4968 (perl-mode-map): Remove bindings for them.
4969 (perl-imenu-generic-expression, perl-outline-level):
4970 Match functions&packages in column>0.
4971
4972 * env.el (env--substitute-vars-regexp): New const.
4973 (substitute-env-vars): Use it. Add `only-defined' arg.
4974 * net/tramp.el (tramp-replace-environment-variables): Use it.
4975
4976 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
4977 Byte-compile *before* eval in eval-and-compile.
4978 (byte-compile-log-warning): Remove redundant inhibit-read-only.
4979 (byte-compile-file-form-autoload): Don't hide actual definition.
4980 (byte-compile-maybe-guarded): Accept `functionp' as well.
4981
4982 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
4983
4984 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
4985
4986 * notifications.el (notifications-get-server-information-method):
4987 New defconst.
4988 (notifications-get-capabilities): Fix docstring.
4989 (notifications-get-server-information): New defun.
4990
4991 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4992
4993 * textmodes/ispell.el (ispell-region): Standard re-indent for better
4994 readability.
4995
4996 * textmodes/ispell.el: Experimental support for support debugging.
4997 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
4998 buffer for ispell.
4999 (ispell-print-if-debug): New function to print stuff to
5000 `ispell-debug-buffer' if debugging is enabled.
5001 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
5002 show some debugging info.
5003 (ispell-buffer-with-debug): New function that creates a debugging
5004 buffer and calls `ispell-buffer' with debugging enabled.
5005
5006 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
5007 comment in autoconf mode. (Bug#12768)
5008
5009 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
5010
5011 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
5012 frame-first-window, frame-root-window, frame-selected-window,
5013 minibuffer-selected-window, minibuffer-window,
5014 window-absolute-pixel-edges, window-at, window-body-height,
5015 window-body-width, window-display-table, window-combination-limit,
5016 window-frame, window-fringes, window-inside-absolute-pixel-edges,
5017 window-inside-edges, window-inside-pixel-edges, window-left-child,
5018 window-left-column, window-margins, window-next-buffers,
5019 window-next-sibling, window-new-normal, window-new-total,
5020 window-normal-size, window-parameter, window-parameters, window-parent,
5021 window-pixel-edges, window-point, window-prev-buffers,
5022 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
5023 window-start, window-text-height, window-top-child, window-top-line,
5024 window-total-height, window-total-width and window-use-time to the list
5025 of functions without side-effects.
5026 (toplevel): Add window-valid-p to the list of error-free functions
5027 without side-effects.
5028
5029 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5030
5031 * textmodes/ispell.el (ispell-program-name):
5032 Update spellchecker parameters when customized.
5033
5034 2012-11-04 Glenn Morris <rgm@gnu.org>
5035
5036 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
5037
5038 2012-11-04 Chong Yidong <cyd@gnu.org>
5039
5040 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
5041 same-window-* variables.
5042
5043 2012-11-04 Juri Linkov <juri@jurta.org>
5044
5045 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
5046 (isearch-describe-key, isearch-describe-mode): Use a display
5047 action instead of binding same-window-* variables (Bug#10040).
5048
5049 2012-11-03 Glenn Morris <rgm@gnu.org>
5050
5051 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
5052 Rename handler properties back from cl-- to cl-. (Bug#12788)
5053
5054 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
5055
5056 2012-11-03 Eli Zaretskii <eliz@gnu.org>
5057
5058 * term/pc-win.el: Don't load term/internal from here.
5059
5060 * loadup.el: Load term/internal from here.
5061
5062 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
5063
5064 * progmodes/python.el (inferior-python-mode): Fix hang in
5065 jit-lock (Bug#12645).
5066
5067 2012-11-03 Martin Rudalics <rudalics@gmx.at>
5068
5069 * window.el (switch-to-visible-buffer)
5070 (switch-to-buffer-preserve-window-point): Fix doc-strings.
5071
5072 2012-11-03 Glenn Morris <rgm@gnu.org>
5073
5074 * emacs-lisp/cl-lib.el (cl--random-time):
5075 Rename from cl-random-time. (Bug#12773)
5076 (cl--gensym-counter, cl--random-state): Update callers.
5077 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
5078
5079 2012-11-03 Chong Yidong <cyd@gnu.org>
5080
5081 * cus-start.el: Make cursor-type customizable (Bug#11633).
5082
5083 2012-11-02 Glenn Morris <rgm@gnu.org>
5084
5085 * filecache.el: No need to load find-lisp when compiling.
5086 (find-lisp-find-files): Autoload it.
5087 (file-cache-add-directory-recursively): Don't require find-lisp.
5088
5089 * image.el (image-type-from-file-name): Trivial simplification.
5090
5091 * emacs-lisp/bytecomp.el (byte-compile-eval):
5092 Decouple "noruntime" and "cl-functions" warnings.
5093
5094 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
5095
5096 * play/gomoku.el (gomoku-display-statistics): Update mode line
5097 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
5098
5099 2012-10-31 Martin Rudalics <rudalics@gmx.at>
5100
5101 * window.el (quit-restore-window): If the window has been
5102 created on an existing frame and ended up as the sole window on
5103 that frame, do not delete it (Bug#12764).
5104
5105 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
5106
5107 * progmodes/sh-script.el (sh--inside-noncommand-expression):
5108 Rename from sh--inside-arithmetic-expression, handle more cases
5109 (bug#11263).
5110
5111 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
5112 (sh-font-lock-open-heredoc): Use it (bug#12770).
5113
5114 2012-10-30 Glenn Morris <rgm@gnu.org>
5115
5116 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
5117
5118 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
5119
5120 2012-10-29 Chong Yidong <cyd@gnu.org>
5121
5122 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
5123 function key is stored in a keyboard macro (Bug#4894).
5124
5125 * thingatpt.el (number-at-point): Apply a thing-at-point property.
5126
5127 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5128
5129 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
5130 header comments".
5131 (diff-unified->context, diff-context->unified)
5132 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
5133
5134 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
5135
5136 * files.el (find-alternate-file): Only ask one question (bug#12487).
5137
5138 2012-10-29 Chong Yidong <cyd@gnu.org>
5139
5140 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
5141 Suggested by Dan Nicolaescu (Bug#6326).
5142
5143 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
5144
5145 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5146
5147 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
5148
5149 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
5150
5151 * face-remap.el (face-remap-add-relative): Handle the case where a
5152 face-remapping-alist entry is a cons cell (Bug#12762).
5153
5154 2012-10-29 Kevin Ryde <user42@zip.com.au>
5155
5156 * woman.el (woman-parse-numeric-value): Handle picas correctly
5157 (Bug#12639).
5158
5159 2012-10-29 Glenn Morris <rgm@gnu.org>
5160
5161 * emacs-lisp/cl.el (defsetf): Doc fix.
5162
5163 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5164
5165 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
5166 syntax to the matching opener, if any (bug#12547).
5167 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
5168 matching open as a "case-(".
5169 (sh-smie-rc-grammar): Add a corresponding rule for it.
5170
5171 2012-10-28 Daniel Hackney <dan@haxney.org>
5172
5173 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
5174 "PKGNAME-autoloads.el" in case we created it.
5175
5176 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5177
5178 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
5179 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
5180 (completion--twq-all): Disable too-strict assertions.
5181
5182 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
5183
5184 2012-10-27 Eli Zaretskii <eliz@gnu.org>
5185
5186 * profiler.el (profiler-report-make-entry-part): Fix help-echo
5187 text to match the real keybindings.
5188
5189 2012-10-27 Juri Linkov <juri@jurta.org>
5190
5191 * wdired.el (wdired-keep-marker-rename): New defcustom.
5192 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
5193 (Bug#11795)
5194
5195 * dired.el (dired-keep-marker-rename): Add reference to
5196 `wdired-keep-marker-rename' in the docstring.
5197 Add default character value ?R to display initially in
5198 Customization UI instead of ?@.
5199
5200 2012-10-27 Martin Rudalics <rudalics@gmx.at>
5201
5202 * window.el (display-buffer): In doc-string describe
5203 window-height and window-width alist entries.
5204
5205 * time.el (display-time-world): Restore fit-window-to-buffer
5206 behavior.
5207
5208 2012-10-27 Chong Yidong <cyd@gnu.org>
5209
5210 * subr.el (insert-buffer-substring-as-yank): Doc fix.
5211
5212 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
5213
5214 * minibuffer.el (completion-category-overrides): New completion
5215 category `bookmark' (bug#11131).
5216
5217 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5218
5219 * emacs-lisp/advice.el (ad-assemble-advised-definition):
5220 Silence bogus compiler warnings for ad-do-it.
5221
5222 * bookmark.el (bookmark-completing-read): Set the completion category
5223 to `bookmark' (bug#11131).
5224
5225 2012-10-26 Bastien <bzg@altern.org>
5226 Stefan Monnier <monnier@iro.umontreal.ca>
5227
5228 * face-remap.el: Use lexical-binding.
5229 (text-scale-adjust): Improve docstring. Use itself for the temporary
5230 overlay-map bindings, so as to repeat the "Use..." message each time.
5231
5232 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5233
5234 * emacs-lisp/macroexp.el (macroexp--expand-all):
5235 Obey byte-compile-warning-enabled-p (bug#12486).
5236
5237 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
5238 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
5239
5240 2012-10-26 Martin Rudalics <rudalics@gmx.at>
5241
5242 * mouse.el (mouse-drag-line): Move last form into preceding when
5243 clause (Bug#12731).
5244
5245 * help.el (resize-temp-buffer-window): Fix doc-string.
5246
5247 2012-10-25 David Engster <deng@randomsample.de>
5248
5249 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
5250 Remove. This feature is already integrated in imenu.
5251
5252 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
5253 always loaded. Require `speedbar' unconditionally.
5254
5255 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5256
5257 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
5258
5259 * minibuffer.el (minibuffer-force-complete): Fix thinko.
5260
5261 * net/ldap.el (ldap-search-internal): The official ldif format starts
5262 with a "version: 1" header (bug#12724).
5263
5264 * emacs-lisp/package.el (package-installed-p): Warn if not ready
5265 (bug#12721).
5266
5267 2012-10-25 Glenn Morris <rgm@gnu.org>
5268
5269 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
5270
5271 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5272
5273 * minibuffer.el (minibuffer-force-complete): Use one more marker
5274 for the temporary-overlay-map command (bug#12619).
5275
5276 2012-10-24 Chong Yidong <cyd@gnu.org>
5277
5278 * time.el (display-time-world-mode): Derive from special-mode.
5279 (display-time-world): Use display-buffer (Bug#12708).
5280 (display-time-world-mode-map): Variable deleted.
5281 (display-time-world-display): Wrap the final delete-char inside
5282 inhibit-read-only.
5283
5284 2012-10-24 Chong Yidong <cyd@gnu.org>
5285
5286 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
5287 Doc fix.
5288
5289 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
5290
5291 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5292
5293 * minibuffer.el (completion--all-sorted-completions-location): New var.
5294 (completion--cache-all-sorted-completions)
5295 (completion--flush-all-sorted-completions): Use it.
5296 (completion-in-region, completion-in-region--postch)
5297 (completion-at-point, completion-help-at-point): Use markers in
5298 completion-in-region--data (bug#12619).
5299
5300 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5301
5302 * progmodes/compile.el (compilation-start): Try to handle common
5303 quoting of `cd' argument (bug#12640).
5304
5305 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
5306 (bug#12671).
5307
5308 2012-10-23 Glenn Morris <rgm@gnu.org>
5309
5310 * progmodes/gud.el (gud-menu-map):
5311 Check gdb-active-process is bound. (Bug#12358)
5312
5313 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5314
5315 * repeat.el (repeat): Set real-this-command (bug#12232).
5316
5317 * htmlfontify.el (hfy-post-html-hook):
5318 * filesets.el (filesets-cache-fill-content-hook):
5319 * arc-mode.el (archive-extract-hook):
5320 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
5321 * net/rcirc.el (rcirc-sentinel-functions)
5322 (rcirc-receive-message-functions, rcirc-activity-functions)
5323 (rcirc-print-functions):
5324 * net/dbus.el (dbus-event-error-functions):
5325 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
5326 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
5327 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
5328 * term/sun.el (sun-raw-prefix-hooks):
5329 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
5330
5331 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
5332
5333 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5334 Set `tramp-chunksize' to 1. This improves the performance.
5335 (tramp-smb-wait-for-output): Add timeout to
5336 `tramp-accept-process-output' calls.
5337
5338 2012-10-23 Chong Yidong <cyd@gnu.org>
5339
5340 * faces.el (font-list-limit): Define as an obsolete variable.
5341
5342 * startup.el (command-line):
5343 * cus-start.el: Don't refer to font-list-limit.
5344
5345 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
5346
5347 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5348
5349 * subr.el (internal-temp-output-buffer-show): Rename from
5350 temp-output-buffer-show, since previously compiled files expect this name.
5351
5352 2012-10-23 Glenn Morris <rgm@gnu.org>
5353
5354 * image.el (image-type-from-file-name): If multiple types match,
5355 return the first one that is supported. (Bug#9045)
5356
5357 2012-10-22 Glenn Morris <rgm@gnu.org>
5358
5359 * image.el (imagemagick-enabled-types): Doc fix.
5360
5361 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
5362
5363 * progmodes/which-func.el (which-func-current): The hash-table may have
5364 an explicit nil (bug#12338).
5365
5366 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5367
5368 * electric.el (electric-pair-delete-selection-self-insert-function):
5369 Rename to electric-pair-will-use-region, return a boolean.
5370 (electric-pair-mode): Adjust accordingly. Don't require delsel.
5371
5372 * delsel.el (delete-selection-helper): Use a function instead of a hook.
5373 (delete-selection-pre-hook): Use use-region-p.
5374 (delete-selection-self-insert-function): Remove.
5375 (self-insert-command): Obey self-insert-uses-region-functions.
5376 (self-insert-iso): Revert to previous setting, since we don't actually
5377 know what that command does.
5378 (delete-selection-self-insert-hooks): Remove.
5379
5380 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
5381
5382 * delsel.el (delete-selection-helper): New function, extracted from
5383 delete-selection-pre-hook.
5384 (delete-selection-pre-hook): Use it.
5385 (delete-selection-self-insert-function): New function.
5386 (delete-selection-self-insert-hooks): New hook.
5387 (self-insert-command, self-insert-iso): Use it.
5388 * electric.el (electric-pair-syntax): New function, extracted from
5389 electric-pair-post-self-insert-function.
5390 (electric-pair-post-self-insert-function): Use it.
5391 (electric-pair-delete-selection-self-insert-function): New function.
5392 (electric-pair-mode): Require delsel and setup
5393 delete-selection-self-insert-hooks (bug#11520).
5394
5395 2012-10-20 Chong Yidong <cyd@gnu.org>
5396
5397 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
5398 no changes to show (Bug#12586).
5399
5400 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
5401 list explicitly (Bug#12571).
5402
5403 2012-10-20 Arne Jørgensen <arne@arnested.dk>
5404
5405 * progmodes/flymake.el (flymake-create-temp-inplace):
5406 Use file-truename.
5407
5408 2012-10-20 Eli Zaretskii <eliz@gnu.org>
5409
5410 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
5411
5412 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
5413
5414 * calc/calc-units.el (math-extract-units): Properly extract powers
5415 of units.
5416
5417 2012-10-20 Daniel Colascione <dancol@dancol.org>
5418
5419 * frame.el (make-frame): Set x-display-name as we used to in order
5420 to unbreak creating an X11 frame from an Emacs daemon started
5421 without a display.
5422
5423 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5424
5425 * minibuffer.el (minibuffer-force-complete): Make the next completion use
5426 the same completion-field (bug#12221).
5427
5428 2012-10-19 Martin Rudalics <rudalics@gmx.at>
5429
5430 * emacs-lisp/debug.el (debug): Record height of debugger window
5431 also when debugger will be back (Bug#8789).
5432
5433 2012-10-18 Chong Yidong <cyd@gnu.org>
5434
5435 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
5436 Convert to defcustom.
5437 (gdb-get-source-file): Don't bind pop-up-windows.
5438
5439 * progmodes/gud.el (gud-display-line): Don't specially re-use
5440 other frames for the gdb-mi case (Bug#12648).
5441
5442 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5443
5444 * emacs-lisp/advice.el: Clean up commentary a bit.
5445 (ad-do-advised-functions, ad-with-originals): Use `declare'.
5446 (byte-code-function-p): Never redefine.
5447
5448 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
5449
5450 2012-10-18 Glenn Morris <rgm@gnu.org>
5451
5452 * dired.el (dired-sort-toggle): Some ls implementations only allow
5453 a single option string. (Bug#12666)
5454
5455 * minibuffer.el (completion-cycle-threshold): Doc fix.
5456
5457 2012-10-17 Kenichi Handa <handa@gnu.org>
5458
5459 * international/mule.el (set-keyboard-coding-system):
5460 Recover input meta mode when the new coding system doesn not use 8-bit.
5461 Supply TERMINAL arg to set-input-meta-mode.
5462
5463 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
5464
5465 * wdired.el (wdired-old-marks): New variable.
5466 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
5467 (wdired-do-renames): Move point with renamed file and don't lose
5468 mark status (Bug#11795).
5469
5470 2012-10-16 Juri Linkov <juri@jurta.org>
5471
5472 * replace.el (query-replace-help): Mention multi-buffer replacement
5473 keys in the Help message. (Bug#12655)
5474
5475 2012-10-15 Chong Yidong <cyd@gnu.org>
5476
5477 * emacs-lisp/byte-run.el (defsubst): Doc fix.
5478
5479 2012-10-14 Eli Zaretskii <eliz@gnu.org>
5480
5481 * window.el (display-buffer): Doc fix.
5482
5483 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5484 Adjust the msft regexp to the output of Studio 2010, and move msft
5485 before edg-1. See the discussion on emacs-devel,
5486 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
5487 for the details.
5488
5489 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
5490
5491 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
5492 (oset): Move uses of object-class-fast macro after its definition.
5493
5494 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
5495
5496 2012-10-13 Chong Yidong <cyd@gnu.org>
5497
5498 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
5499 enabled, re-enable it (Bug#11963).
5500
5501 2012-10-13 Martin Rudalics <rudalics@gmx.at>
5502
5503 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
5504 non-nil, restore window configuration (Bug#12623).
5505
5506 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5507
5508 * help-fns.el (describe-variable, describe-function-1):
5509 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
5510
5511 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
5512
5513 2012-10-12 Glenn Morris <rgm@gnu.org>
5514
5515 * mail/rmailsum.el (rmail-header-summary):
5516 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
5517
5518 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
5519
5520 * progmodes/python.el (python-mode-map):
5521 Replace subtitute-key-definition with proper command remapping.
5522 (python-nav--up-list): Fix behavior for blocks on the same level.
5523
5524 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5525
5526 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
5527
5528 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
5529 changes to the format of load-history.
5530
5531 * international/mule-cmds.el (read-char-by-name): Move let-binding of
5532 completion-ignore-case in case that var is buffer-local (bug#12615).
5533
5534 2012-10-11 Kenichi Handa <handa@gnu.org>
5535
5536 * international/eucjp-ms.el: Re-generated.
5537
5538 2012-10-10 Kenichi Handa <handa@gnu.org>
5539
5540 * select.el (xselect--encode-string): If a coding is specified for
5541 selection, and that is compatible with COMPOUND_TEXT, use it.
5542
5543 2012-10-10 Martin Rudalics <rudalics@gmx.at>
5544
5545 * window.el (switch-to-buffer-preserve-window-point): New option.
5546 (switch-to-buffer):
5547 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
5548
5549 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5550
5551 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
5552 Don't document nil as a useful value (bug#12583).
5553
5554 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
5555
5556 * net/tramp.el (tramp-debug-message):
5557 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
5558 (with-tramp-progress-reporter): Rename from
5559 `tramp-with-progress-reporter'.
5560 (with-tramp-file-property, with-tramp-connection-property):
5561 Move from tramp-cache.el, rename from `with-file-property' and
5562 `with-connection-property', respectively.
5563
5564 * net/tramp-cache.el: Remove `with-file-property' and
5565 `with-connection-property'.
5566
5567 * net/tramp.el:
5568 * net/tramp-gvfs.el:
5569 * net/tramp-sh.el:
5570 * net/tramp-smb.el: Adapt callees.
5571
5572 * net/trampver.el: Update release number.
5573
5574 2012-10-09 Glenn Morris <rgm@gnu.org>
5575
5576 * w32-fns.el (set-message-beep):
5577 * term/w32-win.el (set-message-beep): Update declarations.
5578
5579 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5580
5581 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
5582 (mode-line-widen, mode-line-input-method-map)
5583 (mode-line-coding-system-map, mode-line-remote)
5584 (mode-line-unbury-buffer, mode-line-bury-buffer)
5585 (mode-line-next-buffer, mode-line-previous-buffer):
5586 Replace save-selected-window+select-window => with-selected-window.
5587
5588 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
5589 * progmodes/cc-vars.el (bq-process): Remove, unused.
5590
5591 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
5592
5593 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
5594
5595 Implemented `backward-up-list'-like navigation.
5596 * progmodes/python.el (python-nav-up-list)
5597 (python-nav-backward-up-list): New functions.
5598 (python-mode-map): Define substitute key for backward-up-list to
5599 python-nav-backward-up-list.
5600
5601 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5602
5603 * progmodes/python.el (python-fill-paragraph): Rename from
5604 python-fill-paragraph-function. Fixed fill-paragraph for
5605 decorators (Bug#12605).
5606
5607 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5608
5609 * progmodes/python.el (python-shell-output-filter): Handle extra
5610 carriage return in OSX (Bug#12409).
5611
5612 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5613
5614 Fix shell handling of unbalanced quotes and parens in output.
5615 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
5616 (python-syntax-propertize-function): Use it.
5617 (python-shell-output-syntax-table): New var.
5618 (inferior-python-mode): Prevent unbalanced parens/quotes from
5619 previous output mess with current input context.
5620
5621 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
5622
5623 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
5624 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
5625
5626 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
5627
5628 * ffap.el (ffap-replace-file-component): Support Tramp file name
5629 syntax, not only ange-ftp's one.
5630
5631 2012-10-08 Glenn Morris <rgm@gnu.org>
5632
5633 * cus-start.el (message-log-max): Set :version.
5634
5635 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
5636
5637 2012-10-08 Martin Rudalics <rudalics@gmx.at>
5638
5639 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
5640 the minibuffer window (Bug#10851).
5641
5642 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5643
5644 Enhancements on forward-sexp movement.
5645 * progmodes/python.el (python-nav-beginning-of-statement)
5646 (python-nav-end-of-statement): Return point-marker.
5647 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
5648 (python-info-current-symbol)
5649 (python-info-statement-starts-block-p): Rename from
5650 python-info-beginning-of-block-p.
5651 (python-info-statement-ends-block-p): Rename from
5652 python-info-end-of-block-p.
5653 (python-info-beginning-of-statement-p)
5654 (python-info-end-of-statement-p)
5655 (python-info-beginning-of-block-p, python-info-end-of-block-p):
5656 New functions.
5657
5658 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5659
5660 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
5661 frame-selected-windows.
5662
5663 2012-10-08 Daniel Colascione <dancol@dancol.org>
5664
5665 * battery.el (battery-status-function): Check for
5666 w32-battery-status itself, not system-time windows-nt.
5667
5668 * frame.el: Require cl-lib.
5669 (display-format-alist): New variable mapping frame types to
5670 functions that initialize them.
5671 (window-system-for-display): New function: interprets
5672 display-format-alist.
5673 (make-frame-on-display): Remove existing display-selection logic
5674 and just forward to make-frame, which will now DTRT.
5675 (make-frame): Restructure to use window-system-for-display to
5676 figure out how to create a frame on a given display.
5677 (display-mouse-p): Look for frame-type w32, not a particular
5678 system-type.
5679
5680 * loadup.el: Load w32 lisp code when we have the w32 feature.
5681
5682 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
5683 system-type windows-nt.
5684
5685 * server.el (server-create-window-system-frame): Look for window
5686 type.
5687 (server-proces-filter): Only force a window system when windows-nt
5688 _and_ w32. Explain why.
5689
5690 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
5691 of window systems we configure for the mode.
5692
5693 * startup.el (command-line): Mark window system is initialized
5694 after we've done it.
5695
5696 * common-win.el (x-select-text): Look for w32, not windows-nt.
5697
5698 * ns-win.el: Require cl-lib. Add ourselves to
5699 display-format-alist.
5700 (ns-initialize-window-system): Assert we're not initialized twice.
5701
5702 * w32-win.el: Enable lexical binding; require cl-lib; add
5703 ourselves to display-format-alist.
5704 (w32-handle-dropped-file): Convert incoming dropped files from
5705 Windows paths to Cygwin ones before passing them on to the rest of
5706 Emacs.
5707 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
5708 (w32-initialize-window-system): Assert we're not initialized twice.
5709
5710 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
5711 (x-initialize-window-system): Assert we're not initialized twice.
5712
5713 * w32-common-fns.el: New File.
5714 (w32-version, w32-using-nt, w32-get-clipboard-data)
5715 (w32-set-clipboard-data, x-set-selection, x-get-selection)
5716 (w32-charset-info-alist, x-last-selected, text)
5717 (x-get-selection-value, x-selection-value): Move here.
5718
5719 * w32-fns.el: Require w32-common-fns.
5720 (w32-version, w32-using-nt, w32-get-clipboard-data)
5721 (w32-set-clipboard-data, x-set-selection, x-get-selection)
5722 (w32-charset-info-alist, x-last-selected, text)
5723 (x-get-selection-value, x-selection-value): Move to
5724 w32-common-fns.
5725
5726 * w32-vars.el:
5727 (w32-allow-system-shell, w32-system-shells): Define only in
5728 non-cygwin case.
5729
5730 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5731
5732 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
5733 (read-passwd): Remove a few more potential sources of leaks.
5734
5735 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5736
5737 * progmodes/python.el (inferior-python-mode)
5738 (python-shell-make-comint): Fix initialization of local
5739 variables copied from parent buffer.
5740
5741 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
5742
5743 * term/ns-win.el (ns-read-file-name): Update declaration to match
5744 nsfns.m.
5745 (ns-respond-to-change-font): Change fontsize separately so we are sure
5746 it is set when font is acted upon.
5747
5748 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5749
5750 Enhancements to indentation.
5751 * progmodes/python.el (python-indent-context): Give priority to
5752 inside-string context. Make comments indentation markers.
5753 (python-indent-region): Do not mess with strings, unless it's the
5754 enclosing set of quotes.
5755
5756 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5757
5758 * window.el (internal--before-save-selected-window)
5759 (internal--after-save-selected-window): New functions extracted from
5760 save-selected-window. Make sure we return the `alist' we construct.
5761 (save-selected-window): Use them.
5762
5763 * textmodes/tex-mode.el (tex-recenter-output-buffer):
5764 Use with-selected-window.
5765
5766 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
5767 forms that define macros (bug#12593).
5768
5769 2012-10-07 Kenichi Handa <handa@gnu.org>
5770
5771 * international/mule-conf.el (compound-text-with-extensions):
5772 Add :mime-charset property as x-ctext.
5773
5774 2012-10-07 Stefan Merten <smerten@oekonux.de>
5775
5776 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
5777 (rst-indent-literal-normal, rst-indent-literal-minimized)
5778 (rst-indent-comment): Correct :version tag.
5779 (rst-official-cvs-rev): Correct version string.
5780
5781 2012-10-07 Glenn Morris <rgm@gnu.org>
5782
5783 * mail/rmailmm.el (rmail-mime-process-multipart):
5784 Do not confuse a multipart message with an epilogue
5785 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
5786
5787 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5788
5789 Fix shell output retrieval and comint-prompt-regexp init.
5790 * progmodes/python.el (inferior-python-mode):
5791 (python-shell-make-comint): Fix initialization of
5792 comint-prompt-regexp from copied file local variables.
5793 (python-shell-fetched-lines): Remove var.
5794 (python-shell-output-filter-in-progress): Rename from
5795 python-shell-fetch-lines-in-progress.
5796 (python-shell-output-filter-buffer): Rename from
5797 python-shell-fetch-lines-string.
5798 (python-shell-fetch-lines-filter): Delete function.
5799 (python-shell-output-filter): New function.
5800 (python-shell-send-string-no-output): Use them.
5801
5802 2012-10-07 Glenn Morris <rgm@gnu.org>
5803
5804 * hi-lock.el (hi-lock-process-phrase):
5805 Try to make it less fragile. (Bug#7161)
5806
5807 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
5808
5809 2012-10-06 Glenn Morris <rgm@gnu.org>
5810
5811 * ehelp.el (electric-help-mode): Use help-mode rather than
5812 non-existent mode `help'.
5813 (electric-help-map): Use button-buffer-map. (Bug#10917)
5814
5815 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
5816 (reftex-create-bibtex-footer): Fix custom types.
5817
5818 * progmodes/sh-script.el (sh-indent-after-continuation):
5819 Add explicit :group.
5820
5821 * textmodes/rst.el (rst-preferred-decorations)
5822 (rst-shift-basic-offset): Clarify obsolescence versions.
5823
5824 * profiler.el (profiler): Add missing group :version tag.
5825 * avoid.el (mouse-avoidance-banish-position):
5826 * proced.el (proced-renice-command):
5827 * calc/calc.el (calc-ensure-consistent-units):
5828 * calendar/icalendar.el (icalendar-import-format-uid):
5829 * net/tramp.el (tramp-save-ad-hoc-proxies):
5830 * progmodes/bug-reference.el (bug-reference-bug-regexp):
5831 * progmodes/flymake.el (flymake-error-bitmap)
5832 (flymake-warning-bitmap, flymake-fringe-indicator-position):
5833 * progmodes/sh-script.el (sh-indent-after-continuation):
5834 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
5835 (verilog-before-save-font-hook, verilog-after-save-font-hook):
5836 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
5837 (vhdl-array-index-record-field-in-sensitivity-list)
5838 (vhdl-indent-comment-like-next-code-line):
5839 * textmodes/reftex-vars.el (reftex-ref-style-alist)
5840 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
5841 (reftex-cite-key-separator, reftex-create-bibtex-header)
5842 (reftex-create-bibtex-footer):
5843 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
5844 (rst-indent-literal-normal, rst-indent-literal-minimized)
5845 (rst-indent-comment): Add missing custom :version tags.
5846
5847 * calendar/timeclock.el (timeclock-modeline-display):
5848 Add missing obsolete alias for renamed user option.
5849
5850 * strokes.el (strokes-modeline-string):
5851 * emulation/crisp.el (crisp-mode-modeline-string):
5852 * eshell/esh-mode.el (eshell-status-in-modeline):
5853 Aliases to defcustoms must come before the defcustom.
5854
5855 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
5856 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
5857 (cal-tex-cursor-week-monday): Doc fixes.
5858 (cal-tex-cursor-week2-summary): Doc fix.
5859 Rename from cal-tex-cursor-week-at-a-glance.
5860
5861 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
5862 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
5863
5864 * calendar/calendar.el (calendar-mode-map):
5865 Add cal-tex-cursor-week2-summary.
5866
5867 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
5868
5869 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
5870
5871 * subr.el (read-passwd-map): New var.
5872 (read-passwd): Use `read-string' again.
5873 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
5874
5875 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
5876
5877 * register.el (append-to-register, prepend-to-register):
5878 Deactivate mark, as does `copy-to-register' (bug#12389).
5879
5880 2012-10-06 Chong Yidong <cyd@gnu.org>
5881
5882 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
5883
5884 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
5885
5886 * international/characters.el: Fix simple mistake ((car chars) ->
5887 elt), delete duplicated code.
5888
5889 2012-10-06 Glenn Morris <rgm@gnu.org>
5890
5891 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
5892
5893 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
5894
5895 * color.el (color-hsl-to-rgb): Fix incorrect results for
5896 small and large hue values. (Bug#12559)
5897
5898 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
5899
5900 Enhancements to docstring formatting when filling paragraphs.
5901 * progmodes/python.el (python-fill-docstring-style): Rename from
5902 python-fill-string-style. Added new style.
5903 (python-fill-string): Use new style. Better checks for
5904 docstrings.
5905
5906 2012-10-05 Glenn Morris <rgm@gnu.org>
5907
5908 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
5909
5910 * color.el (color-name-to-rgb, color-rgb-to-hex)
5911 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
5912 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
5913 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
5914 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
5915
5916 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
5917
5918 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
5919
5920 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
5921 to get the correct size across symlinks.
5922
5923 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
5924
5925 2012-10-04 Juri Linkov <juri@jurta.org>
5926
5927 * replace.el (query-replace-interactive): Declare obsolete.
5928 (query-replace-read-from): Add the last incremental search string
5929 to the list of default values accessible via M-n.
5930 (map-query-replace-regexp): Use `read-regexp'.
5931 (query-replace, query-replace-regexp, query-replace-regexp-eval)
5932 (map-query-replace-regexp, replace-string, replace-regexp):
5933 Fix docstrings to replace mentions of `query-replace-interactive'
5934 with alternatives. (Bug#12526)
5935
5936 2012-10-04 Juri Linkov <juri@jurta.org>
5937
5938 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
5939 (dired-pop-to-buffer): Declare obsolete.
5940 (dired-mark-pop-up): Doc fix.
5941
5942 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
5943
5944 Allow user to set docstring style for fill-paragraph.
5945 * progmodes/python.el
5946 (python-fill-comment-function, python-fill-string-function)
5947 (python-fill-decorator-function, python-fill-paren-function):
5948 Remove :safe for defcustoms.
5949 (python-fill-string-style): New defcustom
5950 (python-fill-paragraph-function): Enhance context detection.
5951 (python-fill-string): Honor python-fill-string-style settings.
5952
5953 2012-10-04 Martin Rudalics <rudalics@gmx.at>
5954
5955 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
5956 after setting its buffer (Bug#10805).
5957
5958 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
5959
5960 Fix cornercase for string syntax.
5961 * progmodes/python.el (python-syntax-propertize-function):
5962 Simplify and enhance the regexp for unescaped quotes. Now it also
5963 matches quotes in weird situations like the single quote in
5964 "something\"'".
5965 (python-syntax-stringify): Simplify num-quotes detecting code.
5966
5967 2012-10-03 Glenn Morris <rgm@gnu.org>
5968
5969 * help-macro.el (three-step-help):
5970 Revert 2012-09-29 change. (Bug#12567)
5971
5972 2012-10-03 Martin Rudalics <rudalics@gmx.at>
5973
5974 * menu-bar.el (kill-this-buffer): Don't do anything when
5975 `menu-frame' is not alive or visible (Bug#8184).
5976
5977 * emacs-lisp/debug.el (debug): When quitting the debugger window
5978 restore current buffer (Bug#12502).
5979
5980 2012-10-02 Chong Yidong <cyd@gnu.org>
5981
5982 * progmodes/hideif.el (hif-lookup, hif-defined):
5983 Handle semantic-c-takeover-hideif.
5984
5985 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
5986
5987 Change sampling interval units from ms to ns.
5988 * profiler.el (profiler-sampling-interval): Change units
5989 from ms to ns, multiplying the default by 1000000 so that
5990 it remains 1 ms.
5991 (profiler-report-cpu-line-format): Give enough room for
5992 the maximum counters on 64-bit hosts.
5993 (profiler-report-render-calltree-1): Call them "CPU samples",
5994 not "Time (ms)", since they are not milliseconds now (and
5995 never really were).
5996
5997 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5998
5999 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
6000 Fix querying BBDB for entries without a last name (Bug#11580).
6001
6002 2012-10-02 Chong Yidong <cyd@gnu.org>
6003
6004 * emacs-lisp/eieio.el: Restore Version header.
6005
6006 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6007
6008 * vc/diff-mode.el (diff--auto-refine-data): New var.
6009 (diff-hunk): Use it to delay refinement.
6010 (diff-mode): Remove overlays when we turn off font-lock.
6011
6012 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
6013 (table-initialize-table-fixed-width-mode)
6014 (table-set-table-fixed-width-mode): Remove functions.
6015 (table-command-list): Move initialization into declaration.
6016 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
6017 (table-with-cache-buffer): Use `declare'.
6018 (table-span-cell): Simplify via CSE.
6019 (table-fixed-width-mode): Use define-minor-mode.
6020 (table-call-interactively, table-funcall, table-apply): Remove.
6021 (table-function): New function, to replace them.
6022
6023 * bookmark.el (bookmark-search-pattern): Remove var.
6024 (bookmark-read-search-input): Remove function.
6025 (bookmark-bmenu-search): Reimplement using a minibuffer.
6026
6027 * faces.el (modeline): Remove obsolete face name.
6028
6029 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
6030 and give a non-nil default value.
6031 (add-change-log-entry): Simplify accordingly.
6032
6033 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
6034
6035 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
6036 (vc-git-log-edit-toggle-amend): New function.
6037 (vc-git-log-edit-toggle-signoff): New function.
6038 (vc-git-log-edit-mode): New major mode.
6039 (vc-git-log-edit-mode-map): Keymap for it.
6040 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
6041
6042 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
6043 header names.
6044 (log-edit-toggle-header): New function.
6045 (log-edit-extract-headers): Accept function values in HEADERS alist.
6046
6047 2012-10-01 David Engster <deng@randomsample.de>
6048
6049 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
6050 from symbol property and change message to be more consistent with
6051 Emacs proper.
6052 (eieio-describe-generic): Add filename for each implementation.
6053 Fix indices for generic and normal methods.
6054 (eieio-method-def, eieio-class-def): New buttons.
6055 (eieio-help-find-method-definition)
6056 (eieio-help-find-class-definition): New functions.
6057 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
6058 class, constructor and method definitions.
6059
6060 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
6061 information in symbol property.
6062 (scoped-class): Remove.
6063 (eieio-slot-name-index, call-next-method): Check if it is bound.
6064
6065 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
6066
6067 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
6068 (eieio-custom-mode): New major mode.
6069 (eieio-customize-object): Use it.
6070
6071 2012-10-01 Eric Ludlam <zappo@gnu.org>
6072
6073 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
6074 specifying the expected class, and whether subclassing is allowed.
6075 (eieio-persistent-convert-list-to-object):
6076 (eieio-persistent-validate/fix-slot-value)
6077 (eieio-persistent-slot-type-is-class-p): New functions.
6078 (eieio-named::slot-missing): Doc fix.
6079
6080 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
6081 Stop using unused publd variable.
6082
6083 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
6084 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
6085 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
6086 (eieio-speedbar-handle-click): Do not specify a class for the
6087 method. Fixes method invocation order problems with EDE.
6088
6089 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6090
6091 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
6092 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
6093
6094 2012-10-01 Karl Fogel <kfogel@red-bean.com>
6095
6096 * bookmark.el (bookmark-version-control): Give tags in the
6097 :type choices (Bug#12309), and improve doc string.
6098 (bookmark-write-file): Bind `print-circle' to `t' to allow
6099 circular custom bookmark types. (Bug#12503)
6100
6101 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
6102
6103 Revert the FOLLOW-SYMLINKS change for file-attributes.
6104 * files.el (remote-file-name-inhibit-cache, after-find-file):
6105 * time.el (display-time-file-nonempty-p): Undo last change.
6106
6107 * profiler.el (profiler-sampling-interval): Change default back to 1.
6108 See Stefan Monnier in
6109 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
6110
6111 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
6112
6113 Shell output catching a la gud-gdb.
6114 * progmodes/python.el (python-shell-fetch-lines-in-progress)
6115 (python-shell-fetch-lines-string, python-shell-fetched-lines):
6116 New Vars.
6117 (python-shell-fetch-lines-filter): New function.
6118 (python-shell-send-string-no-output): Use them.
6119
6120 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
6121
6122 * profiler.el (profiler-sampling-interval): Rename from
6123 profiler-sample-interval.
6124 (profiler-sampling-interval): Default to 10.
6125 (profiler-find-profile): New command (was profiler-find-log).
6126 (profiler-find-profile-other-window): New command.
6127 (profiler-find-profile-other-frame): New command.
6128 (profiler-profile): Introduce API-level data structure.
6129
6130 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
6131
6132 file-attributes has a new optional arg FOLLOW-SYMLINKS.
6133 * files.el (remote-file-name-inhibit-cache):
6134 * time.el (display-time-file-nonempty-p): Use it.
6135 * files.el (after-find-file): Don't chase links before calling
6136 file-exists-p, as file-exists-p already does the right thing.
6137
6138 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
6139
6140 Merge from standalone RefTeX repository.
6141
6142 The following ChangeLog entries are shortened versions of the
6143 original ones with file paths adapted. A not so strongly edited
6144 version of the original ChangeLog can be found in the commit log.
6145
6146 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
6147 (reftex-arg-cite): Use `reftex-cite-key-separator'.
6148 Correctly handle new value type returned by `reftex-citation'.
6149
6150 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
6151 that entries with whitespace at various places are found.
6152 Doc fix. Include entries that are cross-referenced from cited entries.
6153 Include @String definitions in the resulting bib file. Add header
6154 and footer defined in `reftex-create-bibtex-header' and
6155 `reftex-create-bibtex-footer'.
6156 (reftex-do-citation): Make it possible again to insert
6157 non-existent entries. Save match data when asking for optional
6158 arguments. Return all keys, not just the first one.
6159 (reftex-all-used-citation-keys): Fix regexp to correctly extract
6160 all citations in the same line.
6161 (reftex-parse-bibtex-entry): Accept additional optional argument
6162 `raw' and keep quotes or braces if it is non-nil. Match fields
6163 containing hyphens besides word constituents.
6164 (reftex-get-string-refs): New function.
6165 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
6166 and ask if it should be reread in case it did.
6167 (reftex-pop-to-bibtex-entry)
6168 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
6169 entries with spaces or tabs in front of arguments.
6170 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6171 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
6172 Match entries containing numbers and symbol constituents.
6173 (reftex-do-citation, reftex-figure-out-cite-format):
6174 Use `reftex-cite-key-separator'.
6175
6176 * textmodes/reftex-dcr.el: Move provide statement to end of file.
6177 (reftex-mouse-view-crossref): Explain why point is set.
6178
6179 * textmodes/reftex-global.el: Whitespace changes.
6180
6181 * textmodes/reftex-index.el: Move provide statement to end of
6182 file.
6183 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
6184 (reftex-index-visit-phrases-buffer): Set marker when visiting
6185 buffer. This allows for returning from the phrases file to the
6186 file one was just editing instead of the file where the last
6187 phrases was added from.
6188 (reftex-index-phrases-syntax-table): New variable. Give ?\"
6189 punctuation syntax as it usually is not used as string quote in
6190 TeX-related modes and may occur unmatched. The change also
6191 prevents fontification of quoted content.
6192 (reftex-index-phrases-mode): Use it.
6193
6194 * textmodes/reftex-parse.el (reftex-parse-from-file):
6195 Move backward one char if a `\' was matched after a section macro.
6196 (reftex-parse-from-file): Use beginning of match instead of end as
6197 bound.
6198
6199 * textmodes/reftex-ref.el: Adapt creation of
6200 `reftex-<package>-<macro>' functions to new structure of
6201 `reftex-ref-style-alist'.
6202 (reftex-reference): Use `reftex-ref-style-list' function.
6203 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
6204 reference macro if `reftex-ref-macro-prompt' is non-nil.
6205 (reftex-reference): Pass refstyle to `reftex-format-special'.
6206 Determine reference macro by looking at
6207 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
6208 Use only one special format function.
6209 (reftex-varioref-vref, reftex-fancyref-fref)
6210 (reftex-fancyref-Fref): Remove definitions. The functions are now
6211 generated from `reftex-ref-style-alist'.
6212 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
6213 Remove.
6214 (reftex-format-special): New function.
6215
6216 * textmodes/reftex-sel.el
6217 (reftex-select-cycle-ref-style-internal): Adapt to new structure
6218 of `reftex-ref-style-alist'. Remove code for testing macro type.
6219 (reftex-select-toggle-varioref)
6220 (reftex-select-toggle-fancyref): Remove.
6221 (reftex-select-cycle-ref-style-internal)
6222 (reftex-select-cycle-ref-style-forward)
6223 (reftex-select-cycle-ref-style-backward): New functions.
6224 (reftex-select-label-map): Use `v' and `V' for general cycling
6225 through reference styles. Add `p' for switching between number
6226 and page reference types.
6227
6228 * textmodes/reftex-toc.el (reftex-re-enlarge):
6229 Call `enlarge-window' only if there is something to do because in Emacs
6230 the horizontal version throws an error even if the parameter is 0.
6231
6232 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
6233 (reftex-plug-into-AUCTeX): Doc fix.
6234 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
6235 string. Adapt to new name.
6236 (reftex-ref-style-alist): Change structure so that it is not
6237 possible to use multiple different package names within a style.
6238 Remove the symbols for symbols for macro type distinction.
6239 Add characters for macro selection.
6240 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
6241 (reftex-create-bibtex-footer): New variables.
6242 (reftex-format-ref-function): Mention third argument of special
6243 format function.
6244 (reftex-ref-style-alist, reftex-ref-style-default-list):
6245 New variables.
6246 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
6247 to new implementation. Mark as obsolete. Add compatibility code
6248 for honoring the variable values in case they are set.
6249 (reftex-cite-format-builtin, reftex-bibliography-commands):
6250 Add support for ConTeXt.
6251 (reftex-format-ref-function, reftex-format-cite-function):
6252 Fix custom type.
6253 (reftex-cite-key-separator): New variable.
6254
6255 * textmodes/reftex.el (reftex-syntax-table-for-bib)
6256 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
6257 `reftex-syntax-table' because parens have to retain their paren
6258 syntax in order for parsing of BibTeX entries like @book(...) to
6259 work.
6260 (reftex-in-comment): Do not error out if `comment-start-skip' is
6261 not set. Deal correctly with escaped comment characters.
6262 (reftex-tie-multifile-symbols): Add doc string.
6263 Initialize `reftex-ref-style-list'.
6264 (reftex-untie-multifile-symbols): Add doc string.
6265 (reftex-add-index-macros): Doc fix.
6266 (reftex-ref-style-activate, reftex-ref-style-toggle)
6267 (reftex-ref-style-list): New functions.
6268 (reftex-mode-menu): Use them. Adapt to new structure of
6269 `reftex-ref-style-alist'.
6270 (reftex-select-with-char): Kill the RefTeX Select buffer when
6271 done.
6272 (reftex-remove-if): New function.
6273 (reftex-erase-all-selection-and-index-buffers)
6274 (reftex-mode-menu): Reference styles are now computed from
6275 `reftex-ref-style-alist'. Fix typo.
6276 (reftex-report-bug): New function.
6277 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
6278 algorithms with O(n log n). Introduce optional argument SORT (not
6279 yet used).
6280
6281 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
6282
6283 Enhancements for triple-quote string syntax.
6284 * progmodes/python.el (python-syntax-propertize-function):
6285 Match both quote cases in one regexp.
6286 (python-syntax-stringify): Handle matches properly.
6287
6288 2012-09-30 Juri Linkov <juri@jurta.org>
6289
6290 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
6291 to nil around the call to `insert' to prevent
6292 directory time modification by lock_file. (Bug#2295)
6293 * tar-mode.el (tar-summarize-buffer): Idem.
6294
6295 2012-09-30 Juri Linkov <juri@jurta.org>
6296
6297 * facemenu.el (list-colors-sort): Add option "Luminance".
6298 (list-colors-sort-key): Implement it.
6299
6300 * vc/diff-mode.el (diff-refine-removed):
6301 * vc/ediff-init.el (ediff-fine-diff-A):
6302 * vc/smerge-mode.el (smerge-refined-removed):
6303 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
6304
6305 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
6306
6307 * term/ns-win.el (x-file-dialog): New function.
6308
6309 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
6310
6311 * ido.el (ido-max-directory-size): Default to nil; the current
6312 default is small for POSIX systems, and impractical on Windows 7
6313 now that lstat returns directory sizes for NTFS.
6314
6315 2012-09-30 Martin Rudalics <rudalics@gmx.at>
6316
6317 In buffer display functions handle window-height/window-width
6318 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
6319 * window.el (window--display-buffer): New argument ALIST.
6320 Obey window-height and window-width alist entries.
6321 (window--try-to-split-window): New argument ALIST.
6322 Bind window-combination-limit to t when the window's size shall be
6323 changed and window-combination-limit equals `window-size'.
6324 (display-buffer-in-atom-window)
6325 (display-buffer-in-major-side-window)
6326 (display-buffer-in-side-window, display-buffer-same-window)
6327 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6328 (display-buffer-pop-up-window, display-buffer-below-selected)
6329 (display-buffer-at-bottom, display-buffer-in-previous-window)
6330 (display-buffer-use-some-window): Adjust all callers of
6331 window--display-buffer and window--try-to-split-window.
6332 (fit-frame-to-buffer): New option.
6333 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
6334 is non-nil.
6335 (display-buffer-in-major-side-window): Evaluate window-height /
6336 window-width alist entries.
6337
6338 * help.el (temp-buffer-resize-frames)
6339 (temp-buffer-resize-regexps): Remove options.
6340 (temp-buffer-resize-mode): Adjust doc-string.
6341 (resize-temp-buffer-window): Don't consult
6342 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
6343 temp-buffer-resize-frames.
6344
6345 * dired.el (dired-mark-pop-up):
6346 Call display-buffer-below-selected with a fit-window-to-buffer alist
6347 entry.
6348
6349 2012-09-30 Chong Yidong <cyd@gnu.org>
6350
6351 * server.el (server-host): Document the security implications.
6352 (server-auth-key): Doc fix.
6353
6354 * startup.el (initial-buffer-choice): Doc fix.
6355
6356 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
6357
6358 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
6359 restriction change.
6360
6361 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
6362
6363 * help-fns.el (help-fns--obsolete): Fix last change.
6364
6365 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
6366
6367 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
6368 (minor-mode-map-alist): Remove redundant code.
6369
6370 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
6371 visited in a buffer.
6372 (cvs-insert-visited-file): New function.
6373 (find-file-hook): Use it.
6374
6375 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
6376
6377 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
6378 chose face.
6379 (log-edit-empty-buffer-p): Don't require a space after a header.
6380
6381 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
6382
6383 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
6384
6385 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
6386 a proper minor-mode.
6387
6388 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
6389
6390 2012-09-29 Glenn Morris <rgm@gnu.org>
6391
6392 * winner.el (winner-mode): Remove variable (let define-minor-mode
6393 handle it).
6394 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
6395 Doc fixes.
6396 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
6397 (winner-mode): Use define-minor-mode.
6398
6399 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
6400 the full definition in loaddefs, rather than duplicating it.
6401
6402 * help-macro.el (three-step-help): No need to autoload defcustom.
6403
6404 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
6405 (inferior-lisp-program, inferior-lisp-load-command)
6406 (inferior-lisp-prompt, inferior-lisp-mode-hook):
6407 No need to autoload defcustoms.
6408
6409 * hippie-exp.el (hippie-expand-try-functions-list)
6410 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
6411 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
6412 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
6413 (hippie-expand-only-buffers): No need to autoload defcustoms.
6414 * progmodes/vhdl-mode.el (vhdl-line-expand):
6415 Explicitly load hippie-exp, so it does not get autoloaded
6416 while hippie-expand-try-functions-list is let-bound.
6417
6418 2012-09-28 Glenn Morris <rgm@gnu.org>
6419
6420 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
6421
6422 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
6423 Only "cl.el" counts as cl these days.
6424
6425 2012-09-28 Juri Linkov <juri@jurta.org>
6426
6427 Display archive errors in the echo area instead of inserting
6428 to the file buffer.
6429
6430 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
6431 to STDERR-TEST that can be a regexp matching a successful output.
6432 Create a temporary file and redirect stderr to it. Search for
6433 STDERR-TEST in the stderr output and display it in the echo area
6434 if no match is found.
6435 (archive-extract-by-file): New function like
6436 `archive-extract-by-stdout' but extracting archives to files
6437 and looking for successful matches in stdout. Function body is
6438 mostly copied from `archive-rar-extract'.
6439 (archive-rar-extract): Use `archive-extract-by-file'.
6440 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
6441
6442 2012-09-28 Leo Liu <sdl.web@gmail.com>
6443
6444 * pcomplete.el (pcomplete-show-completions):
6445 Use minibuffer-message to make pcomplete usable in minibuffer.
6446
6447 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
6448
6449 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6450
6451 * type-break.el: Use lexical-binding.
6452 (type-break-mode): Use define-minor-mode.
6453
6454 * emacs-lisp/pcase.el (pcase--mark-used): New.
6455 (pcase--u1): Use it (bug#12512).
6456
6457 * custom.el (load-theme): Set buffer-file-name so the load is recorded
6458 in load-history with the right file name.
6459
6460 2012-09-28 Tassilo Horn <tsdh@gnu.org>
6461
6462 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
6463 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
6464 (doc-view-get-bounding-box): Make bounding box slicing work for
6465 ODF and DVI documents.
6466
6467 2012-09-28 Glenn Morris <rgm@gnu.org>
6468
6469 * type-break.el (type-break-mode, type-break-interval)
6470 (type-break-good-rest-interval, type-break-keystroke-threshold):
6471 No need to autoload.
6472 (type-break-good-rest-interval, type-break-keystroke-threshold):
6473 Add :set-after.
6474
6475 2012-09-28 Chong Yidong <cyd@gnu.org>
6476
6477 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
6478 Add :version tag.
6479
6480 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6481
6482 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
6483
6484 2012-09-27 Glenn Morris <rgm@gnu.org>
6485
6486 * faces.el (x-display-name): Declare (for without-x builds).
6487
6488 * linum.el (linum-format): Don't autoload it. Improve :type.
6489
6490 * progmodes/tcl.el: Don't require outline when compiling.
6491 (outline-regexp, outline-level): Declare.
6492 * textmodes/sgml-mode.el: Don't require outline when compiling.
6493 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
6494
6495 * term.el (term-ansi-reset):
6496 Try setting term-ansi-face-already-done to nil. (Bug#11785)
6497
6498 * vc/vc.el (vc-next-action): Only gripe about committing read-only
6499 files for RCS and SCCS. (Bug#9781)
6500
6501 2012-09-27 Chong Yidong <cyd@gnu.org>
6502
6503 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
6504 change; value should be t.
6505
6506 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6507
6508 * image-mode.el: Use lexical-binding.
6509 (image-mode-winprops): Use t to stand for the window of
6510 a buffer that's not displayed.
6511 * doc-view.el (doc-view-new-window-function): Handle the new
6512 t in winprops.
6513 (doc-view-enlarge): Make it a real nop if the size is not changed.
6514 (doc-view-display): Handle the case where the buffer is not (yet?)
6515 displayed in any window.
6516 (doc-view-saved-settings): New var.
6517 (doc-view-mode): Use it.
6518 (doc-view-fallback-mode): Set it.
6519
6520 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
6521 Set lexical-binding.
6522 (minibuffer-eldef-shorten-default): New var.
6523 (minibuffer-default-in-prompt-regexps): Use it for new default.
6524 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
6525
6526 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
6527
6528 * international/uni-bidi.el:
6529 * international/uni-category.el:
6530 * international/uni-name.el:
6531 * international/uni-numeric.el: Regenerate.
6532
6533 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
6534 Stefan Monnier <monnier@iro.umontreal.ca>
6535
6536 * profiler.el: New file.
6537
6538 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
6539
6540 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
6541 (testcover-reinstrument): Simplify with CSE.
6542
6543 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
6544
6545 * window.el (temp-buffer-window-setup): Fix typo in docstring.
6546
6547 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
6548
6549 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
6550 (verilog-auto-input, verilog-auto-insert-lisp)
6551 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
6552 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
6553 (verilog-auto-unused, verilog-auto-wire)
6554 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
6555 newline. Reported by Andrew Jones.
6556 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
6557 Reported by Brad Dobbie.
6558 (verilog-batch-delete-trailing-whitespace):
6559 Create verilog-batch-delete-trailing-whitespace.
6560 Reported by Brad Dobbie.
6561 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
6562 parameters from another module. Reported by Dan Katz.
6563 (verilog-auto, verilog-auto-assign-modport)
6564 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
6565 AUTOINOUTMODPORT for UVM interface module shell generation.
6566 Reported by Brad Dobbie.
6567 (verilog-auto-inst-interfaced-ports): Make default nil, as more
6568 standard behavior.
6569 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
6570 Reported by Matt Martin.
6571
6572 2012-09-25 Martin Rudalics <rudalics@gmx.at>
6573
6574 * window.el (window--resize-child-windows): When resizing child
6575 windows proportionally, process them in reverse order to
6576 preserve the "when splitting a window the new one gets the odd
6577 line" behavior.
6578 (window--resize-root-window-vertically): When resizing the
6579 minibuffer window try to affect only windows at the bottom of the
6580 frame. (Bug#12419)
6581
6582 2012-09-25 Chong Yidong <cyd@gnu.org>
6583
6584 * subr.el (declare): Doc fix.
6585
6586 * help-fns.el (help-fns--obsolete): Handle macros properly.
6587
6588 2012-09-25 Chong Yidong <cyd@gnu.org>
6589
6590 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
6591 this function obsolete.
6592
6593 * calendar/cal-x.el (calendar-two-frame-setup)
6594 (calendar-only-one-frame-setup, calendar-one-frame-setup):
6595 * calendar/calendar.el (american-calendar, european-calendar)
6596 (calendar-for-loop):
6597 * comint.el (comint-dynamic-simple-complete)
6598 (comint-dynamic-complete-as-filename, comint-unquote-filename):
6599 * desktop.el (desktop-load-default):
6600 * dired-x.el (dired-omit-here-always)
6601 (dired-hack-local-variables, dired-default-directory):
6602 * emacs-lisp/derived.el (derived-mode-class):
6603 * emacs-lisp/timer.el (timer-set-time-with-usecs):
6604 * emacs-lock.el (toggle-emacs-lock):
6605 * epa.el (epa-display-verify-result):
6606 * epg.el (epg-sign-keys, epg-start-sign-keys)
6607 (epg-passphrase-callback-function):
6608 * eshell/esh-util.el (eshell-for):
6609 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
6610 (eshell-add-to-window-buffer-names):
6611 * files.el (locate-file-completion):
6612 * imenu.el (imenu-example--create-c-index)
6613 (imenu-example--create-lisp-index)
6614 (imenu-example--lisp-extract-index-name)
6615 (imenu-example--name-and-position):
6616 * international/mule-cmds.el (princ-list):
6617 * international/mule-diag.el (decode-codepage-char):
6618 * international/mule-util.el (detect-coding-with-priority):
6619 * iswitchb.el (iswitchb-read-buffer):
6620 * mail/mailalias.el (mail-complete):
6621 * mail/sendmail.el (mail-sent-via):
6622 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
6623 (mouse-major-mode-menu):
6624 * password-cache.el (password-read-and-add):
6625 * pcomplete.el (pcomplete-parse-comint-arguments):
6626 * progmodes/sh-script.el (sh-maybe-here-document):
6627 * replace.el (query-replace-regexp-eval):
6628 * savehist.el (savehist-load):
6629 * simple.el (choose-completion-delete-max-match):
6630 * term.el (term-dynamic-simple-complete):
6631 * vc/ediff-init.el (ediff-check-version):
6632 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
6633 * vc/vc.el (vc-diff-switches-list):
6634 * view.el (view-return-to-alist-update): Likewise.
6635
6636 * subr.el (eval-next-after-load, makehash, insert-string)
6637 (assoc-ignore-representation, assoc-ignore-case): Use declare to
6638 mark obsolete.
6639 (mode-line-inverse-video): Variable deleted.
6640
6641 * international/mule-util.el (string-to-sequence): Remove.
6642
6643 * calendar/calendar.el (calendar-version):
6644 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
6645 (icalendar-convert-diary-to-ical):
6646 * cus-edit.el (custom-mode):
6647 * ansi-color.el (ansi-color-unfontify-region):
6648 * international/latin1-disp.el (latin1-char-displayable-p):
6649 * progmodes/cwarn.el (turn-on-cwarn-mode):
6650 * progmodes/which-func.el (which-func-update-1):
6651 Use define-obsolete-function-alias.
6652
6653 * net/newst-backend.el (newsticker-cache-filename):
6654 * net/newst-treeview.el (newsticker-groups-filename):
6655 Fix incorrect obsolescence declaration.
6656
6657 * allout.el (allout-passphrase-hint-string): Likewise.
6658 (allout-init): Use a declare form to mark obsolete.
6659
6660 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
6661 this applies to functions.
6662
6663 * iswitchb.el (iswitchb-read-buffer): Move code of
6664 iswitchb-define-mode-map here, and delete that obsolete function.
6665
6666 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
6667 font-lock-reference-face.
6668
6669 2012-09-25 Glenn Morris <rgm@gnu.org>
6670
6671 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
6672 Doc fixes.
6673
6674 * eshell/em-term.el (eshell-term-name):
6675 Default to term-term-name. (Bug#12485)
6676
6677 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
6678
6679 * progmodes/python.el (python-shell-send-buffer): Better handling
6680 of "if __name__ == '__main__':" conditionals when sending the buffer.
6681
6682 2012-09-24 Glenn Morris <rgm@gnu.org>
6683
6684 * eshell/esh-cmd.el (eshell-find-alias-function):
6685 Tighten up file-name regexp. (Bug#12499)
6686
6687 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
6688
6689 Enhancements for triple-quote string syntax.
6690 * progmodes/python.el (python-quote-syntax): Remove.
6691 (python-syntax-propertize-function): New value.
6692 (python-syntax-count-quotes, python-syntax-stringify):
6693 New functions.
6694
6695 2012-09-24 Chong Yidong <cyd@gnu.org>
6696
6697 * mail/supercite.el (sc-version): Remove obsolete function.
6698 (sc-describe): Don't mark as obsolete, since it is bound.
6699 (sc-submit-bug-report): Remove.
6700
6701 * vc/log-edit.el (cvs-changelog-full-paragraphs)
6702 (cvs-commit-buffer-require-final-newline): Remove.
6703 (log-edit-require-final-newline)
6704 (log-edit-changelog-full-paragraphs): Default to t.
6705
6706 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
6707 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
6708 * vc/vc.el (vc-checkout-carefully): Likewise.
6709
6710 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
6711 (emerge-version): Remove.
6712
6713 * progmodes/compile.el (compile-internal): Remove.
6714 (compilation-parse-errors-function): Fix typo.
6715
6716 * international/mule.el (set-char-table-default): Remove.
6717 (set-coding-priority, make-coding-system, generic-char-p)
6718 (charset-list, charset-bytes, charset-id): Use declare to mark
6719 functions as obsolete.
6720
6721 * vc/pcvs-defs.el (cvs-buffer-name-alist)
6722 (cvs-invert-ignore-marks): Remove references to obsolete vars.
6723 * vc/vc-hooks.el (vc-default-registered): Don't use
6724 vc-master-templates.
6725
6726 * font-lock.el (font-lock-reference-face):
6727 Use define-obsolete-variable-alias.
6728
6729 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
6730 * calendar/calendar.el (calendar-font-lock-keywords):
6731 * calendar/diary-lib.el (diary-font-lock-keywords)
6732 (diary-fancy-font-lock-keywords):
6733 * textmodes/reftex-sel.el (reftex-insert-docstruct):
6734 * textmodes/reftex-index.el (reftex-insert-index):
6735 * textmodes/reftex-cite.el (reftex-format-bib-entry):
6736 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6737 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
6738 * progmodes/prolog.el (prolog-font-lock-keywords):
6739 * progmodes/idlwave.el (idlwave-idl-keywords):
6740 * progmodes/ada-mode.el (ada-font-lock-keywords):
6741 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
6742
6743 2012-09-24 Glenn Morris <rgm@gnu.org>
6744
6745 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
6746
6747 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
6748
6749 * progmodes/python.el (python-indent-line): More consistent cursor
6750 movement behavior.
6751
6752 2012-09-23 Stefan Merten <smerten@oekonux.de>
6753
6754 * textmodes/rst.el: Fix compiler warning.
6755
6756 2012-09-23 Roland Winkler <winkler@gnu.org>
6757
6758 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
6759 Transcribe also LaTeX hyphenation.
6760 (bibtex-reformat): Bug fix. Do not quote twice the elements of
6761 bibtex-reformat-previous-options.
6762
6763 2012-09-23 Roland Winkler <winkler@gnu.org>
6764
6765 * proced.el (proced-renice-command): New variable.
6766 (proced-marked-processes): New function.
6767 (proced-with-processes-buffer): New macro.
6768 (proced-send-signal): Use them.
6769 (proced-renice): New command bound to r.
6770
6771 2012-09-23 Roland Winkler <winkler@gnu.org>
6772
6773 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
6774 ibuffer-saved-filter-groups has one element, shortcut the call of
6775 completing-read. (Bug#12331)
6776
6777 2012-09-23 Chong Yidong <cyd@gnu.org>
6778
6779 * bindings.el (mode-line-toggle-read-only):
6780 * bs.el (bs-toggle-readonly):
6781 * buff-menu.el (Buffer-menu-toggle-read-only):
6782 * dired.el (dired-toggle-read-only):
6783 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
6784
6785 2012-09-23 Chong Yidong <cyd@gnu.org>
6786
6787 * image.el (image-type-available-p): Adapt to init-image-library
6788 argument changes.
6789
6790 2012-09-22 Juri Linkov <juri@jurta.org>
6791
6792 * dired.el (dired-mode-map): Add [remap read-only-mode] for
6793 `dired-toggle-read-only'. (Bug#12462)
6794
6795 2012-09-22 Martin Rudalics <rudalics@gmx.at>
6796
6797 * subr.el (temp-output-buffer-show): New function.
6798 (with-output-to-temp-buffer): Call temp-output-buffer-show
6799 instead of internal-temp-output-buffer-show.
6800
6801 2012-09-22 Chong Yidong <cyd@gnu.org>
6802
6803 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
6804 (Bug#12462).
6805
6806 * repeat.el (repeat): Doc fix (Bug#12348).
6807
6808 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
6809 (Bug#10909).
6810
6811 * simple.el (shell-command-on-region): Doc fix.
6812 (read-only-mode): Doc fix.
6813
6814 2012-09-22 Eli Zaretskii <eliz@gnu.org>
6815
6816 * emacs-lisp/timer.el (run-with-idle-timer)
6817 (timer-activate-when-idle): Warn against reinvoking an idle timer
6818 from within its own timer action. (Bug#12447)
6819
6820 2012-09-22 Martin Rudalics <rudalics@gmx.at>
6821
6822 * cus-start.el (window-combination-limit): Add new optional
6823 values.
6824 * window.el (temp-buffer-window-show)
6825 (window--try-to-split-window): Handle new values of
6826 window-combination-limit (Bug#1806).
6827 (split-window): Test window-combination-limit for t instead of
6828 non-nil.
6829 (display-buffer-at-bottom): New buffer display action function.
6830 * help.el (temp-buffer-resize-regexps): New option.
6831 (temp-buffer-resize-mode): Rewrite doc-string.
6832 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
6833 Don't resize reused window. Suggested by Glenn Morris.
6834
6835 2012-09-22 Stefan Merten <smerten@oekonux.de>
6836
6837 * textmodes/rst.el: Revamp section title faces.
6838 (rst-official-version)
6839 (rst-package-emacs-version-alist): Sync with official version
6840 V1.4.0.
6841 (rst-faces-defaults, rst-set-level-default)
6842 (rst-level-face-max, rst-level-face-base-color)
6843 (rst-level-face-base-light, rst-level-face-format-light)
6844 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
6845 (rst-adornment-faces-alist): Match new setup.
6846 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
6847 (rst-level-5, rst-level-6): New faces.
6848
6849 2012-09-22 Chong Yidong <cyd@gnu.org>
6850
6851 * simple.el (undo): Handle indirect buffers (Bug#8207).
6852
6853 2012-09-21 Leo Liu <sdl.web@gmail.com>
6854
6855 IDO: Disable match re-ordering for buffer switching.
6856 * ido.el (ido-buffer-disable-smart-matches): New variable.
6857 (ido-set-matches-1): Use it. (Bug#2042)
6858
6859 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
6860
6861 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
6862 Fix 2011-05-17 change. (Bug#12418)
6863
6864 2012-09-21 Leo Liu <sdl.web@gmail.com>
6865
6866 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
6867
6868 2012-09-21 Glenn Morris <rgm@gnu.org>
6869
6870 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
6871 Be more robust about locating simple.el.
6872
6873 2012-09-21 Glenn Morris <rgm@gnu.org>
6874
6875 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
6876
6877 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
6878
6879 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
6880
6881 2012-09-20 Juri Linkov <juri@jurta.org>
6882
6883 * replace.el (query-replace-read-from): Use `read-regexp' instead
6884 of `read-from-minibuffer' when `regexp-flag' is non-nil.
6885 (occur-read-primary-args): Use `read-regexp' instead of
6886 `read-string'.
6887 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
6888 `read-from-minibuffer'.
6889 * isearch.el (isearch-occur): Use `read-regexp' instead of
6890 `read-string'.
6891 * dired.el (dired-read-regexp): Use `read-regexp' instead of
6892 `read-from-minibuffer'.
6893 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
6894 of `read-string'. (Bug#7567)
6895
6896 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
6897 and allow accepting a list of strings prepended to a list of
6898 standard default values. Doc fix. (Bug#12321)
6899
6900 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
6901
6902 * replace.el (read-regexp): Don't add ": " when PROMPT already
6903 ends with a colon and space. (Bug#12321)
6904
6905 2012-09-20 Tassilo Horn <tsdh@gnu.org>
6906
6907 * doc-view.el (doc-view-display): Better fix for the cl-assertion
6908 error.
6909
6910 2012-09-20 Stefan Merten <smerten@oekonux.de>
6911
6912 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
6913 Fixes feature request bug#11711.
6914 (rst-mode): Create `imenu-create-index-function'.
6915 (rst-get-stripped-line): Delete after refactoring.
6916 (rst-section-tree, rst-section-tree-rec)
6917 (rst-section-tree-point): Refactor and document properly.
6918 (rst-imenu-find-adornments-for-position)
6919 (rst-imenu-convert-cell, rst-imenu-create-index):
6920 New function.
6921
6922 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6923
6924 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
6925 (macroexp--expand-all): Use it.
6926 (macroexp--funcall-and-return): Remove by folding it into its sole
6927 caller (macroexp--warn-and-return).
6928 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
6929 Use macroexp--obsolete-warning.
6930
6931 * calc/calc.el: Fix last change by removing the whole chunk, since it
6932 was only needed back when Calc was not bundled.
6933
6934 2012-09-20 Martin Rudalics <rudalics@gmx.at>
6935
6936 * emacs-lisp/debug.el (debug): Restore assignment to
6937 debugger-old-buffer removed on 2012-09-08.
6938
6939 2012-09-20 Juri Linkov <juri@jurta.org>
6940
6941 * dired-aux.el (dired-diff): Remove (require 'diff) since
6942 `diff-latest-backup-file' is now autoloaded.
6943
6944 2012-09-20 Chong Yidong <cyd@gnu.org>
6945
6946 * vc/diff.el (diff-latest-backup-file): Autoload.
6947
6948 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6949
6950 * calc/calc.el: Remove redundant autoload shape check.
6951 (sel-mode): Don't defvar.
6952 (calc-get-stack-element): Add `sel-mode' arg instead.
6953 (calc-top, calc-top-list): Pass it this additional argument.
6954 * calc/calc-store.el (calc-store-map):
6955 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
6956 (calc-map-equation, calc-outer-product, calc-inner-product):
6957 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
6958
6959 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
6960
6961 2012-09-19 Juri Linkov <juri@jurta.org>
6962
6963 * dired-aux.el (dired-diff): Add (require 'diff) because
6964 `diff-latest-backup-file' is not autoloaded.
6965 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
6966 of `dired-get-filename' to t to not report error when there is
6967 no default file on the current line.
6968
6969 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6970
6971 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
6972 macroexp--eval-if-compile.
6973 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
6974 (macroexp--expand-all): Use them (bug#12371).
6975
6976 * doc-view.el (doc-view-guess-paper-size)
6977 (doc-view-scale-bounding-box): Fix unbound `caddr'.
6978
6979 2012-09-19 Tassilo Horn <tsdh@gnu.org>
6980
6981 New feature: set optimal slice from BoundingBox information.
6982 * doc-view.el (doc-view-mode-map): Add keybinding.
6983 (doc-view-menu): Add menu entry.
6984 (doc-view-set-slice): Adapt docstring.
6985 (doc-view-get-bounding-box, doc-view-guess-paper-size)
6986 (doc-view-scale-bounding-box)
6987 (doc-view-set-slice-from-bounding-box): New functions.
6988 (doc-view-paper-sizes): New defvar.
6989
6990 2012-09-19 Glenn Morris <rgm@gnu.org>
6991
6992 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
6993 (byte-compile-log-warning): Autoload. (Bug#12371)
6994
6995 * calendar/calendar.el (calendar-american-month-header)
6996 (calendar-european-month-header, calendar-iso-month-header)
6997 (calendar-month-header): New options.
6998 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
6999 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
7000
7001 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
7002
7003 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
7004
7005 2012-09-18 Juri Linkov <juri@jurta.org>
7006
7007 * dired-aux.el (dired-diff): Restore original functionality of
7008 getting the default value, but keep new feature of using the
7009 latest existing backup file (`diff-latest-backup-file').
7010
7011 2012-09-18 Juri Linkov <juri@jurta.org>
7012
7013 * dired.el (dired-mark): If the region is active in Transient Mark
7014 mode, mark all files in the active region. Doc fix.
7015 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
7016 Doc fix. (Bug#10624)
7017
7018 2012-09-18 Juri Linkov <juri@jurta.org>
7019
7020 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
7021 attributes for M-n are pulled from the file at point.
7022 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
7023 Suggested by Drew Adams. (Bug#10624)
7024
7025 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
7026
7027 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
7028 whitespace after "end".
7029 (ruby-do-end-to-brace): Collapse block to one line if it fits
7030 within fill-column.
7031
7032 2012-09-18 Martin Rudalics <rudalics@gmx.at>
7033
7034 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
7035 value.
7036 (debug): Don't remove debugger window when debugger is expected
7037 to be back.
7038
7039 2012-09-18 Chong Yidong <cyd@gnu.org>
7040
7041 * custom.el (defface): Doc fix.
7042
7043 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
7044
7045 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
7046
7047 * progmodes/compile.el (compilation-start): Use compilation-always-kill
7048 to initialize query-on-exit; then test that instead (bug#12288).
7049
7050 2012-09-17 Stefan Merten <smerten@oekonux.de>
7051
7052 * textmodes/rst.el: Add support for `testcover'.
7053 (rst-defcustom-testcover, rst-testcover-add-compose)
7054 (rst-testcover-add-1value): New functions.
7055 (rst-portable-mark-active-p): Replace by `use-region-p'.
7056 (rst-update-section, rst-classify-adornment)
7057 (rst-find-title-line): Mark `1value' forms.
7058 (rst-classify-adornment): Remove superfluous form.
7059 (rst-update-section, rst-get-adornments-around)
7060 (rst-adornment-complete-p, rst-get-next-adornment)
7061 (rst-adjust, rst-promote-region)
7062 (rst-display-adornments-hierarchy, rst-straighten-adornments)
7063 (rst-find-pfx-in-region, rst-section-tree-rec)
7064 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
7065 (rst-toc-node, rst-toc, rst-forward-section)
7066 (rst-iterate-leftmost-paragraphs)
7067 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
7068 (rst-bullet-list-region)
7069 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
7070 (rst-compile-find-conf, rst-compile)
7071 (rst-repeat-last-character): Fix style.
7072
7073 2012-09-17 Chong Yidong <cyd@gnu.org>
7074
7075 * comint.el (comint--complete-file-name-data): Don't add a space
7076 if the status is `sole'; that adds a gratuitous space in the
7077 completion-cycling case (Bug#12092).
7078
7079 * pcomplete.el (pcomplete-completions-at-point): Likewise.
7080
7081 2012-09-17 Richard Stallman <rms@gnu.org>
7082
7083 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
7084 only in the mime-shown mode, not in raw mode.
7085 (rmail-mime): Toggle off mime by displaying the message without
7086 mime processing. (Bug#12305)
7087
7088 * mail/rmail.el (rmail-retry-failure):
7089 Turn off mime processing first. (Bug#12037)
7090
7091 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
7092
7093 2012-09-17 Chong Yidong <cyd@gnu.org>
7094
7095 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
7096 (shell-dynamic-complete-functions): Convert to defcustom.
7097 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
7098
7099 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
7100 * comint.el (comint-prompt-read-only):
7101 * custom.el (defcustom):
7102 * hi-lock.el (hi-lock-mode):
7103 * ibuffer.el (ibuffer-formats):
7104 * ielm.el (ielm-prompt-read-only):
7105 * novice.el (disable-command):
7106 * saveplace.el (toggle-save-place):
7107 * speedbar.el (speedbar-supported-extension-expressions):
7108 * startup.el (auto-save-list-file-prefix, init-file-user)
7109 (after-init-hook, inhibit-startup-echo-area-message):
7110 * strokes.el (strokes-help):
7111 * time-stamp.el (time-stamp):
7112 * calendar/calendar.el (calendar, diary-file):
7113 * calendar/diary-lib.el (diary-mail-entries, diary)
7114 (diary-list-entries-hook):
7115 * calendar/holidays.el (holidays, calendar-holidays):
7116 * calendar/lunar.el (lunar-phases):
7117 * calendar/solar.el (sunrise-sunset):
7118 * emulation/edt.el (edt-load-keys):
7119 * emulation/viper.el (viper-mode):
7120 * eshell/em-alias.el (eshell-command-aliases-list):
7121 * eshell/esh-util.el (eshell-convert-numeric-arguments):
7122 * international/ogonek.el (ogonek-information):
7123 * net/tramp-cmds.el (tramp-bug):
7124 * net/quickurl.el (quickurl-reread-hook-postfix):
7125 * play/decipher.el (decipher-font-lock-keywords):
7126 * progmodes/cc-styles.el (c-set-style):
7127 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
7128 * progmodes/inf-lisp.el (inferior-lisp-prompt):
7129 * progmodes/octave-mod.el (octave-mode):
7130 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
7131 * progmodes/verilog-mode.el (verilog-read-defines):
7132 * textmodes/two-column.el (2C-mode): Likewise.
7133
7134 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
7135
7136 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
7137 that holds many addresses.
7138
7139 2012-09-16 Chong Yidong <cyd@gnu.org>
7140
7141 * align.el (align-areas): Call the indication function with
7142 positions instead of markers for arguments (Bug#12343).
7143
7144 * files.el (parse-colon-path): Use split-string (Bug#12351).
7145
7146 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
7147 (display-buffer-function): Mark as obsolete.
7148
7149 * progmodes/compile.el (compilation-parse-errors): Accept list
7150 values similar to font-lock-keywords (Bug#12136).
7151 Suggested by Oleksandr Manzyuk.
7152 (compilation-error-regexp-alist): Doc fix.
7153
7154 2012-09-15 Glenn Morris <rgm@gnu.org>
7155
7156 * version.el (emacs-bzr-version-bzr): New function.
7157 (emacs-bzr-get-version): Add optional EXTERNAL argument.
7158
7159 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
7160 checkouts, check the parent dirstate matches the branch.
7161 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
7162 empty string.
7163
7164 * version.el (emacs-bzr-version): Doc fix.
7165 (emacs-bzr-version-dirstate): New function.
7166 (emacs-bzr-get-version): For lightweight checkouts, if the parent
7167 is local try and check that it matches the branch. If not, just
7168 use dirstate information. (Bug#12441)
7169
7170 2012-09-14 Juri Linkov <juri@jurta.org>
7171
7172 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
7173 (Bug#12399)
7174
7175 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7176
7177 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
7178
7179 * emacs-lisp/edebug.el: Miscellaneous cleanup.
7180 Remove obsolete byte-compiler hack that tried to silence some warnings.
7181 (edebug-submit-bug-report): Remove.
7182 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
7183 Remove aliases, use the un-prefixed name instead.
7184 (edebug-pop-to-buffer): Consider other frames.
7185 (edebug-original-read):: Make it more obvious that it's always defined.
7186 (edebug--make-form-data-entry, edebug--form-data-name)
7187 (edebug--form-data-begin, edebug--form-data-end): Rename from the
7188 single-dashed name, and implement with cl-defstruct.
7189 (edebug-set-form-data-entry): Use the standard accessors.
7190 (edebug-make-top-form-data-entry): Use push.
7191 (edebug-no-match): Drop useless `funcall'.
7192 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
7193 to functions.
7194 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
7195 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
7196 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
7197 (easy-menu-define, with-custom-print): Remove redundant specs.
7198 (edebug-outside-overriding-local-map)
7199 (edebug-outside-overriding-terminal-local-map): Remove, unused.
7200 (edebug--display): Bind unread-command-events directly to nil rather
7201 than binding it to unread-command-events and later setting it to nil.
7202 (edebug--display): Kill edebug-eval-buffer here...
7203 (edebug--recursive-edit): ...rather than here.
7204 Bind standard-output and standard-input.
7205 (edebug-eval): Check cl-macroexpand-all is fboundp.
7206 (edebug-temp-display-freq-count): Fix last change.
7207
7208 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
7209 * subr.el (noreturn, 1value): Add `debug' spec.
7210 * emacs-lisp/advice.el: Require cl-lib.
7211 (ad-copy-tree): Remove, use copy-tree instead.
7212 (ad-dolist): Remove use dolist or cl-dolist instead.
7213 (ad-do-return): Remove, use cl-return instead.
7214 (defadvice): Add `debug' spec.
7215
7216 2012-09-13 Juri Linkov <juri@jurta.org>
7217
7218 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
7219 (Bug#12399)
7220
7221 2012-09-13 Glenn Morris <rgm@gnu.org>
7222
7223 * calc/calc.el (math-compose-expr):
7224 * calc/calc-ext.el (math-compose-expr):
7225 * progmodes/cc-defs.el (cl-macroexpand-all):
7226 * progmodes/cc-langs.el (delete-duplicates, mapcan)
7227 (cl-macroexpand-all): Update declarations.
7228
7229 * vc/vc.el: No need to require ediff.
7230 (ediff-load-version-control): Declare.
7231 (ediff-vc-internal): Fix declaration.
7232 (vc-version-ediff): Require ediff.
7233
7234 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
7235
7236 Use a more backwards-compatible timer format (Bug#12430).
7237 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
7238 being right after USECS, as that better supports old code that
7239 inadvisedly looked directly at the timer vector.
7240
7241 2012-09-13 Kenichi Handa <handa@gnu.org>
7242
7243 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
7244 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
7245 `coding-priority' property of these language environment.
7246
7247 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
7248
7249 Fix glitches caused by addition of psec to timers (Bug#12430).
7250 * image.el (image-animate-timer):
7251 * time.el (display-time-world-timer):
7252 Use timer--function and timer--args rather than raw access to
7253 timer vector.
7254
7255 2012-09-13 Glenn Morris <rgm@gnu.org>
7256
7257 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
7258 If not compiling a file, try using load-file-name.
7259
7260 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
7261
7262 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
7263 Fix last change.
7264 (edebug-update-eval-list): Use `push'.
7265
7266 * emacs-lisp/edebug.el: Use lexical-binding.
7267 Remove the "edebug-" prefix from non-dynamically-scoped variables.
7268 Mark unused args with underscore.
7269 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
7270 (edebug-form-data): Use defvar-local.
7271 (edebug-make-before-and-after-form, edebug-make-after-form):
7272 Use backquote.
7273 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
7274 Not dynamically scoped any more.
7275 (edebug--enter-trace): Add arguments `function' and `args'.
7276 Rename from edebug-enter-trace.
7277 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
7278 (edebug--update-coverage): Add `after-index' and `value' args.
7279 Rename from edebug-update-coverage.
7280 (edebug-slow-after): Call it accordingly.
7281 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
7282 edebug-recursive-edit.
7283 (edebug--display): Call it accordingly. Add args `value',
7284 `offset-index', and `arg-mode'. Rename from edebug-display.
7285 (edebug-debugger, edebug): Call it accordingly.
7286 (edebug-eval-display-list): Use dolist.
7287
7288 2012-09-12 Juri Linkov <juri@jurta.org>
7289
7290 * info.el (Info-search): Don't check for isearch-mode and
7291 isearch-regexp before let-binding search-spaces-regexp to
7292 Info-search-whitespace-regexp.
7293 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
7294 search-whitespace-regexp if isearch-lax-whitespace or
7295 isearch-regexp-lax-whitespace is non-nil.
7296 (Info-mode): Don't set local variable search-whitespace-regexp.
7297 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
7298
7299 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7300
7301 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
7302 (debugger-env-macro): Remove support for unread-command-char.
7303
7304 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
7305 the temporary map re-appearing on emulation-mode-map-alists.
7306
7307 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
7308 since 22.1.
7309
7310 * ehelp.el (with-electric-help): Accept functions in
7311 electric-help-form-to-execute.
7312 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
7313 And replace unread-command-char -> unread-command-events.
7314
7315 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
7316
7317 Sync with Tramp 2.2.6.
7318
7319 * net/tramp.el (tramp-accept-process-output): Don't use
7320 JUST-THIS-ONE in the XEmacs case.
7321
7322 * net/trampver.el: Update release number.
7323
7324 2012-09-12 Martin Rudalics <rudalics@gmx.at>
7325
7326 * emacs-lisp/debug.el (debugger-previous-window-height):
7327 New variable.
7328 (debug): When debugger-jumping-flag is non-nil try to restore
7329 height of debugger window. (Bug#8789)
7330
7331 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7332
7333 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
7334 overriding-local-map and pre/post-command-hook here.
7335 (edebug-recursive-edit): Do it here instead (bug#12345).
7336 (edebug-outside-unread-command-char): Remove all uses of
7337 unread-command-char.
7338
7339 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
7340 inhibit-debugger is bound instead.
7341
7342 2012-09-11 Bastien Guerry <bzg@gnu.org>
7343
7344 * subr.el (set-temporary-overlay-map): Add a docstring.
7345 (Bug#12346)
7346
7347 2012-09-11 Bastien Guerry <bzg@gnu.org>
7348
7349 * minibuffer.el (completion-table-subvert): Fix docstring.
7350 (Bug#12347)
7351
7352 2012-09-11 Bastien Guerry <bzg@gnu.org>
7353
7354 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
7355
7356 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
7357
7358 * progmodes/sql.el: Version 3.1
7359 (sql-db2-escape-newlines): New variable.
7360 (sql-escape-newlines-filter): Use it.
7361
7362 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
7363
7364 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
7365
7366 2012-09-10 Dan Nicolaescu <dann@gnu.org>
7367
7368 * vc/diff-mode.el (diff-mode-menu):
7369 Bind diff-remove-trailing-whitespace.
7370
7371 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7372
7373 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
7374 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
7375 (emacs-lisp-byte-code-mode): New functions.
7376 (eval-sexp-add-defvars): Don't skip defvars in column >0.
7377 (eval-defun-2): Remove bogus interactive spec.
7378 (lisp-indent-line): Remove redundant whole-exp code, now done in
7379 indent-according-to-mode.
7380 (save-match-data): Remove redundant indent data.
7381
7382 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
7383 Use `declare'.
7384
7385 2012-09-09 Juri Linkov <juri@jurta.org>
7386
7387 * replace.el (replace-regexp-lax-whitespace): New defcustom.
7388 (replace-lax-whitespace, query-replace-regexp)
7389 (query-replace-regexp-eval, replace-regexp): Doc fix.
7390 (perform-replace, replace-highlight): Let-bind
7391 isearch-lax-whitespace to replace-lax-whitespace and
7392 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
7393
7394 * isearch.el (isearch-query-replace): Let-bind
7395 replace-lax-whitespace to isearch-lax-whitespace and
7396 replace-regexp-lax-whitespace to
7397 isearch-regexp-lax-whitespace. (Bug#10885)
7398
7399 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
7400
7401 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
7402
7403 2012-09-09 Alan Mackenzie <acm@muc.de>
7404
7405 * progmodes/cc-engine.el (c-state-cache-init):
7406 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
7407 (c-record-parse-state-state):
7408 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
7409
7410 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
7411
7412 * register.el (register-separator): Rename from
7413 separator-register. All uses changed. Doc fix.
7414 (register): Fix version.
7415
7416 2012-09-09 Chong Yidong <cyd@gnu.org>
7417
7418 * replace.el (query-replace-map): Bind four new symbols for
7419 requesting window scrolling.
7420
7421 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
7422 query-replace-map (Bug#8948).
7423
7424 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
7425
7426 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
7427 since they are now in query-replace-map.
7428
7429 * window.el (scroll-other-window-down): Make the arg optional.
7430
7431 2012-09-09 Chong Yidong <cyd@gnu.org>
7432
7433 * files.el (hack-local-variables-confirm): Use quit-window to kill
7434 the *Local Variables* buffer.
7435
7436 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
7437
7438 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
7439 not just expect to be at its beginning. Adjust callees.
7440 Succeed when do-end block has no space before the pipe character.
7441 (ruby-brace-to-do-end): When the original block is one-liner,
7442 convert to multiline. Reindent the result.
7443
7444 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
7445
7446 * register.el (register): New group.
7447 (separator-register): New user option.
7448 (increment-register): Route it to `append-to-register', if
7449 register contains text. Implication is that `C-x r +' can now be
7450 used for appending to a text register (bug#12217).
7451 (append-to-register, prepend-to-register): Add separator based on
7452 `separator-register'.
7453
7454 2012-09-08 Alan Mackenzie <acm@muc.de>
7455
7456 AWK Mode: make auto-newline work when there's "==" in the pattern.
7457 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
7458 correctly.
7459 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
7460 Test more rigorously for "=" token.
7461
7462 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
7463
7464 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
7465 Only fail when reached LIMIT.
7466
7467 2012-09-08 Chong Yidong <cyd@gnu.org>
7468
7469 * dired.el (dired-mode-map): Don't bind M-=.
7470
7471 * dired-aux.el (dired-diff): Use backup file as default.
7472
7473 2012-09-08 Drew Adams <drew.adams@oracle.com>
7474
7475 * subr.el (add-to-history): Fix delete usage (Bug#12314).
7476
7477 2012-09-08 Chong Yidong <cyd@gnu.org>
7478
7479 * subr.el (syntax-after, syntax-class): Doc fix.
7480
7481 2012-09-08 Martin Rudalics <rudalics@gmx.at>
7482
7483 * window.el (display-buffer-in-previous-window): New buffer
7484 display action function.
7485
7486 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
7487 (debugger-previous-window): New variable.
7488 (debug): Rewrite using display-buffer-in-previous-window,
7489 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
7490
7491 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
7492
7493 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
7494
7495 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
7496
7497 * progmodes/python.el (python-shell-send-string):
7498 When default-directory is remote, create temp file on remote
7499 filesystem.
7500 (python-shell-send-file): When file is remote, pass local view of
7501 file paths to remote Python interpreter. (Bug#12340)
7502
7503 2012-09-07 Chong Yidong <cyd@gnu.org>
7504
7505 * window.el (switch-to-buffer): Doc fix (Bug#12181).
7506
7507 * files.el (after-find-file): Don't fail on a read-only buffer if
7508 require-final-newline is `visit' or `visit-save' (Bug#11156).
7509
7510 * subr.el (read-char-choice): Allow quitting via ESC ESC.
7511
7512 * userlock.el (ask-user-about-supersession-threat):
7513 Use read-char-choice (Bug#12093).
7514
7515 2012-09-07 Chong Yidong <cyd@gnu.org>
7516
7517 * subr.el (buffer-narrowed-p): New function.
7518
7519 * ses.el (ses-widen):
7520 * simple.el (count-words--buffer-message):
7521 * net/browse-url.el (browse-url-of-buffer): Use it.
7522
7523 * simple.el (count-words-region): Don't signal an error if there
7524 is a non-nil prefix arg and the mark is not set.
7525
7526 * help.el (describe-key-briefly): Allow the message to be seen
7527 when invoked from the minibuffer (Bug#7014).
7528
7529 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
7530
7531 * progmodes/ruby-mode.el (ruby-end-of-defun)
7532 (ruby-beginning-of-defun): Simplify, allow indentation before
7533 block beginning and end keywords.
7534 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
7535 (ruby-end-of-defun): Expect that the point is at the beginning of
7536 the defun.
7537
7538 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7539
7540 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
7541 (bug#12367).
7542 (cl--make-usage-args): Strip _ from argument names.
7543
7544 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7545
7546 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
7547 obsolete alias speedbar-key-map.
7548 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
7549 (vhdl-index-menu-init): Don't use obsolete variable
7550 font-lock-maximum-size.
7551
7552 2012-09-06 Chong Yidong <cyd@gnu.org>
7553
7554 * frame.el (window-system-version): Mark as obsolete.
7555
7556 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
7557 of obsolete variable speedbar-key-map.
7558
7559 2012-09-06 Juri Linkov <juri@jurta.org>
7560
7561 * replace.el (replace-lax-whitespace): New defcustom.
7562 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7563 (replace-string, replace-regexp): Mention it in docstrings.
7564 (perform-replace, replace-highlight): Let-bind
7565 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
7566 to the values of replace-lax-whitespace and regexp-flag.
7567 Don't let-bind search-whitespace-regexp. (Bug#10885)
7568
7569 * isearch.el (isearch-query-replace): Let-bind
7570 replace-lax-whitespace instead of let-binding
7571 replace-search-function and replace-re-search-function.
7572 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
7573 and isearch-regexp-lax-whitespace to lazy-highlight variables.
7574 (isearch-toggle-symbol): Set isearch-regexp to nil
7575 in isearch-word mode (like in isearch-toggle-word).
7576
7577 2012-09-06 Juri Linkov <juri@jurta.org>
7578
7579 * replace.el (replace-search-function)
7580 (replace-re-search-function): Set default values to nil.
7581 (perform-replace): Let-bind isearch-related variables based on
7582 replace-related values, call `isearch-search-fun' and let-bind
7583 the result to `search-function'. Remove code that sets
7584 `search-function' and `search-string' separately for
7585 `delimited-flag'.
7586 (replace-highlight): Add new argument `delimited-flag' and
7587 rename other arguments to the names used in `perform-replace'.
7588 Let-bind `isearch-word' to the argument `delimited-flag'.
7589 (Bug#10885, bug#10887)
7590
7591 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
7592
7593 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
7594 ruby-beginning-of-indent, simplify, allow all keywords to have
7595 indentation before them.
7596 (ruby-beginning-of-indent): Adjust for above. Search until the
7597 found point is not inside a string or comment.
7598 (ruby-font-lock-keywords): Allow symbols to start with "@"
7599 character, give them higher priority than variables.
7600 (ruby-syntax-propertize-function)
7601 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
7602 matchers. Expression expansions are not comments when inside a
7603 string, and there comment syntax status is irrelevant.
7604 (ruby-match-expression-expansion): New function. Check that
7605 expression expansion is inside a string, and it's not escaped.
7606 (ruby-font-lock-keywords): Use it.
7607
7608 2012-09-05 Martin Rudalics <rudalics@gmx.at>
7609
7610 * help.el (temp-buffer-max-height): New default value.
7611 (temp-buffer-resize-frames): New option.
7612 (resize-temp-buffer-window): Optionally resize frame.
7613
7614 * window.el (fit-frame-to-buffer-bottom-margin): New option.
7615 (fit-frame-to-buffer): New function.
7616
7617 2012-09-05 Glenn Morris <rgm@gnu.org>
7618
7619 * emulation/cua-rect.el (cua--init-rectangles):
7620 * textmodes/picture.el (picture-mode-map):
7621 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
7622 like forward-char and backward-char. (Bug#12317)
7623
7624 2012-09-05 Leo Liu <sdl.web@gmail.com>
7625
7626 * progmodes/flymake.el (flymake-warning-re): New variable.
7627 (flymake-parse-line): Use it.
7628
7629 2012-09-05 Glenn Morris <rgm@gnu.org>
7630
7631 * calendar/holidays.el (holiday-christian-holidays):
7632 Rename an entry. (Bug#12289)
7633
7634 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7635
7636 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
7637 (bug#12222).
7638
7639 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7640
7641 * loadup.el: Load macroexp. Remove hack.
7642 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
7643 (macroexp--expand-all): Use it to get better warnings.
7644 (macroexp--backtrace, macroexp--trim-backtrace-frame)
7645 (internal-macroexpand-for-load): New functions.
7646 (macroexp--pending-eager-loads): New var.
7647 (emacs-startup-hook): New hack to replace one in loadup.el.
7648 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
7649 (cl--compiler-macro-cXXr): Move to top, before they can be used.
7650 (cl-psetf): Simplify.
7651 (cl-defstruct): Add indent rule.
7652
7653 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
7654
7655 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
7656 over `user-mail-address' for the SMTP MAIL FROM envelope.
7657 (smtpmail-via-smtp): Ditto.
7658
7659 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
7660
7661 * progmodes/ruby-mode.el: Clean up keybindings.
7662 (ruby-mode-map): Don't bind ruby-electric-brace,
7663 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
7664 backward-kill-word, reindent-then-newline-and-indent.
7665 (ruby-mark-defun): Remove.
7666 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
7667 (ruby-mode): Set local beginning-of-defun-function and
7668 end-of-defun-function values.
7669
7670 2012-09-03 Martin Rudalics <rudalics@gmx.at>
7671
7672 * window.el (temp-buffer-window-setup-hook)
7673 (temp-buffer-window-show-hook): New hooks.
7674 (temp-buffer-window-setup, temp-buffer-window-show)
7675 (with-temp-buffer-window): New functions.
7676 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
7677 (special-display-popup-frame): Make sure the window used shows BUFFER.
7678
7679 * help.el (temp-buffer-resize-mode): Fix doc-string.
7680 (resize-temp-buffer-window): New optional argument WINDOW.
7681
7682 * files.el (recover-file, save-buffers-kill-emacs):
7683 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
7684
7685 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
7686
7687 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
7688 remote definition of `default-directory', ensure we can connect.
7689
7690 2012-09-02 Juri Linkov <juri@jurta.org>
7691
7692 Toggle whitespace matching mode with M-s SPC.
7693 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
7694
7695 * isearch.el (search-whitespace-regexp): Doc fix.
7696 Remove cons cell customization.
7697 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
7698 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
7699 New variables.
7700 (isearch-forward, isearch-forward-regexp): Doc fix.
7701 (isearch-toggle-lax-whitespace): New command.
7702 (search-forward-lax-whitespace, search-backward-lax-whitespace)
7703 (re-search-forward-lax-whitespace)
7704 (re-search-backward-lax-whitespace): New functions.
7705 (isearch-whitespace-regexp): Remove function.
7706 (isearch-query-replace): Let-bind replace-search-function and
7707 replace-re-search-function.
7708 (isearch-occur): Let-bind search-spaces-regexp according to the
7709 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
7710 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
7711 condition for C-q SPC.
7712 (isearch-search-fun-default): Use new functions mentioned above.
7713 (isearch-search-forward, isearch-search-backward): Remove functions.
7714 (isearch-search): Don't let-bind search-spaces-regexp.
7715 (isearch-lazy-highlight-space-regexp): Remove variable.
7716 (isearch-lazy-highlight-lax-whitespace)
7717 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
7718 (isearch-lazy-highlight-new-loop): Use them.
7719 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
7720
7721 2012-09-02 Chong Yidong <cyd@gnu.org>
7722
7723 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
7724
7725 2012-09-02 Glenn Morris <rgm@gnu.org>
7726
7727 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
7728
7729 2012-09-01 Glenn Morris <rgm@gnu.org>
7730
7731 * term.el: Tidy up menu definitions.
7732 (term-mode-map): Use easymenu for In/Out, Complete menus.
7733 (term-pager-break-map): Initialize in the defvar.
7734 (term-terminal-menu, term-signals-menu): Define with easymenu.
7735 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
7736 (term-pager-menu): New, extracted from term-process-pager.
7737 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
7738 (term-update-mode-line): Propertize line/char and page items.
7739 (term-process-pager): Move keymap initialization elsewhere.
7740
7741 2012-09-01 Martin Rudalics <rudalics@gmx.at>
7742
7743 * window.el (switch-to-prev-buffer): Handle additional values of
7744 BURY-OR-KILL argument. Don't switch in minibuffer window.
7745 (switch-to-next-buffer): Don't switch in minibuffer window.
7746 (quit-restore-window): New function based on quit-window.
7747 Handle additional values of former KILL argument.
7748 (quit-window): Call quit-restore-window with appropriate
7749 interpretation of KILL argument.
7750 (display-buffer-below-selected): New buffer display action
7751 function.
7752
7753 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
7754
7755 * minibuffer.el (completion-at-point-functions): Complete docstring
7756 (bug#12254).
7757
7758 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
7759
7760 Better seed support for (random).
7761 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
7762 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
7763 * play/mpuz.el, play/tetris.el, play/zone.el:
7764 * calc/calc-comb.el (math-init-random-base):
7765 * play/blackbox.el (bb-init-board):
7766 * play/life.el (life):
7767 * server.el (server-use-tcp):
7768 * type-break.el (type-break):
7769 Remove unnecessary call to (random t).
7770 * net/sasl.el (sasl-unique-id-function):
7771 Change (random t) to (random), now that the latter is more random.
7772 * play/life.el (life-initialized): Remove no-longer-needed var.
7773
7774 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
7775
7776 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
7777 Consider frame's buffer predicate when choosing the buffer.
7778 (Bug#12081)
7779
7780 2012-08-30 Richard Stallman <rms@gnu.org>
7781
7782 * simple.el (special-mode-map): Delete binding for `z'.
7783
7784 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
7785
7786 * progmodes/compile.el (compilation-always-kill): Doc fix.
7787
7788 2012-08-30 Chong Yidong <cyd@gnu.org>
7789
7790 * window.el (display-buffer-reuse-frames): Make the obsolescence
7791 message more informative.
7792
7793 2012-08-30 Glenn Morris <rgm@gnu.org>
7794
7795 * paren.el (show-paren-delay):
7796 Add a :set function. Doc fix. (Bug#12297)
7797
7798 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
7799
7800 * progmodes/compile.el (compilation-always-kill): New var.
7801 (compilation-start): Use it.
7802
7803 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7804
7805 * simple.el (read-only-mode): Move from files.el for bootstrapping.
7806 * files.el (read-only-mode): Move to simple.el.
7807
7808 * files.el (read-only-mode): New minor mode.
7809 (toggle-read-only): Use it and mark obsolete.
7810 (find-file--read-only):
7811 * vc/vc.el (vc-next-action, vc-checkout):
7812 * vc/vc-cvs.el (vc-cvs-checkout):
7813 * obsolete/vc-mcvs.el (vc-mcvs-update):
7814 * ffap.el (ffap--toggle-read-only): Update callers.
7815
7816 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
7817
7818 * eshell/esh-ext.el (eshell-external-command): Do not examine
7819 remote shell scripts.
7820 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
7821
7822 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
7823 "/usr/local/sbin".
7824
7825 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7826
7827 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
7828
7829 2012-08-28 Leo Liu <sdl.web@gmail.com>
7830
7831 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
7832 completion-at-point. (Bug#12220)
7833
7834 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
7835
7836 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
7837
7838 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7839
7840 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
7841 be buffer-local; add delete-trailing-whitespace (bug#12259).
7842
7843 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
7844
7845 * progmodes/hideif.el (hif-compress-define-list):
7846 Fix typo. (Bug#11951)
7847
7848 2012-08-28 Dan Nicolaescu <dann@gnu.org>
7849
7850 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
7851 buffer local setting.
7852
7853 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
7854 rcirc-encode-coding-system.
7855
7856 2012-08-28 Leo Liu <sdl.web@gmail.com>
7857
7858 * net/rcirc.el (rcirc-split-message): New function.
7859 (rcirc-send-message): Use it. (Bug#12051)
7860
7861 2012-08-28 Juri Linkov <juri@jurta.org>
7862
7863 * info.el (Info-fontify-node): Hide empty lines at the end of
7864 the node. (Bug#12272)
7865
7866 2012-08-27 Drew Adams <drew.adams@oracle.com>
7867
7868 * dired.el (dired-pop-to-buffer): Make window start at beginning
7869 of buffer (Bug#12281).
7870
7871 2012-08-26 Chong Yidong <cyd@gnu.org>
7872
7873 * window.el (special-display-regexps, special-display-frame-alist)
7874 (special-display-buffer-names, special-display-function)
7875 (display-buffer-reuse-frames): Mark as obsolete.
7876
7877 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
7878
7879 * help.el (help-print-return-message): Don't treat
7880 display-buffer-reuse-frames specially.
7881
7882 2012-08-26 Chong Yidong <cyd@gnu.org>
7883
7884 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
7885 New variable, replacing gdb-frame-parameters.
7886 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
7887 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
7888 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
7889 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
7890 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
7891 the functions directly with gdb-display-buffer-other-frame-action.
7892 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
7893 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
7894 (gdb-display-stack-buffer, gdb-display-locals-buffer)
7895 (gdb-display-registers-buffer): Define directly.
7896 (def-gdb-display-buffer): Macro deleted.
7897 (gdb-display-buffer): Remove second and third args, callers don't
7898 use them. Defer to the default display-buffer behavior, apart
7899 from making windows dedicated.
7900 (gdb-setup-windows): Don't call display-buffer unnecessarily.
7901
7902 * progmodes/gud.el (gud-display-line): Just use display-buffer.
7903
7904 * window.el (display-buffer-pop-up-frame): Handle a
7905 pop-up-frame-parameters alist entry.
7906 (display-buffer): Document it.
7907
7908 2012-08-26 Chong Yidong <cyd@gnu.org>
7909
7910 * isearch.el (search-whitespace-regexp): Make string and nil
7911 values apply to both ordinary and regexp search. Allow a cons
7912 cell value to distinguish between the two.
7913 (isearch-whitespace-regexp, isearch-search-forward)
7914 (isearch-search-backward): New functions.
7915 (isearch-occur, isearch-search-fun-default, isearch-search)
7916 (isearch-lazy-highlight-new-loop): Use them.
7917 (isearch-forward, isearch-forward-regexp): Doc fix.
7918
7919 2012-08-26 Chong Yidong <cyd@gnu.org>
7920
7921 * faces.el (help-argument-name): Always inherit from italic
7922 (Bug#12213).
7923
7924 2012-08-25 Martin Rudalics <rudalics@gmx.at>
7925
7926 * window.el (window--even-window-heights): Even heights when
7927 WINDOW and the selected window form a vertical combination.
7928 (display-buffer-use-some-window): Provide that window used gets
7929 sized back by quit-window. (Bug#11880) and (Bug#12091)
7930
7931 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
7932
7933 Fix file time stamp problem with bzr and CVS (Bug#12001).
7934 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
7935 in the file's time stamp, since the version control system loses
7936 that information.
7937
7938 2012-08-22 Juri Linkov <juri@jurta.org>
7939
7940 * info.el (Info-fontify-node): Hide the suffix of the
7941 Info file name in the header line. (Bug#12187)
7942
7943 2012-08-22 Glenn Morris <rgm@gnu.org>
7944
7945 * calendar/cal-tex.el (cal-tex-weekly-common):
7946 Restore leading blank page.
7947
7948 2012-08-22 Le Wang <l26wang@gmail.com>
7949
7950 * misc.el (forward-to-word, backward-to-word): Activate or extend
7951 the region under `shift-select-mode'. (Bug#12231)
7952
7953 2012-08-22 Bastien Guerry <bzg@gnu.org>
7954
7955 * progmodes/executable.el (executable-prefix): Set to "#!" instead
7956 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
7957 gives details on why the space is never needed.
7958
7959 2012-08-22 Martin Rudalics <rudalics@gmx.at>
7960
7961 * window.el (walk-window-tree, window-with-parameter):
7962 New optional argument MINIBUF to control whether these functions
7963 should run on the minibuffer window.
7964 (window-at-side-list): Don't operate on minibuffer window.
7965 (window-in-direction): Simplify and rewrite doc-string.
7966 (window--size-ignore): Rename to window--size-ignore-p.
7967 Update callers.
7968 (display-buffer-in-atom-window, window--major-non-side-window)
7969 (window--major-side-window, display-buffer-in-major-side-window)
7970 (delete-side-window, display-buffer-in-side-window):
7971 New functions.
7972 (window--side-check, window-deletable-p, delete-window)
7973 (delete-other-windows, split-window): Handle side windows and
7974 atomic windows appropriately.
7975 (window--display-buffer): Call display-buffer-record-window also
7976 when the window buffer did not change.
7977
7978 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
7979
7980 * help-fns.el (help-fns--key-bindings):
7981 Abbreviate non-symbol remap targets. (Bug#12174)
7982
7983 2012-08-22 Martin Rudalics <rudalics@gmx.at>
7984
7985 * dired.el (dired-mark-remembered): Don't clobber point.
7986 (Bug#11795)
7987
7988 2012-08-22 Glenn Morris <rgm@gnu.org>
7989
7990 * progmodes/bug-reference.el (bug-reference): New custom group.
7991 (bug-reference-bug-regexp): Make it a defcustom.
7992
7993 2012-08-22 Daiki Ueno <ueno@unixuser.org>
7994
7995 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
7996 (js-paren-indent-offset, js-square-indent-offset)
7997 (js-curly-indent-offset): Add :safe (Bug#12257).
7998
7999 2012-08-22 Edward O'Connor <hober0@gmail.com>
8000
8001 * json.el (json-key-format): Add error properties.
8002 (json-encode-key): New function.
8003 (json-encode-hash-table, json-encode-alist, json-encode-plist):
8004 Use json-encode-key.
8005
8006 2012-08-22 Glenn Morris <rgm@gnu.org>
8007
8008 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
8009 (cal-tex-leftday, cal-tex-rightday): Remove functions.
8010 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
8011 Update for above change.
8012
8013 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
8014
8015 * cus-face.el (custom-face-attributes): Fix customize type for the
8016 :underline attribute. (Bug#11805)
8017
8018 2012-08-21 Martin Rudalics <rudalics@gmx.at>
8019
8020 * window.el (window-point-1, set-window-point-1): Remove.
8021 (window-in-direction, record-window-buffer)
8022 (set-window-buffer-start-and-point, split-window-below)
8023 (window--state-get-1, display-buffer-record-window):
8024 Replace calls to window-point-1 and set-window-point-1 by calls to
8025 window-point and set-window-point respectively.
8026
8027 2012-08-21 Glenn Morris <rgm@gnu.org>
8028
8029 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
8030 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
8031 Use it.
8032
8033 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
8034 (cal-tex-shortday): New function.
8035 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
8036 (cal-tex-cursor-filofax-daily): Use the above.
8037
8038 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
8039 New functions.
8040 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
8041 (cal-tex-cursor-filofax-week): Use them.
8042
8043 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
8044 New constants.
8045 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
8046 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
8047
8048 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
8049 (cal-tex-end-document): Don't rely on buffer name.
8050
8051 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
8052 Use cal-tex-vspace.
8053 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
8054 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
8055 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
8056 Use cal-tex-arg.
8057
8058 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
8059 (cal-tex-cursor-week, cal-tex-cursor-week2)
8060 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
8061 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
8062 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
8063 (cal-tex-insert-preamble, cal-tex-b-document)
8064 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
8065 Improve cal-tex-cmd usage.
8066
8067 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
8068 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
8069 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
8070 (cal-tex-weekly-paper): New function.
8071 (cal-tex-cursor-week, cal-tex-cursor-week2)
8072 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
8073 (cal-tex-cursor-day): Use it.
8074
8075 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
8076 (cal-tex-cursor-filofax-week): Remove leading blank page.
8077
8078 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
8079 Add autoload cookie. For now at least, don't use color, since
8080 no other cal-tex function does.
8081
8082 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
8083 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
8084 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
8085
8086 2012-08-21 Juri Linkov <juri@jurta.org>
8087
8088 * info.el (Info-file-attributes): New variable.
8089 (info-insert-file-contents): Add file attributes to
8090 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
8091 `Info-toc-nodes' when previous modtime of the Info file is less
8092 than new modtime.
8093 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
8094 of info.el. (Bug#12230)
8095
8096 2012-08-20 Glenn Morris <rgm@gnu.org>
8097
8098 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
8099 * calendar/holidays.el (calendar-holiday-list):
8100 Report errors with display-warning rather than beep'n'sleep.
8101
8102 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
8103
8104 * net/tramp.el (tramp-accept-process-output): Accept only output
8105 from PROC. Otherwise, process filters and sentinels might be
8106 confused. (Bug#12145)
8107
8108 2012-08-20 Chong Yidong <cyd@gnu.org>
8109
8110 * descr-text.el (describe-text-properties-1): Use overlays-in to
8111 report on empty overlays (Bug#3322).
8112
8113 2012-08-20 Glenn Morris <rgm@gnu.org>
8114
8115 * mail/rmailout.el (rmail-output-read-file-name):
8116 Trap and report errors in rmail-output-file-alist elements.
8117
8118 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
8119 since most non-font-lock faces are not also variables).
8120
8121 2012-08-20 Edward Reingold <reingold@iit.edu>
8122
8123 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
8124 New function. (Bug12160)
8125
8126 2012-08-19 Glenn Morris <rgm@gnu.org>
8127
8128 * mail/rmailout.el (rmail-output-read-file-name):
8129 Fix previous change (when the alist is nil or does not match).
8130
8131 2012-08-19 Chong Yidong <cyd@gnu.org>
8132
8133 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
8134 (Bug#12228).
8135
8136 2012-08-18 Chong Yidong <cyd@gnu.org>
8137
8138 * simple.el (yank-handled-properties): New defcustom.
8139 (yank-excluded-properties): Add font-lock-face and category.
8140 (yank): Doc fix.
8141
8142 * subr.el (remove-yank-excluded-properties):
8143 Obey yank-handled-properties. The special handling of font-lock-face
8144 and category is now done this way, instead of being hard-coded.
8145 (insert-for-yank-1): Remove font-lock-face handling.
8146 (yank-handle-font-lock-face-property)
8147 (yank-handle-category-property): New function.
8148
8149 2012-08-17 Glenn Morris <rgm@gnu.org>
8150
8151 * mail/rmailout.el (rmail-output-read-file-name):
8152 Check rmail-output-file-alist against the full message body
8153 in the correct rmail buffer. (Bug#12214)
8154
8155 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
8156
8157 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
8158 Eliminate superfluous prompt. (Bug#12203)
8159
8160 2012-08-17 Chong Yidong <cyd@gnu.org>
8161
8162 * mouse.el (mouse-appearance-menu): If x-select-font returns a
8163 font spec, set the font directly (Bug#3228).
8164
8165 2012-08-17 Martin Rudalics <rudalics@gmx.at>
8166
8167 * window.el (delete-window): Fix last fix.
8168
8169 2012-08-16 Martin Rudalics <rudalics@gmx.at>
8170
8171 * window.el (window-valid-p): Move to window.c.
8172 (window-child, window-child-count, window-last-child)
8173 (window-normalize-window, window-combined-p)
8174 (window-combinations, window-atom-root, window-min-size)
8175 (window-sizable, window-sizable-p, window-size-fixed-p)
8176 (window-min-delta, window-max-delta, window--resizable)
8177 (window--resizable-p, window-resizable, window-total-size)
8178 (window-full-height-p, window-full-width-p, window-body-size)
8179 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
8180 (minimize-window, window-deletable-p, delete-window)
8181 (delete-other-windows, set-window-buffer-start-and-point)
8182 (next-buffer, previous-buffer, split-window, balance-windows-2)
8183 (set-window-text-height, window-buffer-height)
8184 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
8185 (truncated-partial-width-window-p): Minor code adjustments.
8186 In doc-strings state whether the argument window has to denote a
8187 live, valid or any window.
8188
8189 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
8190
8191 * progmodes/subword.el (subword-forward-function)
8192 (subword-backward-function, subword-forward-regexp)
8193 (subword-backward-regexp): New variables.
8194 (subword-forward, subword-forward-internal, subword-backward-internal):
8195 Use new variables, eg so that different "word" definitions
8196 can be easily used. (Bug#11411)
8197
8198 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8199
8200 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
8201 for composite selectors.
8202 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
8203 operation just because we can't find a previous revision.
8204
8205 2012-08-15 Chong Yidong <cyd@gnu.org>
8206
8207 * frame.el (set-frame-font): Accept font objects.
8208
8209 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8210
8211 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
8212
8213 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
8214
8215 * man.el (Man-overstrike-face, Man-underline-face)
8216 (Man-reverse-face): Remove variables.
8217 (Man-overstrike, Man-underline, Man-reverse): New faces.
8218 (Man-fontify-manpage): Use them instead of the variables.
8219 (Man-cleanup-manpage): Comment change.
8220 (Man-ansi-color-map): New variable.
8221 (Man-fontify-manpage): Use it.
8222 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
8223
8224 Implement ANSI SGR parameters 22-27 (bug#12146).
8225 * ansi-color.el (ansi-colors): Doc fix.
8226 (ansi-color-context, ansi-color-context-region): Doc fix.
8227 (ansi-color--find-face): New function.
8228 (ansi-color-apply, ansi-color-apply-on-region): Use it.
8229 Rename the local variable `face' to `codes' since it is now a list of
8230 ansi codes. Doc fix.
8231 (ansi-color-get-face): Remove.
8232 (ansi-color-parse-sequence): New function, derived from
8233 ansi-color-get-face.
8234 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
8235 codes 22-27.
8236
8237 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
8238
8239 * subr.el (read-passwd): Allow use from a minibuffer.
8240
8241 2012-08-14 Eli Zaretskii <eliz@gnu.org>
8242
8243 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
8244 inside comments and strings as identifiers.
8245
8246 * progmodes/gud.el (gud-tooltip-print-command): Quote the
8247 expression to evaluate. This allows to evaluate expressions with
8248 embedded whitespace.
8249 (gud-tooltip-tips): Add a blank before the newline in the
8250 message-box text, for the benefit of message-box emulation on
8251 MS-Windows.
8252
8253 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
8254 messages from GDB, pop them up in a tooltip to give feedback to
8255 user.
8256 (gdb-tooltip-print-1): Quote the expression to evaluate.
8257 This allows to evaluate expressions with embedded whitespace.
8258 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
8259 if the TTY name is nil or empty (which happens when communicating
8260 with the inferior via pipes, e.g. on MS-Windows).
8261 (gdb-internals): If GDB sends a "&\n" empty debugging message,
8262 don't send that to the GUD buffer.
8263
8264 2012-08-14 Glenn Morris <rgm@gnu.org>
8265
8266 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
8267 Optimize away setq-default with no args, as for setq. (Bug#12195)
8268
8269 2012-08-14 Chong Yidong <cyd@gnu.org>
8270
8271 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
8272
8273 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
8274 (Bug#12085).
8275
8276 2012-08-14 Glenn Morris <rgm@gnu.org>
8277
8278 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
8279
8280 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
8281
8282 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
8283 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8284 Use cached shell name.
8285
8286 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
8287
8288 * progmodes/python.el (python-shell-send-string):
8289 (python-shell-send-setup-code): Do not use `format' with `message'.
8290
8291 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
8292
8293 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
8294 (ruby-percent-literal-beg-re): New constant.
8295 (ruby-syntax-general-delimiters-goto-beg): Rename to
8296 `ruby-syntax-enclosing-percent-literal', improve literal type check.
8297 (ruby-syntax-propertize-general-delimiters): Rename to
8298 `ruby-syntax-propertize-percent-literal', it's a shorter and more
8299 popular term. Adjust comments everywhere.
8300 (ruby-syntax-propertize-percent-literal): Only propertize when not
8301 inside a simple string or comment. When the literal is unclosed,
8302 leave the text after it unpropertized.
8303 (ruby-syntax-methods-before-regexp): New constant.
8304 (ruby-syntax-propertize-function): Use it to recognize regexps.
8305 Don't look at the text after regexp, just use the whitelist.
8306
8307 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
8308
8309 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
8310 non-nil always load the compiled file if it exists. (Bug#12197)
8311
8312 2012-08-14 Chong Yidong <cyd@gnu.org>
8313
8314 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
8315 (hi-lock-set-pattern): When deciding whether to use font lock or
8316 overlays, look at font-lock-mode instead of font-lock-fontified
8317 (Bug#12168).
8318 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
8319 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
8320
8321 2012-08-14 Daiki Ueno <ueno@unixuser.org>
8322
8323 * subr.el (internal--after-with-selected-window): Fix typo
8324 (Bug#12193).
8325
8326 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
8327
8328 Use `completion-table-dynamic' for completion functions.
8329 * progmodes/python.el
8330 (python-shell-completion--do-completion-at-point)
8331 (python-shell-completion--get-completions):
8332 Remove functions.
8333 (python-shell-completion-complete-at-point): New function.
8334 (python-completion-complete-at-point): Use it.
8335
8336 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
8337
8338 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
8339 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
8340
8341 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
8342
8343 * subr.el (function-get): Refine `autoload' arg so it can also
8344 autoload functions for gv.el (bug#12191).
8345 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
8346 autoloads macros.
8347
8348 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
8349 Prefer pcase-let over destructuring-bind.
8350 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
8351 Also, remove whitespace as we go, rather than after accumulating the
8352 various places.
8353
8354 * subr.el (internal--before-with-selected-window)
8355 (internal--after-with-selected-window): Fix typo seleted->selected.
8356 (with-selected-window): Adjust callers.
8357 Reported by Dmitry Gutov <dgutov@yandex.ru>.
8358
8359 2012-08-13 Bastien Guerry <bzg@gnu.org>
8360
8361 * window.el (special-display-popup-frame): Minor docstring
8362 enhancement. (Bug#12172)
8363
8364 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
8365
8366 * tar-mode.el (tar-header-data-end): Only ignore size for files of
8367 type 1-6.
8368 (tar-header-block-summarize, tar-get-descriptor): Handle pax
8369 extended headers.
8370
8371 * files.el (hack-local-variables-filter): Remove useless eval.
8372
8373 2012-08-13 Martin Rudalics <rudalics@gmx.at>
8374
8375 * subr.el (with-selected-window): Fix last change.
8376
8377 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8378
8379 * subr.el (internal--before-with-seleted-window)
8380 (internal--after-with-seleted-window): New functions.
8381 (with-selected-window): Use them, to replace dependency on
8382 tty-top-frame.
8383
8384 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
8385
8386 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
8387 binding for `newline'.
8388 (ruby-move-to-block): When moving backward, stop at block opening,
8389 not indentation.
8390 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
8391 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
8392 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
8393 `ruby-toggle-block'.
8394
8395 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8396
8397 * ibuffer.el (ibuffer-do-toggle-read-only):
8398 * dired.el (dired-toggle-read-only):
8399 * buff-menu.el (Buffer-menu-toggle-read-only):
8400 * bindings.el (mode-line-toggle-read-only):
8401 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
8402
8403 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
8404
8405 * descr-text.el (describe-char): Put the overlays over the
8406 "displayed as" character.
8407
8408 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
8409
8410 * calc/calc-units.el (math-default-units-table): Give an
8411 initial value.
8412 (math-put-default-units): Add options to put composite units and
8413 unit systems in the default units table.
8414 (calc-convert-units): Send composite units to
8415 `math-put-default-units' when appropriate.
8416
8417 2012-08-11 Glenn Morris <rgm@gnu.org>
8418
8419 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
8420
8421 * tutorial.el (help-with-tutorial):
8422 * emacs-lisp/copyright.el (copyright-update-directory):
8423 * emacs-lisp/autoload.el (autoload-find-generated-file)
8424 (autoload-find-file): Disable local eval: (for insurance).
8425
8426 * files.el (hack-local-variables-filter): If an eval: form is not
8427 known to be safe, and enable-local-variables is :safe, then ignore
8428 the form totally, as is done for non-eval forms. (Bug#12155)
8429 This is CVE-2012-3479.
8430
8431 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8432
8433 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
8434 (rx-form): Simplify.
8435
8436 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
8437
8438 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
8439 ?, _, and : are symbol constituents, ! is not (but kinda should be).
8440 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
8441 (ruby-syntax-propertize-function): Adjust for changes in
8442 `ruby-syntax-propertize-heredoc'.
8443
8444 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
8445
8446 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
8447 binding (use `M-;' instead).
8448 (ruby-singleton-class-p): New function.
8449 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
8450
8451 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8452
8453 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
8454
8455 2012-08-10 Chong Yidong <cyd@gnu.org>
8456
8457 * progmodes/python.el (python-shell-get-process-name): Don't mess
8458 with same-window-buffer-names.
8459
8460 * eshell/eshell.el (eshell-add-to-window-buffer-names)
8461 (eshell-remove-from-window-buffer-names): Make obsolete.
8462 (eshell-buffer-name, eshell-unload-hook): Don't use them.
8463 (eshell): Just use pop-to-buffer-same-window instead.
8464
8465 2012-08-10 Chong Yidong <cyd@gnu.org>
8466
8467 * bindings.el: Bind M-= back to count-words-region.
8468
8469 * simple.el (count-words-region): Accept a prefix arg for acting
8470 on the entire buffer.
8471 (count-words--buffer-message): New helper function.
8472
8473 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8474
8475 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
8476 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
8477 (event-start, event-end): Use posn-at-point to return a more
8478 informative posn.
8479 (posnp): New function.
8480 * mouse.el (popup-menu-normalize-position): Use it.
8481
8482 2012-08-10 Masatake YAMATO <yamato@redhat.com>
8483
8484 * mouse.el (popup-menu-normalize-position): New function.
8485 (popup-menu): Use `popup-menu-normalize-position' to normalize
8486 the form for POSITION argument.
8487
8488 * term/x-win.el (x-menu-bar-open):
8489 Use the value returend from (posn-at-point) as position
8490 passed to `popup-menu'.
8491
8492 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
8493
8494 * calc/calccomp.el (math-compose-expr): Add extra argument
8495 indicating that parentheses should be put around products in
8496 denominators. Give multiplication precedence over division during
8497 composition.
8498
8499 2012-08-09 Chong Yidong <cyd@gnu.org>
8500
8501 * man.el (Man-switches, Man-sed-command, Man-awk-command)
8502 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
8503 (Man-untabify-command, manual-program): Convert to defcustom
8504 (Bug#10429).
8505
8506 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
8507
8508 * descr-text.el (describe-char): Don't insert extra newlines
8509 (Bug#10127).
8510
8511 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
8512 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
8513
8514 * align.el (align-region): Delete temporary markers (Bug#10047).
8515 Plus some code cleanups.
8516
8517 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
8518
8519 * progmodes/python.el (python-pdbtrack-tracked-buffer)
8520 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
8521 (python-shell-internal-last-output): Use make-local-variable
8522 instead of make-variable-buffer-local.
8523
8524 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
8525
8526 * progmodes/python.el: Enhancements to forward-sexp.
8527 (python-nav-forward-sexp): Rename from
8528 python-nav-forward-sexp-function.
8529 (python-nav--forward-sexp, python-nav--backward-sexp):
8530 New functions.
8531
8532 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
8533
8534 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
8535 modes and simplification modes.
8536
8537 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
8538
8539 * delsel.el (delete-selection-pre-hook): Don't propagate the
8540 file-supersession signals (bug#12161).
8541
8542 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8543
8544 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
8545 (cl-map-extents): Add compatibility aliases (bug#12135).
8546
8547 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
8548
8549 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
8550 tests by `ignore-error'.
8551 (tramp-find-shell): Open also a new shell, when cache is already
8552 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
8553
8554 2012-08-08 Juri Linkov <juri@jurta.org>
8555
8556 * bookmark.el: Add `defaults' property to the bookmark record.
8557 (bookmark-current-buffer): Doc fix.
8558 (bookmark-make-record): Add `defaults' property with default values
8559 to the bookmark record.
8560 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
8561 with `bookmark-insert-current-bookmark'.
8562 (bookmark-set): Get `defaults' property from the bookmark record
8563 and use it in `read-from-minibuffer'.
8564 (bookmark-insert-current-bookmark): Remove function.
8565
8566 * info.el (Info-bookmark-make-record): Add `defaults' property
8567 with values of canonical Info node name, the current Info file
8568 name and the current Info node name. (Bug#12107)
8569
8570 2012-08-08 Juri Linkov <juri@jurta.org>
8571
8572 * files.el (basic-save-buffer): Use `buffer-name' as the default
8573 of `read-file-name' when buffer is not visiting a file (bug#12128).
8574
8575 2012-08-08 Juri Linkov <juri@jurta.org>
8576
8577 * info.el (Info-isearch-search): Doc fix.
8578 (Info-search): Change search-failed message from "initial node" to
8579 "end of node" (bug#12078).
8580 (Info-isearch-search): Change `isearch-string-state' to
8581 `isearch--state-string'.
8582
8583 2012-08-08 Glenn Morris <rgm@gnu.org>
8584
8585 * language/persian.el: Remove file.
8586 * language/misc-lang.el: Move unique part of persian.el here.
8587 * loadup.el: Remove language/persian.
8588
8589 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
8590
8591 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
8592
8593 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
8594
8595 * progmodes/python.el: Fix defsubst warning.
8596 (python-syntax-context) Rename from python-info-ppss-context.
8597 (python-syntax-context-type): Rename from
8598 python-info-ppss-context-type.
8599 (python-syntax-comment-or-string-p): Rename from
8600 python-info-ppss-comment-or-string-p.
8601
8602 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
8603
8604 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
8605
8606 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
8607
8608 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
8609 a defcustom that is quoted with backquote.
8610
8611 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
8612 Fix handling of interactive spec when the body uses return.
8613 (math-do-arg-check, math-define-function-body): Use backquote forms.
8614 * calc/calc-ext.el (math-defcache): Likewise.
8615 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
8616 * allout.el (allout-new-exposure): Likewise.
8617 * calc/calcalg2.el (math-tracing-integral): Likewise.
8618 * info.el (Info-last-menu-item): Likewise.
8619 * emulation/vip.el (vip-loop): Likewise.
8620 * textmodes/artist.el (artist-funcall): Likewise.
8621 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
8622 Construct menu-item directly.
8623
8624 * progmodes/autoconf.el (font-lock-syntactic-keywords):
8625 Don't declare.
8626
8627 2012-08-07 Chong Yidong <cyd@gnu.org>
8628
8629 * simple.el (deactivate-mark): Preserve text properties when
8630 saving the primary selection (Bug#8384).
8631
8632 2012-08-07 Kevin Ryde <user42@zip.com.au>
8633
8634 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
8635 (woman-parse-numeric-value): On a bad .IP line, issue a warning
8636 and continue processing (Bug#12110).
8637
8638 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
8639
8640 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
8641 syntax-propertize-function (bug#10095).
8642
8643 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
8644
8645 * help-fns.el (help-fns--key-bindings, help-fns--signature)
8646 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
8647 describe-function-1.
8648 (describe-function-1): Use them. Move compiler macro after sig.
8649 (help-fns--compiler-macro): Use function-get. Assume we're already in
8650 standard-output. Adjust layout to new call order.
8651
8652 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
8653 re-binding a symbol that has a symbol-macro (bug#12119).
8654
8655 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
8656
8657 * language/persian.el: New file. (Bug#11812)
8658 * loadup.el: Add language/persian.el.
8659
8660 2012-08-06 Chong Yidong <cyd@gnu.org>
8661
8662 * window.el (window--maybe-raise-frame): New function.
8663 (window--display-buffer): Split off from here.
8664 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8665 (display-buffer-pop-up-window, display-buffer-use-some-window):
8666 Obey an inhibit-switch-frame action alist entry.
8667 (display-buffer): Update doc.
8668
8669 * replace.el (occur-after-change-function): Avoid losing focus by
8670 using the inhibit-switch-frame display parameter (Bug#12139).
8671
8672 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
8673
8674 Make internal shell process buffer names start with space.
8675 * progmodes/python.el (python-shell-make-comint): Add optional
8676 argument INTERNAL.
8677 (run-python-internal): Use it.
8678 (python-shell-internal-get-or-create-process): Check for new
8679 internal buffer names.
8680
8681 2012-08-06 Glenn Morris <rgm@gnu.org>
8682
8683 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
8684 Do less getting and setting of environment variables.
8685
8686 2012-08-05 Chong Yidong <cyd@gnu.org>
8687
8688 * proced.el (proced): Add substitution string to docstring to
8689 trigger autoloading of the proced library on C-h f (Bug#1768).
8690
8691 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
8692 Don't show defvars which have no second argument (Bug#8638).
8693
8694 * imenu.el (imenu-generic-expression): Move documentation here
8695 from imenu--generic-function.
8696 (imenu--generic-function): Refer to imenu-generic-expression.
8697
8698 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
8699
8700 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
8701 indentation declaration.
8702 (viper-loop): Add indentation declaration (Bug#7025).
8703
8704 2012-08-05 Chong Yidong <cyd@gnu.org>
8705
8706 * help-fns.el (describe-variable): Add hyperlink for
8707 directory-local variables files. Improve buffer-local and
8708 permanent-local reporting; suggested by MON KEY (Bug#6644).
8709
8710 * help-mode.el (help-dir-local-var-def): New button type.
8711
8712 * files.el (kill-buffer-hook): Provide a defvar.
8713
8714 2012-08-05 Glenn Morris <rgm@gnu.org>
8715
8716 * eshell/esh-ext.el (eshell/addpath):
8717 Also update eshell-path-env. (Bug#12013)
8718
8719 2012-08-05 Chong Yidong <cyd@gnu.org>
8720
8721 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
8722
8723 * fringe.el (fringe-styles): Add docstring.
8724 (fringe--check-mode): New function.
8725 (set-fringe-mode, set-fringe-style): Use it.
8726 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
8727
8728 * files.el (set-auto-mode): Fix invalid setq call.
8729
8730 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8731
8732 * isearch.el: Misc simplification; use defstruct.
8733 (isearch-mode-map): Dense maps now work like sparse ones.
8734 (isearch--state): New defstruct.
8735 (isearch-string-state, isearch-message-state, isearch-point-state)
8736 (isearch-success-state, isearch-forward-state)
8737 (isearch-other-end-state, isearch-word-state, isearch-error-state)
8738 (isearch-wrapped-state, isearch-barrier-state)
8739 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
8740 replaced by defstruct's accessors.
8741 (isearch--set-state): Rename from isearch-top-state and change
8742 calling convention.
8743 (isearch-push-state): Use new isearch--get-state.
8744 (isearch-toggle-word): Disable regexp when enabling word.
8745 (isearch-message-prefix): Remove unused arg _c-q-hack.
8746 (isearch-message-suffix): Remove unused arg _ellipsis.
8747
8748 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
8749
8750 * simple.el (list-processes--refresh): For a server use :host or
8751 :local as the address.
8752 (list-processes): Doc fix.
8753
8754 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
8755
8756 * lisp/mpc.el: Support password in host argument.
8757 (mpc--proc-connect): Parse and use new password element.
8758 Set mpc-proc variable instead of returning process.
8759 (mpc-proc): Adjust accordingly.
8760
8761 2012-08-03 Eli Zaretskii <eliz@gnu.org>
8762
8763 * whitespace.el (whitespace-display-mappings): Use Unicode
8764 codepoints, instead of emacs-mule codepoints. See
8765 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
8766 for the details.
8767
8768 * files.el (file-truename): Don't skip symlink-chasing part on
8769 windows-nt. Incorporate the resolution of 8+3 short aliases on
8770 Windows into the loop that recursively chases symlinks.
8771 Compare directory and its parent case-insensitively on MS-Windows and
8772 MS-DOS.
8773
8774 2012-08-03 Chong Yidong <cyd@gnu.org>
8775
8776 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
8777
8778 * sort.el (sort-regexp-fields): Doc fix.
8779
8780 2012-08-03 Tassilo Horn <tsdh@gnu.org>
8781
8782 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
8783 labels regex position point at the expected place.
8784
8785 2012-08-03 MON KEY <monkey@sandpframing.com>
8786
8787 * net/imap.el (imap-interactive-login, imap-authenticate)
8788 (imap-mailbox-lsub, imap-mailbox-list)
8789 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
8790 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
8791 (imap-parse-response): Doc fix.
8792
8793 2012-08-03 João Távora <joaotavora@gmail.com>
8794
8795 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
8796 if sexp scanning does not move point (Bug#5734).
8797
8798 2012-08-02 Tassilo Horn <tsdh@gnu.org>
8799
8800 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
8801 Add listings, minted, and ctable packages.
8802 (reftex-label-alist-builtin): Move listings, minted, and ctable
8803 entries before LaTeX.
8804 (reftex-label-alist): Docfix.
8805
8806 2012-08-02 Bastien Guerry <bzg@gnu.org>
8807
8808 * replace.el (occur): Fix docstring (bug#12122).
8809
8810 2012-08-02 Glenn Morris <rgm@gnu.org>
8811
8812 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
8813
8814 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
8815
8816 Obsolete alias inactivate-current-input-method-function (Bug#10150).
8817 * international/mule-cmds.el: Create
8818 inactivate-current-input-method-function as an obsolete alias for
8819 deactivate-current-input-method-function. See Katsumi Yamaoka in
8820 <http://bugs.gnu.org/10150#46>.
8821
8822 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
8823
8824 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
8825 of nested `if's.
8826
8827 2012-08-01 Glenn Morris <rgm@gnu.org>
8828
8829 * progmodes/autoconf.el (autoconf-definition-regexp):
8830 Add AH_TEMPLATE, adjust submatch numbering.
8831 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
8832 (autoconf-current-defun-function): Update for above change.
8833 (autoconf-current-defun-function): First skip to end of current word.
8834
8835 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
8836
8837 * calendar/cal-html.el (cal-html-insert-agenda-days):
8838 Fix typo. (Bug#12018)
8839
8840 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
8841
8842 Shell processes: enhancements to startup and CEDET compatibility.
8843 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
8844 (python-shell-make-comint): accept-process-output at startup.
8845 (run-python-internal): Set inferior-python-mode-hook to nil.
8846 (python-shell-internal-get-or-create-process): call sit-for.
8847 (python-preoutput-result): Add obsolete alias.
8848 (python-shell-internal-send-string): Use it.
8849 (python-shell-send-setup-code): Remove call to
8850 accept-process-output.
8851
8852 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
8853
8854 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
8855 (Bug#12108)
8856
8857 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
8858
8859 * calc-mode.el (calc-basic-simplification-mode): Rename from
8860 `calc-limited-simplification-mode'.
8861 (calc-alg-simplification-mode): New function.
8862 (calc-set-simplify-mode): Adjust message.
8863
8864 * calc.el (calc-set-mode-line): Adjust mode line display for
8865 basic simplification mode.
8866
8867 * calc-help.el (calc-m-prefix-help): Update help message.
8868
8869 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
8870 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
8871
8872 2012-07-31 Bastien Guerry <bzg@gnu.org>
8873
8874 * man.el (man): Fix comment. (bug#12101)
8875
8876 2012-07-31 Martin Rudalics <rudalics@gmx.at>
8877
8878 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
8879 Don't return a non-nil value when no suitable buffer was found.
8880
8881 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
8882
8883 * progmodes/python.el (run-python-internal): Disable font lock for
8884 internal shells.
8885
8886 2012-07-30 Stefan Merten <smerten@oekonux.de>
8887
8888 * textmodes/rst.el: Silence `checkdoc-ispell'.
8889 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
8890 (rst-official-version, rst-official-cvs-rev)
8891 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
8892 (rst-mode-map): New key binding.
8893
8894 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
8895
8896 Update .PHONY listings in makefiles.
8897 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
8898 autoloads, update-subdirs, updates, bzr-update, update-authors,
8899 compile-onefile, compile-calc, backup-compiled-files,
8900 compile-after-backup, compile-one-process, mh-autoloads,
8901 bootstrap-clean, distclean, maintainer-clean.
8902
8903 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
8904
8905 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
8906 (calc-set-mode-line): Don't display "AlgSimp ".
8907
8908 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
8909 (calc-lim-simplify-mode): New function.
8910 (calc-set-simplify-mode): Default to 'alg.
8911 (calc-default-simplify-mode): Make algebraic simplifications
8912 the default.
8913
8914 * calc/calc-ext.el (calc-init-extensions): Remove binding for
8915 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
8916
8917 * calc/calc-help.el (calc-m-prefix-help): Change messages to
8918 indicate new simplification modes.
8919
8920 * calc/README: Mention new default simplification mode.
8921
8922 * calc/calc.el (math-normalize-error): New variable.
8923 (math-normalize): Set `math-normalize-error' to t
8924 when there's an error.
8925
8926 * calc/calc-alg.el (math-simplify): Don't simplify when
8927 `math-normalize' returns an error.
8928
8929 2012-07-29 Eli Zaretskii <eliz@gnu.org>
8930
8931 * international/mule-cmds.el (set-locale-environment): Revert last
8932 change, since display-graphic-p returns nil when this function is
8933 called during startup. Instead...
8934
8935 * term/w32console.el (terminal-init-w32console): ...setup the
8936 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
8937
8938 2012-07-29 Juri Linkov <juri@jurta.org>
8939
8940 * simple.el (goto-line): Don't display default line number in the
8941 prompt because it should be displayed by `read-number' (bug#9952).
8942 Add the current line number to the defaults of `goto-line' to
8943 allow its easier modification by users with `M-n' (bug#9201).
8944
8945 * subr.el (read-number): Support multiple default values like in
8946 other minibuffer reading functions. Replace `read' with
8947 `string-to-number' for consistency with `number-to-string'.
8948
8949 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
8950
8951 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
8952 * emulation/viper-init.el (viper-deactivate-input-method-action):
8953 Rename from viper-inactivate-input-method-action.
8954 (viper-deactivate-input-method):
8955 Rename from viper-inactivate-input-method.
8956 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
8957 * international/mule-cmds.el (deactivate-input-method):
8958 Rename from inactivate-input-method.
8959 Also run input-method-deactivate-hook.
8960 (deactivate-current-input-method-function):
8961 Rename from inactivate-current-input-method-function.
8962 (input-method-deactivate-hook): New hook.
8963 (input-method-inactivate-hook): Mark obsolete.
8964 (inactivate-input-method): Mark obsolete.
8965
8966 * international/quail.el (quail-activate):
8967 Also run quail-deactivate-hook.
8968 (quail-deactivate): Rename from quail-inactivate.
8969 * international/robin.el (robin-activate):
8970 Also run robin-deactivate-hook.
8971 (robin-deactivate): Rename from robin-inactivate.
8972
8973 2012-07-29 Chong Yidong <cyd@gnu.org>
8974
8975 * simple.el (indicate-copied-region): New function.
8976 (kill-ring-save): Split off from here.
8977
8978 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
8979 (kill-rectangle): Set deactivate-mark to t on read-only error.
8980
8981 * register.el (copy-to-register, copy-rectangle-to-register):
8982 Deactivate the mark, and use indicate-copied-region (Bug#10056).
8983 (append-to-register, prepend-to-register): Call indicate-copied-region.
8984
8985 2012-07-29 Juri Linkov <juri@jurta.org>
8986
8987 * simple.el (async-shell-command-buffer): New defcustom.
8988 (shell-command): Use it. (Bug#4719)
8989
8990 2012-07-28 Eli Zaretskii <eliz@gnu.org>
8991
8992 * international/mule-cmds.el (set-locale-environment): In a
8993 console session on MS-Windows, set up keyboard and terminal
8994 encoding from the OEM codepage, not the ANSI codepage.
8995 (Bug#12055)
8996
8997 2012-07-28 Chong Yidong <cyd@gnu.org>
8998
8999 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
9000 gdb-get-location.
9001
9002 2012-07-28 Leo Liu <sdl.web@gmail.com>
9003
9004 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
9005 the alist (bug#12029).
9006
9007 2012-07-28 Eli Zaretskii <eliz@gnu.org>
9008
9009 * makefile.w32-in (custom-deps, finder-data, updates, compile)
9010 (compile-always, compile-first)
9011 ($(lisp)/calendar/cal-loaddefs.el)
9012 ($(lisp)/calendar/diary-loaddefs.el)
9013 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
9014 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
9015 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
9016 instead of on update-subdirs.
9017 (bootstrap-clean): Delete $(lisp)/subdirs.el.
9018
9019 2012-07-28 Chong Yidong <cyd@gnu.org>
9020
9021 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
9022 directory if vc-deduce-backend returns nil (Bug#7350).
9023
9024 * simple.el (delete-trailing-lines): New option.
9025 (delete-trailing-whitespace): Obey it (Bug#11879).
9026
9027 2012-07-28 David Engster <deng@randomsample.de>
9028
9029 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
9030 Explanation of new 'symbol-qnames feature in doc-strings.
9031 (xml-maybe-do-ns): Return expanded names as plain symbols if
9032 'symbol-qnames was provided in XML-NS argument (Bug#11916).
9033 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
9034
9035 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
9036
9037 Consistent completion in inferior python with emacs -nw.
9038 * progmodes/python.el (inferior-python-mode): replace "<tab>"
9039 binding in inferior-python-mode-map with "\t".
9040 (python-shell-completion-complete-at-point)
9041 (python-completion-complete-at-point): Remove interactive spec.
9042
9043 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
9044
9045 * calc/calccomp.el (math-compose-expr): Undo previous change.
9046
9047 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
9048
9049 * progmodes/python.el (python-mode-map): Add keybinding for
9050 run-python.
9051 (python-shell-make-comint): Fix pop-to-buffer call.
9052 (run-python): Autoload. New arg SHOW.
9053 (python-shell-get-or-create-process): Do not pop python process
9054 buffer.
9055
9056 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
9057
9058 * notifications.el (notifications-on-action-signal)
9059 (notifications-on-closed-signal): Use also the bus address for the map.
9060 (notifications-notify, notifications-close-notification)
9061 (notifications-get-capabilities): Add optional argument BUS.
9062
9063 2012-07-27 Tassilo Horn <tsdh@gnu.org>
9064
9065 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
9066 Add support for the lstlisting and minted environments, and for the
9067 ctable macro.
9068 * textmodes/reftex.el (reftex-compile-variables): Also recognize
9069 labels written in keyvals syntax.
9070
9071 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
9072
9073 * calc/calccomp.el (math-compose-expr): Use parentheses when
9074 there is a product in the denominator of a fraction.
9075
9076 2012-07-26 Eli Zaretskii <eliz@gnu.org>
9077
9078 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
9079 ($(lisp)/calendar/diary-loaddefs.el)
9080 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
9081 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
9082 Fixes failures in parallel bootstrap because subdirs.el is being
9083 rewritten while the autoload files are built at the same time,
9084 which needs to load subdirs.el.
9085
9086 2012-07-26 Martin Rudalics <rudalics@gmx.at>
9087
9088 * mouse.el (popup-menu): Fix doc-string and re-indent code.
9089 (mouse-drag-line): Don't exit tracking when a switch-frame or
9090 switch-window event occurs (Bug#12006).
9091
9092 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9093
9094 * mouse.el (popup-menu): Fix last change.
9095
9096 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9097
9098 Autoload from Lisp with more care. Follow aliases when looking for
9099 function properties.
9100 * subr.el (autoloadp): New function.
9101 (symbol-file): Use it.
9102 (function-get): New function.
9103 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
9104 autoload-do-load.
9105 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
9106 (lisp-indent-function):
9107 * emacs-lisp/gv.el (gv-get):
9108 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
9109 * emacs-lisp/byte-opt.el (byte-optimize-form):
9110 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
9111 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
9112 Use function-get.
9113 * emacs-lisp/cl.el: Don't propagate function properties any more.
9114
9115 * speedbar.el (speedbar-add-localized-speedbar-support):
9116 * emacs-lisp/disass.el (disassemble-internal):
9117 * desktop.el (desktop-load-file):
9118 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
9119 (describe-function-1):
9120 * emacs-lisp/find-func.el (find-function-noselect):
9121 * emacs-lisp/elp.el (elp-instrument-function):
9122 * emacs-lisp/advice.el (ad-has-proper-definition):
9123 * apropos.el (apropos-safe-documentation, apropos-macrop):
9124 * emacs-lisp/debug.el (debug-on-entry):
9125 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
9126 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
9127 * calc/calc.el (name): Use autoloadp & autoload-do-load.
9128
9129 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
9130
9131 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
9132 function, not an obsolete variable (Bug#12046).
9133
9134 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
9135
9136 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
9137
9138 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
9139
9140 * emacs-lisp/pp.el (pp-display-expression): Select old selected
9141 window only if it is still live (Bug#12034).
9142
9143 2012-07-25 Martin Rudalics <rudalics@gmx.at>
9144
9145 * subr.el (redirect-frame-focus): Add advertised calling
9146 convention (Bug#12030).
9147
9148 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
9149
9150 Prefer typical American spelling for "acknowledgment".
9151 * vc/add-log.el (change-log-acknowledgment): Rename from
9152 change-log-acknowledgement, with an alias for the old name.
9153
9154 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
9155
9156 * calc-alg.el (math-simplify-divide): Don't cross multiply
9157 in an equation when the lhs is a variable.
9158
9159 2012-07-24 Julien Danjou <julien@danjou.info>
9160
9161 * net/netrc.el (netrc-find-service-number, netrc-store-data):
9162 Remove, unused.
9163
9164 2012-07-23 Eli Zaretskii <eliz@gnu.org>
9165
9166 * startup.el (command-line): Don't display an empty user name in
9167 the error message about non-existent home directory, when
9168 init-file-user was set to an empty string. See
9169 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
9170 for the details and context.
9171
9172 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
9173
9174 * ses.el (ses-cell-formula-aset): New macro.
9175 (ses-cell-references-aset): New macro.
9176 (ses-cell-p): New function.
9177 (ses-rename-cell): Do no longer rely on complex operations like
9178 ses-cell-set-formula or ses-set-cell to change the cell and handle
9179 the undo at the same time, but rather use lower level new macros
9180 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
9181 the undo directly. Refresh the mode line.
9182
9183 2012-07-21 Leo Liu <sdl.web@gmail.com>
9184
9185 * progmodes/cc-cmds.el (c-defun-name):
9186 Use match-string-no-properties instead for consistency.
9187
9188 2012-07-20 Leo Liu <sdl.web@gmail.com>
9189
9190 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
9191 (Bug#7879)
9192
9193 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
9194
9195 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
9196
9197 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
9198 * progmodes/bug-reference.el, misearch.el: Provide themselves
9199 (bug#11915).
9200
9201 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
9202 of narrowed buffer (bug#11966).
9203
9204 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
9205
9206 * ses.el (ses-rename-cell): Set new name also in reference list of
9207 cells of which the renamed cell depends.
9208
9209 2012-07-20 Masatake YAMATO <yamato@redhat.com>
9210
9211 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
9212 to check whether menu-bar is shown or not. If not shown,
9213 show the menu-bar as a popup menu instead of using tmm.
9214 * mouse.el (popup-menu): Accept `point' as `position' argument.
9215
9216 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
9217
9218 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
9219 up inside string symbol literal (bug#11923).
9220
9221 2012-07-20 Eli Zaretskii <eliz@gnu.org>
9222
9223 * startup.el (fancy-startup-text): Read the whole tutorial, not
9224 just its first 256 bytes. Prevents gibberish in display of the
9225 tutorial title.
9226
9227 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
9228
9229 Drop idle buffer compaction due to an absence of the
9230 proved efficiency.
9231 * compact.el: Remove.
9232
9233 2012-07-19 Sam Steingold <sds@gnu.org>
9234
9235 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
9236 vc-bzr-pull & vc-bzr-merge-branch.
9237 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
9238 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
9239 for consistency with compilation-error-regexp-alist.
9240 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
9241 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
9242 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
9243 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
9244
9245 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
9246
9247 * emacs-lisp/chart.el: Use lexical-binding.
9248 (chart-emacs-storage): Don't hardcode the list of entries.
9249
9250 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
9251
9252 Next round of tweaks caused by Fgarbage_collect changes.
9253 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
9254
9255 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
9256
9257 Compact buffers when idle.
9258 * compact.el: New file.
9259
9260 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
9261
9262 * subr.el (eventp): Presume that if it looks vaguely like an event,
9263 it's an event (bug#10190).
9264
9265 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
9266
9267 Enhancements to ppss related code (thanks Stefan).
9268 * progmodes/python.el (python-indent-context)
9269 (python-indent-calculate-indentation, python-indent-dedent-line)
9270 (python-indent-electric-colon, python-nav-forward-block)
9271 (python-mode-abbrev-table)
9272 (python-info-assignment-continuation-line-p): Simplify checks
9273 for ppss context.
9274 (python-info-continuation-line-p): Cleanup.
9275 (python-info-ppss-context): Do not catch 'quote.
9276 (python-info-ppss-context-type)
9277 (python-info-ppss-comment-or-string-p): Simplify.
9278
9279 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
9280
9281 * progmodes/python.el: Enhancements to eldoc support.
9282 (python-info-current-symbol): New function.
9283 (python-eldoc-at-point): Use python-info-current-symbol.
9284 (python-info-current-defun): Fix cornercase on first defun scan.
9285 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
9286 and signal error when no inferior python process is available.
9287
9288 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
9289
9290 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
9291 assume it's always t.
9292 (vc-git-registered): Remove caching, the function is only called
9293 once.
9294 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
9295
9296 2012-07-18 Chong Yidong <cyd@gnu.org>
9297
9298 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
9299
9300 * simple.el (count-words): Report on narrowing (Bug#9959).
9301
9302 * bindings.el: Bind M-= to count-words.
9303
9304 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
9305
9306 2012-07-18 Masatake YAMATO <yamato@redhat.com>
9307
9308 * progmodes/sh-script.el (sh-imenu-generic-expression):
9309 Capture a function with `function' keyword and without parentheses
9310 like "function FOO" (bug#11856).
9311
9312 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
9313
9314 * window.el (split-window-sensibly): Make WINDOW argument
9315 optional.
9316
9317 2012-07-18 Chong Yidong <cyd@gnu.org>
9318
9319 * subr.el (keyboard-translate): Doc fix (Bug#7261).
9320
9321 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
9322 and make C-x 8 RET exit isearch (Bug#11439).
9323
9324 * international/iso-transl.el: Move isearch-mode-map key
9325 definitions to isearch.el.
9326
9327 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
9328
9329 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
9330 (eieio-defclass): Use gv-define-setter when possible.
9331
9332 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
9333
9334 Reflect recent changes in Fgarbage_collect.
9335 * emacs-lisp/chart.el (chart-emacs-storage): Change to
9336 reflect new format of data returned by Fgarbage_collect.
9337
9338 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9339
9340 New utility functions + python-info-ppss-context fix (Bug#11910).
9341 * progmodes/python.el (python-info-beginning-of-block-statement-p)
9342 (python-info-ppss-comment-or-string-p): New functions.
9343 (python-info-ppss-context): Small fix for string check.
9344
9345 2012-07-17 Juri Linkov <juri@jurta.org>
9346
9347 * dired-aux.el (dired-do-async-shell-command): Doc fix.
9348 (dired-do-async-shell-command): Don't add `*' at the end of the
9349 command (Bug#11815).
9350 (dired-do-shell-command): Doc fix.
9351 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
9352 Join the individual commands using either "&" or ";" as the
9353 separator depending on the values of these trailing characters.
9354 At the end re-add the trailing "&". (Bug#10598)
9355
9356 * simple.el (async-shell-command): Sync the interactive spec with
9357 `shell-command'. Doc fix.
9358 (shell-command): Doc fix.
9359
9360 2012-07-17 Juri Linkov <juri@jurta.org>
9361
9362 * descr-text.el (describe-char): Fix format args. (Bug#10129)
9363
9364 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9365
9366 Final renames and doc fixes for movement commands (bug#11899).
9367 * progmodes/python.el (python-nav-beginning-of-statement):
9368 Rename from python-nav-statement-start.
9369 (python-nav-end-of-statement): Rename from
9370 python-nav-statement-end.
9371 (python-nav-beginning-of-block): Rename from
9372 python-nav-block-start.
9373 (python-nav-end-of-block): Rename from python-nav-block-end.
9374
9375 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9376
9377 * progmodes/python.el (python-shell-send-string-no-output):
9378 Allow accept-process-output to quit, keeping shell process ready for
9379 future interactions (Bug#11868).
9380
9381 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
9382
9383 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
9384
9385 * emacs-lisp/elint.el (elint-find-args-in-code):
9386 Use help-function-arglist, so as to handle lexical byte-code.
9387
9388 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
9389 change (bug#11826).
9390
9391 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
9392
9393 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
9394 Avoid spuriously marking the buffer as modified because of c-is-sws.
9395
9396 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
9397 as not-a-comment (bug#11946).
9398
9399 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
9400 for uninterned vars.
9401
9402 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
9403 Use read-event since we don't really want to read chars but bytes.
9404
9405 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
9406 $$..$$ but also $..$ using regexps (bug#11953).
9407 Use tex-verbatim for \url and \path.
9408 (tex-font-lock-keywords): Define as defconst like the others.
9409 (tex-common-initialization): Don't use font-lock-syntax-table any more.
9410
9411 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
9412
9413 * international/mule-cmds.el (ucs-insert): Make it an obsolete
9414 alias for insert-char.
9415
9416 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
9417
9418 * progmodes/python.el: Simplified imenu implementation.
9419 (python-nav-jump-to-defun): Remove command.
9420 (python-mode-map): Use `imenu' instead.
9421 (python-nav-list-defun-positions-cache)
9422 (python-imenu-include-defun-type, python-imenu-make-tree)
9423 (python-imenu-subtree-root-label, python-imenu-index-alist):
9424 Remove vars.
9425 (python-nav-list-defun-positions, python-nav-read-defun)
9426 (python-imenu-tree-assoc, python-imenu-make-element-tree)
9427 (python-imenu-make-tree, python-imenu-create-index):
9428 Remove functions.
9429 (python-mode): Update to interact with imenu by setting
9430 `imenu-extract-index-name-function' only.
9431
9432 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
9433
9434 * progmodes/python.el: Enhancements to navigation commands.
9435 (python-nav-backward-sentence)
9436 (python-nav-forward-sentence): Remove.
9437 (python-nav-backward-statement, python-nav-forward-statement)
9438 (python-nav-statement-start, python-nav-statement-end)
9439 (python-nav-backward-block, python-nav-forward-block)
9440 (python-nav-block-start, python-nav-block-end)
9441 (python-nav-forward-sexp-function)
9442 (python-info-current-line-comment-p)
9443 (python-info-current-line-empty-p): New functions.
9444 (python-indent-context): Use `python-nav-statement-start'.
9445
9446 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
9447
9448 * eshell/em-ls.el (eshell/ls): Use `apply'.
9449
9450 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
9451 multi-hops, instead of Tramp internals.
9452
9453 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
9454
9455 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
9456 when F1 and F2 are located on different hosts.
9457
9458 2012-07-14 Chong Yidong <cyd@gnu.org>
9459
9460 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
9461 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
9462 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
9463 (xterm-mouse--read-event-sequence-1000)
9464 (xterm-mouse--read-event-sequence-1006): New functions. For old
9465 mouse protocol, handle M-mouse-X events correctly.
9466 (xterm-mouse-event): New arg specifying mouse protocol.
9467 (turn-on-xterm-mouse-tracking-on-terminal)
9468 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
9469 sequence to toggle extended coordinates on newer XTerms.
9470 This appears to be harmless on terminals which do not support this.
9471
9472 2012-07-14 Leo Liu <sdl.web@gmail.com>
9473
9474 Add fringe bitmap indicators for flymake. (Bug#11253)
9475 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
9476 (flymake-make-overlay): New arg BITMAP.
9477 (flymake-error-bitmap, flymake-warning-bitmap)
9478 (flymake-fringe-indicator-position): New user variables.
9479
9480 * fringe.el: New bitmap exclamation-mark.
9481
9482 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
9483
9484 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
9485 also (Bug#7879).
9486
9487 2012-07-14 Chong Yidong <cyd@gnu.org>
9488
9489 * electric.el (electric-pair-post-self-insert-function): Fix pair
9490 insertion in empty-region case (Bug#11520).
9491
9492 2012-07-14 Chong Yidong <cyd@gnu.org>
9493
9494 * bindings.el: Consolidate ctl-x-r-map bindings.
9495 Bind copy-rectangle-as-kill to C-x r w.
9496
9497 * rect.el, register.el: Move bindings to bindings.el.
9498
9499 2012-07-14 Reuben Thomas <rrt@sc3d.org>
9500
9501 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
9502
9503 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
9504
9505 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
9506
9507 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
9508
9509 * bindings.el (top): Use `mapc' instead of `mapcar'.
9510
9511 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
9512
9513 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
9514
9515 * progmodes/sql.el (sql-comint): Suppress the check for program on
9516 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
9517 (Bug#11908)
9518
9519 2012-07-13 Chong Yidong <cyd@gnu.org>
9520
9521 * bindings.el: Assign a non-nil permanent-local property to
9522 per-buffer variables which lack a default value (Bug#11930).
9523
9524 * help-fns.el (describe-variable): In the "automatically becomes
9525 local" notice, take note of permanent-local variables.
9526
9527 2012-07-13 Chong Yidong <cyd@gnu.org>
9528
9529 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
9530 to allow printing the message when called from Lisp.
9531
9532 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9533 Remove toggle-read-only.
9534
9535 * bs.el (bs-toggle-readonly):
9536 * buff-menu.el (Buffer-menu-toggle-read-only):
9537 Remove with-no-warnings around toggle-read-only.
9538
9539 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
9540 Remove with-no-warnings around toggle-read-only.
9541 (ffap-read-only, ffap-read-only-other-window)
9542 (ffap-read-only-other-frame): Callers changed.
9543
9544 * help-mode.el: Don't require view package.
9545 (help-mode-finish): Set buffer-read-only instead of calling
9546 toggle-read-only.
9547
9548 * bindings.el (mode-line-toggle-read-only):
9549 * dired.el (dired-toggle-read-only):
9550 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
9551 with non-nil second arg.
9552
9553 * emacs-lisp/eieio-custom.el (eieio-customize-object):
9554 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
9555 directly.
9556
9557 2012-07-12 Eli Zaretskii <eliz@gnu.org>
9558
9559 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
9560 not incf.
9561
9562 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
9563
9564 More CL cleanups and reduction of use of cl.el.
9565 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
9566 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
9567 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
9568 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
9569 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
9570 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
9571 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
9572 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
9573 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
9574 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
9575 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
9576 * eshell/em-cmpl.el, eshell/em-banner.el:
9577 * calendar/parse-time.el: Use cl-lib.
9578 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
9579 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
9580 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
9581 * term/ns-win.el, term.el, shell.el, ps-samp.el:
9582 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
9583 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
9584 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
9585 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
9586 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
9587 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
9588 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
9589 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
9590 `lambda' rather than with `quote'.
9591 (eshell-do-opt): Adjust accordingly.
9592 (eshell-process-option): Simplify.
9593 * eshell/esh-var.el:
9594 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
9595 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
9596 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
9597 to `pcase--dontcare'.
9598 * emacs-lisp/cl.el (labels): Mark obsolete.
9599 (cl--letf, letf): Move to cl-lib.
9600 (cl--letf*, letf*): Remove.
9601 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
9602 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
9603 (cl-progv): Rewrite.
9604 (cl--letf, cl-letf): Move from cl.el.
9605 (cl-letf*): New macro.
9606 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
9607
9608 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
9609
9610 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
9611
9612 2012-07-11 Chong Yidong <cyd@gnu.org>
9613
9614 * vc/log-edit.el (log-edit-vc-backend): New variable.
9615 (log-edit): Doc fix.
9616
9617 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
9618 argument of log-edit to set up all local variables.
9619 (vc-start-logentry): New optional arg specifying VC backend.
9620
9621 * vc/vc.el (vc-checkin): Use it.
9622 (vc-deduce-fileset): Handle Log Edit buffers.
9623 (vc-diff): Make first argument optional too.
9624
9625 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
9626
9627 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
9628
9629 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
9630 command, just in case. The function is not needed anymore.
9631 (eshell-external-command): Do not call `eshell-remote-command'.
9632
9633 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
9634
9635 Reduce use of (require 'cl).
9636 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
9637 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
9638 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
9639 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
9640 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
9641 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
9642 * battery.el, avoid.el, abbrev.el: Use cl-lib.
9643 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
9644 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
9645 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
9646 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
9647 * calculator.el, autorevert.el, apropos.el: Don't require CL.
9648 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
9649 (byte-compile-unfold-bcf, byte-compile-check-variable):
9650 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
9651 (byte-compile-nilconstp):
9652 * emacs-lisp/autoload.el (make-autoload): Use pcase.
9653 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
9654
9655 * emacs-lisp/gv.el (cond): Make it a valid place.
9656 (if): Simplify slightly.
9657
9658 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
9659 (pcase--self-quoting-p): New function.
9660 (pcase--u1): Use it.
9661
9662 2012-07-10 Glenn Morris <rgm@gnu.org>
9663
9664 * emacs-lisp/authors.el (authors-fixed-entries):
9665 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
9666
9667 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
9668
9669 Rename configure.in to configure.ac (Bug#11603).
9670 * emacs-lisp/authors.el (authors-canonical-file-name):
9671 * progmodes/autoconf.el (autoconf-mode):
9672 Prefer configure.ac to configure.in.
9673
9674 2012-07-08 Chong Yidong <cyd@gnu.org>
9675
9676 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
9677 Implement the mouse-1-click-follows-link handling properly.
9678
9679 * info.el (Info-link-keymap): Use follow-link mechanism for
9680 header-line links (Bug#374).
9681
9682 * simple.el (deactivate-mark): Do not set the primary selection
9683 if another program has acquired it (Bug#11772).
9684
9685 2012-07-07 Kevin Ryde <user42@zip.com.au>
9686
9687 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
9688 (woman-decode-region): Replace escaped-escapes without destroying
9689 bold or underline (Bug#11552).
9690 (woman2-process-escapes): Handle nofill regions (Bug#11591).
9691
9692 2012-07-07 Chong Yidong <cyd@gnu.org>
9693
9694 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
9695 (interprogram-cut-function, interprogram-paste-function):
9696 Mention that we typically mean the clipboard.
9697
9698 2012-07-06 Glenn Morris <rgm@gnu.org>
9699
9700 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
9701
9702 * files.el (toggle-read-only): Restrict message to interactive use.
9703
9704 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
9705
9706 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
9707
9708 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
9709
9710 2012-07-06 Glenn Morris <rgm@gnu.org>
9711
9712 * Makefile.in (compile-one-process): Rename from "recompile".
9713
9714 * Makefile.in (bzr-update): "compile" is the same as "recompile
9715 autoloads", but parallelizable, so use that instead.
9716
9717 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
9718
9719 * window.el (quit-window): Always restore window height when
9720 it's saved in quit-restore parameter (Bug#11810).
9721
9722 2012-07-06 Glenn Morris <rgm@gnu.org>
9723
9724 * simple.el (kill-whole-line): Doc tweak.
9725
9726 2012-07-06 Eli Zaretskii <eliz@gnu.org>
9727
9728 * files.el (file-relative-name): Compare file names
9729 case-insensitively if on MS-Windows or MS-DOS, or if
9730 read-file-name-completion-ignore-case is non-nil. Don't use
9731 case-fold-search for this purpose. (Bug#11827)
9732
9733 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
9734
9735 * calendar/cal-dst.el (calendar-current-time-zone):
9736 Return calendar-current-time-zone-cache if non-nil.
9737
9738 2012-07-17 Masatake YAMATO <yamato@redhat.com>
9739 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
9740
9741 * calendar/cal-dst.el (calendar-current-time-zone):
9742 Return calendar-current-time-zone-cache if non-nil.
9743
9744 2012-07-06 Glenn Morris <rgm@gnu.org>
9745
9746 * Makefile.in (cvs-update): Remove old alias.
9747
9748 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
9749
9750 Sync with Tramp 2.2.6-pre.
9751
9752 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
9753 compatible declaration.
9754
9755 * net/tramp-cmds.el (tramp-append-tramp-buffers):
9756 Protect `list-load-path-shadows' call.
9757
9758 * net/tramp-compat.el (top): Require packages, which aren't
9759 autoloaded anymore for XEmacs. Protect call of
9760 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
9761 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
9762 it hurts at least for SXEmacs.
9763 (tramp-compat-temporary-file-directory): In XEmacs, there is no
9764 standard-value for `temporary-file-directory'.
9765
9766 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
9767 Redirect stderr to /dev/null.
9768 (tramp-sh-handle-write-region): uid and gid can be floats.
9769 Reported by Russell Sim <russell.sim@gmail.com>.
9770 (tramp-sh-handle-vc-registered): Hide errors.
9771 (tramp-vc-file-name-handler): Use dummy results for `process-file'
9772 and `start-file-process'.
9773 (tramp-maybe-open-connection): Check also whether `non-essential'
9774 is bound.
9775
9776 2012-07-04 Chong Yidong <cyd@gnu.org>
9777
9778 * xml.el (xml--parse-buffer): Use xml-syntax-table.
9779 (xml-parse-tag): Likewise, and avoid changing entity tables.
9780 (xml-syntax-table): Define from scratch, making sure not to give
9781 x2000 and other Unicode spaces whitespace syntax, since those are
9782 not spaces in XML.
9783 (xml-parse-fragment): Delete unused function.
9784 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
9785 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
9786 (xml-entity-ref, xml-pe-reference-re)
9787 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
9788 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
9789 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
9790 (xml-entity-value-re): Use syntax references in regexps where
9791 possible; no need to define inside a let-binding.
9792 (xml-parse-dtd): Use xml-pe-reference-re.
9793 (xml-entity-or-char-ref-re): New defconst.
9794 (xml-parse-string, xml-substitute-special): Use it.
9795
9796 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9797
9798 * files.el (locate-dominating-file): Allow `name' to be a predicate.
9799 (find-file--read-only): New function.
9800 (find-file-read-only, find-file-read-only-other-window)
9801 (find-file-read-only-other-frame): Use it.
9802 (insert-file-contents-literally): Don't `fset'.
9803 (get-free-disk-space): Use locate-dominating-file.
9804
9805 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
9806 function is already compiled.
9807
9808 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
9809
9810 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
9811
9812 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
9813 files on the same host.
9814
9815 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
9816
9817 * help-fns.el (describe-function-1): Only call
9818 help-fns--autoloaded-p when we have a file name. (Bug#11848)
9819
9820 2012-07-03 Chong Yidong <cyd@gnu.org>
9821
9822 * xml.el: Protect parser against XML bombs.
9823 (xml-entity-expansion-limit): New variable.
9824 (xml-parse-string, xml-substitute-special): Use it.
9825 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
9826
9827 2012-07-03 Glenn Morris <rgm@gnu.org>
9828
9829 * progmodes/bug-reference.el (bug-reference-bug-regexp):
9830 Allow linking to specific messages in debbugs reports (eg 123#5).
9831
9832 2012-07-02 Chong Yidong <cyd@gnu.org>
9833
9834 * xml.el: Fix entity and character reference expansion, allowing
9835 them to expand into markup as per XML spec.
9836 (xml-default-ns): New variable.
9837 (xml-entity-alist): Use XML spec definitions for lt and amp.
9838 (xml-parse-region): Make first two arguments optional.
9839 Discard text properties.
9840 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
9841 All callers changed.
9842 (xml-parse-tag): Call xml-parse-tag-1. For backward
9843 compatibility, this function should not modify buffer contents.
9844 (xml-parse-tag-1): Fix opening-tag regexp.
9845 (xml-parse-string): Rewrite, handling entity and character
9846 references properly.
9847 (xml--entity-replacement-text): Signal an error if a parameter
9848 entity is undefined.
9849
9850 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
9851
9852 * comint.el (comint-output-filter): Filter out repeated prompts.
9853
9854 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
9855 and file-name-absolute-p.
9856 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
9857 internal calls.
9858
9859 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
9860
9861 Spelling fixes.
9862 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
9863 Rename from byte-compile--refiy-function. All uses changed.
9864
9865 2012-07-01 Chong Yidong <cyd@gnu.org>
9866
9867 * xml.el (xml--parse-buffer): New function. Move most of
9868 xml-parse-region here.
9869 (xml-parse-region): Copy region into a temporary buffer, since
9870 parameter entity substitution requires changing buffer contents.
9871 Use xml--parse-buffer.
9872 (xml-parse-file): Use xml--parse-buffer.
9873 (xml-parse-dtd): Make parameter entity substitution work right.
9874 Use proper regexps for ELEMENT declarations (Bug#7172).
9875
9876 2012-06-30 Glenn Morris <rgm@gnu.org>
9877
9878 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
9879
9880 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
9881 Remove outdated and unnecessary dbus declarations.
9882
9883 2012-06-30 Eli Zaretskii <eliz@gnu.org>
9884
9885 * emacs-lisp/timer.el (timer-until): Subtract results of
9886 float-time, instead of taking float-time of the result of
9887 time-subtract, since float-time signals an error for negative time
9888 arguments.
9889
9890 2012-06-30 Chong Yidong <cyd@gnu.org>
9891
9892 * xml.el (xml-*-re): Convert defvars into defconsts, and
9893 eval-and-compile them so eval-and-compile works on derivatives.
9894 (xml--entity-replacement-text): Use eval-and-comple.
9895
9896 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
9897
9898 * vc/vc-git.el (vc-git-registered): Use cache property
9899 `git-registered'.
9900 (vc-git-mode-line-string): Call `vc-working-revision' instead of
9901 `vc-git-working-revision' in order to benefit from the cache.
9902 (vc-git-root): Use cache property `git-root'. (Bug#11757)
9903
9904 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
9905
9906 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
9907 removed (likely outside Emacs). (Bug#11757)
9908
9909 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
9910
9911 * emacs-lisp/cl-lib.el: Require macroexp.
9912
9913 2012-06-30 Chong Yidong <cyd@gnu.org>
9914
9915 * xml.el: Implement XML parameter entities.
9916 (xml-parameter-entity-alist): New variable.
9917 (xml-parse-region, xml-parse-fragment): Preserve previous values
9918 of xml-entity-alist and xml-parameter-entity-alist, so that
9919 repeated calls on different documents do not change them.
9920 (xml-parse-tag): Fix doctype regexp.
9921 (xml--entity-replacement-text): New function.
9922 (xml-parse-dtd): Use it. Don't handle system entities; doing that
9923 properly requires url retrieval which is unimplemented.
9924 (xml-escape-string): Doc fix.
9925
9926 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
9927
9928 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
9929
9930 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
9931
9932 * fringe.el (fringe-mode): Doc fix.
9933
9934 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
9935
9936 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
9937 is non-nil.
9938 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
9939 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
9940
9941 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
9942
9943 * calendar/cal-dst.el (calendar-current-time-zone):
9944 Return calendar-current-time-zone-cache if non-nil.
9945
9946 2012-06-29 Masatake YAMATO <yamato@redhat.com>
9947
9948 * progmodes/which-func.el (which-func-format):
9949 Add mouse-face. (Bug#11698)
9950
9951 2012-06-29 Leo Liu <sdl.web@gmail.com>
9952
9953 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
9954
9955 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
9956
9957 * minibuffer.el (minibuffer-confirm-exit-commands):
9958 Add completion-at-point (bug#11725).
9959
9960 2012-06-29 Glenn Morris <rgm@gnu.org>
9961
9962 * progmodes/f90.el (f90-font-lock-keywords-2):
9963 Add some preprocessor elements. (Bug#10499)
9964
9965 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
9966
9967 * progmodes/cperl-mode.el (cperl-update-syntaxification):
9968 Use syntax-propertize (bug#11739).
9969
9970 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
9971
9972 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
9973
9974 2012-06-28 Julien Danjou <julien@danjou.info>
9975
9976 * term.el (term-handle-colors-array): Use a set of new faces to
9977 color the terminal. Also uses :inverse-video property.
9978 (term-default-fg-color): Set to nil by default, deprecate in favor
9979 of `term-face'.
9980 (term-default-bg-color): Set to nil by default, deprecate in favor
9981 of `term-face'.
9982 (term-current-face): Use `term-face' by default.
9983 (term-bold-attribute): Variable deleted.
9984
9985 2012-06-28 Glenn Morris <rgm@gnu.org>
9986
9987 * simple.el (completion-list-mode-finish):
9988 Don't use toggle-read-only. (Since completion-list-mode has
9989 a special mode-class, it wasn't doing anything extra anyway.)
9990
9991 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
9992
9993 Make inlining of other-mode interpreted functions work (bug#11799).
9994 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
9995 (byte-compile): Use it to fix compilation of lexical-binding closures.
9996 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
9997 function, if needed.
9998
9999 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10000
10001 * help-mode.el (help-make-xrefs): Don't just withstand
10002 cyclic-variable-indirection but any error in documentation-property.
10003
10004 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
10005 memory use.
10006 * bindings.el (bindings--define-key): New function.
10007 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
10008 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
10009 * bindings.el: Use it to purecopy define-key bindings.
10010
10011 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
10012
10013 * emacs-lisp/cl.el (flet): Mark obsolete.
10014 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
10015 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
10016 * progmodes/js.el (js-c-fill-paragraph):
10017 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
10018 (ebrowse-switch-member-buffer-to-derived-class):
10019 * play/5x5.el (5x5-solver): Use cl-flet.
10020
10021 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
10022 (cl--symbol-function): New macro.
10023 (cl--letf, cl--letf*): Use it.
10024
10025 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
10026 Strip "toggle-" if any.
10027
10028 2012-06-27 Glenn Morris <rgm@gnu.org>
10029
10030 * info.el (Info-default-directory-list): Move here from paths.el.
10031 * paths.el: Remove file, which is now empty.
10032 * loadup.el: No longer load "paths".
10033
10034 * custom.el (custom-initialize-delay): Doc fix.
10035
10036 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10037 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
10038 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
10039 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
10040 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
10041 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
10042 * eshell/eshell.el (eshell-defgroup): Remove alias.
10043
10044 2012-06-27 Chong Yidong <cyd@gnu.org>
10045
10046 * help.el (help-enable-auto-load): New variable.
10047
10048 * help-fns.el (help-fns--autoloaded-p): New function.
10049 (describe-function-1): Refer to a function as "autoloaded" if it
10050 was autoloaded at any time in the past. Perform autoloading if
10051 help-enable-auto-load is non-nil.
10052
10053 2012-06-26 Eli Zaretskii <eliz@gnu.org>
10054
10055 * makefile.w32-in (compile, compile-always): Depend on
10056 update-subdirs, not on subdirs.el. Otherwise, several different
10057 sub-targets of 'bootstrap' running in parallel could
10058 simultaneously write to subdirs.el, producing a garbled file.
10059
10060 2012-06-26 Sam Steingold <sds@gnu.org>
10061
10062 * files.el (file-name-base): New convenience function.
10063 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
10064 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
10065 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
10066 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
10067 * textmodes/ispell.el, textmodes/reftex-ref.el:
10068 * textmodes/tex-mode.el: Use it.
10069 Did not touch cedet and org because they are maintained elsewhere.
10070
10071 2012-06-26 Martin Rudalics <rudalics@gmx.at>
10072
10073 * calendar/calendar.el (calendar-exit): Don't try to delete or
10074 iconify last frame. See:
10075 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
10076
10077 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
10078
10079 * server.el (server-process-filter): Remember dir in the
10080 process's `server-client-directory' properties.
10081
10082 2012-06-24 Chong Yidong <cyd@gnu.org>
10083
10084 * xml.el (xml-parse-tag): Correctly handle comment embedded in
10085 non-tag text.
10086
10087 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
10088
10089 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
10090
10091 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10092
10093 * help-fns.el (describe-variable): Don't croak when doc is not found.
10094 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
10095 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
10096 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
10097 * emacs-lisp/smie.el (smie-next-sexp): CSE.
10098 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
10099 ((lambda ..) ..).
10100 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
10101
10102 2012-06-23 Chong Yidong <cyd@gnu.org>
10103
10104 * info.el (Info-mouse-follow-link): Accept symbol values of
10105 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
10106 (Info-fontify-node): Use Info-link-keymap for all navigation
10107 buttons, with link-args property to perform the desired action.
10108 (Info-link-keymap): Doc fix.
10109 (Info-next-link-keymap, Info-prev-link-keymap)
10110 (Info-up-link-keymap): Delete now-unused keymaps.
10111
10112 2012-06-23 Chong Yidong <cyd@gnu.org>
10113
10114 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
10115
10116 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
10117 system abbrevs.
10118
10119 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
10120
10121 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10122
10123 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
10124 (bug#11719).
10125
10126 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
10127 the requote function doesn't work properly (bug#11714).
10128
10129 2012-06-23 Glenn Morris <rgm@gnu.org>
10130
10131 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
10132
10133 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10134
10135 Further GV/CL cleanups.
10136 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
10137 gv-expander.
10138 (gv--defun-declaration): New function.
10139 (defun-declarations-alist): Use it.
10140 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
10141 (gv-place): Autoload.
10142 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
10143 original definition of dotimes and dolist.
10144 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
10145 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
10146 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
10147 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
10148 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
10149 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
10150 to the function's definition.
10151 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
10152 * window.el:
10153 * files.el:
10154 * faces.el:
10155 * env.el: Don't use CL.
10156
10157 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
10158
10159 Support higher-resolution time stamps (Bug#9000).
10160
10161 * calendar/time-date.el (with-decoded-time-value): New arg
10162 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
10163 (encode-time-value): New optional arg PICO. New type 3.
10164 (time-to-seconds) [!float-time]: Support the new picoseconds
10165 component if it's used.
10166 (seconds-to-time, time-subtract, time-add):
10167 Support ps-resolution time stamps as well.
10168
10169 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
10170 (timerp): Timer vectors now have length 9, not 8.
10171 (timer--time): Support new-style (4-part) time stamps.
10172 (timer-next-integral-multiple-of-time): Time stamps now have
10173 picosecond resolution, so take a bit more care about rounding.
10174 (timer-relative-time, timer-inc-time): New optional arg psecs.
10175 (timer-set-time-with-usecs): Set psecs to 0.
10176 (timer--activate): Check psecs component, too.
10177
10178 * proced.el (proced-time-lessp): Support ps-resolution stamps.
10179
10180 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10181
10182 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
10183 Move the non-essential binding to the post/pre-command-hook where it is
10184 more obviously correct.
10185
10186 * subr.el (read-passwd): Don't use a history at all.
10187 * savehist.el (savehist-save): Remove password saved accidentally
10188 because of the above bug.
10189
10190 2012-06-22 Bastien Guerry <bzg@gnu.org>
10191
10192 * files.el (toggle-read-only): Display a message telling whether
10193 the buffer is read-only or not (bug#11726).
10194
10195 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10196
10197 * emacs-lisp/gv.el: New file.
10198 * subr.el (push, pop): Extend to generalized variables.
10199 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
10200 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
10201 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
10202 gv-define-simple-setter, and gv-define-expander.
10203 Remove setf-methods defined in gv. Rename cl-setf -> setf.
10204 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
10205 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
10206 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
10207 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
10208 gv-letplace.
10209 (cl-defstruct): Don't define setf-method any more.
10210 * emacs-lisp/cl.el (flet): Don't autoload.
10211 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
10212 (define-setf-expander, defsetf, define-modify-macro)
10213 (cl-struct-setf-expander): Move from cl-lib.el.
10214 * emacs-lisp/syntax.el:
10215 * emacs-lisp/ewoc.el:
10216 * emacs-lisp/smie.el:
10217 * emacs-lisp/cconv.el:
10218 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
10219 (timer--time): Use gv-define-simple-setter.
10220 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
10221 to avoid coding-system problems in subr.el. Adjust all users.
10222 (macroexp--maxsize, macroexp-small-p): New functions.
10223 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
10224 * scroll-bar.el (scroll-bar-mode):
10225 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
10226 (normal-erase-is-backspace-mode): Don't use the `eq' place.
10227 * winner.el (winner-configuration, winner-make-point-alist)
10228 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
10229 * files.el (locate-file-completion-table): Avoid list*.
10230
10231 2012-06-22 Chong Yidong <cyd@gnu.org>
10232
10233 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
10234 (dired-create-files): Doc fix (Bug#11329).
10235 (dired-do-copy): Doc fix (Bug#11334).
10236 (dired-mark-read-string): Doc fix (Bug#11553).
10237
10238 * dired.el (dired-recursive-copies, dired-recursive-deletes):
10239 Doc fix (Bug#11326).
10240 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
10241 (dired-dwim-target): Doc fix.
10242
10243 * wdired.el (wdired-mode): Doc fix.
10244
10245 2012-06-22 Glenn Morris <rgm@gnu.org>
10246
10247 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
10248 (pcmpl-rpm-cache-stamp-file): New constant.
10249 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
10250 (pcmpl-rpm-packages): Optionally cache list of packages.
10251
10252 * pcmpl-rpm.el (pcmpl-rpm): New group.
10253 (pcmpl-rpm-query-options): New option.
10254 (pcmpl-rpm-packages): No need to inline it.
10255 Use pcmpl-rpm-query-options.
10256
10257 * calendar/calendar.el (calendar-in-read-only-buffer):
10258 Avoid some needless mode changes.
10259
10260 2012-06-21 Chong Yidong <cyd@gnu.org>
10261
10262 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
10263 (desktop-path): Remove . from the default value (Bug#10977).
10264 (desktop-read): Use user-emacs-directory if desktop-path is nil.
10265
10266 2012-06-20 Chong Yidong <cyd@gnu.org>
10267
10268 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
10269
10270 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
10271
10272 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
10273 (bug#11201).
10274
10275 2012-06-20 Chong Yidong <cyd@gnu.org>
10276
10277 * term.el (term-window-width): Handle the case of a missing right
10278 fringe (Bug#8837).
10279 (term-check-size): Use window-text-height (Bug#5445).
10280 (term-mode): Use define-derived-mode. Minor cleanups.
10281 Set font-lock-defaults (Bug#7692).
10282 (term-move-columns, term-insert-char, term-emulate-terminal)
10283 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
10284
10285 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
10286
10287 * net/ange-ftp.el (ange-ftp-get-passwd):
10288 Bind `enable-recursive-minibuffers'.
10289 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
10290
10291 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
10292
10293 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
10294
10295 2012-06-19 Glenn Morris <rgm@gnu.org>
10296
10297 * progmodes/python.el (python-mode): Derive from prog-mode.
10298
10299 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
10300
10301 * emulation/edt.el (edt-default-menu-bar-update-buffers)
10302 (edt-user-menu-bar-update-buffers): New functions.
10303 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
10304
10305 2012-06-19 Chong Yidong <cyd@gnu.org>
10306
10307 * subr.el (with-selected-window): Preserve the selected window's
10308 terminal's top-frame (Bug#4702).
10309
10310 * window.el (save-selected-window): Likewise.
10311
10312 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10313
10314 * progmodes/python.el (python-rx-constituents): Move backquote.
10315 (python-skeleton-define, python-define-auxiliary-skeleton):
10316 Use `declare'.
10317
10318 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
10319
10320 * minibuffer.el (read-file-name-default): Revert the patch from
10321 2012-06-17.
10322
10323 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10324
10325 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
10326 (pcase--u1, pcase--q1): Don't use apply-partially.
10327
10328 2012-06-18 Glenn Morris <rgm@gnu.org>
10329
10330 * progmodes/python.el (python-proc, python-buffer)
10331 (python-send-receive, python-send-string): Fix obsolete versions.
10332
10333 2012-06-18 Martin Rudalics <rudalics@gmx.at>
10334
10335 * window.el (special-display-p): Completely remove stringp
10336 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
10337
10338 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
10339
10340 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
10341
10342 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
10343
10344 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
10345 * net/tramp-sh.el (tramp-maybe-open-connection):
10346 Throw if `non-essential' is non-nil.
10347
10348 2012-06-17 Martin Rudalics <rudalics@gmx.at>
10349
10350 * window.el (special-display-p): Signal an error if BUFFER-NAME
10351 is not a string (Bug#11713).
10352
10353 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
10354
10355 * progmodes/python.el (python-info-beginning-of-backslash):
10356 Rename from python-info-beginning-of-backlash, as a spelling fix.
10357
10358 2012-06-17 Chong Yidong <cyd@gnu.org>
10359
10360 * term.el (term-emulate-terminal): If term-check-size is called,
10361 move point to the process mark without resetting point (Bug#4635).
10362
10363 2012-06-17 Glenn Morris <rgm@gnu.org>
10364
10365 * international/mule-cmds.el (mule-menu-keymap)
10366 (set-language-environment, set-locale-environment): Doc tweaks.
10367
10368 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
10369
10370 * cus-face.el (custom-face-attributes): Add wave-style underline
10371 attribute.
10372 * faces.el (set-face-attribute): Update docstring to describe
10373 wave-style underline attribute.
10374
10375 2012-06-16 Chong Yidong <cyd@gnu.org>
10376
10377 * term/xterm.el (terminal-init-xterm): Discard input before
10378 querying background mode (Bug#10959).
10379
10380 2012-06-16 Stefan Merten <smerten@oekonux.de>
10381
10382 * textmodes/rst.el: Added and corrected some comments.
10383 (rst-re-alist-def): Improve symbol syntax.
10384 (rst-mode-syntax-table): Correct syntax entries.
10385 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
10386 (rst-official-version, rst-official-cvs-rev): Update version
10387 information.
10388
10389 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
10390
10391 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
10392 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
10393
10394 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
10395
10396 * progmodes/python.el: New python.el merge.
10397 (python-guess-indent): Obsolete var.
10398 (python-indent-guess-indent-offset): New defcustom.
10399 (python-indent): Obsolete var.
10400 (python-indent-offset): New defcustom.
10401 (python-python-command, python-jython-command): Delete var.
10402 (python-shell-interpreter): New defcustom.
10403 (python-pdbtrack-do-tracking-p): Delete var.
10404 (python-pdbtrack-activate): New defcustom.
10405 (python-use-skeletons): Obsolete var.
10406 (python-skeleton-autoinsert): New defcustom.
10407 (inferior-python-filter-regexp, python-continuation-offset)
10408 (python-honour-comment-indentation, python-indent-string-contents)
10409 (python-jython-packages, python-mode-hook)
10410 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
10411 (python-shell-prompt-alist)
10412 (python-source-modes): Delete defcustoms.
10413 (python-check-buffer-name, python-eldoc-setup-code)
10414 (python-eldoc-string-code, python-ffap-setup-code)
10415 (python-ffap-string-code, python-fill-comment-function)
10416 (python-fill-decorator-function, python-fill-paren-function)
10417 (python-fill-string-function, python-imenu-include-defun-type)
10418 (python-imenu-make-tree, python-imenu-subtree-root-label)
10419 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
10420 (python-shell-compilation-regexp-alist)
10421 (python-shell-completion-module-string-code)
10422 (python-shell-completion-pdb-string-code)
10423 (python-shell-completion-setup-code)
10424 (python-shell-completion-string-code)
10425 (python-shell-enable-font-lock, python-shell-exec-path)
10426 (python-shell-extra-pythonpaths)
10427 (python-shell-internal-buffer-name, python-shell-interpreter-args)
10428 (python-shell-process-environment)
10429 (python-shell-prompt-block-regexp)
10430 (python-shell-prompt-output-regexp)
10431 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
10432 (python-shell-send-setup-max-wait, python-shell-setup-codes)
10433 (python-shell-virtualenv-path): New defcustoms.
10434 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
10435 (inferior-python-mode-syntax-table, python--prompt-regexp)
10436 (python-buffer, python-command python-python-command)
10437 (python-default-template, python-imports, python-indent-index)
10438 (python-indent-list, python-indent-list-length)
10439 (python-mode-running, python-pdbtrack-is-tracking-p)
10440 (python-preoutput-continuation, python-preoutput-leftover)
10441 (python-preoutput-result, python-preoutput-skip-next-prompt)
10442 (python-prev-dir/file, python-recursing)
10443 (python-saved-check-command, python-version-checked)
10444 (python-which-func-length-limit)
10445 (view-return-to-alist): Delete vars.
10446 (python-check-custom-command, python-dotty-syntax-table)
10447 (python-imenu-index-alist, python-indent-current-level)
10448 (python-indent-dedenters, python-indent-levels)
10449 (python-nav-beginning-of-defun-regexp)
10450 (python-nav-list-defun-positions-cache)
10451 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
10452 (python-shell-internal-buffer)
10453 (python-skeleton-available): New vars.
10454 (def-python-skeleton): Delete macro.
10455 (python-skeleton-define): New macro.
10456 (python-define-auxiliary-skeleton, python-rx): New macros.
10457 (python-insert-class): Delete command.
10458 (python-skeleton-class): New command.
10459 (python-insert-def): Delete command.
10460 (python-skeleton-def): New command.
10461 (python-insert-for): Delete command.
10462 (python-skeleton-for): New command.
10463 (python-insert-if): Delete command.
10464 (python-skeleton-if): New command.
10465 (python-insert-try/except, python-insert-try/finally): Delete commands.
10466 (python-skeleton-try): New command.
10467 (python-insert-while): Delete command.
10468 (python-skeleton-while): New command.
10469 (python-backspace): Delete command.
10470 (python-indent-dedent-line-backspace): New command.
10471 (python-electric-colon): Delete command.
10472 (python-indent-electric-colon): New command.
10473 (python-guess-indent): Delete command.
10474 (python-indent-guess-indent-offset): New command.
10475 (python-shift-left): Delete command.
10476 (python-indent-shift-left): New command.
10477 (python-shift-right): Delete command.
10478 (python-indent-shift-right): New command.
10479 (python-find-function): Delete command.
10480 (python-nav-jump-to-defun): New command.
10481 (python-next-statement): Delete command.
10482 (python-nav-forward-sentence): New command.
10483 (python-previous-statement): Delete command.
10484 (python-nav-backward-sentence): New command.
10485 (python-fill-paragraph): Delete command.
10486 (python-fill-paragraph-function): New command.
10487 (python-send-buffer): Delete command.
10488 (python-shell-send-buffer): New command.
10489 (python-send-defun): Delete command.
10490 (python-shell-send-defun): New command.
10491 (python-send-region, python-send-region-and-go): Delete commands.
10492 (python-shell-send-region)
10493 (python-shell-switch-to-shell): New commands.
10494 (python-send-string): Delete command.
10495 (python-shell-send-string): New command.
10496 (python-switch-to-python): Delete command.
10497 (python-shell-switch-to-shell): New command.
10498 (python-describe-symbol): Delete command.
10499 (python-eldoc-at-point): New command.
10500 (python--set-prompt-regexp, python-args-to-list)
10501 (python-after-info-look, python-check-version)
10502 (python-check-comint-prompt, python-find-imports)
10503 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
10504 (python-unload-function, python-expand-template)
10505 (python-maybe-jython, python-preoutput-filter)
10506 (python-pdbtrack-get-source-buffer)
10507 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
10508 (python-pdbtrack-toggle-stack-tracking)
10509 (python-pdbtrack-track-stack-file, python-initial-text)
10510 (python-first-word, python-comment-line-p, python-send-command)
10511 (python-setup-brm, python-sentinel, python-set-proc)
10512 (python-skip-out, python-input-filter, python-outdent-p)
10513 (python-outline-level, python-backslash-continuation-line-p)
10514 (python-end-of-block, python-end-of-statement, python-mark-block)
10515 (python-beginning-of-block, python-beginning-of-statement)
10516 (python-blank-line-p, python-beginning-of-string)
10517 (python-open-block-statement-p): Delete functions.
10518 (python-indent-line, python-indent-line-1): Delete functions.
10519 (python-indent-line): New function.
10520 (python-indentation-levels): Delete function.
10521 (python-indent-calculate-levels): New function.
10522 (python-proc): Delete function.
10523 (python-shell-get-process): New function.
10524 (python-send-receive): Delete function.
10525 (python-shell-send-string-no-output): New function.
10526 (python-module-path): Delete function.
10527 (python-ffap-module-path): New function.
10528 (python-completion-at-point)
10529 (python-symbol-completions): Delete functions.
10530 (python-completion-complete-at-point): New function.
10531 (python-load-file): Delete function.
10532 (python-shell-send-file): New function.
10533 (python-calculate-indentation): Delete function.
10534 (python-indent-calculate-indentation): New function.
10535 (python-skip-comments/blanks): Delete function.
10536 (python-util-forward-comment): New function.
10537 (python-continuation-line-p): Delete function.
10538 (python-info-continuation-line-p): New function.
10539 (python-which-func, python-current-defun): Delete function.
10540 (python-info-current-defun): New function.
10541 (python-beginning-of-defun): Delete function.
10542 (python-nav-beginning-of-defun): New function.
10543 (python-close-block-statement-p)
10544 (python-block-end-p): Delete function.
10545 (python-info-closing-block): New function.
10546 (python-comint-output-filter-function)
10547 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
10548 (python-fill-comment, python-fill-decorator, python-fill-paren)
10549 (python-fill-string, python-imenu-make-element-tree)
10550 (python-imenu-make-tree, python-imenu-tree-assoc)
10551 (python-indent-context, python-indent-dedent-line)
10552 (python-indent-line-function)
10553 (python-indent-post-self-insert-function)
10554 (python-indent-toggle-levels)
10555 (python-info-assignment-continuation-line-p)
10556 (python-info-beginning-of-backlash)
10557 (python-info-block-continuation-line-p)
10558 (python-info-closing-block-message)
10559 (python-info-line-ends-backslash-p)
10560 (python-info-looking-at-beginning-of-defun)
10561 (python-info-ppss-context, python-info-ppss-context-type)
10562 (python-nav-list-defun-positions, python-nav-read-defun)
10563 (python-nav-sentence-end, python-nav-sentence-start)
10564 (python-pdbtrack-comint-output-filter-function)
10565 (python-pdbtrack-set-tracked-buffer)
10566 (python-shell-calculate-exec-path)
10567 (python-shell-calculate-process-environment)
10568 (python-shell-completion--do-completion-at-point)
10569 (python-shell-completion--get-completions)
10570 (python-shell-completion-complete-at-point)
10571 (python-shell-completion-complete-or-indent)
10572 (python-shell-get-or-create-process)
10573 (python-shell-get-process-name)
10574 (python-shell-internal-get-or-create-process)
10575 (python-shell-internal-get-process-name)
10576 (python-shell-internal-send-string, python-shell-make-comint)
10577 (python-shell-parse-command, python-shell-send-setup-code)
10578 (python-skeleton-add-menu-items)
10579 (python-util-clone-local-variables, python-util-position)
10580 (run-python-internal, python-indentation-levels)
10581 (python-nav-beginning-of-defun)
10582 (python-completion-complete-at-point): New functions.
10583 (run-python): Change arguments. New API requirements.
10584
10585 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10586
10587 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
10588 (bug#11649).
10589
10590 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
10591 (macroexp--expand-all): Use it.
10592
10593 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
10594 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
10595 Use `cl-function' instead.
10596
10597 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
10598
10599 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
10600 Suggested by Stefan Monnier while discussing bug#11657.
10601
10602 2012-06-14 Sam Steingold <sds@gnu.org>
10603
10604 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
10605
10606 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
10607
10608 * play/doctor.el (doctor-doc): Remove parameter and use
10609 doctor-sent instead of sent.
10610 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
10611
10612 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10613
10614 * files.el: Require cl-lib.
10615 (file-name-non-special): Replace case -> cl-case.
10616
10617 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
10618
10619 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
10620 mapping from #' to function*.
10621
10622 2012-06-13 Chong Yidong <cyd@gnu.org>
10623
10624 * mouse.el (mouse-drag-track): Do not set the mark if the user
10625 releases the mouse without selecting anything (Bug#11588).
10626
10627 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10628
10629 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
10630 as well (bug#11646).
10631
10632 * loadup.el: Count byte-code functions as well.
10633
10634 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
10635 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
10636
10637 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
10638 (bug#11649). Add cl-defun and cl-defmacro.
10639
10640 2012-06-13 Drew Adams <drew.adams@oracle.com>
10641
10642 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
10643 Fix last change.
10644
10645 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
10646
10647 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
10648 Otherwise, it blocks in batch mode.
10649
10650 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
10651
10652 * help-mode.el (bookmark-make-record-default): Declare.
10653
10654 2012-06-13 Chong Yidong <cyd@gnu.org>
10655
10656 * emacs-lisp/package.el (list-packages): Compute a list of
10657 packages that are newly-available since the last list-packages
10658 invocation.
10659 (package-menu--new-package-list): New var.
10660 (package-menu--generate, package-menu--print-info)
10661 (package-menu--status-predicate, package-menu-mark-install):
10662 Handle new status label "new".
10663
10664 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10665
10666 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
10667 conversion to backquotes.
10668
10669 2012-06-12 Chong Yidong <cyd@gnu.org>
10670
10671 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
10672 Rename from gud-inhibit-global-bindings.
10673
10674 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
10675
10676 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
10677 hook from nxml-glyph-set-hook.
10678
10679 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
10680 declaration.
10681
10682 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
10683
10684 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
10685 Convert to defcustom.
10686
10687 2012-06-12 Drew Adams <drew.adams@oracle.com>
10688
10689 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
10690 New functions.
10691 (help-mode): Use them.
10692
10693 2012-06-11 Glenn Morris <rgm@gnu.org>
10694
10695 * progmodes/fortran.el (fortran-font-lock-keywords-3):
10696 Use preprocessor face for directives.
10697 (fortran-directive-re): Doc fix.
10698
10699 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10700
10701 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
10702 conversion to backquotes (bug#11652).
10703
10704 Fix compiler-expansion of CL's cXXr functions (bug#11673).
10705 * emacs-lisp/cl-lib.el (cl--defalias): New function.
10706 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
10707 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
10708 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
10709 (cl-ninth, cl-tenth): Mark them as inlinable.
10710 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
10711 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
10712 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
10713 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
10714 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
10715 (cl-list*, cl-adjoin): Don't put an autoload manually.
10716 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
10717 (cl--compiler-macro-list*): Add autoload cookie.
10718 (cl--compiler-macro-cXXr): New function.
10719
10720 * help-fns.el (help-fns--compiler-macro): New function extracted from
10721 describe-function-1; follow aliases and use `compiler-macro' property.
10722 (describe-function-1): Use it.
10723
10724 2012-06-11 Chong Yidong <cyd@gnu.org>
10725
10726 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
10727 is uninstalled, if imagemagick is installed.
10728
10729 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10730
10731 * emacs-lisp/cl-lib.el: Use lexical-binding.
10732 (cl-map-extents, cl-maclisp-member): Remove.
10733 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
10734 (cl--set-substring, cl--block-wrapper, cl--block-throw)
10735 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
10736 * emacs-lisp/cl-extra.el: Use lexical-binding.
10737 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
10738 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
10739 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
10740 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
10741 * emacs-lisp/cl-seq.el: Use lexical-binding.
10742 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
10743 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
10744 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
10745 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
10746 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
10747 CL's internals.
10748
10749 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
10750
10751 Sync with Tramp 2.2.6-pre.
10752
10753 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
10754 `print-length' and `print-level' to nil, in order to avoid
10755 truncation. Reported by Christopher Schmidt
10756 <christopher@ristopher.com>.
10757
10758 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
10759
10760 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
10761 New defmacro.
10762 (tramp-compat-copy-directory): Add optional argument
10763 COPY-CONTENTS. It is not handled yet.
10764
10765 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
10766 (tramp-ftp-file-name-p): Simplify.
10767
10768 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
10769 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
10770 connection vector.
10771
10772 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
10773 (tramp-methods): Do not use `tramp-password-end-of-line'.
10774 (tramp-completion-function-alist-putty): Handle UNIX case.
10775 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
10776 (tramp-do-file-attributes-with-stat)
10777 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
10778 gid as real numbers. They could run out of integer range on cygwin.
10779 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
10780 (tramp-sh-handle-expand-file-name): Handle hops.
10781 (tramp-open-connection-setup-interactive-shell):
10782 Use `tramp-cleanup'. Move check for busyboxes ...
10783 (tramp-find-shell): ... here. Simplify implementation.
10784 Set "remote-shell" property also for alternative shells.
10785 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
10786 If failing, a regular file would be written otherwise.
10787 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
10788 (tramp-find-inline-encoding): Cache the coding commands in the
10789 process cache. Apply test command on the remote side, if defined.
10790 (tramp-find-inline-compress): Cache the compress commands in the
10791 process cache.
10792 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
10793 when requested. Handle hops.
10794 (tramp-current-connection): New defvar.
10795 (tramp-maybe-open-connection): Use `tramp-cleanup'.
10796 Throw `suppress', if there was a failed connection shortly before.
10797 Handle user interrupt. (Bug#10187)
10798 (tramp-get-inline-compress, tramp-get-inline-coding):
10799 Read connection properties from the process cache.
10800
10801 * net/tramp-smb.el (tramp-smb-server-version)
10802 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
10803 New defconsts.
10804 (tramp-smb-prompt): Extend for powershell prompt.
10805 (tramp-smb-file-name-handler-alist): Add handlers for
10806 `process-file', `shell-command' and `start-file-process'.
10807 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
10808 (tramp-smb-winexe-shell-command-switch): New defcustoms.
10809 (tramp-smb-file-name-p): Simplify.
10810 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
10811 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
10812 (tramp-smb-shell-quote-argument): New defuns.
10813 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
10814 Implement using "tar". By this, time-stamps are preserved.
10815 (tramp-smb-handle-copy-file): Handle also the case of directories.
10816 (tramp-smb-do-file-attributes-with-stat)
10817 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
10818 Use `tramp-get-connection-buffer').
10819 (tramp-smb-handle-rename-file): Use "rename", when source and
10820 target are on the same share.
10821 (tramp-smb-maybe-open-connection): Handle wrong passwords.
10822 Use `tramp-smb-server-version'.
10823 (tramp-smb-wait-for-output): Remove prompt.
10824
10825 * net/tramp.el (top): Require 'cl.
10826 (tramp-methods, tramp-rsh-end-of-line):
10827 Remove `tramp-password-end-of-line' from docstring.
10828 (tramp-save-ad-hoc-proxies): New defcustom.
10829 (tramp-completion-function-alist): Adapt docstring.
10830 (tramp-default-password-end-of-line): Remove defcustom.
10831 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
10832 (tramp-user-regexp, tramp-file-name-regexp-unified)
10833 (tramp-file-name-regexp-url): Extend regexp by hop separator.
10834 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
10835 (tramp-remote-file-name-spec-regexp): New defconst.
10836 (tramp-file-name-structure): Extend structure for hops.
10837 (tramp-get-method-parameter): Move up.
10838 (tramp-file-name-p, tramp-dissect-file-name)
10839 (with-parsed-tramp-file-name): Handle hops.
10840 (tramp-file-name-hop): New defun.
10841 (tramp-make-tramp-file-name): New optional arg HOP.
10842 (tramp-message-show-progress-reporter-message): New defvar.
10843 (tramp-with-progress-reporter): Use it. We cannot use
10844 `tramp-message-show-message' here, because this suppresses also
10845 error buffers.
10846 (tramp-error-with-buffer): Suppress buffer view, if
10847 `tramp-message-show-message' is nil.
10848 Use `tramp-get-connection-buffer'.
10849 (tramp-cleanup): New defun.
10850 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
10851 (tramp-file-name-handler): If `debug-on-error' is set, propagate
10852 an error unchanged.
10853 (tramp-completion-handle-file-name-all-completions): Handle hops.
10854 Fix an error when called from ido.
10855 (tramp-completion-dissect-file-name): Use better local variable
10856 name. Add hop to the vector.
10857 (tramp-handle-insert-file-contents): Use progress-reporter for the
10858 whole scenario.
10859 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
10860 to `t'.
10861 (tramp-check-for-regexp): Simplify search.
10862 (tramp-enter-password): Remove it. Move implementation ...
10863 (tramp-action-password): ... here.
10864 (tramp-mode-string-to-int, tramp-local-host-p)
10865 (tramp-make-tramp-temp-file, tramp-read-passwd)
10866 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
10867 Set tramp-autoload cookie.
10868
10869 * net/trampver.el: Update release number.
10870
10871 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10872 Michael Albinus <michael.albinus@gmx.de>
10873
10874 * net/tramp.el (tramp-set-completion-function): Fix docstring.
10875 (tramp-parse-group, tramp-parse-file)
10876 (tramp-parse-shostkeys-sknownhosts): New defuns.
10877 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
10878 (tramp-parse-shosts-group, tramp-parse-sconfig)
10879 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
10880 (tramp-parse-sknownhosts, tramp-parse-hosts)
10881 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
10882 Use them.
10883 (tramp-parse-passwd-group, tramp-parse-netrc-group)
10884 (tramp-parse-putty-group): Don't narrow.
10885 (tramp-parse-putty): Make a loop.
10886 (tramp-file-name-handler): Catch the `suppress' signal.
10887
10888 2012-06-11 Chong Yidong <cyd@gnu.org>
10889
10890 * image.el (imagemagick-register-types): Put the ImageMagick entry
10891 at the end of image-type-file-name-regexps.
10892
10893 2012-06-11 Johan Bockgård <bojohan@gnu.org>
10894
10895 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
10896 (pcase, pcase-let*, pcase-dolist): Use them.
10897
10898 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10899
10900 * emacs-lisp/pcase.el (pcase--let*): New function.
10901 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
10902 (pcase--expand): Use macroexp-let².
10903
10904 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
10905
10906 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
10907 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
10908 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
10909 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
10910 * emacs-lisp/derived.el: Use pcase instead of `cl'.
10911 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
10912
10913 2012-06-10 Glenn Morris <rgm@gnu.org>
10914
10915 * mail/rmail.el (rmail-yank-current-message): Leave point at
10916 correct position. (Bug#11660)
10917
10918 2012-06-10 Chong Yidong <cyd@gnu.org>
10919
10920 * allout-widgets.el: Fix code header.
10921
10922 2012-06-10 Chong Yidong <cyd@gnu.org>
10923
10924 * cus-edit.el (customize-changed-options-previous-release):
10925 Bump to 24.1.
10926
10927 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
10928
10929 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
10930
10931 2012-06-09 Chong Yidong <cyd@gnu.org>
10932
10933 * ebuff-menu.el (electric-buffer-list): Preserve header line.
10934
10935 2012-06-09 Martin Rudalics <rudalics@gmx.at>
10936
10937 * window.el (special-display-popup-frame): Don't use
10938 window--display-buffer (Bug#11651).
10939
10940 2012-06-09 Eli Zaretskii <eliz@gnu.org>
10941
10942 Fix parallel builds: make sure loaddefs.el is not being written
10943 while Lisp files are compiled.
10944 (compile): Don't depend on 'mh-autoloads'.
10945 (compile-CMD, compile-SH): Depend on 'autoloads'.
10946 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
10947
10948 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
10949
10950 2012-06-09 Chong Yidong <cyd@gnu.org>
10951
10952 * face-remap.el (face-remap-add-relative, face-remap-set-base)
10953 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
10954 Doc fixes (Bug#11225).
10955
10956 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
10957
10958 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
10959 a function if there's a clear indication that it has a compiler-macro.
10960 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
10961 (macro-declarations-alist): Add arglist to declaration functions.
10962 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
10963 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
10964 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
10965 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
10966 Also add autoload to find the compiler macro.
10967 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
10968 (cl--compiler-macro-member, cl--compiler-macro-assoc)
10969 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
10970 (cl--compiler-macro-get): New functions, replacing calls to
10971 cl-define-compiler-macro.
10972 (cl-typep) [compiler-macro]: Use macroexp-let².
10973
10974 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
10975
10976 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
10977 string properly, fixes Bug#11473.
10978
10979 2012-06-08 Chong Yidong <cyd@gnu.org>
10980
10981 * faces.el (set-face-attribute): Doc fix.
10982 (modify-face): Don't use :bold and :italic.
10983 (error, warning, success): Tweak definitions.
10984
10985 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
10986 (custom-modified, custom-set, custom-changed, custom-themed)
10987 (custom-saved, custom-button, custom-button-mouse)
10988 (custom-button-pressed, custom-state, custom-comment-tag)
10989 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
10990 (custom-group-subtitle): Use new-style face specs.
10991 (custom-invalid-face, custom-rogue-face, custom-modified-face)
10992 (custom-set-face, custom-changed-face, custom-saved-face)
10993 (custom-button-face, custom-button-pressed-face)
10994 (custom-documentation-face, custom-state-face)
10995 (custom-comment-face, custom-comment-tag-face)
10996 (custom-variable-tag-face, custom-variable-button-face)
10997 (custom-face-tag-face, custom-group-tag-face-1)
10998 (custom-group-tag-face): Remove obsolete face alias.
10999
11000 * epa.el (epa-validity-high, epa-validity-medium)
11001 (epa-validity-low, epa-mark, epa-field-name, epa-string)
11002 (epa-field-name, epa-field-body):
11003 * font-lock.el (font-lock-comment-face, font-lock-string-face)
11004 (font-lock-keyword-face, font-lock-builtin-face)
11005 (font-lock-function-name-face, font-lock-variable-name-face)
11006 (font-lock-type-face, font-lock-constant-face):
11007 * ido.el (ido-first-match, ido-only-match, ido-subdir)
11008 (ido-virtual, ido-indicator, ido-incomplete-regexp):
11009 * speedbar.el (speedbar-button-face, speedbar-file-face)
11010 (speedbar-directory-face, speedbar-tag-face)
11011 (speedbar-selected-face, speedbar-highlight-face)
11012 (speedbar-separator-face):
11013 * whitespace.el (whitespace-newline, whitespace-space)
11014 (whitespace-hspace, whitespace-tab, whitespace-trailing)
11015 (whitespace-line, whitespace-space-before-tab)
11016 (whitespace-space-after-tab, whitespace-indentation)
11017 (whitespace-empty):
11018 * emulation/cua-base.el (cua-global-mark):
11019 * eshell/em-prompt.el (eshell-prompt):
11020 * net/newst-plainview.el (newsticker-new-item-face)
11021 (newsticker-old-item-face, newsticker-immortal-item-face)
11022 (newsticker-obsolete-item-face, newsticker-date-face)
11023 (newsticker-statistics-face, newsticker-default-face):
11024 * net/newst-reader.el (newsticker-feed-face)
11025 (newsticker-extra-face, newsticker-enclosure-face):
11026 * net/newst-treeview.el (newsticker-treeview-face)
11027 (newsticker-treeview-new-face, newsticker-treeview-old-face)
11028 (newsticker-treeview-immortal-face)
11029 (newsticker-treeview-obsolete-face)
11030 (newsticker-treeview-selection-face):
11031 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
11032 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
11033 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
11034 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
11035 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
11036 (nxml-outline-active-indicator, nxml-outline-ellipsis):
11037 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
11038 (mpuz-text):
11039 * progmodes/vera-mode.el (vera-font-lock-number)
11040 (vera-font-lock-function, vera-font-lock-interface):
11041 * textmodes/table.el (table-cell): Use new-style face specs, and
11042 don't use the old :bold and :italic attributes.
11043
11044 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
11045 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
11046 (ebrowse-member-class, ebrowse-progress): Likewise.
11047 (ebrowse-tree-mark-face, ebrowse-root-class-face)
11048 (ebrowse-file-name-face, ebrowse-default-face)
11049 (ebrowse-member-attribute-face, ebrowse-member-class-face)
11050 (ebrowse-progress-face): Remove obsolete faces.
11051
11052 * progmodes/flymake.el (flymake-errline, flymake-warnline):
11053 Inherit from error and warning faces respectively.
11054
11055 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
11056 Likewise.
11057 (flyspell-incorrect-face, flyspell-duplicate-face):
11058 Remove obsolete aliases.
11059
11060 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
11061
11062 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
11063 Avoid infloop.
11064
11065 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
11066
11067 * startup.el (argv, argi): Make lexically scoped.
11068 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
11069 * emacs-lisp/cl-macs.el: Use lexical-binding.
11070 Rename cl-bind-* to cl--bind-*.
11071 * files.el: Don't require `cl' since it doesn't use it.
11072 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
11073
11074 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
11075
11076 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
11077 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
11078 instead of calling external sort utility.
11079 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
11080
11081 2012-06-08 Eli Zaretskii <eliz@gnu.org>
11082
11083 * descr-text.el (describe-char): Mention how to insert the
11084 character, if the current input method doesn't support it.
11085 See the discussion in this thread for the details:
11086 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
11087
11088 2012-06-08 Sam Steingold <sds@gnu.org>
11089
11090 * bindings.el (global-map): Bind XF86Forward to next-buffer and
11091 XF86Back to previous-buffer.
11092 (minibuffer-local-map): Bind them to next-history-element and
11093 previous-history-element respectively.
11094 * help-mode.el (help-mode-map): Bind them to help-go-forward and
11095 help-go-back respectively.
11096 * info.el (Info-mode-map): Bind them to Info-history-forward and
11097 Info-history-back respectively.
11098 These are the keys next to Up on the ThinkPad keyboard.
11099
11100 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
11101
11102 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
11103 * emacs-lisp/cl-macs.el: Provide itself.
11104 (cl--labels-convert-cache): New var.
11105 (cl--labels-convert): New function.
11106 (cl-flet, cl-labels): New implementation with new semantics, relying on
11107 lexical-binding.
11108 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
11109 (cl-closure-vars, cl--function-convert-cache)
11110 (cl--function-convert): Move from cl-macs.el.
11111 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
11112 rename by removing the "cl-" prefix.
11113 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
11114
11115 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11116
11117 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
11118 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
11119 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
11120 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
11121 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
11122 (cl-hash-table-count): Add old compatibility aliases.
11123
11124 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
11125 Use macroexpand-all-environment instead.
11126 (cl--old-macroexpand): New var.
11127 (cl--sm-macroexpand): New function.
11128 (cl-symbol-macrolet): Use it during macro expansion.
11129 (cl--function-convert-cache): New var.
11130 (cl--function-convert): New function, extracted from
11131 cl-macroexpand-all.
11132 (cl-lexical-let): Use it.
11133
11134 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
11135 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
11136 (cl-member): Remove old alias.
11137
11138 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
11139 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
11140 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
11141 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
11142 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
11143 (cl-macroexpand-cmacs): Remove var.
11144 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
11145 Use macroexpand-all instead.
11146
11147 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11148
11149 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
11150 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
11151 (macroexp-copyable-p): New functions and macros.
11152 * emacs-lisp/edebug.el (edebug-unwrap):
11153 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
11154 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
11155 (pcase--let*): Remove.
11156 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
11157 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
11158 macroexp-const-p instead.
11159 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
11160
11161 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
11162 instead of "cl-" for internal definitions. Use macroexp-const-p.
11163 (cl-old-bc-file-form): Remove var.
11164 (cl-const-exprs-p): Remove fun.
11165 (cl-labels, cl-macrolet): Use backquote.
11166 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
11167 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
11168 (cl-define-setf-expander): Rename from cl-define-setf-method.
11169 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
11170
11171 * international/mule-cmds.el: Don't require CL.
11172 (view-hello-file): Don't use `letf'.
11173
11174 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11175
11176 * tmm.el (tmm-prompt): Use string-prefix-p.
11177 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
11178 (tmm-add-prompt): Use minibuffer-completion-help.
11179 (tmm-delete-map): Remove.
11180
11181 * subr.el (kbd): Make it its own function.
11182
11183 2012-06-07 Stefan Merten <smerten@oekonux.de>
11184
11185 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
11186 Silence compiler warnings. Fix versions.
11187 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
11188 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
11189 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
11190 (rst-package-emacs-version-alist): Correct Emacs version to
11191 represent major merge with upstream.
11192 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
11193
11194 2012-06-06 Glenn Morris <rgm@gnu.org>
11195
11196 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
11197 Only print environment variables if set.
11198
11199 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
11200
11201 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
11202 (macroexp--cons): Rename from maybe-cons.
11203 (macroexp--accumulate): Rename from macroexp-accumulate.
11204 (macroexp--all-forms): Rename from macroexpand-all-forms.
11205 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
11206 (macroexp--expand-all): Rename from macroexpand-all-1.
11207
11208 2012-06-06 Sam Steingold <sds@gnu.org>
11209
11210 * calendar/calendar.el (calendar-in-read-only-buffer):
11211 Call `special-mode' to enable the standard read-only keybindings.
11212
11213 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
11214
11215 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
11216 with "loading" messages (bug#11635).
11217
11218 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
11219
11220 * files.el (enable-remote-dir-locals): New option.
11221 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
11222
11223 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
11224 Ensure, that the temp directory is local.
11225
11226 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
11227 `temporary-file-directory'.
11228
11229 * progmodes/python.el (python-send-region): Ensure, that the
11230 temporary file is created also in the remote case.
11231
11232 2012-06-06 Glenn Morris <rgm@gnu.org>
11233
11234 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
11235 (vc-rcs-update-changelog): Use it.
11236
11237 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
11238
11239 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
11240 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
11241 (vc-sccs-diff): Replace use of the external vcdiff script.
11242
11243 2012-06-05 Glenn Morris <rgm@gnu.org>
11244
11245 * ledit.el: Move to obsolete/.
11246
11247 2012-06-05 Sam Steingold <sds@gnu.org>
11248
11249 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
11250 patch (Bug#11140).
11251
11252 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11253
11254 * emacs-lisp/cust-print.el: Move to obsolete.
11255
11256 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
11257 compiler-macro expansion.
11258
11259 Add native compiler-macro support.
11260 * emacs-lisp/macroexp.el (macroexpand-all-1):
11261 Support compiler-macros directly. Properly follow aliases and apply
11262 the compiler macros more thoroughly.
11263 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
11264 macroexpand now properly follows aliases.
11265 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
11266 (cl-compiler-macroexpand): Use new prop.
11267 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
11268
11269 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
11270
11271 2012-06-05 Martin Rudalics <rudalics@gmx.at>
11272
11273 * window.el (get-lru-window, get-mru-window, get-largest-window):
11274 New argument NOT-SELECTED to avoid picking the selected window.
11275 (window--display-buffer-1, window--display-buffer-2): Replace by
11276 new function window--display-buffer
11277 (display-buffer-same-window, display-buffer-reuse-window)
11278 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11279 Use window--display-buffer.
11280 (display-buffer-use-some-window): Remove temporary dedication
11281 hack by calling get-lru-window and get-largest-window with
11282 NOT-SELECTED argument non-nil. Call window--display-buffer.
11283
11284 2012-06-05 Glenn Morris <rgm@gnu.org>
11285
11286 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
11287 Replace external vcdiff script.
11288
11289 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11290
11291 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
11292
11293 2012-06-04 Chong Yidong <cyd@gnu.org>
11294
11295 * image.el (imagemagick-types-inhibit): Revert last change.
11296 Add INFO and M.
11297 (imagemagick-enabled-types): Remove CIN and EPS*.
11298
11299 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11300
11301 * emacs-lisp/cl-lib.el: Rename from cl.el.
11302 * emacs-lisp/cl.el: New compatibility file.
11303 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
11304 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
11305 to obey the "cl-" prefix.
11306 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
11307
11308 2012-06-03 Glenn Morris <rgm@gnu.org>
11309
11310 * emacs-lisp/authors.el (authors-aliases): Addition.
11311
11312 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
11313 Fix :version.
11314
11315 2012-06-03 Stefan Merten <smerten@oekonux.de>
11316
11317 * textmodes/rst.el: Add comments.
11318 (rst-transition, rst-adornment): New faces.
11319 (rst-adornment-faces-alist): Make default safe to reevaluate.
11320 Fixes
11321 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
11322 Improve customization tags.
11323 (rst-define-level-faces): Clarify meaning.
11324
11325 2012-06-03 Chong Yidong <cyd@gnu.org>
11326
11327 * progmodes/compile.el (compilation-mode-line-fail)
11328 (compilation-mode-line-run, compilation-mode-line-exit):
11329 New faces.
11330 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
11331
11332 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
11333
11334 * progmodes/which-func.el (which-func-update-ediff-windows):
11335 New function. Use it in ediff-select-hook (Bug#11478).
11336
11337 2012-06-03 Chong Yidong <cyd@gnu.org>
11338
11339 * bindings.el: Remove explicit help text from format-mode-line.
11340 It is now supplied by mode-line-default-help-echo.
11341 (mode-line-front-space, mode-line-end-spaces)
11342 (mode-line-misc-info): New variables.
11343 (mode-line-modes, mode-line-position): Move the default value to
11344 the variable definition.
11345 (mode-line-default-help-echo): New defcustom.
11346 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
11347 (mode-line-modified-help-echo): New functions.
11348 (mode-line-mule-info, mode-line-modified): Use them.
11349 (mode-line-eol-desc, propertized-buffer-identification):
11350 Consistency fixes for help text.
11351 (mode-line-coding-system-map): Allow using mouse-3 to invoke
11352 set-buffer-file-coding-system (Bug#289).
11353 (mode-line-mule-info-help-echo): Update help text.
11354
11355 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11356
11357 * simple.el (execute-extended-command): Set real-this-command
11358 (bug#11506).
11359
11360 2012-06-02 Chong Yidong <cyd@gnu.org>
11361
11362 Remove incorrect uses of "modeline" in comments, docstrings, and
11363 function/variable names (Bug#10329).
11364
11365 * cus-edit.el (mode-line):
11366 * dframe.el (dframe-mouse-hscroll):
11367 * emacs-lisp/re-builder.el:
11368 * emacs-lisp/easy-mmode.el (define-minor-mode):
11369 * frame.el (set-frame-name):
11370 * help.el (lookup-minor-mode-from-indicator):
11371 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
11372 * progmodes/cc-cmds.el (c-toggle-auto-newline)
11373 (c-toggle-hungry-state):
11374 * progmodes/antlr-mode.el (antlr-language-alist):
11375 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
11376 * progmodes/vhdl-mode.el (vhdl-mode):
11377 * progmodes/which-func.el (which-func, which-func-cleanup-function):
11378 * term/ns-win.el (ns-face-at-pos):
11379 * term/sup-mouse.el (sup-mouse-report):
11380 * textmodes/flyspell.el (flyspell-mode-line-string):
11381 * textmodes/ispell.el (ispell-highlight-face):
11382 * textmodes/reftex-global.el:
11383 * vc/vc-arch.el (vc-arch-mode-line-string):
11384 * vc/vc-cvs.el (vc-cvs-mode-line-string):
11385 * vc/vc-git.el (vc-git-mode-line-string):
11386 * vc/vc-hooks.el (vc-display-status)
11387 (vc-default-mode-line-string):
11388 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
11389
11390 * ansi-color.el (ansi-color-faces-vector): Change default faces.
11391
11392 * dired.el (dired-sort-set-mode-line): Rename from
11393 dired-sort-set-modeline. All callers changed.
11394
11395 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
11396 eshell-status-in-modeline.
11397
11398 * foldout.el (foldout-mode-line-string): Rename from
11399 foldout-modeline-string. All callers changed.
11400 (foldout-update-mode-line): Rename from foldout-update-modeline.
11401
11402 * subr.el (redraw-modeline): Make into obsolete alias.
11403
11404 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
11405 timeclock-modeline-display. Make old name an alias.
11406 (timeclock-update-mode-line): Likewise. All callers changed.
11407 (timeclock-mode-line-display): No need to check before using
11408 add-hook.
11409 (timeclock-relative, timeclock-day-over-hook)
11410 (timeclock-use-elapsed, timeclock-mode-string)
11411 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
11412
11413 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
11414 crisp-mode-modeline-string.
11415
11416 * play/solitaire.el (solitaire-build-mode-line): Rename from
11417 solitaire-build-modeline. All callers changed.
11418
11419 * play/zone.el (zone-hiding-mode-line): Rename from
11420 zone-hiding-modeline. All callers changed.
11421 (zone): Remove unusued `modeline-hidden-level' property.
11422
11423 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
11424 xscheme-modeline-initialize. All callers changed.
11425
11426 * strokes.el (strokes-lighter): Rename from
11427 strokes-modeline-string.
11428
11429 * textmodes/sgml-mode.el (html-face-tag-alist)
11430 (html-tag-face-alist): Use mode-line face instead of obsolete
11431 alias modeline.
11432
11433 2012-06-02 Stefan Merten <smerten@oekonux.de>
11434
11435 * textmodes/rst.el: Always require `cl'.
11436 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
11437
11438 2012-06-02 Chong Yidong <cyd@gnu.org>
11439
11440 * image.el (imagemagick-enabled-types): Rename from
11441 imagemagick-types-enable. Add many more types.
11442 (imagemagick-types-inhibit): Change default to nil.
11443 (imagemagick-filter-types): Caller changed.
11444
11445 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11446
11447 * emacs-lisp/cl-macs.el: Use backquotes.
11448 (cl-transform-function-property): Use eval-and-compile rather than
11449 abusing `require'.
11450 (defstruct): Use declare-function instead of with-no-warnings.
11451
11452 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
11453 (byte-compile-output-docform): Re-add the print-circle bindings.
11454 (byte-compile-fix-header): Use #$ just because it's shorter.
11455 (byte-compile-output-file-form): Remove defun/defmacro.
11456
11457 2012-06-01 Martin Rudalics <rudalics@gmx.at>
11458
11459 * simple.el (choose-completion): Remove now obsolete binding for
11460 owindow.
11461
11462 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
11463
11464 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
11465 in order to avoid "Stack overflow in regexp matcher".
11466
11467 2012-05-31 Glenn Morris <rgm@gnu.org>
11468
11469 * image.el: For clarity, call imagemagick-register-types at
11470 top-level, rather than relying on a custom :initialize.
11471 (imagemagick-types-enable): New option. (Bug#11557)
11472 (imagemagick-filter-types): New function. (Bug#7406)
11473 (imagemagick-register-types): Use imagemagick-filter-types.
11474 If disabling support, remove elements altogether rather
11475 than using an impossible regexp.
11476 (imagemagick-types-inhibit): Give it the default init function.
11477
11478 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11479
11480 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
11481 Handle arbitrary file name lengths (Bug#11585).
11482
11483 2012-05-31 Martin Rudalics <rudalics@gmx.at>
11484
11485 * desktop.el (desktop-read): Clear previous and next buffers for
11486 all windows and bury *Messages* buffer (bug#11556).
11487
11488 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11489
11490 Add `declare' for `defun'. Align `defmacro's with it.
11491 * emacs-lisp/easy-mmode.el (define-minor-mode)
11492 (define-globalized-minor-mode): Don't autoload the var definitions.
11493 * emacs-lisp/byte-run.el: Use lexical-binding.
11494 (defun-declarations-alist, macro-declarations-alist): New vars.
11495 (defmacro, defun): Use them.
11496 (make-obsolete, define-obsolete-function-alias)
11497 (make-obsolete-variable, define-obsolete-variable-alias):
11498 Use `declare'.
11499 (macro-declaration-function): Mark obsolete.
11500 * emacs-lisp/autoload.el: Use lexical-binding.
11501 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
11502
11503 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11504
11505 * textmodes/ispell.el (ispell-with-no-warnings):
11506 Define as a macro.
11507 (ispell-kill-ispell, ispell-change-dictionary):
11508 Use `called-interactively-p' for Emacs instead of obsolete
11509 `interactive-p'.
11510
11511 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11512
11513 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
11514 (macro-declaration-function): Move var from C code.
11515 (macro-declaration-function): Define function with defalias.
11516 * emacs-lisp/macroexp.el (macroexpand-all-1):
11517 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
11518 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
11519 defun/defmacro any more.
11520 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
11521 Provide fallback for unknown arglist.
11522 (byte-compile-arglist-warn): Change calling convention.
11523 (byte-compile-output-file-form): Move print-vars binding.
11524 (byte-compile-output-docform): Simplify accordingly.
11525 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
11526 (byte-compile-defmacro-declaration): Remove.
11527 (byte-compile-file-form-defmumble): Generalize to defalias.
11528 (byte-compile-output-as-comment): Return byte-positions.
11529 Simplify callers accordingly.
11530 (byte-compile-lambda): Use `assert'.
11531 (byte-compile-defun, byte-compile-defmacro): Remove.
11532 (byte-compile-file-form-defalias):
11533 Use byte-compile-file-form-defmumble.
11534 (byte-compile-defalias-warn): Remove.
11535
11536 2012-05-29 Stefan Merten <smerten@oekonux.de>
11537
11538 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
11539 possible. Fix authors. Improve comments. Improve loading of `cl'.
11540
11541 (rst-mode-abbrev-table): Merge definition.
11542 (rst-mode): Make sure `font-lock-defaults' is buffer local.
11543 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
11544
11545 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
11546
11547 * calendar/icalendar.el
11548 (icalendar-export-region): Export UID properly.
11549
11550 2012-05-29 Leo Liu <sdl.web@gmail.com>
11551 * calendar/icalendar.el (icalendar-import-format):
11552 Add `icalendar-import-format-uid' (Bug#11525).
11553 (icalendar-import-format-uid): New.
11554 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
11555 Export UID.
11556
11557 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
11558
11559 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
11560 different alternative patterns.
11561 (pcase-codegen): Be more careful to preserve identity.
11562 (pcase--u1): Don't forget to mark vars as used.
11563
11564 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
11565 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
11566 (byte-compile-from-buffer): ...rather than here.
11567
11568 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
11569 functions from byte-compile-function-environment.
11570
11571 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
11572
11573 * window.el (window-deletable-p): Avoid deleting the root window
11574 of a frame with an active minibuffer.
11575
11576 2012-05-29 Martin Rudalics <rudalics@gmx.at>
11577
11578 * simple.el (choose-completion): Use quit-window (Bug#11567).
11579
11580 2012-05-29 Chong Yidong <cyd@gnu.org>
11581
11582 * whitespace.el (whitespace-cleanup): Fix usage of
11583 whitespace-empty-at-bob-regexp (Bug#11492).
11584
11585 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11586
11587 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
11588 revert (Bug#11488).
11589
11590 2012-05-29 Juri Linkov <juri@jurta.org>
11591
11592 * isearch.el (isearch-mode-map): Bind `M-s _' to
11593 `isearch-toggle-symbol'. Bind `M-s c' to
11594 `isearch-toggle-case-fold'.
11595 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
11596 (isearch-forward): Add `M-s _' to the docstring.
11597 (isearch-forward-symbol, isearch-toggle-case-fold)
11598 (isearch-symbol-regexp): New functions. (Bug#11381)
11599
11600 2012-05-29 Juri Linkov <juri@jurta.org>
11601
11602 * isearch.el (isearch-word): Add docstring. (Bug#11381)
11603 (isearch-occur, isearch-search-and-update): If `isearch-word' is
11604 a function, call it to get the regexp.
11605 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
11606 property `isearch-message-prefix' instead of the string "word ".
11607 (isearch-search-fun-default): For the case of `isearch-word',
11608 return a lambda that calls re-search-forward/re-search-backward
11609 with a regexp returned by `word-search-regexp' or by the function
11610 in `isearch-word'.
11611
11612 2012-05-29 Juri Linkov <juri@jurta.org>
11613
11614 * isearch.el (isearch-search-fun-default): New function.
11615 (isearch-search-fun): Move default part to the new function
11616 `isearch-search-fun-default'.
11617 (isearch-search-fun-function): Set the default value to
11618 `isearch-search-fun-default'. (Bug#11381)
11619
11620 * comint.el (comint-history-isearch-end):
11621 Use `isearch-search-fun-default'.
11622 (comint-history-isearch-search): Use `isearch-search-fun-default'
11623 and remove spacial case for `isearch-word'.
11624 (comint-history-isearch-wrap): Remove spacial case for
11625 `isearch-word'.
11626
11627 * hexl.el (hexl-isearch-search-function):
11628 Use `isearch-search-fun-default'.
11629
11630 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
11631 Use `word-search-regexp' for `isearch-word'.
11632
11633 * misearch.el (multi-isearch-search-fun):
11634 Use `isearch-search-fun-default'.
11635
11636 * simple.el (minibuffer-history-isearch-search):
11637 Use `isearch-search-fun-default' and remove spacial case for
11638 `isearch-word'.
11639 (minibuffer-history-isearch-wrap): Remove spacial case for
11640 `isearch-word'.
11641
11642 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
11643 Remove spacial case for `isearch-word'.
11644 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
11645
11646 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11647
11648 Decrease XEmacs incompatibilities.
11649 * textmodes/flyspell.el (flyspell-check-pre-word-p):
11650 Use `string-match'.
11651 (flyspell-delete-region-overlays): Use alternative definition for
11652 XEmacs.
11653 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
11654 (flyspell-word): Use `process-kill-without-query' if XEmacs.
11655 (flyspell-mode-on): Use `interactive-p' if XEmacs.
11656 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
11657 `define-obsolete-face-alias' under XEmacs, but old method.
11658
11659 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
11660 `with-no-warnings' definition or Emacs alias.
11661 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
11662 (ispell-word): Do not use `region-p' if XEmacs.
11663
11664 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11665
11666 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
11667 Check for `ispell-dictionary-base-alist' instead of full
11668 `ispell-dictionary-alist'.
11669 (ispell-init-process): Show spellchecker when starting new Ispell
11670 process.
11671
11672 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
11673
11674 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
11675 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
11676
11677 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
11678
11679 * version.el (motif-version-string, gtk-version-string)
11680 (ns-version-string): Declare.
11681
11682 2012-05-27 Juri Linkov <juri@jurta.org>
11683
11684 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
11685 after the `eval-defun-1' specialcaseing
11686 like in `edebug-eval-defun' (bug#10181).
11687
11688 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
11689 like in `eval-defun-1'.
11690
11691 2012-05-27 Eli Zaretskii <eliz@gnu.org>
11692
11693 * mail/sendmail.el (mail-yank-region):
11694 Recognize rmail-yank-current-message in addition to insert-buffer.
11695 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
11696 a *mail* buffer created through rmail-start-mail with sendmail as
11697 mail-user-agent.
11698
11699 2012-05-27 Chong Yidong <cyd@gnu.org>
11700
11701 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
11702 Default to 256 (Bug#11267).
11703
11704 * help.el (describe-mode): Doc fix.
11705
11706 2012-05-26 Glenn Morris <rgm@gnu.org>
11707
11708 * w32-fns.el (w32-init-info): Remove.
11709 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
11710
11711 * info.el (info-initialize): For self-contained NS builds, put the
11712 included info/ directory at the front. (Bug#2791)
11713
11714 * paths.el (Info-default-directory-list): Make it a defcustom,
11715 mainly so that we can use custom-initialize-delay.
11716
11717 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
11718
11719 * subr.el (buffer-has-markers-at): Mark obsolete.
11720
11721 * subr.el (lambda): Use declare.
11722
11723 * emacs-lisp/lisp-mode.el (lambda):
11724 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
11725
11726 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11727
11728 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
11729
11730 2012-05-26 Glenn Morris <rgm@gnu.org>
11731
11732 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
11733
11734 2012-05-25 Glenn Morris <rgm@gnu.org>
11735
11736 * paths.el: Remove no-byte-compile.
11737 * loadup.el: No need to load paths.el uncompiled.
11738
11739 * image.el (imagemagick-types-inhibit): Doc fix.
11740
11741 * version.el: Remove no-byte-compile and associated formatting.
11742 * loadup.el: No need to load version.el uncompiled. AFAICS, this
11743 is ancient code from when there was an "inc-vers.el".
11744
11745 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11746
11747 * progmodes/gdb-mi.el: Minor style changes.
11748 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
11749 Turn into minor modes.
11750 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
11751 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
11752 (gdb-shell): Remove unneeded let-binding.
11753 (gdb-get-many-fields): Eliminate O(n²) behavior.
11754
11755 2012-05-25 Eli Zaretskii <eliz@gnu.org>
11756
11757 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
11758 platforms that don't link in fontset.c.
11759
11760 2012-05-25 Juri Linkov <juri@jurta.org>
11761
11762 Use the same diff color scheme as in modern VCSes (bug#10181).
11763
11764 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
11765 to avoid confusion with `diff-added' that now uses green colors.
11766 (diff-removed): Use shades of red.
11767 (diff-added): Use shades of green.
11768 (diff-changed): Leave just the yellow color.
11769 (diff-use-changed-face): New variable.
11770 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
11771 how to highlight context diff changes.
11772 (diff-refine-change): Use shades of yellow.
11773 (diff-refine-removed): New face that uses shades of red.
11774 (diff-refine-added): New face that uses shades of green.
11775 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
11776 `diff-refine-removed' in the call to `smerge-refine-subst'
11777 depending on the value of `diff-use-changed-face'.
11778
11779 * vc/smerge-mode.el (smerge-mine): Use shades of red.
11780 (smerge-other): Use shades of green.
11781 (smerge-base): Use shades of yellow.
11782 (smerge-refined-change): Empty face.
11783 (smerge-refined-removed): New face that uses shades of red.
11784 (smerge-refined-added): New face that uses shades of green.
11785 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
11786 args `props-r' and `props-a', and use them. Doc fix.
11787 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
11788 on its value use different faces `smerge-refined-change',
11789 `smerge-refined-removed', `smerge-refined-added' in the call to
11790 `smerge-refine-subst'.
11791
11792 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
11793 Add face condition `min-colors 88' with shades of red.
11794 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
11795 `min-colors 88' with shades of green.
11796 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
11797 `min-colors 88' with shades of yellow.
11798
11799 2012-05-24 Glenn Morris <rgm@gnu.org>
11800
11801 * paths.el (prune-directory-list, remote-shell-program): Move to...
11802 * files.el (prune-directory-list, remote-shell-program): ...here.
11803 For the latter, delay initialization, prefer ssh, just search PATH.
11804
11805 * paths.el (term-file-prefix): Move to faces.el (the only user).
11806 * faces.el (term-file-prefix): Move here, make it a defcustom.
11807
11808 * paths.el (news-directory, news-path, news-inews-program):
11809 Move to gnus/nnspool.el.
11810
11811 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
11812
11813 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
11814 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
11815 Make the latter a defcustom, with a delayed initialization.
11816
11817 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
11818 These were deleted from Gnus itself late 2010.
11819
11820 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
11821
11822 * progmodes/which-func.el (which-func-ff-hook):
11823 Check against user-error, not error.
11824
11825 * emacs-lisp/edebug.el (top): Do not load or set up loading of
11826 cl-specs.el, which no longer exists.
11827
11828 2012-05-22 Glenn Morris <rgm@gnu.org>
11829
11830 * info.el (info-emacs-bug): New command.
11831 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
11832 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
11833
11834 2012-05-21 Glenn Morris <rgm@gnu.org>
11835
11836 * makefile.w32-in (update-subdirs-SH):
11837 * Makefile.in (update-subdirs): Update for moved update-subdirs.
11838
11839 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
11840
11841 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
11842
11843 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11844 Simplify Maven regexp, and make sure the file can't start with a space
11845 (bug#11517).
11846
11847 2012-05-21 Glenn Morris <rgm@gnu.org>
11848
11849 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
11850 Scrap superfluous subshells.
11851
11852 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
11853
11854 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
11855 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
11856
11857 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
11858
11859 * calc/calc.el (calc-ensure-consistent-units): New variable.
11860
11861 * calc/calc-units.el (math-consistent-units-p)
11862 (math-check-unit-consistency): New functions.
11863 (calc-quick-units, calc-convert-units):
11864 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
11865 is non-nil.
11866 (calc-extract-units): Fix typo.
11867
11868 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11869
11870 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
11871
11872 * textmodes/flyspell.el: Commenting style, plus code simplifications.
11873 (flyspell-default-deplacement-commands): Don't spell check after
11874 repeated window/frame switches (e.g. triggered by mouse-movement).
11875 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
11876 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
11877 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
11878 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
11879 Remove unused vars.
11880 (flyspell-get-casechars, flyspell-get-not-casechars):
11881 Simplify; Don't bother removing a ] just to add it back.
11882 * textmodes/ispell.el (ispell-program-name): Use executable-find.
11883
11884 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11885
11886 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
11887 New functions.
11888 (math-function-table): Add support for more C functions.
11889
11890 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11891
11892 * textmodes/flyspell.el (flyspell-check-pre-word-p)
11893 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
11894 Protect delay handling for otherchars against empty otherchars.
11895
11896 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11897
11898 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
11899 their respective macro declarations.
11900 * skeleton.el (define-skeleton):
11901 * progmodes/compile.el (define-compilation-mode):
11902 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
11903 (define-ibuffer-filter):
11904 * emacs-lisp/generic.el (define-generic-mode):
11905 * emacs-lisp/easy-mmode.el (define-minor-mode)
11906 (define-globalized-minor-mode):
11907 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
11908 * emacs-lisp/byte-run.el (defsubst):
11909 * custom.el (deftheme): Add doc-string metadata.
11910
11911 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11912
11913 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
11914
11915 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11916
11917 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
11918
11919 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
11920 * emacs-lisp/cl-macs.el: Idem.
11921 * emacs-lisp/cl-specs.el: Remove.
11922
11923 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11924
11925 Minor renaming of internal CL functions and variables.
11926 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
11927 (cl--position): Rename from cl-position.
11928 (cl--delete-duplicates): Rename from cl-delete-duplicates.
11929 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
11930 (cl--random-state): Rename from *random-state*.
11931
11932 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11933
11934 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
11935 parens around the arg list (bug#11499).
11936
11937 2012-05-17 Juri Linkov <juri@jurta.org>
11938
11939 * isearch.el (word-search-regexp, word-search-backward)
11940 (word-search-forward, word-search-backward-lax)
11941 (word-search-forward-lax): Move functions from search.c
11942 (bug#10145, bug#11381).
11943
11944 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11945
11946 * textmodes/flyspell.el (flyspell-check-pre-word-p)
11947 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
11948 Delay for otherchars as for normal word components.
11949
11950 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
11951
11952 * minibuffer.el (completion--sifn-requote): Fix last change.
11953 (minibuffer-local-must-match-filename-map):
11954 Move define-obsolete-variable-alias before its var.
11955
11956 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11957
11958 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
11959
11960 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
11961 behavior.
11962 (completion--string-equal-p): New function.
11963 (completion--twq-all): Use it to get better assertion failure data.
11964
11965 Only handle ".." and '..' quoting in shell-mode (bug#11466).
11966 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
11967 (shell--requote-argument): New functions.
11968 (shell-completion-vars): Use them.
11969 (shell--parse-pcomplete-arguments): Rename from
11970 shell-parse-pcomplete-arguments.
11971 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
11972 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
11973 Obey comint-file-name-quote-list.
11974
11975 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
11976 (smie-indent-keyword): Use it.
11977
11978 2012-05-14 Stefan Merten <smerten@oekonux.de>
11979
11980 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
11981
11982 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
11983
11984 * net/rlogin.el (rlogin-mode-map): Fix last change.
11985
11986 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
11987
11988 * mail/smtpmail.el (smtpmail-send-command): Send the command and
11989 the following \r\n using a single `process-send-string', since the
11990 Lotus SMTP server refuses to accept any commands if they are sent
11991 with two `process-send-string's (Bug#11444).
11992
11993 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
11994
11995 * shell.el (shell-parse-pcomplete-arguments):
11996 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
11997
11998 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
11999
12000 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
12001 (image-transform-scale, image-transform-right-angle-fudge): New vars.
12002 (image-transform-width, image-transform-fit-width): New functions.
12003 (image-transform-properties): Use them.
12004 (image-transform-check-size): New function.
12005 (image-toggle-display-image): Use it (for testing).
12006 (image-transform-set-rotation): Reduce angle mod 360.
12007 Delete obsolete comment.
12008
12009 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
12010
12011 * image-mode.el: Fix scaling (bug#11399).
12012 (image-transform-resize): Doc fix.
12013 (image-transform-properties): Default scale is 1 and height should
12014 be an integer.
12015
12016 2012-05-13 Johan Bockgård <bojohan@gnu.org>
12017
12018 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
12019 than hard-coding `car', to fix misbehavior when moving forward.
12020
12021 2012-05-13 Chong Yidong <cyd@gnu.org>
12022
12023 * emacs-lisp/tabulated-list.el (tabulated-list-format)
12024 (tabulated-list-entries, tabulated-list-padding)
12025 (tabulated-list-sort-key): Make permanent-local.
12026
12027 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
12028 (electric-buffer-list): Put electric buffer menu
12029 command descriptions in this docstring, instead of the docstring
12030 of electric-buffer-menu-mode. Code cleanups.
12031 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
12032 Electric-buffer-menu-mode.
12033 (electric-buffer-update-highlight): Minor code cleanup.
12034
12035 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
12036
12037 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
12038 (Bug#11447)
12039
12040 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
12041
12042 Move define-obsolete-variable-alias before the var's definition.
12043 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
12044 * tooltip.el (tooltip-hook):
12045 * textmodes/reftex-toc.el (reftex-toc-map):
12046 * textmodes/reftex-sel.el (reftex-select-label-map)
12047 (reftex-select-bib-map):
12048 * textmodes/reftex-index.el (reftex-index-map)
12049 (reftex-index-phrases-map):
12050 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
12051 * progmodes/meta-mode.el (meta-mode-map):
12052 * novice.el (disabled-command-hook):
12053 * loadhist.el (unload-hook-features-list):
12054 * frame.el (blink-cursor):
12055 * files.el (find-file-not-found-hooks, write-file-hooks)
12056 (write-contents-hooks):
12057 * emulation/tpu-edt.el (GOLD-map):
12058 * emacs-lock.el (emacs-lock-from-exiting):
12059 * emacs-lisp/generic.el (generic-font-lock-defaults):
12060 * emacs-lisp/chart.el (chart-map):
12061 * dos-fns.el (register-name-alist):
12062 * dired-x.el (dired-omit-files-p):
12063 * desktop.el (desktop-enable):
12064 * cus-edit.el (custom-mode-hook):
12065 * buff-menu.el (buffer-menu-mode-hook):
12066 * bookmark.el (bookmark-read-annotation-text-func)
12067 (bookmark-exit-hooks):
12068 * allout.el (allout-mode-deactivate-hook)
12069 (allout-exposure-change-hook, allout-structure-added-hook)
12070 (allout-structure-deleted-hook, allout-structure-shifted-hook):
12071 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
12072 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
12073 comes before the corresponding variable's definition.
12074
12075 2012-05-12 Chong Yidong <cyd@gnu.org>
12076
12077 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
12078 (Buffer-menu-mouse-select): Restore function (Bug#11459).
12079 (Buffer-menu-mode-map): Bind it.
12080 (Buffer-menu--pretty-name): Add a mouse-face property.
12081
12082 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
12083
12084 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
12085 (prolog-upper-case-string, prolog-lower-case-string)
12086 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
12087 (prolog-use-smie, prolog-smie-grammar): New vars.
12088 (prolog-smie-forward-token, prolog-smie-backward-token)
12089 (prolog-smie-rules): New funs.
12090 (prolog-comment-indent): Remove.
12091 (prolog-mode-variables): Use default comment indentation instead.
12092 Setup SMIE.
12093 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
12094 (prolog-mode): Don't call them any more.
12095 (prolog-electric-colon, prolog-electric-dash)
12096 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
12097
12098 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
12099
12100 * minibuffer.el (completion--twq-all): Again, allow case differences.
12101
12102 * term.el: Move keymap initialization code to be more idiomatic.
12103 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
12104 (term-terminal-menu): Move initialization into declaration.
12105 (term-escape-char): Let the user set it in her .emacs.
12106
12107 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
12108 Provide SMIE-based indentation (not enabled by default yet).
12109 (sh-mode-map): Don't bind electric keys.
12110 Use electric-pair-mode instead of skeleton-pair.
12111 (sh-assignment-regexp): Fit within 80 columns.
12112 (sh-indent-supported): Specify actual shell name instead of boolean.
12113 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
12114 (sh-maybe-here-document): Use it. Make obsolete.
12115 (sh-electric-here-document-mode) New minor mode.
12116 (sh-mode): Use it. Don't set sh-indent-supported-here here.
12117 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
12118 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
12119 (sh-smie-rc-grammar, sh-use-smie): New vars.
12120 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
12121 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
12122 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
12123 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
12124 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
12125 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
12126 (sh-set-shell): Use smie-setup if requested.
12127
12128 * term.el (term-set-escape-char): Properly set term-escape-char.
12129 See http://stackoverflow.com/questions/10524656.
12130
12131 2012-05-10 Chong Yidong <cyd@gnu.org>
12132
12133 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
12134 Use url-generic-parse-url, and handle host names and Windows
12135 filenames properly.
12136 (ffap-url-unwrap-remote): Use url-generic-parse-url.
12137 (ffap-url-unwrap-remote): Accept list values, specifying a list of
12138 URL schemes to work on.
12139 (ffap--toggle-read-only): New function.
12140 (ffap-read-only, ffap-read-only-other-window)
12141 (ffap-read-only-other-frame): Use it.
12142 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
12143 necessary for ffap-url-unwrap-remote.
12144
12145 2012-05-10 Dave Abrahams <dave@boostpro.com>
12146
12147 * cus-start.el (create-lockfiles): Add it.
12148
12149 2012-05-09 Chong Yidong <cyd@gnu.org>
12150
12151 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
12152 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
12153
12154 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12155
12156 * shell.el (shell-completion-vars): Fix last change (bug#11348).
12157
12158 2012-05-09 Chong Yidong <cyd@gnu.org>
12159
12160 * ansi-color.el (ansi-color-process-output): Check for validity of
12161 comint-last-output-start before using it. This avoids a bad
12162 interaction with gdb-mi's input/output buffer.
12163
12164 2012-05-09 Glenn Morris <rgm@gnu.org>
12165
12166 * files.el (dir-locals-read-from-file):
12167 Mention dir-locals in any error message.
12168
12169 2012-05-09 Chong Yidong <cyd@gnu.org>
12170
12171 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
12172 package (Bug#11410).
12173
12174 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
12175 variables into description.
12176
12177 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12178
12179 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
12180 shell-delimiter-argument-list (bug#11348).
12181 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
12182
12183 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
12184
12185 * textmodes/rst.el: Silence byte-compiler warnings.
12186 (rst-re-alist, rst-reset-section-caches): Move around.
12187 (rst-re): Use `characterp', not `char-valid-p'.
12188 (font-lock-beg, font-lock-end): Declare.
12189
12190 * progmodes/idlw-shell.el (specs): Remove reference to deleted
12191 variable `idlwave-shell-activate-alt-keybindings' and simplify.
12192
12193 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
12194
12195 2012-05-08 Glenn Morris <rgm@gnu.org>
12196
12197 * files.el (auto-mode-alist): Treat ".make" like ".mk".
12198
12199 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12200
12201 * vc/log-edit.el: Add GNU coding standards highlighting.
12202 (log-edit-font-lock-gnu-style)
12203 (log-edit-font-lock-gnu-keywords): New vars.
12204 (log-edit-font-lock-keywords): New fun.
12205 (log-edit-mode): Don't fold case in font-lock.
12206 (log-edit-font-lock-keywords): Do not assume case-folding.
12207
12208 * imenu.el: Misc cleanup. Make docstrings out of comments.
12209 Use lexical-binding.
12210 (imenu--index-alist, imenu--last-menubar-index-alist)
12211 (imenu-menubar-modified-tick): Use defvar-local.
12212 (imenu--split-menu): Remove unused var.
12213 (imenu--cleanup-seen): Declare as global.
12214 (imenu--cleanup): Use dolist.
12215
12216 * subr.el (defvar-local): Add debug spec and doc-string position.
12217
12218 2012-05-08 Glenn Morris <rgm@gnu.org>
12219
12220 * language/burmese.el, language/cham.el, language/czech.el:
12221 * language/english.el, language/georgian.el, language/greek.el:
12222 * language/japanese.el, language/khmer.el, language/korean.el:
12223 * language/lao.el, language/misc-lang.el, language/romanian.el:
12224 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
12225 * language/thai.el, language/utf-8-lang.el:
12226 Remove no-byte-compile setting.
12227
12228 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
12229
12230 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12231
12232 * progmodes/make-mode.el (makefile-browse):
12233 Remove unnecessary interactive. (Bug#11324)
12234
12235 2012-05-07 Glenn Morris <rgm@gnu.org>
12236
12237 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
12238
12239 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
12240
12241 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12242
12243 * loadup.el: Preload newcomment.el.
12244 * newcomment.el: Move autoload-only code to toplevel.
12245
12246 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
12247 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12248 Handle new :right-align column property.
12249 (tabulated-list-print-col): Idem, plus use `display' text-property to
12250 try and preserve alignment for variable pitch fonts.
12251
12252 2012-05-07 Chong Yidong <cyd@gnu.org>
12253
12254 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
12255 (tabulated-list-use-header-line): New var.
12256 (tabulated-list-init-header): Use it.
12257 (tabulated-list-print-fake-header): New function.
12258 (tabulated-list-print): Use it.
12259 (tabulated-list-sort-button-map): Add non-header-line commands.
12260 (tabulated-list-init-header): Add column name property to basic
12261 labels as well.
12262 (tabulated-list-col-sort): Handle non-header-line button case.
12263 (tabulated-list--sort-by-column-name): Fix a corner case.
12264
12265 * buff-menu.el (list-buffers--refresh):
12266 Handle Buffer-menu-use-header-line.
12267
12268 2012-05-06 Chong Yidong <cyd@gnu.org>
12269
12270 * buff-menu.el: Convert to Tabulated List mode.
12271 (Buffer-menu-buffer+size-width): Make obsolete.
12272 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
12273 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
12274 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
12275 documentation into docstring of buffer-menu.
12276 (Buffer-menu-toggle-files-only): Add an informative message.
12277 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
12278 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
12279 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
12280 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
12281 (Buffer-menu-execute, Buffer-menu-select)
12282 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
12283 (Buffer-menu-bury): Use Tabulated List machinery.
12284 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
12285 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
12286 Delete.
12287 (list-buffers--refresh): New function.
12288 (list-buffers-noselect): Use it.
12289 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
12290 (Buffer-menu--pretty-file-name): New helper functions.
12291
12292 * loadup.el: Preload tabulated-list.
12293
12294 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
12295 tabulated-list-sort-column.
12296 (tabulated-list-init-header): Add the initial aligning space even
12297 if tabulated-list-padding is zero.
12298
12299 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
12300
12301 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
12302 whose cdr is not a cons cell correctly (bug#11038).
12303
12304 2012-05-06 Chong Yidong <cyd@gnu.org>
12305
12306 * emacs-lisp/tabulated-list.el (tabulated-list-format):
12307 Accept additional plist in column descriptors.
12308 (tabulated-list-init-header): Obey it.
12309 (tabulated-list-get-entry): New function.
12310 (tabulated-list-put-tag): Use it. Use string-width instead of
12311 length.
12312 (tabulated-list--column-number): New function.
12313 (tabulated-list-print): Use it.
12314 (tabulated-list-print-col): New function.
12315 Set `tabulated-list-column-name' property on each column's text.
12316 (tabulated-list-print-entry): Use it.
12317 (tabulated-list-delete-entry, tabulated-list-set-col):
12318 New functions.
12319 (tabulated-list-sort-column): New command (Bug#11337).
12320
12321 * buff-menu.el (list-buffers): Move C-x C-b binding from
12322 buff-menu.el to bindings.el.
12323
12324 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
12325 :advertised-binding feature.
12326
12327 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
12328
12329 * progmodes/compile.el (compilation-internal-error-properties):
12330 Calculate start position correctly when end-col is set but
12331 end-line is not (Bug#11382).
12332
12333 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
12334
12335 * man.el (Man-unindent): Use text-property-default-nonsticky to
12336 prevent untabify from inheriting face properties (Bug#11408).
12337
12338 2012-05-05 Stefan Merten <smerten@oekonux.de>
12339
12340 * textmodes/rst.el: Major merge with upstream development up to
12341 Docutils SVN r7399 / rst.el V1.2.1.
12342
12343 Clarify maintainership and authors.
12344
12345 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
12346 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
12347 (rst-official-version, rst-official-cvs-rev, rst-version)
12348 (rst-package-emacs-version-alist): New functions and variables
12349 for version information.
12350
12351 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
12352 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
12353 (rst-mode-syntax-table, rst-mode): New and corrected functions
12354 and variables representing reStructuredText features.
12355
12356 (rst-re): New function for reStructuredText regexes. Use in
12357 many places.
12358
12359 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
12360 (rst-mode-map): Rebind keys.
12361
12362 (rst-mode-lazy, rst-font-lock-keywords)
12363 (rst-font-lock-extend-region)
12364 (rst-font-lock-extend-region-internal)
12365 (rst-font-lock-extend-region-extend)
12366 (rst-font-lock-find-unindented-line-limit)
12367 (rst-font-lock-find-unindented-line-match)
12368 (rst-adornment-level, rst-font-lock-adornment-level)
12369 (rst-font-lock-adornment-match)
12370 (rst-font-lock-handle-adornment-pre-match-form)
12371 (rst-font-lock-handle-adornment-matcher): Major revision of
12372 font-locking. Integrate with other code. Use `jit-lock-mode'.
12373
12374 (rst-preferred-adornments, rst-adjust-hook)
12375 (rst-new-adornment-down, rst-preferred-bullets)
12376 (rst-preferred-bullets, rst-indent, rst-indent-width)
12377 (rst-indent-field, rst-indent-literal-normal)
12378 (rst-indent-literal-minimized, rst-indent-comment): Change,
12379 extend and improve customization.
12380
12381 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
12382 (rst-normalize-cursor-position, rst-get-decoration)
12383 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
12384 (rst-rstrip, rst-toc-insert-find-delete-contents)
12385 (rst-shift-fill-region, rst-compute-bullet-tabs)
12386 (rst-debug-print-tabs, rst-debug-mark-found)
12387 (rst-shift-region-guts, rst-shift-region-right)
12388 (rst-shift-region-left, rst-use-char-classes)
12389 (rst-font-lock-keywords-function)
12390 (rst-font-lock-indentation-point)
12391 (rst-font-lock-find-unindented-line-begin)
12392 (rst-font-lock-find-unindented-line-end)
12393 (rst-font-lock-find-unindented-line)
12394 (rst-font-lock-adornment-point, rst-font-lock-level)
12395 (rst-adornment-level-alist): Remove functions and variables.
12396
12397 (rst-compare-adornments, rst-get-adornment-match)
12398 (rst-suggest-new-adornment, rst-get-adornments-around)
12399 (rst-adornment-complete-p, rst-get-next-adornment)
12400 (rst-adjust-adornment, rst-display-adornments-hierarchy)
12401 (rst-straighten-adornments): Standardize function names to
12402 use "adornment" instead of "decoration". Correct callers.
12403 Similar standardizing in many places.
12404
12405 (rst-update-section, rst-adjust, rst-promote-region)
12406 (rst-enumerate-region, rst-bullet-list-region)
12407 (rst-repeat-last-character): Correct use of `interactive'.
12408
12409 (rst-classify-adornment, rst-find-all-adornments)
12410 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
12411 (rst-find-leftmost-column, rst-repeat-last-character):
12412 Refactor functions.
12413
12414 (rst-find-title-line, rst-reset-section-caches)
12415 (rst-get-adornments-around, rst-adjust-adornment-work)
12416 (rst-arabic-to-roman, rst-roman-to-arabic)
12417 (rst-insert-list-pos, rst-insert-list-new-item)
12418 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
12419 New functions.
12420
12421 (rst-all-sections, rst-section-hierarchy)
12422 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
12423 New variables.
12424
12425 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
12426 configuration instead of only buffer. Change where necessary.
12427
12428 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
12429 (rst-shift-region, rst-adaptive-fill): New functions for
12430 indentation and filling.
12431
12432 (rst-comment-line-break, rst-comment-indent)
12433 (rst-comment-insert-comment, rst-comment-region)
12434 (rst-uncomment-region): New functions for handling comments.
12435
12436 (rst-compile): Quote shell arguments.
12437
12438 (rst-compile-pdf-preview, rst-compile-slides-preview):
12439 Delete temporary files after use.
12440
12441 2012-05-05 Glenn Morris <rgm@gnu.org>
12442
12443 * calendar/cal-html.el: Optionally include holidays in the output.
12444 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
12445 (cal-html-holidays): New option.
12446 (cal-html-css-default): Add holiday entry.
12447 (holiday-in-range): Autoload it.
12448 (cal-html-htmlify-entry): Add optional class argument.
12449 (cal-html-htmlify-list): Add optional holidays argument.
12450 (cal-html-insert-agenda-days): Include holidays in the output.
12451 (cal-html-one-month): Maybe include holidays.
12452
12453 * calendar/holidays.el (holiday-in-range):
12454 Move here from cal-tex-list-holidays.
12455 * calendar/cal-tex.el (cal-tex-list-holidays):
12456 Make it an obsolete alias for holiday-in-range. Update all callers.
12457
12458 2012-05-05 Chong Yidong <cyd@gnu.org>
12459
12460 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
12461 Nextstep.
12462
12463 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
12464
12465 * files.el (file-auto-mode-skip): New var.
12466 (set-auto-mode-1): Use it.
12467
12468 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12469
12470 * repeat.el: Use lexical-binding.
12471 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
12472 (repeat-undo-count): Remove.
12473 (repeat):
12474 * progmodes/octave-mod.el (octave-abbrev-start):
12475 * progmodes/f90.el (f90-abbrev-start):
12476 * face-remap.el (text-scale-adjust):
12477 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
12478
12479 * emacs-lisp/pcase.el (pcase--let*): New function.
12480 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
12481 a bit more.
12482 (pcase--split-pred): Be more clever about ruling out overlap between
12483 a predicate and some constant pattern.
12484 (pcase--q1): Use `null' instead of (eq foo nil).
12485
12486 * subr.el (setq-local, defvar-local): New macros.
12487 (kbd): Redefine as an alias.
12488 (with-selected-window): Leave unrelated frames alone.
12489 (set-temporary-overlay-map): New function.
12490
12491 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12492
12493 * subr.el (user-error): New function.
12494 * window.el (switch-to-buffer):
12495 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
12496 (smerge-match-conflict):
12497 * simple.el (previous-matching-history-element)
12498 (next-matching-history-element, goto-history-element, undo-more)
12499 (undo-start):
12500 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
12501 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
12502 (next-file, tags-loop-scan, list-tags, complete-tag):
12503 * progmodes/compile.el (compilation-loop):
12504 * mouse.el (mouse-minibuffer-check):
12505 * man.el (Man-bgproc-sentinel, Man-goto-page):
12506 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
12507 (Info-history-forward, Info-follow-reference, Info-menu)
12508 (Info-extract-menu-item, Info-extract-menu-counting)
12509 (Info-forward-node, Info-backward-node, Info-next-menu-item)
12510 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
12511 (Info-next-reference, Info-prev-reference, Info-index)
12512 (Info-index-next, Info-follow-nearest-node)
12513 (Info-copy-current-node-name):
12514 * imenu.el (imenu--make-index-alist)
12515 (imenu-default-create-index-function, imenu-add-to-menubar):
12516 * files.el (basic-save-buffer, recover-file):
12517 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
12518 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
12519 (checkdoc-message-text, checkdoc-defun):
12520 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
12521 * cus-edit.el (customize-changed-options, customize-rogue)
12522 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
12523 (custom-variable-mark-to-reset-standard)
12524 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
12525 (custom-file):
12526 * completion.el (check-completion-length):
12527 * comint.el (comint-search-arg)
12528 (comint-previous-matching-input-string-position)
12529 (comint-previous-matching-input)
12530 (comint-replace-by-expanded-history-before-point, comint-send-input)
12531 (comint-copy-old-input, comint-backward-matching-input)
12532 (comint-goto-process-mark, comint-set-process-mark):
12533 * calendar/calendar.el (calendar-cursor-to-date): Use it.
12534 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
12535
12536 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12537
12538 * dabbrev.el (dabbrev--ignore-case-p): New function.
12539 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
12540 Use it.
12541
12542 * files.el (automount-dir-prefix): Mark as obsolete.
12543
12544 2012-05-04 Glenn Morris <rgm@gnu.org>
12545
12546 * patcomp.el, play/bruce.el: Move to obsolete/.
12547
12548 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
12549
12550 Fix minor Y10k bugs.
12551 * arc-mode.el (archive-unixdate):
12552 * autoinsert.el (auto-insert-alist):
12553 * calc/calc-forms.el (math-this-year):
12554 * emacs-lisp/copyright.el (copyright-current-year)
12555 (copyright-update-year, copyright):
12556 * tar-mode.el (tar-clip-time-string):
12557 * time.el (display-time-update):
12558 Don't assume years have 4 digits.
12559
12560 2012-05-04 Chong Yidong <cyd@gnu.org>
12561
12562 * dos-w32.el (file-name-buffer-file-type-alist)
12563 (direct-print-region-use-command-dot-com):
12564 * ffap.el (ffap-menu-regexp):
12565 * find-file.el (ff-special-constructs):
12566 * follow.el (follow-debug):
12567 * forms.el (forms--debug):
12568 * iswitchb.el (iswitchb-all-frames):
12569 * ido.el (ido-all-frames):
12570 * emacs-lisp/timer.el (timer-max-repeats):
12571 * mail/feedmail.el (feedmail-mail-send-hook)
12572 (feedmail-mail-send-hook-queued):
12573 * mail/footnote.el (footnote-signature-separator):
12574 * mail/mailabbrev.el (mail-alias-separator-string)
12575 (mail-abbrev-mode-regexp):
12576 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
12577 * progmodes/idlwave.el (idlwave-libinfo-file)
12578 (idlwave-default-completion-case-is-down)
12579 (idlwave-library-routines): Convert defvars to defcustoms.
12580
12581 * mail/rmail.el (rmail-decode-mime-charset):
12582 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
12583 (idlwave-shell-fix-inserted-breaks)
12584 (idlwave-shell-activate-alt-keybindings)
12585 (idlwave-shell-use-breakpoint-glyph):
12586 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
12587
12588 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12589
12590 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
12591
12592 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
12593
12594 * progmodes/verilog-mode.el (font-lock-keywords):
12595 Fix mis-highligting auto. Reported by Craig Barner.
12596 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
12597 defines from global name space. Reported by Dan Dever.
12598 (verilog-auto-reset, verilog-auto-reset-widths)
12599 (verilog-auto-tieoff): Support using unbased numbers for
12600 AUTORESET and AUTOTIEOFF.
12601 (verilog-submit-bug-report): Update variable list.
12602 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
12603 parenthesis from not matching. Reported by Michael Rytting.
12604 (verilog-auto-template-lint): Fix hash error when linting modules
12605 with no used templates.
12606 (verilog-warn, verilog-warn-error)
12607 (verilog-warn-fatal): When non-interactive report multiple
12608 warnings before exiting. Suggested by Brad Dobbie.
12609 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
12610 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
12611 to report unused template errors. Reported by Brad Dobbie.
12612 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
12613 nets, bug438. Reported by Vns Blore.
12614 (verilog-auto-inout-module, verilog-auto-reg)
12615 (verilog-read-decls, verilog-read-sub-decls-sig)
12616 (verilog-signals-edit-wire-reg, verilog-signals-with):
12617 Fix passing of Verilog data types in ANSI input/output ports
12618 such as "output logic" into the AUTOs. Special case "wire" and
12619 "reg" for backwards compatibility presuming Verilog 2001.
12620 (verilog-auto-ascii-enum): Add "auto enum" as alias.
12621 (verilog-preprocess): Fix replication of preprocess output.
12622 Reported by Brad Dobbie.
12623 (verilog-auto-inst-interfaced-ports):
12624 Create verilog-auto-inst-interfaced-ports, bug429.
12625 Reported by Julian Gorfajn.
12626 (verilog-after-save-font-hook)
12627 (verilog-before-save-font-hook): New variable.
12628 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
12629 (verilog-save-font-mods): Wrap disabling fontification, reported
12630 by David Rogoff.
12631 (verilog-do-indent, verilog-pretty-declarations-auto)
12632 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
12633 Reported by Pierre-David Pfister.
12634 (verilog-set-auto-endcomments): Fix endtask auto comments outside
12635 of class declarations, bug292. Reported by Kevin Heilman.
12636 (verilog-read-decls): Fix 'parameter type' not appearing in
12637 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
12638 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
12639 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
12640 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
12641 Reported by David Kravitz.
12642
12643 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
12644
12645 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
12646 assignment with tests in ifs and for loops.
12647 (verilog-extended-complete-re, verilog-complete-reg): Change so
12648 that DPI inport functions don't look like fuction declarations.
12649 (verilog-pretty-expr): Don't line up assignment
12650 operations to the test and increment in if and for loops
12651 (verilog-extended-complete-re, verilog-complete-reg): Change so
12652 that DPI inport functions don't look like fuction declarations.
12653
12654 2012-05-03 Kenichi Handa <handa@m17n.org>
12655
12656 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
12657 decoding, and show a warning message without signaling an error
12658 (Bug#11282).
12659
12660 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12661
12662 * emacs-lisp/bytecomp.el
12663 (byte-compile-file-form-custom-declare-variable): Compile all elements,
12664 since cconv.el might have introduced :fun-body, internal-make-closure,
12665 and friends for bytecomp to handle (bug#11391).
12666 * custom.el (defcustom): Avoid ((λ ..) ..).
12667
12668 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
12669
12670 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
12671
12672 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
12673
12674 * notifications.el (dbus-debug):
12675 * term/linux.el (gpm-mouse-enable):
12676 * term/screen.el (xterm-register-default-colors): Declare.
12677
12678 2012-05-02 Chong Yidong <cyd@gnu.org>
12679
12680 * cus-start.el (gc-cons-percentage, exec-suffixes)
12681 (dos-display-scancodes, dos-hyper-key, dos-super-key)
12682 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
12683 (make-cursor-line-fully-visible, void-text-area-pointer)
12684 (font-list-limit): Add customization data.
12685
12686 * allout.el (allout-exposure-change-functions)
12687 (allout-structure-added-functions)
12688 (allout-structure-deleted-functions)
12689 (allout-structure-shifted-functions): Rename abnormal hooks from
12690 *-hook, and convert to defcustoms.
12691 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
12692 Convert to defcustoms.
12693 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
12694
12695 * allout-widgets.el: Hook callers changed.
12696
12697 2012-05-02 Eli Zaretskii <eliz@gnu.org>
12698
12699 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
12700 the yanked message in preference to the default value of
12701 buffer-file-coding-system.
12702
12703 2012-05-02 Martin Rudalics <rudalics@gmx.at>
12704
12705 * window.el (display-buffer--action-function-custom-type):
12706 Fix entry.
12707
12708 2012-05-02 Alan Mackenzie <acm@muc.de>
12709
12710 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
12711
12712 2012-05-01 Glenn Morris <rgm@gnu.org>
12713
12714 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
12715
12716 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
12717
12718 * cus-edit.el (custom-variable-documentation): Simplify with format.
12719
12720 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12721 Stefan Monnier <monnier@iro.umontreal.ca>
12722
12723 * simple.el (suggest-key-bindings, execute-extended-command):
12724 Move from keyboard.c.
12725
12726 2012-05-01 Chong Yidong <cyd@gnu.org>
12727
12728 * follow.el: Eliminate advice.
12729 (set-process-filter, process-filter, sit-for): Advice deleted.
12730 (follow-mode-off-hook): Obsolete hook removed.
12731 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
12732 Vars deleted.
12733 (follow-auto): Use a :set function.
12734 (follow-mode): Rewritten. Don't advise process filters.
12735 (follow-switch-to-current-buffer-all, follow-scroll-up)
12736 (follow-scroll-down): Assume follow-mode is bound.
12737 (follow-comint-scroll-to-bottom)
12738 (follow-align-compilation-windows): New functions.
12739 (follow--window-sorter): New function.
12740 (follow-all-followers): Use it to explicitly sort windows by their
12741 positions; don't make assumptions about next-window order.
12742 (follow-windows-start-end, follow-delete-other-windows-and-split)
12743 (follow-calc-win-start): Doc fix.
12744 (follow-windows-aligned-p, follow-select-if-visible): Don't call
12745 vertical-motion unnecessarily.
12746 (follow-adjust-window): New function.
12747 (follow-post-command-hook): Use it.
12748 (follow-call-set-process-filter, follow-call-process-filter)
12749 (follow-intercept-process-output, follow-tidy-process-filter-alist)
12750 (follow-stop-intercept-process-output, follow-generic-filter):
12751 Functions deleted.
12752 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
12753 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
12754 New functions, replacing advice on scroll-bar-* commands.
12755 (follow-mwheel-scroll): New function (Bug#4112).
12756
12757 * comint.el (comint-adjust-point): New function.
12758 (comint-postoutput-scroll-to-bottom): Use it.
12759 Call follow-comint-scroll-to-bottom for Follow mode buffers.
12760
12761 2012-05-01 Glenn Morris <rgm@gnu.org>
12762
12763 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
12764 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
12765 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
12766 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
12767 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
12768 Remove no-byte-compile setting.
12769
12770 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
12771
12772 * minibuffer.el (completion-table-with-quoting): Fix compatibility
12773 all-completions code to not return a number in the last cdr.
12774
12775 2012-04-30 Leo Liu <sdl.web@gmail.com>
12776
12777 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
12778 read-only error.
12779
12780 2012-04-29 Chong Yidong <cyd@gnu.org>
12781
12782 * follow.el (follow-calc-win-end): Rewrite to handle partial
12783 screen lines correctly (Bug#8390).
12784 (follow-avoid-tail-recenter): Minor cleanup.
12785
12786 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12787
12788 Avoid the obsolete `assoc' package.
12789 * speedbar.el (speedbar-refresh): Avoid adelete.
12790 (speedbar-file-lists): Simplify and avoid aput.
12791 * man.el (Man--sections, Man--refpages): New vars, replacing
12792 Man-sections-alist and Man-refpages-alist.
12793 (Man-build-section-alist, Man-build-references-alist):
12794 Use them; avoid aput.
12795 (Man--last-section, Man--last-refpage): New vars.
12796 (Man-follow-manual-reference): Use them.
12797 Use the `default' arg of completing-read.
12798 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
12799
12800 2012-04-27 Chong Yidong <cyd@gnu.org>
12801
12802 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
12803
12804 * startup.el (x-apply-session-resources): New function.
12805
12806 * term/ns-win.el (ns-initialize-window-system):
12807 * term/w32-win.el (w32-initialize-window-system):
12808 * term/x-win.el (x-initialize-window-system): Use it to properly
12809 set menu-bar-mode and other vars from X resources, even if the
12810 initial frame is not a window-system frame (Bug#2299).
12811
12812 * subr.el (read-key): Avoid running filter function when setting
12813 up temporary tool bar entries (Bug#9922).
12814
12815 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
12816
12817 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
12818 (Bug#11344)
12819
12820 2012-04-27 Chong Yidong <cyd@gnu.org>
12821
12822 * select.el (xselect--encode-string): New function, split from
12823 xselect-convert-to-string.
12824 (xselect-convert-to-string): Use it.
12825 (xselect-convert-to-filename, xselect-convert-to-os)
12826 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
12827 returned strings are properly encoded (Bug#11315).
12828
12829 2012-04-27 Chong Yidong <cyd@gnu.org>
12830
12831 * simple.el (delete-active-region): Move to killing custom group.
12832
12833 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
12834
12835 * progmodes/which-func.el (which-func-current): Quote %
12836 characters for mode-line processing.
12837
12838 2012-04-27 Chong Yidong <cyd@gnu.org>
12839
12840 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
12841 reaching eob (Bug#11286).
12842
12843 2012-04-27 Eli Zaretskii <eliz@gnu.org>
12844
12845 * progmodes/gdb-mi.el (gdb-control-level): New variable.
12846 (gdb): Make it buffer-local and init to zero.
12847 (gdb-control-commands-regexp): New variable.
12848 (gdb-send): Don't wrap in "-interpreter-exec console" if
12849 gdb-control-level is positive. Increment gdb-control-level
12850 whenever the command matches gdb-control-commands-regexp, and
12851 decrement it each time the command is "end". (Bug#11279)
12852
12853 2012-04-27 Martin Rudalics <rudalics@gmx.at>
12854
12855 * window.el (adjust-window-trailing-edge, enlarge-window)
12856 (shrink-window, window-resize):
12857 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
12858 windows (Bug#11276).
12859
12860 2012-04-27 Chong Yidong <cyd@gnu.org>
12861
12862 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
12863 fix "missing prefix" warning. All callers changed.
12864
12865 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
12866
12867 * emacs-lisp/assoc.el: Move to obsolete/.
12868
12869 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12870
12871 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
12872
12873 * term/ns-win.el (ns-define-service):
12874 * progmodes/pascal.el (pascal-goto-defun):
12875 * progmodes/js.el (js--read-tab):
12876 * progmodes/etags.el (tags-lazy-completion-table):
12877 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
12878 * emacs-lisp/ewoc.el (ewoc--wrap):
12879 * emacs-lisp/assoc.el (aput, adelete, amake):
12880 * doc-view.el (doc-view-convert-current-doc):
12881 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
12882
12883 2012-04-26 Chong Yidong <cyd@gnu.org>
12884
12885 * image.el (image-type-from-buffer): Only return supported image
12886 type (Bug#9045).
12887
12888 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
12889 value, for symmetry with diff-end-of-hunk.
12890 (diff-split-hunk, diff-find-source-location)
12891 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
12892 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
12893 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
12894 compute the relevant hunk or file properly (Bug#6005).
12895 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
12896
12897 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12898
12899 * vc/vc-mtn.el:
12900 * vc/vc-hg.el:
12901 * vc/vc-git.el:
12902 * vc/vc-dir.el:
12903 * vc/vc-cvs.el:
12904 * vc/vc-bzr.el:
12905 * vc/vc-arch.el:
12906 * vc/vc.el: Replace lexical-let by lexical-binding.
12907 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
12908 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
12909 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
12910
12911 2012-04-26 Chong Yidong <cyd@gnu.org>
12912
12913 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
12914 (diff-mode-shared-map): Bind it to / and [remap undo].
12915
12916 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
12917 (ediff-window-setup-function): Use it as the default, to set up
12918 windows based on whether the current frame is graphical (Bug#2138).
12919 (ediff-choose-window-setup-function-automatically): Make obsolete.
12920
12921 * vc/ediff-init.el: Always define ediff-pixel-width/height.
12922
12923 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12924
12925 * ffap.el: Remove old code for obsolete package.
12926 (ffap-complete-as-file-p): Remove.
12927
12928 Use completion-table-with-quoting for comint and pcomplete.
12929 * comint.el (comint--unquote&requote-argument)
12930 (comint--unquote-argument, comint--requote-argument): New functions.
12931 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
12932 (comint-quote-filename): Use regexp-opt-charset.
12933 (comint--common-suffix, comint--common-quoted-suffix)
12934 (comint--table-subvert): Remove.
12935 (comint-unquote-function, comint-requote-function): New vars.
12936 (comint--complete-file-name-data): Use them with
12937 completion-table-with-quoting.
12938 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
12939 * pcomplete.el (pcomplete-arg-quote-list)
12940 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
12941 (pcomplete-unquote-argument-function): Default to non-nil.
12942 (pcomplete-unquote-argument): Simplify.
12943 (pcomplete--common-quoted-suffix): Remove.
12944 (pcomplete-requote-argument-function): New var.
12945 (pcomplete--common-suffix): New function.
12946 (pcomplete-completions-at-point): Use completion-table-with-quoting
12947 and completion-table-subvert.
12948
12949 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
12950 (minibuffer--double-dollars): Preserve properties.
12951 (completion--sifn-requote): New function.
12952 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
12953
12954 * minibuffer.el: Add support for completion of quoted/escaped data.
12955 (completion-table-with-quoting, completion-table-subvert): New funs.
12956 (completion--twq-try, completion--twq-all): New functions.
12957 (completion--nth-completion): New function.
12958 (completion-try-completion, completion-all-completions): Use it.
12959
12960 2012-04-25 Leo Liu <sdl.web@gmail.com>
12961
12962 * progmodes/python.el (python-pdbtrack-get-source-buffer):
12963 Use compilation-message if available to find real filename.
12964
12965 2012-04-25 Chong Yidong <cyd@gnu.org>
12966
12967 * vc/diff-mode.el (diff-setup-whitespace): New function.
12968 (diff-mode): Use it.
12969
12970 * vc/diff.el (diff-sentinel):
12971 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
12972 Whitespace mode variables based on diff style (Bug#8612).
12973
12974 2012-04-25 Leo Liu <sdl.web@gmail.com>
12975
12976 * progmodes/python.el (python-send-region): Add suffix .py to the
12977 temp file.
12978
12979 * files.el (auto-mode-alist): Use javascript-mode instead.
12980
12981 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
12982
12983 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
12984
12985 * net/soap-client.el (soap-resolve-references-for-sequence-type)
12986 (soap-resolve-references-for-array-type): Hack to prevent self
12987 references, see Bug#9.
12988 (soap-parse-envelope): Report the contents of the 'detail' node
12989 when receiving a fault reply.
12990 (soap-parse-envelope): Report the contents of the entire 'detail' node.
12991
12992 * net/soap-inspect.el (soap-sample-value-for-simple-type)
12993 (soap-inspect-simple-type): New function.
12994
12995 * net/soap-client.el (soap-simple-type): New struct.
12996 (soap-default-xsd-types, soap-default-soapenc-types)
12997 (soap-decode-basic-type, soap-encode-basic-type):
12998 support unsignedInt and double basic types.
12999 (soap-resolve-references-for-simple-type)
13000 (soap-parse-simple-type, soap-encode-simple-type): New function.
13001 (soap-parse-schema): Parse xsd:simpleType declarations.
13002
13003 * net/soap-client.el (soap-default-xsd-types)
13004 (soap-default-soapenc-types): Add integer, byte and anyURI types.
13005 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
13006 the local name of "soapenc:Array".
13007 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
13008 decoding integer, byte and anyURI xsd types.
13009
13010 2012-04-25 Chong Yidong <cyd@gnu.org>
13011
13012 * cus-edit.el (custom-buffer-create-internal): Update header text.
13013
13014 2012-04-25 Eli Zaretskii <eliz@gnu.org>
13015
13016 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
13017 settings on 'system-type', not on 'window-system'. On MS-Windows,
13018 set interactive-mode on in GDB.
13019
13020 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13021
13022 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
13023 (ruby-syntax-propertize-regexp): Remove.
13024 (ruby-syntax-propertize-function): Split regexp into chunks.
13025 Match following code directly.
13026
13027 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
13028
13029 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
13030 (ruby-syntax-propertize-regexp): New function.
13031 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
13032 by a special keyword.
13033
13034 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
13035 (ruby-syntax-general-delimiters-goto-beg)
13036 (ruby-syntax-propertize-general-delimiters): New functions.
13037 (ruby-syntax-propertize-function): Use them to handle GDL.
13038 (ruby-font-lock-keywords): Move old handling of GDL...
13039 (ruby-font-lock-syntactic-keywords): .. to here.
13040 (ruby-calculate-indent): Adjust indentation for GDL.
13041
13042 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
13043
13044 * notifications.el (top): Remove unneeded declarations.
13045 (notifications-specification-version): Change to "1.2".
13046 (notifications-interface, notifications-notify-method)
13047 (notifications-close-notification-method): Fix docstring.
13048 (notifications-get-capabilities-method): New defconst.
13049 (notifications-notify): Add :action-items, :resident and
13050 :transient hints. Change "image_data" to "image-data" and
13051 "image_path" to "image-path".
13052 (notifications-get-capabilities): New defun.
13053
13054 2012-04-24 Leo Liu <sdl.web@gmail.com>
13055
13056 * progmodes/python.el: Move hideshow setup to the end.
13057
13058 2012-04-24 Martin Rudalics <rudalics@gmx.at>
13059
13060 * window.el (handle-select-window): Clear echo area since this is
13061 no more done by read_char (Bug#11304).
13062
13063 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13064
13065 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
13066 and `/ M' to filter-derived-mode.
13067 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
13068 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
13069 (ibuffer-mark-by-mode): Use default rather than initial-input.
13070 (ibuffer-filter-by-derived-mode): Autoload and require-match.
13071
13072 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
13073
13074 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
13075 (ibuffer-filter-by-derived-mode): New filter.
13076 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
13077
13078 2012-04-23 Andreas Politz <politza@fh-trier.de>
13079
13080 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
13081
13082 2012-04-23 Chong Yidong <cyd@gnu.org>
13083
13084 * cus-edit.el (customize-apropos, customize-apropos-options):
13085 Disable matching of non-option variables (Bug#11176).
13086 (customize-option, customize-option-other-window)
13087 (customize-changed-options): Doc fix.
13088 (customize-apropos-options, customize-apropos-faces)
13089 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
13090
13091 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
13092 Fix word list splitting (Bug#11132).
13093 (apropos-symbol, apropos-keybinding, apropos-label)
13094 (apropos-property, apropos-function-button)
13095 (apropos-variable-button, apropos-misc-button): New faces.
13096 (apropos-symbol-face, apropos-keybinding-face)
13097 (apropos-label-face, apropos-property-face, apropos-match-face):
13098 Variables removed (Bug#8396).
13099 (apropos-library-button, apropos-format-plist, apropos-print)
13100 (apropos-print-doc, apropos-describe-plist): Callers changed.
13101
13102 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
13103
13104 * net/xesam.el (xesam-mode-map): Use let-bound map in
13105 initialization. (Bug#11292)
13106
13107 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13108
13109 Preserve ispell session localwords when switching back to
13110 original buffer.
13111
13112 * textmodes/ispell.el (ispell-buffer-session-localwords):
13113 New buffer-local variable to hold buffer session localwords.
13114 (ispell-kill-ispell): Add option 'clear to delete session
13115 localwords.
13116 (ispell-command-loop, ispell-change-dictionary)
13117 (ispell-buffer-local-words): Preserve session localwords when
13118 needed.
13119
13120 * textmodes/flyspell.el (flyspell-process-localwords)
13121 (flyspell-do-correct): Preserve session localwords when needed.
13122
13123 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13124
13125 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
13126 using obsolete `translation-table-for-input'.
13127 (ispell-word, ispell-process-line, ispell-complete-word):
13128 Use plain `insert' instead of removed `ispell-insert-word'.
13129
13130 2012-04-22 Chong Yidong <cyd@gnu.org>
13131
13132 * cus-edit.el (custom-variable-menu)
13133 (custom-variable-reset-saved, custom-face-menu)
13134 (custom-face-reset-saved): If there is no saved value, make the
13135 "reset-saved" operation bring back the default (Bug#9509).
13136 (custom-face-state): Properly detect themed faces.
13137
13138 * faces.el (face-spec-set): Stop supporting deprecated form of
13139 third arg.
13140
13141 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
13142
13143 Move functions from C to Lisp. Make non-blocking method calls
13144 the default. Implement further D-Bus standard interfaces.
13145
13146 * net/dbus.el (dbus-message-internal): Declare function.
13147 Remove unneeded function declarations.
13148 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
13149 (dbus-message-type-method-return, dbus-message-type-error)
13150 (dbus-message-type-signal): Declare variables. Remove local
13151 definitions.
13152 (dbus-interface-dbus, dbus-interface-peer)
13153 (dbus-interface-introspectable, dbus-interface-properties)
13154 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
13155 Adapt docstring.
13156 (dbus-interface-objectmanager): New defconst.
13157 (dbus-call-method, dbus-call-method-asynchronously)
13158 (dbus-send-signal, dbus-method-return-internal)
13159 (dbus-method-error-internal, dbus-register-service)
13160 (dbus-register-signal, dbus-register-method): New defuns, moved
13161 from dbusbind.c
13162 (dbus-call-method-handler, dbus-setenv)
13163 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
13164 New defuns.
13165 (dbus-call-method-non-blocking): Make it an obsolete function.
13166 (dbus-unregister-object, dbus-unregister-service)
13167 (dbus-handle-event, dbus-register-property)
13168 (dbus-property-handler): Obey the new structure of
13169 `bus-registered-objects'.
13170 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
13171 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
13172 Use `dbus-call-method'.
13173
13174 2012-04-22 Chong Yidong <cyd@gnu.org>
13175
13176 * cus-edit.el (custom-commands, custom-reset-menu)
13177 (Custom-reset-standard): Tweak labels.
13178 (custom-reset-button-menu): Change default to t.
13179 (custom-buffer-create-internal): For the custom-reset-button-menu
13180 case, put the revert button first.
13181 (custom-group-subtitle): New face.
13182 (custom-group-value-create): Align docstring to a specific column.
13183
13184 * wid-edit.el (widget-documentation-link-add): Don't handle
13185 indentation in this function.
13186 (widget-documentation-string-indent-to): New function.
13187 (widget-documentation-string-value-create): Use it.
13188
13189 * autorevert.el (auto-revert):
13190 * epg-config.el (epg):
13191 * ibuffer.el (ibuffer):
13192 * mpc.el (mpc):
13193 * ses.el (ses):
13194 * eshell/eshell.el (eshell):
13195 * net/ange-ftp.el (ange-ftp):
13196 * progmodes/ebnf2ps.el (postscript):
13197 * progmodes/flymake.el (flymake):
13198 * progmodes/prolog.el (prolog):
13199 * progmodes/verilog-mode.el (verilog-mode):
13200 * progmodes/which-func.el (which-func):
13201 * term/xterm.el (xterm):
13202 * textmodes/picture.el (picture):
13203 * textmodes/tildify.el (tildify):
13204 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
13205 customization buffers.
13206
13207 2012-04-22 Alan Mackenzie <acm@muc.de>
13208
13209 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
13210 Adding a ) can hide the resulting (..) from searches. Fix it.
13211 Bound the backward search to the position of the existing (.
13212
13213 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
13214
13215 * progmodes/verilog-mode.el (verilog-mode): Check whether
13216 which-func-modes is t before adding verilog-mode.
13217 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
13218
13219 2012-04-21 Leo Liu <sdl.web@gmail.com>
13220
13221 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
13222
13223 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
13224
13225 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
13226 filling of the last column of a table (Bug#5635).
13227 (woman-find-next-control-line): New arg, specifying an additional
13228 regexp component for the control line.
13229 (woman2-roff-buffer): Use it.
13230 (woman-break-table): New function.
13231 (woman2-TS): Use it.
13232
13233 2012-04-21 Chong Yidong <cyd@gnu.org>
13234
13235 * woman.el (woman-set-buffer-display-table, woman-decode-region)
13236 (woman-horizontal-escapes, woman-negative-vertical-space)
13237 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
13238 (WoMan-warn-ignored): Use ?\s instead of ?\ .
13239
13240 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13241
13242 * minibuffer.el (completion-file-name-table): Complete user names.
13243
13244 2012-04-20 Leo Liu <sdl.web@gmail.com>
13245
13246 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
13247 and pcase-let*.
13248
13249 2012-04-20 Chong Yidong <cyd@gnu.org>
13250
13251 * server.el (server-execute): Respect initial-buffer-choice if it
13252 is a string and there are no files to open (Bug#2825).
13253 (server-create-window-system-frame, server-create-tty-frame):
13254 Don't switch buffers here.
13255 (server-process-filter): Only try to open a window system frame if
13256 compiled with graphical support (Bug#8314).
13257
13258 2012-04-20 Dan Nicolaescu <dann@gnu.org>
13259
13260 * battery.el (battery-echo-area-format): Display remaining time
13261 for sysfs backend too (Bug#11269).
13262 (battery-linux-sysfs): Fix conditional for the charge.
13263
13264 2012-04-20 Chong Yidong <cyd@gnu.org>
13265
13266 * progmodes/gdb-mi.el (gdb): Revert previous change.
13267 (gdb-inferior-io--init-proc): New function.
13268 (gdb-init-1): Use it.
13269 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
13270 responsible for allocating a new pty and hooking it to gdb when
13271 the old pty gets an EIO due to process exit.
13272 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
13273 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
13274 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
13275
13276 2012-04-20 Eli Zaretskii <eliz@gnu.org>
13277
13278 * window.el (window-min-size, window-sizable, window-min-delta)
13279 (window-max-delta, window--resizable, window-resizable)
13280 (window-total-size, window-full-height-p, window-full-width-p)
13281 (window-in-direction, window--resize-mini-window, window-resize)
13282 (window--resize-child-windows-normal)
13283 (window--resize-child-windows, window--resize-siblings)
13284 (window--resize-this-window, adjust-window-trailing-edge)
13285 (enlarge-window, shrink-window): Doc fixes.
13286
13287 2012-04-20 Chong Yidong <cyd@gnu.org>
13288
13289 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
13290 New function to call delete-process on the gdb-inferior buffer's pty.
13291 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
13292 pty process (Bug#11273).
13293 (gdb-update): New arg to suppress talking to the gdb process.
13294 (gdb-done-or-error): Use it.
13295 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
13296 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
13297 sentinel not being called.
13298
13299 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
13300
13301 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
13302
13303 2012-04-20 Glenn Morris <rgm@gnu.org>
13304
13305 * net/network-stream.el (open-network-stream): Doc fix.
13306
13307 2012-04-20 Chong Yidong <cyd@gnu.org>
13308
13309 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
13310
13311 2012-04-20 Alan Mackenzie <acm@muc.de>
13312
13313 Ensure searching for keywords is case sensitive.
13314
13315 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
13316 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
13317 (c-defun-name, c-mark-function, c-cpp-define-name)
13318 (c-comment-indent, c-scan-conditionals, c-indent-defun)
13319 (c-context-line-break): Bind case-fold-search to nil.
13320
13321 * progmodes/cc-mode.el (c-font-lock-fontify-region):
13322 Bind case-fold-search to nil.
13323
13324 2012-04-20 Chong Yidong <cyd@gnu.org>
13325
13326 * mail/sendmail.el (mail-bury): Call return action with the right
13327 Rmail buffer (Bug#11242).
13328
13329 * server.el (server-process-filter): Handle corner case where both
13330 tty and nowait options are present (Bug#11102).
13331
13332 2012-04-20 Eli Zaretskii <eliz@gnu.org>
13333
13334 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
13335 (top level): Put into the executable the ident-style '$Id:' tag on
13336 windows-nt as well.
13337
13338 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13339
13340 * electric.el (electric-indent-post-self-insert-function): Check that
13341 electric-indent-mode is enabled in current buffer.
13342
13343 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
13344
13345 * imenu.el (imenu-progress-message): Restore; it is "used" in
13346 erc/erc-imenu.el and net/snmp-mode.el.
13347
13348 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
13349
13350 * avoid.el (mouse-avoidance-mode): Mark unused arg.
13351 (mouse-avoidance-nudge-mouse): Remove unused binding.
13352
13353 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
13354
13355 * descr-text.el (describe-char):
13356 * progmodes/python.el (python-describe-symbol):
13357 Don't call `toggle-read-only', set `buffer-read-only'.
13358
13359 * imenu.el (imenu-default-goto-function): Mark unused args.
13360 (imenu-progress-message): Remove obsolete macro; all callers changed.
13361
13362 * subr.el (keymap-canonicalize): Remove unused binding.
13363 (read-passwd): Mark unused arg.
13364
13365 * tutorial.el (tutorial--display-changes): Remove unused binding.
13366 (tutorial--save-tutorial-to): Remove unused variable.
13367
13368 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
13369 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
13370 (package-generate-autoloads, package-menu--generate)
13371 (package-menu--find-upgrades): Remove unused bindings.
13372
13373 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
13374 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
13375 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
13376 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
13377 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
13378 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
13379 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
13380 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
13381 (cua-delete-char-rectangle): Mark unused args.
13382 (cua-align-rectangle): Remove unused binding.
13383
13384 * mail/rmail.el (compilation--message->loc)
13385 (epa--find-coding-system-for-mime-charset): Declare.
13386
13387 * net/dbus.el (dbus-register-service): Declare.
13388 (dbus-name-owner-changed-handler): Remove unused binding.
13389
13390 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
13391 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
13392 (nxml-scan-backward-within): Mark unused arg.
13393 (nxml-dynamic-markup-word): Remove unused binding.
13394
13395 * mouse.el (mouse-menu-major-mode-map):
13396 * emacs-lisp/authors.el (authors-scan-change-log)
13397 (authors-add-to-author-list):
13398 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
13399 * emacs-lisp/smie.el (smie-auto-fill):
13400 * mail/sendmail.el (mail-bury):
13401 * mail/unrmail.el (unrmail):
13402 * net/tls.el (open-tls-stream):
13403 * textmodes/picture.el (picture-mouse-set-point):
13404 Remove unused bindings.
13405
13406 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
13407
13408 * net/tramp.el (tramp-action-password): Let-bind
13409 `enable-recursive-minibuffers' to t.
13410
13411 2012-04-18 Sam Steingold <sds@gnu.org>
13412
13413 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
13414 instead of 'string to accommodate values like [f11].
13415 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
13416 * progmodes/gdb-mi.el: Likewise.
13417
13418 2012-04-18 Leo Liu <sdl.web@gmail.com>
13419
13420 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
13421 current buffer.
13422 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
13423 LOCAL is nil.
13424
13425 2012-04-18 Chong Yidong <cyd@gnu.org>
13426
13427 * simple.el (line-move): Use forward-line if in batch mode
13428 (Bug#11053).
13429
13430 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
13431
13432 * files.el (after-find-file): Do not try to add a final newline if
13433 the buffer is read-only (Bug#11156).
13434
13435 2012-04-17 Richard Stallman <rms@gnu.org>
13436
13437 * mail/rmail.el (rmail-start-mail):
13438 Pass (rmail-mail-return...) for the return-action.
13439 Pass (rmail-yank-current-message...) for the yank-action.
13440 (rmail-yank-current-message): New function.
13441 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
13442 (rmail-reply): Likewise.
13443 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
13444
13445 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
13446 buffer, not the last. Reject temp buffers. Use the rmail-mode
13447 buffer, not newbuf.
13448
13449 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
13450
13451 * server.el (server-ensure-safe-dir): Simplify.
13452
13453 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13454
13455 * emacs-lisp/smie.el: Provide smarter auto-filling.
13456 (smie-auto-fill): New function.
13457 (smie-setup): Use it.
13458
13459 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
13460
13461 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
13462
13463 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
13464 (comment-indent): Use it.
13465
13466 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
13467
13468 * ses.el: The overall change is to add cell renaming, that is
13469 setting fancy names for cell symbols other than name matching
13470 "\\`[A-Z]+[0-9]+\\'" regexp .
13471 (ses-localvars): Add ses--renamed-cell-symb-list.
13472 (ses-create-cell-variable): New defun.
13473 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
13474 (ses-relocate-formula): Relocate formulas only for cells the
13475 symbols of which are not renamed, i.e. symbols whose names do not
13476 match regexp "\\`[A-Z]+[0-9]+\\'".
13477 (ses-relocate-all): Relocate values only for cells the symbols of
13478 which are not renamed.
13479 (ses-load): Create cells variables as the (ses-cell ...) are read,
13480 in order to check row col consistency with cell symbol name only
13481 for cells that are not renamed.
13482 (ses-replace-name-in-formula): New defun.
13483 (ses-rename-cell): New defun.
13484
13485 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
13486
13487 * progmodes/perl-mode.el (perl-indent-parens-as-block):
13488 New option (bug#11118).
13489 (perl-calculate-indent): Respect it.
13490
13491 2012-04-17 Glenn Morris <rgm@gnu.org>
13492
13493 * dired-aux.el (dired-mark-read-string): Doc fix.
13494
13495 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
13496
13497 * dired-aux.el (dired-mark-read-string): Offer optional completion.
13498 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
13499
13500 2012-04-17 Glenn Morris <rgm@gnu.org>
13501
13502 * mouse.el (mouse-drag-track):
13503 * speedbar.el (speedbar-frame-mode):
13504 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
13505
13506 2012-04-16 Leo Liu <sdl.web@gmail.com>
13507
13508 * progmodes/python.el: Trivial cleanup.
13509
13510 2012-04-16 Glenn Morris <rgm@gnu.org>
13511
13512 * vc/vc.el (vc-string-prefix-p):
13513 * vc/pcvs-util.el (cvs-string-prefix-p):
13514 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
13515 * mpc.el (mpc-string-prefix-p):
13516 Make all of these into obsolete aliases for string-prefix-p.
13517 Update callers.
13518 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
13519
13520 * textmodes/two-column.el: Move custom options to the start.
13521 (frame-width): Remove compat definition.
13522 (2C-associate-buffer, 2C-dissociate):
13523 Use with-current-buffer rather than save-excursion.
13524 (2C-dissociate): Force a mode-line update.
13525 (2C-autoscroll): Use ignore-errors.
13526
13527 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
13528 Autoload trivia.
13529
13530 * emacs-lisp/cl-extra.el (*random-state*):
13531 Remove unnecessary declaration.
13532
13533 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
13534
13535 * play/cookie1.el (cookie-snarf):
13536 Give an explicit error if input file cannot be read.
13537
13538 * play/yow.el (yow-file): Use expand-file-name rather than concat.
13539
13540 * progmodes/perl-mode.el (c-macro-expand):
13541 Remove unnecessary autoload (it is in loaddefs.el).
13542
13543 * textmodes/picture.el (picture-desired-column)
13544 (picture-update-desired-column): Convert comments to doc-strings.
13545 (picture-substitute): Remove function.
13546 (picture-mode-map): Initialize in the defvar.
13547
13548 * woman.el: Remove eval-after-load for tar-mode.
13549 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
13550 (woman-tar-extract-file): Autoload it.
13551
13552 * frame.el (automatic-hscrolling): Make this alias obsolete.
13553
13554 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13555
13556 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
13557 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
13558 (ispell-dictionary-base-alist): Revert to original XEmacs
13559 friendly version for default. [:alpha:] will be added in
13560 `ispell-set-spellchecker-params' if needed.
13561
13562 2012-04-16 Chong Yidong <cyd@gnu.org>
13563
13564 * image.el (imagemagick--file-regexp): New variable.
13565 (imagemagick-register-types): Use it.
13566 (imagemagick-types-inhibit): Add :set function. Allow new value
13567 of t to inhibit all types.
13568
13569 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
13570 so we can preload it.
13571
13572 * loadup.el (fboundp): Preload regexp-opt, needed by
13573 imagemagick-register-types.
13574
13575 2012-04-15 Chong Yidong <cyd@gnu.org>
13576
13577 * frame.el (scrolling): Remove nearly unused customization group.
13578
13579 * scroll-all.el (scroll-all-mode): Move to windows group.
13580
13581 2012-04-15 Chong Yidong <cyd@gnu.org>
13582
13583 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
13584
13585 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13586
13587 Avoid the use of ((lambda ...) ...) in lexical-binding code.
13588 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
13589
13590 2012-04-15 Glenn Morris <rgm@gnu.org>
13591
13592 * simple.el (process-file-side-effects): Doc fix.
13593
13594 2012-04-15 Glenn Morris <rgm@gnu.org>
13595
13596 * international/mule-cmds.el (set-language-environment): Doc fix.
13597
13598 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
13599
13600 * server.el (server-auth-key, server-generate-key): Doc fixes.
13601 (server-get-auth-key): Doc fix. Use `string-match-p'.
13602 (server-start): Reflow docstring.
13603
13604 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
13605
13606 * server.el (server-generate-key): `called-interactively-p'
13607 requires a parameter.
13608
13609 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
13610
13611 * server.el (server-auth-key): New variable.
13612 (server-generate-key, server-get-auth-key): New function.
13613 (server-start): Use the new variable and functions to allow
13614 setting a permanent server key (bug#9423).
13615
13616 2012-04-14 Leo Liu <sdl.web@gmail.com>
13617
13618 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
13619
13620 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
13621
13622 Spelling fixes.
13623 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
13624 Emacs uses American spelling.
13625
13626 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
13627
13628 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
13629 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
13630 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
13631 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
13632
13633 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13634
13635 * progmodes/which-func.el (which-func-modes): Change default.
13636
13637 2012-04-14 Kim F. Storm <storm@cua.dk>
13638
13639 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
13640 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
13641
13642 2012-04-14 Chong Yidong <cyd@gnu.org>
13643
13644 * custom.el (custom-theme-set-variables): Doc fix.
13645
13646 2012-04-14 Glenn Morris <rgm@gnu.org>
13647
13648 * international/mule.el (set-auto-coding-for-load): Doc fix.
13649
13650 2012-04-14 Alan Mackenzie <acm@muc.de>
13651
13652 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
13653 imenu work again for Objective C Mode. Correct the *-index values,
13654 these having been disturbed by a previous change in 2011-08.
13655
13656 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
13657 Correct two search limits.
13658
13659 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13660
13661 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
13662
13663 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
13664
13665 * international/characters.el: Fix sorting.
13666
13667 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13668
13669 * international/characters.el: Add more missing Latin case pairs.
13670
13671 2012-04-14 Glenn Morris <rgm@gnu.org>
13672
13673 * files.el (dir-locals-set-class-variables): Doc fix.
13674
13675 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13676
13677 * international/characters.el: Add set-case-syntax-pair call for
13678 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
13679 counterpart. (Bug#11209)
13680
13681 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
13682
13683 2012-04-14 Glenn Morris <rgm@gnu.org>
13684
13685 * calendar/holidays.el (calendar-check-holidays): Doc fix.
13686
13687 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13688
13689 * textmodes/ispell.el (ispell-dictionary-base-alist):
13690 Add data for Hebrew.
13691
13692 2012-04-14 Chong Yidong <cyd@gnu.org>
13693
13694 * net/rcirc.el (rcirc-cmd-quit):
13695 Revert 2012-03-18 change (Bug#11192).
13696
13697 2012-04-14 Glenn Morris <rgm@gnu.org>
13698
13699 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
13700
13701 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13702
13703 * minibuffer.el (completion-in-region-mode-map):
13704 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
13705
13706 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
13707
13708 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
13709
13710 2012-04-13 Masatake YAMATO <yamato@redhat.com>
13711
13712 * minibuffer.el (minibuffer-local-filename-syntax): New variable
13713 to allow `C-M-f' and `C-M-b' to move to the nearest path
13714 separator (bug#9511).
13715
13716 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
13717
13718 * avoid.el: Require cl when compiling. And also move the
13719 `provide' to the end.
13720
13721 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13722
13723 * avoid.el (mouse-avoidance-banish-position): New variable.
13724 (mouse-avoidance-banish-destination): Use it (bug#10165).
13725
13726 2012-04-13 Leo Liu <sdl.web@gmail.com>
13727
13728 * progmodes/which-func.el (which-func-modes): Add objc-mode.
13729
13730 2012-04-13 Ken Brown <kbrown@cornell.edu>
13731
13732 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
13733 this is no longer needed now that cygstart understands file:// URLs.
13734 (browse-url-filename-alist): For the same reason, don't modify
13735 file:// URLs on Cygwin.
13736
13737 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
13738
13739 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
13740 the region on shift if the binding is already shifted (bug#11221).
13741
13742 2012-04-12 Glenn Morris <rgm@gnu.org>
13743
13744 * mail/mailpost.el: Move to obsolete/.
13745
13746 2012-04-12 Drew Adams <drew.adams@oracle.com>
13747
13748 * imenu.el (imenu--generic-function): Ignore invisible definitions
13749 (bug#10123).
13750
13751 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
13752
13753 * hexl.el (hexl-bits): New variable.
13754 (hexl-options): Mention the variable in the doc string.
13755 (hexl-rulerise, hexl-line-displen): New functions.
13756 (hexl-mode): Mention the new variable.
13757 (hexl-mode, hexl-current-address, hexl-current-address):
13758 Use the displen.
13759 (hexl-ascii-start-column): New function.
13760 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
13761 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
13762
13763 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13764
13765 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
13766 '("-i" ENCODING), in 2 separate command-line arguments, to specify
13767 the encoding, as expected by hunspell.
13768
13769 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
13770
13771 * battery.el (battery--linux-sysfs-regexp): New const.
13772 (battery-status-function): Use it. Remove yeeloong special case.
13773 (battery-yeeloong-sysfs): Remove.
13774 (battery-echo-area-format): Remove yeeloong special case.
13775
13776 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13777
13778 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
13779 Reported by Noah Friedman.
13780
13781 * subr.el (read-passwd): Use read-string.
13782
13783 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13784
13785 * vcursor.el (vcursor-move): Increase the priority of the overlay
13786 (bug#9663).
13787
13788 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
13789
13790 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
13791 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
13792
13793 2012-04-11 William Stevenson <yhvh2000@gmail.com>
13794
13795 * textmodes/artist.el (artist-mode): Convert artist-mode to use
13796 define-minor-mode (bug#10760).
13797
13798 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
13799
13800 * progmodes/grep.el (rgrep): Tweak the find command line so
13801 that directories matching `grep-find-ignored-files' won't be
13802 pruned (bug#10351).
13803
13804 2012-04-11 Chong Yidong <cyd@gnu.org>
13805
13806 * startup.el (command-line): Remove support for long-obsolete
13807 variable font-lock-face-attributes.
13808
13809 2012-04-11 Glenn Morris <rgm@gnu.org>
13810
13811 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
13812
13813 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13814
13815 * window.el (window--state-get-1): Obey window-point-insertion-type.
13816
13817 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
13818
13819 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
13820 to previous function when point is on the first character of a
13821 function. Take care of that in `narrow-to-defun' (bug#6157).
13822
13823 2012-04-11 Glenn Morris <rgm@gnu.org>
13824
13825 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
13826 not just file-errors.
13827
13828 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
13829 (vc-bzr-sha1): Use internal sha1.
13830
13831 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13832
13833 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
13834
13835 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
13836
13837 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
13838 that start in the middle of the line (bug#10496).
13839
13840 2012-04-10 Dan Nicolaescu <dann@gnu.org>
13841
13842 * battery.el (battery-linux-proc-acpi): Only one battery is
13843 discharged at a time, but that seems to confuse battery.el when
13844 computing `rate-type' for the battery not being discharged
13845 (bug#10332).
13846
13847 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
13848
13849 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
13850
13851 * international/quail.el: Use dolist and simplify.
13852 (quail-define-package, quail-update-keyboard-layout)
13853 (quail-define-rules): Use dolist.
13854 (quail-insert-kbd-layout, quail-get-translation): CSE.
13855
13856 * tmm.el: Use dolist, remove left over hook.
13857 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
13858 Use dolist.
13859 (calendar-load-hook): Don't mess with it.
13860
13861 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
13862 Use derived-mode-p. Run the diff asynchronously.
13863
13864 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
13865
13866 * obsolete/mouse-sel.el: Add an Obsolete-since header.
13867
13868 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
13869
13870 * misc.el: Display absolute path of loaded DLLs (bug#10424).
13871 (list-dynamic-libraries--loaded): New function.
13872 (list-dynamic-libraries--refresh): Use it.
13873
13874 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
13875
13876 * progmodes/python.el (python-fill-paragraph):
13877 Make python-fill-region in a multiline string work when font-lock is
13878 disabled (bug#7018).
13879
13880 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
13881
13882 * language/european.el (cp775): Add oem/legacy (en)coding on
13883 DOS/MS Windows for the Baltic languages. There are still plenty
13884 of texts written in this encoding/codepage (bug#6519).
13885
13886 2012-04-10 Glenn Morris <rgm@gnu.org>
13887
13888 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
13889 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
13890
13891 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
13892
13893 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
13894 next-line "n" and previous-line "p" in order to make recentf more
13895 consistent with ibuffer, dired or org-mode (bug#9387).
13896
13897 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
13898
13899 * image.el (put-image): Return the overlay created instead of the
13900 optional input string (bug#7834). Note that this may break code
13901 that is (for some reason or other) depending on `put-image'
13902 returning the string.
13903
13904 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
13905
13906 * simple.el (zap-to-char): Allow zapping using input methods
13907 (bug#1580).
13908
13909 * textmodes/fill.el (fill-region): Leave point and mark where they
13910 were before filling (bug#5399).
13911
13912 2012-04-09 Glenn Morris <rgm@gnu.org>
13913
13914 * version.el (emacs-bzr-get-version):
13915 Handle lightweight checkouts of local branches.
13916
13917 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
13918
13919 * international/characters.el: Recover lost case pairs. (Bug#11209)
13920
13921 2012-04-09 Chong Yidong <cyd@gnu.org>
13922
13923 * custom.el (custom-variable-p): Return nil for non-symbol
13924 arguments instead of signaling an error.
13925 (user-variable-p): Obsolete alias for custom-variable-p.
13926
13927 * apropos.el (apropos-variable):
13928 * files-x.el (read-file-local-variable):
13929 * simple.el (set-variable):
13930 * woman.el (woman-mini-help):
13931 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
13932
13933 2012-04-09 Glenn Morris <rgm@gnu.org>
13934
13935 * startup.el (normal-top-level): Don't look for leim-list.el
13936 in places where it will not be found. (Bug#910)
13937
13938 * international/mule-cmds.el (set-default-coding-systems):
13939 * files.el (normal-mode):
13940 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
13941 This function was removed with ucs-tables.el in 2008.
13942
13943 2012-04-08 Eli Zaretskii <eliz@gnu.org>
13944
13945 * textmodes/ispell.el (ispell-check-version): For hunspell, set
13946 ispell-encoding8-command to "-i", without a trailing space.
13947 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
13948 separate command-line arguments, to specify the encoding, since
13949 that's how hunspell expects it.
13950
13951 2012-04-08 Glenn Morris <rgm@gnu.org>
13952
13953 * loadup.el: Load bindings before cus-start.
13954 This reduces somewhat the number of "rogue" settings in emacs -Q.
13955
13956 2012-04-07 Glenn Morris <rgm@gnu.org>
13957
13958 * version.el (emacs-bzr-get-version): New function.
13959 (emacs-bzr-version): New variable.
13960 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
13961 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
13962
13963 2012-04-07 Eli Zaretskii <eliz@gnu.org>
13964
13965 * international/uni-bidi.el, international/uni-category.el:
13966 * international/uni-combining.el, international/uni-decimal.el:
13967 * international/uni-decomposition.el, international/uni-digit.el:
13968 * international/uni-lowercase.el, international/uni-mirrored.el:
13969 * international/uni-name.el, international/uni-numeric.el:
13970 * international/uni-titlecase.el, international/uni-uppercase.el:
13971 Update for Unicode 6.1.
13972
13973 2012-04-07 Eli Zaretskii <eliz@gnu.org>
13974
13975 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
13976
13977 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
13978
13979 * window.el (shrink-window): Mention the `window-min-height'
13980 variable in the doc string.
13981
13982 2012-04-05 Bastien Guerry <bzg@altern.org>
13983
13984 * color.el (color-lighten-name): Fix typo.
13985
13986 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13987
13988 * server.el (server--on-display-p): New function.
13989 (server--on-display-p): Use it.
13990
13991 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
13992
13993 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
13994 (bug#11145).
13995
13996 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13997
13998 * comint.el (comint--common-quoted-suffix): Check string boundary
13999 before comparing (bug#11158).
14000 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
14001
14002 2012-04-04 Chong Yidong <cyd@gnu.org>
14003
14004 * minibuffer.el (completion-extra-properties): Doc fix.
14005
14006 * subr.el (delayed-warnings-hook): Doc fix.
14007
14008 2012-04-04 Daiki Ueno <ueno@unixuser.org>
14009
14010 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
14011 selection (Bug#11159).
14012 (epa-insert-keys): Inform that the default public key will be
14013 exported if no key is selected.
14014
14015 2012-04-04 Richard Stallman <rms@gnu.org>
14016
14017 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
14018
14019 2012-04-03 Chong Yidong <cyd@gnu.org>
14020
14021 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
14022 mail-insert-file, not its obsolete alias mail-attach-file.
14023
14024 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
14025
14026 * notifications.el (notifications-notify): Fix docstring.
14027
14028 2012-04-02 Glenn Morris <rgm@gnu.org>
14029
14030 * emacs-lisp/authors.el (authors-aliases): Another addition.
14031
14032 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
14033
14034 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
14035 `tramp-compat-call-process' instead of `tramp-local-call-process'.
14036 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
14037
14038 2012-04-01 Chong Yidong <cyd@gnu.org>
14039
14040 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
14041 Handle root directory properly.
14042 (copy-directory): Caller changed.
14043
14044 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
14045 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
14046
14047 2012-03-31 Glenn Morris <rgm@gnu.org>
14048
14049 * term/xterm.el (xterm-extra-capabilities): Doc fix.
14050
14051 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
14052
14053 * calendar/calendar.el (calendar-window-list)
14054 (calendar-hide-window): Restore. (Bug#11140)
14055 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
14056
14057 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
14058
14059 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14060
14061 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
14062 Check if file is a symlink (Bug#10489).
14063
14064 * files.el (copy-directory): Likewise.
14065
14066 2012-03-30 Chong Yidong <cyd@gnu.org>
14067
14068 * image.el (imagemagick-types-inhibit)
14069 (imagemagick-register-types): Doc fix.
14070
14071 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14072
14073 * textmodes/ispell.el (ispell-get-extended-character-mode):
14074 Disable extended-char-mode for hunspell. hunspell does not support it
14075 and treats ~word as ordinary words in pipe mode.
14076
14077 2012-03-30 Glenn Morris <rgm@gnu.org>
14078
14079 * tutorial.el (help-with-tutorial): Ensure local variables don't
14080 happen to make the buffer read-only. (Bug#11127)
14081
14082 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
14083
14084 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
14085 (perl-calculate-indent): Return `noindent' in strings.
14086
14087 2012-03-28 Sam Steingold <sds@gnu.org>
14088
14089 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
14090 instead of the broken adhockery which does not prevent calendar
14091 buffers from being displayed at random after exit.
14092 (calendar-window-list, calendar-hide-window): Remove the broken
14093 adhockery.
14094
14095 2012-03-28 Glenn Morris <rgm@gnu.org>
14096
14097 * replace.el (query-replace-map): Doc fix.
14098
14099 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
14100
14101 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
14102 contents. (Bug#11109)
14103
14104 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
14105
14106 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
14107 (bug#11077).
14108 (avl-tree--check, avl-tree--check-node): New funs.
14109
14110 2012-03-27 Martin Rudalics <rudalics@gmx.at>
14111
14112 * window.el (switch-to-visible-buffer): New option.
14113 (switch-to-prev-buffer, switch-to-next-buffer):
14114 Observe switch-to-visible-buffer. Make sure that checking for a window
14115 showing a buffer already is done on the same frame.
14116
14117 2012-03-27 Glenn Morris <rgm@gnu.org>
14118
14119 * startup.el (mail-host-address): Doc fix.
14120
14121 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14122
14123 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
14124 than 197 variables.
14125
14126 2012-03-26 Ami Fischman <ami@fischman.org>
14127
14128 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
14129
14130 2012-03-26 Glenn Morris <rgm@gnu.org>
14131
14132 * files.el (save-buffers-kill-emacs): Doc fix.
14133
14134 * startup.el (normal-top-level, command-line, command-line-1):
14135 Give them doc strings.
14136
14137 2012-03-25 Eli Zaretskii <eliz@gnu.org>
14138
14139 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
14140 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
14141
14142 2012-03-25 Chong Yidong <cyd@gnu.org>
14143
14144 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
14145 theme if it was previously enabled before (Bug#11031).
14146
14147 * cus-theme.el (custom-theme-write-faces): Retrieve current face
14148 spec with custom-face-get-current-spec if its :shown-value is not
14149 determined yet (Bug#9337).
14150 (customize-create-theme, custom-theme-revert): Doc fixes.
14151
14152 * button.el (button-at): Minor addition to docstring.
14153
14154 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
14155
14156 * vc/vc.el (vc-merge): Fix a prompt.
14157
14158 2012-03-24 Chong Yidong <cyd@gnu.org>
14159
14160 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
14161 point (Bug#9623).
14162
14163 * button.el (button-at): Minor addition to docstring.
14164
14165 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
14166
14167 * newcomment.el (comment-choose-indent): No space after BOL.
14168
14169 2012-03-22 Sam Steingold <sds@gnu.org>
14170
14171 * window.el (switch-to-prev-buffer): Revert last patch because the
14172 bug turned out to be an advertised feature (Elisp manual 28.14).
14173
14174 2012-03-22 Glenn Morris <rgm@gnu.org>
14175
14176 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
14177 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
14178
14179 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
14180
14181 * net/network-stream.el (network-stream-open-starttls): Make error
14182 message under Windows be less misleading.
14183
14184 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
14185
14186 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
14187 understands (bug#9942).
14188
14189 2012-03-22 Chong Yidong <cyd@gnu.org>
14190
14191 * simple.el (end-of-visible-line): Handle return value of
14192 next-single-property-change properly (Bug#9371).
14193
14194 2012-03-22 Kenichi Handa <handa@m17n.org>
14195
14196 * international/quail.el (quail-insert-kbd-layout): Fix previous
14197 change. To avoid unwanted bidi reordering, use
14198 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
14199
14200 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
14201
14202 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
14203 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
14204 (ruby-beginning-of-indent): Be more careful with the difference
14205 between word-boundary and symbol boundary.
14206 (ruby-mode-syntax-table): Make : a symbol constituent.
14207
14208 2012-03-21 Andreas Politz <politza@fh-trier.de>
14209
14210 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
14211
14212 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14213
14214 * progmodes/etags.el (tags-completion-at-point-function):
14215 Improve last fix.
14216
14217 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
14218
14219 2012-03-21 Sam Steingold <sds@gnu.org>
14220
14221 * progmodes/etags.el (tags-completion-at-point-function):
14222 Avoid the error when point is inside the pattern.
14223
14224 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
14225
14226 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
14227 line (Bug#10855).
14228
14229 2012-03-21 Drew Adams <drew.adams@oracle.com>
14230
14231 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
14232
14233 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
14234
14235 * ido.el (ido-set-current-directory, ido-read-internal)
14236 (ido-choose-completion-string, ido-completion-help): Handle nil
14237 value of ido-completion-buffer (Bug#11008).
14238
14239 2012-03-21 Sam Steingold <sds@gnu.org>
14240
14241 * window.el (switch-to-prev-buffer): Do not switch to a visible
14242 window previous buffer, just like with the frame previous buffers.
14243
14244 2012-03-21 Chong Yidong <cyd@gnu.org>
14245
14246 * faces.el (make-face, make-empty-face, copy-face):
14247 * face-remap.el (face-remap-add-relative, face-remap-set-base):
14248 Doc fixes.
14249
14250 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14251
14252 * wid-edit.el (widget-complete-field): Remove (bug#11051).
14253 (widget-complete): Remove broken use of it.
14254
14255 2012-03-20 Chong Yidong <cyd@gnu.org>
14256
14257 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14258 Use string-width and truncate-string-width to handle arbitrary
14259 characters.
14260
14261 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
14262
14263 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
14264 to draw rectangles, not squares. (Regression introduced by revno
14265 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
14266
14267 2012-03-18 Chong Yidong <cyd@gnu.org>
14268
14269 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
14270 it is not yet defined (for temacs).
14271
14272 2012-03-18 Leo Liu <sdl.web@gmail.com>
14273
14274 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
14275 prefix.
14276
14277 2012-03-17 Eli Zaretskii <eliz@gnu.org>
14278
14279 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
14280 (ispell-choices-win-default-height, ispell-silently-savep)
14281 (ispell-dictionary-alist, ispell-encoding8-command)
14282 (ispell-check-version, ispell-aspell-find-dictionary)
14283 (ispell-valid-dictionary-list, ispell-words-keyword)
14284 (ispell-get-word, ispell-internal-change-dictionary)
14285 (ispell-region, ispell-skip-region-list)
14286 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
14287 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
14288 (ispell-message-text-end, ispell-message)
14289 (ispell-buffer-local-parsing): Doc fix.
14290
14291 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
14292
14293 * htmlfontify.el: Add support for code block fontification for ODT
14294 export (Bug #9914).
14295 (hfy-optimisations): Define new option
14296 `body-text-only'
14297 (hfy-fontify-buffer): Honor above setting.
14298 (hfy-begin-span, hfy-end-span): New routines factored out form
14299 `hfy-fontify-buffer'.
14300 (hfy-begin-span-handler, hfy-end-span-handler): New variables
14301 that permit insertion of custom tags.
14302 (hfy-fontify-buffer): Use above handlers.
14303 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
14304 (hfy-face-to-css): Re-defined to be a variable.
14305 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
14306 over multiple runs. This is made possible by having the caller let
14307 bind a special variable `hfy-user-sheet-assoc'.
14308 (htmlfontify-string): New defun.
14309 (hfy-compile-face-map): Make sure that the last char in the
14310 buffer is correctly fontified.
14311 (hfy-face-resolve-face): Whitespace only change.
14312
14313 2012-03-17 Eli Zaretskii <eliz@gnu.org>
14314
14315 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
14316 message more clear.
14317
14318 2012-03-16 Leo Liu <sdl.web@gmail.com>
14319
14320 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
14321
14322 2012-03-16 Alan Mackenzie <acm@muc.de>
14323
14324 Further optimize the handling of large macros.
14325
14326 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
14327 limit to a call of `c-literal-limits'.
14328 (c-determine-+ve-limit): New function.
14329 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
14330 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
14331 In CASE 5B, restrict a search limit to 500.
14332 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
14333
14334 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
14335 Restrict macro bounds to +-500 from after-change's BEG END.
14336
14337 2012-03-16 Leo Liu <sdl.web@gmail.com>
14338
14339 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
14340
14341 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
14342
14343 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
14344 `special-mode' setting of `buffer-read-only'. (Bug#11010)
14345
14346 2012-03-16 Glenn Morris <rgm@gnu.org>
14347
14348 * view.el (view-buffer, view-buffer-other-window)
14349 (view-buffer-other-frame): Doc fixes re special mode-class.
14350
14351 * subr.el (eval-after-load): If named feature is provided not from
14352 a file, run after-load forms. (Bug#10946)
14353
14354 * calendar/calendar.el (calendar-insert-at-column):
14355 Handle non-unit-width characters a bit better. (Bug#10978)
14356
14357 2012-03-15 Chong Yidong <cyd@gnu.org>
14358
14359 * emacs-lisp/ring.el (ring-extend): New function.
14360 (ring-insert+extend): Extend the ring correctly (Bug#11019).
14361
14362 * comint.el (comint-read-input-ring)
14363 (comint-add-to-input-history): Grow comint-input-ring lazily.
14364
14365 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14366
14367 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
14368 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
14369
14370 * imenu.el: Fix multiple inheritance breakage (bug#9199).
14371 (imenu-add-to-menubar): Don't add a redundant index.
14372 (imenu-update-menubar): Handle a dynamically composed keymap.
14373
14374 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
14375
14376 * mail/sendmail.el (mail-encode-header):
14377 Bind rfc2047-encode-encoded-words to nil.
14378
14379 2012-03-13 Glenn Morris <rgm@gnu.org>
14380
14381 * calendar/calendar.el (calendar-string-spread):
14382 Handle non-unit-width characters a bit better. (Bug#10978)
14383
14384 2012-03-13 Leo Liu <sdl.web@gmail.com>
14385
14386 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
14387 directory and file as argument (Bug#10822).
14388
14389 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
14390
14391 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
14392 For dynamically generated code, follow $PC.
14393 (gdb-disassembly-handler-custom): Handle no function name case.
14394
14395 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
14396
14397 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
14398 * emulation/ws-mode.el (ws-query-replace):
14399 * sort.el (sort-regexp-fields):
14400 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
14401
14402 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14403
14404 * dabbrev.el: Fix cycle completion order (bug#10963).
14405 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
14406 (dabbrev-completion): Don't use an obarray; provide
14407 a cycle-sort-function.
14408
14409 2012-03-12 Leo Liu <sdl.web@gmail.com>
14410
14411 * simple.el (kill-new): Use equal-including-properties for comparison.
14412 (kill-do-not-save-duplicates): Doc fix.
14413
14414 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14415
14416 * dabbrev.el: Fix cycle completion (bug#10963).
14417 Use lexical binding and wrap to 80 columns.
14418 (dabbrev-completion): Delay computing the list of completions.
14419
14420 2012-03-12 Kenichi Handa <handa@m17n.org>
14421
14422 * international/quail.el (quail-insert-kbd-layout): Surround each
14423 row by LRO and PDF instead of inserting many LRMs. Pad the left
14424 and right of each non-spacing marks. Insert invisible space
14425 between lower and upper characters to prevent composition.
14426
14427 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14428
14429 * minibuffer.el (minibuffer-complete): Don't get confused when the
14430 function is run twice via different commands (bug#10958).
14431 (complete-with-action): Fix docstring.
14432
14433 2012-03-12 Chong Yidong <cyd@gnu.org>
14434
14435 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
14436 (nxml-completion-at-point-function): New function.
14437 (nxml-mode): Use it.
14438 (nxml-bind-meta-tab-to-complete-flag): Default to t.
14439
14440 * emacs-lisp/package.el (package-unpack, package-unpack-single):
14441 Load generated autoloads file before byte compiling (Bug#10970).
14442 (package--make-autoloads-and-compile): New helper fun.
14443
14444 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
14445
14446 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
14447
14448 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
14449
14450 * autorevert.el (auto-revert-handler): Ensure, that
14451 file-readable-p is applied only for local files or in
14452 auto-revert-tail-mode.
14453
14454 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
14455
14456 * server.el (server-eval-at): Handle non-tcp connections.
14457 Decode result string.
14458
14459 * server.el (server-msg-size): New constant.
14460 (server-reply-print): New function.
14461 (server-eval-and-print): Use it.
14462 (server-eval-at): Use server-quote-arg and server-unquote-arg.
14463 Handle -print-nonl.
14464
14465 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
14466
14467 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
14468 (Bug#10987).
14469
14470 2012-03-11 Chong Yidong <cyd@gnu.org>
14471
14472 * simple.el (goto-line): Doc fix (Bug#9938).
14473
14474 * subr.el (save-window-excursion): Doc fix (Bug#9979).
14475
14476 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
14477 when finished (Bug#10963).
14478
14479 2012-03-11 Martin Rudalics <rudalics@gmx.at>
14480
14481 * window.el (split-window-below): Fix bug in case where
14482 split-window-keep-point is nil (Bug#10971).
14483
14484 2012-03-11 Juri Linkov <juri@jurta.org>
14485
14486 * replace.el (replace-highlight): Set isearch-word to nil
14487 unconditionally. (Bug#10887)
14488
14489 2012-03-10 Eli Zaretskii <eliz@gnu.org>
14490
14491 * net/mairix.el (mairix-replace-invalid-chars): Rename from
14492 mairix-replace-illegal-chars; all callers changed. Don't remove
14493 ^, ~, and = characters: they are meaningful in mairix search specs.
14494 (mairix-widget-create-query): Add usage information about mairix
14495 search forms: negating words, searching for substrings, etc.
14496
14497 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
14498
14499 * international/fontset.el (font-encoding-alist): Add an entry for
14500 ksx1001 (Bug#5667).
14501
14502 2012-03-10 Richard Stallman <rms@gnu.org>
14503
14504 * mail/sendmail.el (mail-encode-header):
14505 Set rfc2047-encode-encoded-words.
14506
14507 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
14508
14509 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
14510 view buffer means not swapped.
14511 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
14512 (rmail-write-region-annotate): Error if real text has disappeared.
14513
14514 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
14515
14516 2012-03-10 Chong Yidong <cyd@gnu.org>
14517
14518 * emulation/cua-rect.el (cua--init-rectangles):
14519 * emulation/cua-base.el (cua--init-keymaps):
14520 Add delete-forward-char to remappings (Bug#9666).
14521
14522 2012-03-10 Martin Rudalics <rudalics@gmx.at>
14523
14524 * speedbar.el (speedbar-unhighlight-one-tag-line):
14525 Avoid unhighlighting due to frame switching (Bug#10275).
14526
14527 2012-03-10 Chong Yidong <cyd@gnu.org>
14528
14529 * minibuffer.el (completion-in-region, completion-help-at-point):
14530 Give the completion field overlay a high priority (Bug#6830).
14531
14532 * dired.el (dired-goto-file): Recognize absolute file name
14533 listings (Bug#7126).
14534 (dired-goto-file-1): New helper function.
14535 (dired-toggle-read-only): Inhibit warnings.
14536
14537 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
14538
14539 * net/dbus.el (dbus-property-handler): Return empty array if
14540 there are no properties.
14541
14542 2012-03-09 Leo Liu <sdl.web@gmail.com>
14543
14544 * savehist.el (savehist-printable): Stricter check for string
14545 value (Bug#10937).
14546
14547 2012-03-09 Eli Zaretskii <eliz@gnu.org>
14548
14549 * mail/smtpmail.el (smtpmail-send-it):
14550 Bind coding-system-for-write to *-unix, so that FCC files are kept in
14551 valid mbox format.
14552
14553 2012-03-09 Glenn Morris <rgm@gnu.org>
14554
14555 * files.el (dir-locals-find-file):
14556 Don't check result is regular, readable.
14557 (dir-locals-read-from-file): Demote errors.
14558
14559 2012-03-08 Eli Zaretskii <eliz@gnu.org>
14560
14561 * international/quail.el (quail-insert-kbd-layout):
14562 Insert invisible LRM characters before each character in a keyboard
14563 layout cell, to prevent their reordering by bidi display engine.
14564 For details, see the discussion in
14565 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
14566
14567 2012-03-08 Alan Mackenzie <acm@muc.de>
14568
14569 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
14570 the starting position; make it extend the marked region when
14571 invoked repeatedly - all under appropriate circumstances.
14572 Fixes bugs #5525, #10906.
14573
14574 2012-03-08 Glenn Morris <rgm@gnu.org>
14575
14576 * files.el (locate-dominating-file, dir-locals-find-file):
14577 Undo 2012-03-06 change.
14578
14579 2012-03-07 Eli Zaretskii <eliz@gnu.org>
14580
14581 * international/quail.el (quail-help):
14582 Force bidi-paragraph-direction be left-to-right. See discussion in
14583 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
14584 for the reason.
14585
14586 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
14587
14588 Avoid superfluous registering of signals. (Bug#10807)
14589
14590 * notifications.el (notifications-on-action-object)
14591 (notifications-on-close-object): New defvars.
14592 (notifications-on-action-signal, notifications-on-closed-signal):
14593 Unregister the signal if not needed any longer.
14594 (notifications-notify): Register `notifications-action-signal' or
14595 `notifications-closed-signal', if :on-action or :on-close has been
14596 passed as argument.
14597
14598 2012-03-07 Chong Yidong <cyd@gnu.org>
14599
14600 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
14601 non-X platforms.
14602
14603 2012-03-06 Glenn Morris <rgm@gnu.org>
14604
14605 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
14606 (x-disown-selection-internal, x-get-selection-internal):
14607 Doc fix (add arglist signatures). (Bug#10783)
14608
14609 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
14610
14611 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
14612 Handle breakpoints with no "type".
14613
14614 2012-03-06 Glenn Morris <rgm@gnu.org>
14615
14616 * files.el (locate-dominating-file): Add optional predicate argument.
14617 (dir-locals-find-file): Make use of above change.
14618
14619 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
14620
14621 * info.el (Info-insert-dir): Also try "dir.gz".
14622
14623 2012-03-06 Glenn Morris <rgm@gnu.org>
14624
14625 * files.el (dir-locals-find-file):
14626 Ignore non-readable or non-regular files. (Bug#10928)
14627
14628 * files.el (locate-dominating-file): Doc fix.
14629
14630 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
14631
14632 * calendar/calendar.el (calendar-set-mode-line):
14633 `getenv' returns a string. (Bug#10951)
14634
14635 2012-03-05 Leo Liu <sdl.web@gmail.com>
14636
14637 * simple.el (backward-delete-char-untabify): Constrain point to
14638 field (Bug#10939).
14639
14640 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
14641
14642 2012-03-05 Chong Yidong <cyd@gnu.org>
14643
14644 * simple.el (count-words): If called from Lisp, return the word
14645 count, for symmetry with `count-lines'. Arglist changed.
14646 (count-words--message): Args changed. Consolidate counting code
14647 from count-words and count-words-region.
14648 (count-words-region): Caller changed.
14649 (count-lines-region): Make it an obsolete alias.
14650
14651 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
14652
14653 * saveplace.el (save-place-to-alist)
14654 (save-place-ignore-files-regexp): Allow value nil to disable this
14655 feature.
14656
14657 2012-03-04 Chong Yidong <cyd@gnu.org>
14658
14659 * faces.el (face-spec-reset-face): For the default face, reset the
14660 attributes to default values (Bug#10748).
14661
14662 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
14663
14664 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
14665 previous patch: Check `message-send-mail-function', and not the
14666 default function (bug#10897).
14667
14668 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
14669
14670 * notifications.el (notifications-on-action-signal)
14671 (notifications-on-closed-signal): Check for unique service name of
14672 incoming event. Fix error in removing entry.
14673 (top): Register for signals with wildcard service name.
14674 (notifications-notify): Use daemon unique service name for map entries.
14675
14676 2012-03-04 Chong Yidong <cyd@gnu.org>
14677
14678 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
14679
14680 2012-03-04 Glenn Morris <rgm@gnu.org>
14681
14682 * abbrev.el (copy-abbrev-table, abbrev-table-p)
14683 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
14684 (expand-abbrev, define-abbrev-table): Doc fixes.
14685
14686 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14687
14688 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
14689 `message-default-send-mail-function' and not `send-mail-function'
14690 when doing the prompting for `sendmail-query-once' before sending
14691 in Message buffers (bug#10897).
14692
14693 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
14694 This is inconsistent with all the other stream functions, which leave
14695 the setting up to the higher levels (if so wanted) (bug#10931).
14696
14697 2012-03-02 Alan Mackenzie <acm@muc.de>
14698
14699 Depessimize the handling of very large macros.
14700
14701 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
14702 (c-macro-cache-syntactic): New variables to implement a one
14703 element macro cache.
14704 (c-invalidate-macro-cache): New function.
14705 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
14706 Adapt to use the new cache.
14707 (c-state-safe-place): Use better the cache of safe positions.
14708 (c-state-semi-nonlit-pos-cache)
14709 (c-state-semi-nonlit-pos-cache-limit):
14710 New variables for...
14711 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
14712 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
14713 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
14714 Use c-state-semi-safe-place.
14715
14716 * progmodes/cc-langs.el (c-get-state-before-change-functions):
14717 Add c-invalidate-macro-cache to the C, C++, Obj entries.
14718
14719 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
14720
14721 * jka-compr.el (jka-compr-call-process):
14722 Apply `file-accessible-directory-p' only when the default directory is
14723 not remote.
14724
14725 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
14726
14727 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
14728 access of FILE2, if FILE1 does not exist.
14729
14730 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
14731 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
14732
14733 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
14734 Add "PAGER=" to `process-environment'.
14735
14736 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
14737
14738 * progmodes/sql.el: Bug fix
14739 (sql-get-login-ext): Save login values in globals.
14740 (sql-get-login): Use new version of `sql-get-login-ext'.
14741 (sql-interactive-mode): Set global `sql-connection' to nil.
14742 (sql-connect): Set global values for connection.
14743 (sql-product-interactive): Save global values as buffer local.
14744
14745 2012-02-29 Leo Liu <sdl.web@gmail.com>
14746
14747 * abbrev.el (define-abbrevs): Reset sys to nil.
14748
14749 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14750
14751 * files.el (file-equal-p): Rename from `files-equal-p'.
14752 Return nil when one or both files don't exist.
14753 (file-subdir-of-p): Now only top directory must exists,
14754 return nil if it doesn't.
14755 (copy-directory): No need to test with `file-subdir-of-p' after
14756 creating dir.
14757 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
14758 to `file-equal-p'.
14759
14760 2012-02-28 Glenn Morris <rgm@gnu.org>
14761
14762 * shell.el (shell-mode):
14763 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
14764 * play/landmark.el (landmark-font-lock-face-O):
14765 * play/handwrite.el (handwrite):
14766 * play/gomoku.el (gomoku-O):
14767 * net/browse-url.el (browse-url-browser-display):
14768 * international/mule.el (define-charset):
14769 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
14770 * filesets.el (filesets-find-file-delay):
14771 * eshell/em-xtra.el (eshell-xtra):
14772 * eshell/em-unix.el (eshell-grep):
14773 * emulation/viper.el (viper-mode):
14774 * emacs-lisp/regexp-opt.el (regexp-opt-group):
14775 * emacs-lisp/easymenu.el (easy-menu-define):
14776 * calendar/timeclock.el (timeclock-use-display-time):
14777 * bs.el (bs-mode):
14778 * bookmark.el (bookmark-save-flag):
14779 Doc fix (standardize possessive apostrophe usage).
14780
14781 2012-02-27 Chong Yidong <cyd@gnu.org>
14782
14783 * emulation/viper-cmd.el (viper-intercept-ESC-key):
14784 Fix key-binding lookup for ESC key (Bug#9146).
14785
14786 * font-lock.el (font-lock-specified-p): Rename from
14787 font-lock-spec-present. Callers changed.
14788
14789 2012-02-27 Daniel Hackney <dan@haxney.org>
14790
14791 * emacs-lisp/package.el (package-compute-transaction):
14792 Handle holding a package version to t in package-load-list.
14793
14794 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
14795
14796 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
14797 (tramp-get-inode, tramp-get-device): Use cached values.
14798
14799 2012-02-26 Alan Mackenzie <acm@muc.de>
14800
14801 Check there is a font-lock specification before doing initial
14802 fontification.
14803
14804 * font-core.el (font-lock-mode): Move the conditional from
14805 :after-hook to font-lock-initial-fontify.
14806 (font-lock-default-function): Move the check for a specification
14807 to font-lock-spec-present.
14808
14809 * font-lock.el (font-lock-initial-fontify): Call ...
14810 (font-lock-spec-present): New function.
14811
14812 2012-02-26 Jim Blandy <jimb@red-bean.com>
14813
14814 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
14815 (gdb-send): Apply it to the operand of the '-interpreter-exec
14816 console' command, so that we can pass arguments with (say) quotes
14817 in them. Store exact string sent in gdb-debug-log (Bug#10765).
14818
14819 2012-02-26 Chong Yidong <cyd@gnu.org>
14820
14821 * help-fns.el (describe-function-1): Clarify description of
14822 remapping (Bug#10844).
14823
14824 * files.el (files-equal-p): Doc fix.
14825 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
14826 and quit the loop once a mismatch is found.
14827
14828 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
14829
14830 * bs.el (bs--show-with-configuration): Don't throw an error
14831 if the window cannot be split; otherwise, subsequent calls to
14832 bs-show fail, restoring a stale window config. (Bug#10882)
14833
14834 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
14835
14836 * term/ns-win.el (global-map): Bind ns-drag-file to
14837 ns-find-file (Bug#5855, Bug#10050).
14838
14839 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
14840
14841 * calendar/parse-time.el (parse-time-string): Allow extractor to
14842 return nil.
14843
14844 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
14845
14846 * net/tramp.el (tramp-file-name-for-operation):
14847 Add `files-equal-p' and `file-subdir-of-p'.
14848
14849 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
14850 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
14851 Add COPY-CONTENTS argument.
14852
14853 2012-02-25 Chong Yidong <cyd@gnu.org>
14854
14855 Add custom groups for VC backends, for consistency with vc-bzr.
14856
14857 * vc/vc-arch.el (vc-arch):
14858 * vc/vc-cvs.el (vc-cvs):
14859 * vc/vc-git.el (vc-git):
14860 * vc/vc-hg.el (vc-hg):
14861 * vc/vc-mtn.el (vc-mtn):
14862 * vc/vc-rcs.el (vc-rcs):
14863 * vc/vc-sccs.el (vc-sccs):
14864 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
14865 All relevant defcustoms reassigned.
14866
14867 2012-02-25 Chong Yidong <cyd@gnu.org>
14868
14869 * newcomment.el (comment-styles): Add autoload (Bug#10868).
14870
14871 * term/x-win.el (x-initialize-window-system): Reduce default for
14872 x-selection-timeout to 5 seconds (Bug#8869).
14873
14874 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14875
14876 * files.el (files-equal-p, file-subdir-of-p): New functions.
14877 (copy-directory): Error when trying to copy a directory on itself.
14878 Add missing copy-contents arg to tramp handler.
14879 * dired-aux.el (dired-copy-file-recursive): Same.
14880 (dired-create-files): Modify destination when source is equal to
14881 dest when copying files.
14882 Return also when dest is a subdir of source. (Bug#10489)
14883
14884 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
14885
14886 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
14887 (Bug#10874)
14888
14889 2012-02-23 Alan Mackenzie <acm@muc.de>
14890
14891 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
14892 parameter "after-hook:" to allow the expansion to run code after
14893 the execution of the mode hooks.
14894
14895 * font-lock.el (font-lock-initial-fontify): New function extracted
14896 from font-lock-mode-internal.
14897
14898 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
14899 :after-hook.
14900
14901 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
14902
14903 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
14904 (completion--cache-all-sorted-completions): New function.
14905 (completion-all-sorted-completions): Use it.
14906 (completion--do-completion, minibuffer-force-complete):
14907 Use it to re-instate the flush hook.
14908
14909 * icomplete.el (icomplete-completions): Replace last fix with a better
14910 one (bug#10850).
14911
14912 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
14913
14914 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
14915 when it might call us back infinitely (bug#10797).
14916
14917 2012-02-23 Glenn Morris <rgm@gnu.org>
14918
14919 * minibuffer.el (completion-category-overrides): Doc fix.
14920
14921 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
14922
14923 * minibuffer.el (completion-table-with-context): Fix inf-loop.
14924 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
14925
14926 2012-02-23 Glenn Morris <rgm@gnu.org>
14927
14928 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
14929 (authors-obsolete-files-regexps, authors-ignored-files)
14930 (authors-ambiguous-files, authors-renamed-files-alist):
14931 Add more entries.
14932
14933 2012-02-23 Juri Linkov <juri@jurta.org>
14934
14935 * isearch.el (isearch-occur): Sync interactive spec with occur's
14936 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
14937
14938 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
14939
14940 2012-02-22 Juri Linkov <juri@jurta.org>
14941
14942 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
14943 (ucs-insert): Doc fix. Check for hex digits in the string.
14944 Don't display `nil' in the error message. (Bug#10857)
14945
14946 2012-02-22 Alan Mackenzie <acm@muc.de>
14947
14948 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
14949
14950 2012-02-22 Glenn Morris <rgm@gnu.org>
14951
14952 * ffap.el (ffap-c-path):
14953 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
14954
14955 2012-02-22 Chong Yidong <cyd@gnu.org>
14956
14957 * custom.el (load-theme): Doc fix.
14958
14959 2012-02-22 Glenn Morris <rgm@gnu.org>
14960
14961 * dired-x.el (dired-guess-shell-alist-default):
14962 Remove escape sequences from nroff output. (Bug#172)
14963
14964 2012-02-21 Glenn Morris <rgm@gnu.org>
14965
14966 * vc/emerge.el (emerge-defvar-local):
14967 Set `permanent-local' property rather than unused `preserved'.
14968
14969 * textmodes/picture.el (picture-delete-char): New alias.
14970 (picture-mode-map): Use it. (Bug#10860)
14971 (picture-mode): Doc fix.
14972
14973 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
14974
14975 * newcomment.el (uncomment-region-default): Remove unused binding.
14976
14977 2012-02-21 Glenn Morris <rgm@gnu.org>
14978
14979 * textmodes/picture.el (picture-motion, picture-motion-reverse)
14980 (picture-self-insert, picture-tab-chars): Doc fix.
14981 (picture-mode-map): Fix C-a, C-e.
14982
14983 2012-02-20 Glenn Morris <rgm@gnu.org>
14984
14985 * emacs-lisp/authors.el (authors-aliases): Add another entry.
14986
14987 2012-02-20 Leo Liu <sdl.web@gmail.com>
14988
14989 * icomplete.el (icomplete-completions): Check FROM arg before
14990 passing to substring (Bug#10850).
14991
14992 2012-02-19 Chong Yidong <cyd@gnu.org>
14993
14994 * comint.el: Require ansi-color.
14995 (comint-output-filter-functions): Add ansi-color-process-output.
14996
14997 * ansi-color.el: Don't set comint-output-filter-functions; it is
14998 now in the initial value defined in comint.el.
14999 (ansi-color-apply-face-function): New variable.
15000 (ansi-color-apply-on-region): Use it.
15001 (ansi-color-apply-overlay-face): New function.
15002
15003 * shell.el (shell): No need to require ansi-color.
15004 (shell-mode): Use ansi-color-apply-face-function to highlight
15005 color escapes using font-lock-face property (Bug#10835).
15006
15007 2012-02-19 Chong Yidong <cyd@gnu.org>
15008
15009 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
15010 mode-line formats (Bug#10839).
15011
15012 2012-02-18 Glenn Morris <rgm@gnu.org>
15013
15014 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
15015
15016 * mail/undigest.el (unforward-rmail-message): Doc fix.
15017
15018 * saveplace.el (save-place-ignore-files-regexp): Add :version.
15019
15020 2012-02-18 Eli Zaretskii <eliz@gnu.org>
15021
15022 * international/characters.el (script-list): Sync with the latest
15023 Unicode Character Database.
15024
15025 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
15026
15027 * international/titdic-cnv.el: Remove duplicate coding tag.
15028 * language/cham.el: Likewise.
15029 * language/tai-viet.el: Likewise.
15030
15031 2012-02-18 Glenn Morris <rgm@gnu.org>
15032
15033 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
15034 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
15035 (calendar-bahai-all-holidays-flag, calendar-other-dates):
15036 * calendar/diary-lib.el (diary-abbreviated-year-flag):
15037 * calendar/holidays.el (holiday-bahai-holidays)
15038 (calendar-holidays, list-holidays):
15039 Use utf-8 Bahá'í in doc-strings, menus, etc.
15040
15041 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
15042
15043 * saveplace.el (save-place-ignore-files-regexp): New variable
15044 allowing for excluding files from saving their location of point.
15045 The default value matches the temporary commit message editing
15046 files from Git, SVN, Bazaar, and Mercurial.
15047 (save-place-to-alist): Use it.
15048
15049 2012-02-17 Lawrence Mitchell <wence@gmx.li>
15050 Stefan Monnier <monnier@iro.umontreal.ca>
15051
15052 * newcomment.el (uncomment-region-default): Don't leave extra space
15053 when an arg is provided (bug#8150).
15054
15055 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
15056
15057 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
15058
15059 2012-02-17 Glenn Morris <rgm@gnu.org>
15060
15061 * net/socks.el: Require network-stream. (Bug#10599)
15062
15063 2012-02-17 Kenichi Handa <handa@m17n.org>
15064
15065 * international/charprop.el:
15066 * international/uni-name.el:
15067 * international/uni-old-name.el:
15068 * international/uni-comment.el: Regenerate.
15069
15070 2012-02-16 Glenn Morris <rgm@gnu.org>
15071
15072 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
15073 Interactively in calendar buffer, give an error if not on a date.
15074
15075 2012-02-15 Glenn Morris <rgm@gnu.org>
15076
15077 * shell.el (shell-delimiter-argument-list):
15078 Revert 2011-02-17 change. (Bug#8027)
15079
15080 2012-02-15 Chong Yidong <cyd@gnu.org>
15081
15082 * minibuffer.el (completion-at-point-functions): Doc fix.
15083
15084 * custom.el (defcustom): Doc fix; note use of defvar.
15085
15086 2012-02-15 Glenn Morris <rgm@gnu.org>
15087
15088 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
15089 Doc fixes.
15090
15091 2012-02-14 Glenn Morris <rgm@gnu.org>
15092
15093 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
15094
15095 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
15096
15097 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
15098 way the ports list is computed.
15099 (smtpmail-query-smtp-server): Prompt the user for a port number if
15100 we can't connect to any of the standard ports (bug#10810).
15101
15102 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
15103
15104 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
15105
15106 2012-02-13 Glenn Morris <rgm@gnu.org>
15107
15108 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
15109
15110 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
15111
15112 * net/gnutls.el (gnutls-trustfiles): New variable.
15113 (gnutls-negotiate): Use it.
15114
15115 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
15116
15117 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
15118 does its stuff if Gnus is running.
15119
15120 2012-02-13 Alan Mackenzie <acm@muc.de>
15121
15122 Fix a loop in c-set-fl-decl-start.
15123
15124 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
15125 c-backward-syntactic-ws actually moves backwards.
15126
15127 2012-02-13 Leo Liu <sdl.web@gmail.com>
15128
15129 * net/rcirc.el (rcirc-markup-attributes): Move point to the
15130 beginning so that all \C-o chars are removed.
15131
15132 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
15133
15134 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
15135
15136 2012-02-12 Alan Mackenzie <acm@muc.de>
15137
15138 Fix infinite loop with long macros.
15139 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
15140
15141 2012-02-12 Chong Yidong <cyd@gnu.org>
15142
15143 * window.el (display-buffer): Doc fix (Bug#10785).
15144
15145 2012-02-12 Glenn Morris <rgm@gnu.org>
15146
15147 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
15148 (x-disown-selection-internal, x-get-selection-internal):
15149 Sync docs with the xselect.c versions.
15150
15151 * allout-widgets.el: Add missing license notice.
15152
15153 2012-02-11 Glenn Morris <rgm@gnu.org>
15154
15155 * select.el (x-get-selection-internal, x-own-selection-internal)
15156 (x-disown-selection-internal):
15157 * x-dnd.el (x-get-selection-internal): Update declarations.
15158
15159 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
15160
15161 * window.el (window-sides-slots):
15162 * tool-bar.el (tool-bar-position):
15163 * term/xterm.el (xterm-extra-capabilities):
15164 * ses.el (ses-self-reference-early-detection):
15165 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
15166 (verilog-auto-wire-type)
15167 (verilog-auto-delete-trailing-whitespace)
15168 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
15169 (verilog-auto-tieoff-declaration):
15170 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
15171 (sql-oracle-statement-starters, sql-oracle-scan-on):
15172 * progmodes/prolog.el (prolog-align-comments-flag)
15173 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
15174 (prolog-left-indent-regexp, prolog-paren-indent-p)
15175 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
15176 (prolog-types, prolog-mode-specificators)
15177 (prolog-determinism-specificators, prolog-directives)
15178 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
15179 (prolog-electric-dot-flag)
15180 (prolog-electric-dot-full-predicate-template)
15181 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
15182 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
15183 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
15184 (prolog-program-switches, prolog-prompt-regexp)
15185 (prolog-debug-on-string, prolog-debug-off-string)
15186 (prolog-trace-on-string, prolog-trace-off-string)
15187 (prolog-zip-on-string, prolog-zip-off-string)
15188 (prolog-use-standard-consult-compile-method-flag)
15189 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
15190 (prolog-imenu-max-lines, prolog-info-predicate-index)
15191 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
15192 (prolog-char-quote-workaround):
15193 * progmodes/cc-vars.el (c-defun-tactic):
15194 * net/tramp.el (tramp-encoding-command-interactive)
15195 (tramp-local-end-of-line):
15196 * net/soap-client.el (soap-client):
15197 * net/netrc.el (netrc-file):
15198 * net/gnutls.el (gnutls):
15199 * minibuffer.el (completion-category-overrides)
15200 (completion-cycle-threshold)
15201 (completion-pcm-complete-word-inserts-delimiters):
15202 * man.el (Man-name-local-regexp):
15203 * mail/feedmail.el (feedmail-display-full-frame):
15204 * international/characters.el (glyphless-char-display-control):
15205 * eshell/em-ls.el (eshell-ls-date-format):
15206 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
15207 (lisp-lambda-list-keyword-parameter-indentation)
15208 (lisp-lambda-list-keyword-parameter-alignment):
15209 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
15210 * dired-x.el (dired-omit-verbose):
15211 * cus-theme.el (custom-theme-allow-multiple-selections):
15212 * calc/calc.el (calc-highlight-selections-with-faces)
15213 (calc-lu-field-reference, calc-lu-power-reference)
15214 (calc-note-threshold):
15215 * battery.el (battery-mode-line-limit):
15216 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
15217 (archive-7z-update):
15218 * allout.el (allout-prefixed-keybindings)
15219 (allout-unprefixed-keybindings)
15220 (allout-inhibit-auto-fill-on-headline)
15221 (allout-flattened-numbering-abbreviation):
15222 * allout-widgets.el (allout-widgets-auto-activation)
15223 (allout-widgets-icons-dark-subdir)
15224 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
15225 (allout-widgets-theme-dark-background)
15226 (allout-widgets-theme-light-background)
15227 (allout-widgets-item-image-properties-emacs)
15228 (allout-widgets-item-image-properties-xemacs)
15229 (allout-widgets-run-unit-tests-on-load)
15230 (allout-widgets-time-decoration-activity)
15231 (allout-widgets-hook-error-post-time)
15232 (allout-widgets-track-decoration):
15233 Add missing :version tags to new defcustoms and defgroups.
15234
15235 * progmodes/sql.el (sql-ansi-statement-starters)
15236 (sql-oracle-statement-starters): Add custom type.
15237
15238 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
15239 (prolog-system-version): Give it a type.
15240
15241 2012-02-11 Eli Zaretskii <eliz@gnu.org>
15242
15243 * term/pc-win.el (x-select-text, x-selection-owner-p)
15244 (x-own-selection-internal, x-disown-selection-internal)
15245 (x-get-selection-internal): Sync doc strings and argument lists
15246 with xselect.c, common-win.el and x-win.el. (Bug#10783)
15247
15248 2012-02-11 Leo Liu <sdl.web@gmail.com>
15249
15250 * progmodes/python.el (python-end-of-statement): Fix infinite
15251 loop. (Bug#10788)
15252
15253 2012-02-10 Glenn Morris <rgm@gnu.org>
15254
15255 * international/mule-cmds.el (unify-8859-on-encoding-mode)
15256 (unify-8859-on-decoding-mode): Properly mark as obsolete.
15257
15258 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
15259
15260 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
15261 about SMTP before checking the From header.
15262
15263 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
15264 into own function for reuse by emacsbug.el.
15265
15266 2012-02-10 Leo Liu <sdl.web@gmail.com>
15267
15268 * subr.el (condition-case-unless-debug): Rename from
15269 condition-case-no-debug. All callers changed.
15270 (with-demoted-errors): Fix caller.
15271
15272 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
15273 * nxml/rng-valid.el (rng-do-some-validation):
15274 * emacs-lisp/package.el (package-refresh-contents)
15275 (package-menu-execute):
15276 * desktop.el (desktop-create-buffer):
15277 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
15278
15279 2012-02-10 Glenn Morris <rgm@gnu.org>
15280
15281 * textmodes/bibtex.el:
15282 Add missing :version tags for new/changed defcustoms.
15283
15284 * files.el (remote-file-name-inhibit-cache): Doc fixes.
15285
15286 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
15287
15288 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
15289 (smtpmail-via-smtp): Use it, or fall back on the From address.
15290 (smtpmail-send-it): Ditto.
15291
15292 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
15293
15294 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
15295 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
15296 (byte-compile-tmp-var): New const.
15297 (byte-compile-defvar): Use it to minimize .elc size.
15298 Just use `defvar' rather than simulate it (bug#10761).
15299
15300 2012-02-09 Glenn Morris <rgm@gnu.org>
15301
15302 * files.el (rename-uniquely): Doc fix. (Bug#3806)
15303
15304 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
15305 Add :version tags.
15306
15307 * progmodes/compile.el (compilation-error-screen-columns)
15308 (compilation-first-column, compilation-filter-start): Doc fixes.
15309
15310 * vc/log-view.el (log-view-toggle-entry-display):
15311 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
15312
15313 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
15314 (report-emacs-bug-can-use-xdg-email):
15315 (report-emacs-bug-insert-to-mailer): Doc fixes.
15316 (report-emacs-bug): Message fix.
15317
15318 * net/browse-url.el (browse-url-can-use-xdg-open)
15319 (browse-url-xdg-open): Doc fixes.
15320
15321 * electric.el (electric-indent-mode, electric-pair-mode)
15322 (electric-layout-rules, electric-layout-mode): Doc fixes.
15323 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
15324
15325 2012-02-08 Martin Rudalics <rudalics@gmx.at>
15326
15327 * server.el (server-unselect-display): Don't inadvertently kill
15328 the current buffer. (Bug#10729)
15329
15330 2012-02-08 Glenn Morris <rgm@gnu.org>
15331
15332 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
15333 (sql-list-table): Doc fixes.
15334
15335 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
15336 Comment out (does nothing).
15337
15338 * completion.el (dynamic-completion-mode):
15339 * dirtrack.el (dirtrack-debug-mode):
15340 * electric.el (electric-layout-mode):
15341 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
15342 * face-remap.el (text-scale-mode, buffer-face-mode):
15343 * iimage.el (iimage-mode):
15344 * image-mode.el (image-transform-mode):
15345 * minibuffer.el (completion-in-region-mode):
15346 * scroll-lock.el (scroll-lock-mode):
15347 * simple.el (next-error-follow-minor-mode):
15348 * tar-mode.el (tar-subfile-mode):
15349 * tooltip.el (tooltip-mode):
15350 * vcursor.el (vcursor-use-vcursor-map):
15351 * wid-browse.el (widget-minor-mode):
15352 * emulation/tpu-edt.el (tpu-edt-mode):
15353 * emulation/tpu-extras.el (tpu-cursor-free-mode):
15354 * international/iso-ascii.el (iso-ascii-mode):
15355 * language/thai-util.el (thai-word-mode):
15356 * mail/supercite.el (sc-minor-mode):
15357 * net/goto-addr.el (goto-address-mode):
15358 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
15359 * progmodes/cwarn.el (cwarn-mode):
15360 * progmodes/flymake.el (flymake-mode):
15361 * progmodes/glasses.el (glasses-mode):
15362 * progmodes/hideshow.el (hs-minor-mode):
15363 * progmodes/pascal.el (pascal-outline-mode):
15364 * textmodes/enriched.el (enriched-mode):
15365 * vc/smerge-mode.el (smerge-mode):
15366 Doc fixes (minor mode argument).
15367
15368 2012-02-07 Eli Zaretskii <eliz@gnu.org>
15369
15370 * ls-lisp.el (ls-lisp-sanitize): New function.
15371 (ls-lisp-insert-directory): Use it to fix or remove any elements
15372 in file-alist with missing attributes. (Bug#4673)
15373
15374 2012-02-07 Alan Mackenzie <acm@muc.de>
15375
15376 Fix spurious recognition of c-in-knr-argdecl.
15377
15378 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
15379 putative K&R region.
15380
15381 2012-02-07 Alan Mackenzie <acm@muc.de>
15382
15383 * progmodes/cc-engine.el (c-forward-objc-directive):
15384 Prevent looping in "#pragma mark @implementation".
15385
15386 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
15387
15388 * notifications.el (notifications-on-closed-signal): Make `reason'
15389 optional. (Bug#10744)
15390
15391 2012-02-07 Glenn Morris <rgm@gnu.org>
15392
15393 * emacs-lisp/easy-mmode.el (define-minor-mode):
15394 Doc fixes for the macro and the mode it defines.
15395
15396 * image.el (imagemagick-types-inhibit): Doc fix.
15397
15398 * cus-start.el (imagemagick-render-type): Add it.
15399
15400 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
15401
15402 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
15403 Set the default at load time, too, so that `font-lock-fontify-buffer'
15404 can be called without setting up the entire mode first. This fixes
15405 a bug in `mm-inline-text' with C MIME parts.
15406
15407 2012-02-06 Chong Yidong <cyd@gnu.org>
15408
15409 * simple.el (list-processes--refresh): Delete exited processes
15410 (Bug#8094).
15411
15412 * comint.el (comint-next-prompt): next-single-char-property-change
15413 and prev-single-char-property-change never return nil (Bug#8657).
15414
15415 * custom.el (defcustom): Doc fix (Bug#9711).
15416
15417 2012-02-05 Chong Yidong <cyd@gnu.org>
15418
15419 * cus-edit.el (custom-variable-reset-backup): Quote the value
15420 before storing it in the customized-value property (Bug#6712).
15421 (custom-display): Add a customization type tag.
15422 (custom-buffer-create-internal): Improve tooltip message.
15423
15424 * wid-edit.el (widget-field-value-get): New optional arg to
15425 suppress trailing whitespace truncation.
15426 (character): Use it (Bug#2689).
15427
15428 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
15429
15430 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
15431 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
15432
15433 2012-02-05 Chong Yidong <cyd@gnu.org>
15434
15435 * cus-edit.el (custom-variable-value-create): For mismatched
15436 types, show the current value (Bug#7600).
15437
15438 * custom.el (defcustom): Doc fix.
15439
15440 2012-02-05 Glenn Morris <rgm@gnu.org>
15441
15442 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
15443
15444 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
15445
15446 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
15447 (pp-buffer): Use `ignore-errors', `looking-at-p'.
15448 (pp-last-sexp): Use `looking-at-p'.
15449
15450 2012-02-04 Glenn Morris <rgm@gnu.org>
15451
15452 * files.el (revert-buffer):
15453 Doc fix (mention revert-buffer-in-progress-p).
15454
15455 * emacs-lisp/ert-x.el (ert-simulate-command):
15456 Check deferred-action-list (which is obsolete) is bound.
15457
15458 * subr.el (with-wrapper-hook): Doc fixes.
15459
15460 * simple.el (filter-buffer-substring-functions)
15461 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
15462
15463 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
15464
15465 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
15466 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
15467
15468 2012-02-04 Leo Liu <sdl.web@gmail.com>
15469
15470 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
15471
15472 2012-02-04 Glenn Morris <rgm@gnu.org>
15473
15474 * image.el (image-extension-data): Add obsolete alias.
15475
15476 * isearch.el (isearch-update): Doc fix.
15477
15478 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
15479
15480 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
15481
15482 2012-02-03 Glenn Morris <rgm@gnu.org>
15483
15484 * image.el (image-animated-p): Doc fix. Use image-animated-types.
15485 (image-animate-timeout): Doc fix.
15486
15487 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
15488
15489 2012-02-02 Glenn Morris <rgm@gnu.org>
15490
15491 * server.el (server-auth-dir): Doc fix.
15492 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
15493
15494 * subr.el (run-mode-hooks): Doc fix.
15495
15496 2012-02-02 Juri Linkov <juri@jurta.org>
15497
15498 * image-mode.el (image-toggle-display-image): Remove tautological
15499 `major-mode' from the `derived-mode-p' test.
15500
15501 2012-02-02 Kenichi Handa <handa@m17n.org>
15502
15503 * composite.el (compose-region): Cancel previous change.
15504
15505 2012-02-02 Kenichi Handa <handa@m17n.org>
15506
15507 * composite.el (compose-region, compose-string): Signal error for
15508 a null string component (Bug#6988).
15509
15510 2012-02-01 Chong Yidong <cyd@gnu.org>
15511
15512 * view.el (view-buffer-other-window, view-buffer-other-frame):
15513 Handle special modes like view-buffer (Bug#10650).
15514 (view-buffer): Simplify.
15515
15516 * frame.el (set-frame-font): Tweak meaning of third argument.
15517
15518 * dynamic-setting.el (font-setting-change-default-font):
15519 Use set-frame-font (Bug#9982).
15520
15521 2012-02-01 Glenn Morris <rgm@gnu.org>
15522
15523 * progmodes/compile.el (compilation-internal-error-properties):
15524 Respect compilation-first-column in the "*compilation*" buffer.
15525
15526 * emacs-lisp/easy-mmode.el (define-minor-mode):
15527 Relax :variable's test for a named function.
15528
15529 2012-01-31 Alan Mackenzie <acm@muc.de>
15530
15531 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
15532 off by one error.
15533
15534 2012-01-31 Chong Yidong <cyd@gnu.org>
15535
15536 * frame.el (set-frame-font): New arg ALL-FRAMES.
15537
15538 * menu-bar.el (menu-set-font): Use set-frame-font.
15539
15540 * faces.el (face-spec-reset-face): Don't apply unspecified
15541 attribute values to the default face.
15542
15543 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
15544
15545 * progmodes/cwarn.el (cwarn): Remove dead link.
15546 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
15547 Remove * from defcustom docstrings.
15548 (turn-on-cwarn-mode): Make obsolete.
15549 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
15550 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
15551
15552 2012-01-31 Glenn Morris <rgm@gnu.org>
15553
15554 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
15555 Fix :variable handling of mode a symbol not equal to modefun.
15556 Allow named functions to be used as the cdr of :variable.
15557
15558 2012-01-30 Glenn Morris <rgm@gnu.org>
15559
15560 * emacs-lisp/authors.el (authors-fixed-entries):
15561 Remove reference to deleted file rnewspost.el.
15562
15563 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
15564
15565 * window.el (window-with-parameter): Remove unused variable `windows'.
15566 (window--side-check): Remove unused variable `code'.
15567 (window--resize-siblings): Remove unused variable `first'.
15568 (adjust-window-trailing-edge): Remove unused variable `failed'.
15569 (window-deletable-p, window--delete): Remove unused variable `buffer'.
15570 Use `let', not `let*'.
15571 (balance-windows-2): Remove unused variable `found'.
15572 (window--state-put-2): Remove unused variable `splits'.
15573 (window-state-put): Remove unused variable `selected'.
15574 (same-window-p): Use `string-match-p'.
15575 (display-buffer-assq-regexp): Remove unused variable `value'.
15576 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15577 Mark argument ALIST as ignored.
15578 (pop-to-buffer): Remove unused variable `old-window'.
15579
15580 2012-01-29 Eli Zaretskii <eliz@gnu.org>
15581
15582 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
15583 and .lzma compressed files.
15584
15585 2012-01-29 Chong Yidong <cyd@gnu.org>
15586
15587 * frame.el (window-system-default-frame-alist): Doc fix.
15588
15589 * dynamic-setting.el (font-setting-change-default-font): Don't
15590 change the default face if SET-FONT argument is non-nil (Bug#9982).
15591
15592 2012-01-29 Samuel Bronson <naesten@gmail.com>
15593
15594 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
15595
15596 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
15597
15598 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
15599 breakpoints in files outside current directory (Bug#6098).
15600
15601 2012-01-29 Chong Yidong <cyd@gnu.org>
15602
15603 * progmodes/python.el: Require ansi-color at top-level.
15604
15605 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
15606 Define and use in Emacs Lisp mode (Bug#9360).
15607 (lisp-mode-abbrev-table): Add doc.
15608 (lisp-mode-variables): Don't set local-abbrev-table.
15609 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
15610
15611 2012-01-28 Roland Winkler <winkler@gnu.org>
15612
15613 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
15614
15615 2012-01-28 Roland Winkler <winkler@gnu.org>
15616
15617 * textmodes/bibtex.el (bibtex-entry-alist): New function.
15618 (bibtex-set-dialect): Use it. Either set global values of
15619 dialect-dependent variables or bind these variables buffer-locally
15620 (Bug#10254).
15621 (bibtex-mode): Call bibtex-set-dialect via
15622 hack-local-variables-hook.
15623 (bibtex-dialect): Update docstring.
15624 Add safe-local-variable predicate.
15625 (bibtex-entry-alist, bibtex-field-alist): Initialize via
15626 bibtex-set-dialect.
15627 (bibtex-mode-map): Define menu for each dialect.
15628 (bibtex-entry): Fix docstring.
15629
15630 2012-01-28 Chong Yidong <cyd@gnu.org>
15631
15632 * eshell/esh-arg.el (eshell-quote-argument): New function.
15633
15634 * eshell/esh-ext.el (eshell-invoke-batch-file):
15635 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
15636 first arg to eshell-parse-command (Bug#10523).
15637
15638 2012-01-28 Drew Adams <drew.adams@oracle.com>
15639
15640 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
15641 `default-directory' is non-nil.
15642
15643 2012-01-28 Eli Zaretskii <eliz@gnu.org>
15644
15645 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
15646 line that displays system-configuration-options. (Bug#9924)
15647
15648 2012-01-28 Drew Adams <drew.adams@oracle.com>
15649
15650 * descr-text.el (describe-char): Show information about POS, in
15651 addition to information about the character at POS. Improve and
15652 update the doc string. Change "code point" to "code point in
15653 charset", to avoid confusion with the character's Unicode code
15654 point shown above that. (Bug#10129)
15655
15656 2012-01-28 Eli Zaretskii <eliz@gnu.org>
15657
15658 * descr-text.el (describe-char): Show the raw character, not only
15659 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
15660 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
15661 for the reasons.
15662
15663 2012-01-28 Phil Hagelberg <phil@hagelb.org>
15664
15665 * emacs-lisp/package.el (package-install):
15666 Run package-refresh-contents if there is no archive yet (Bug#9798).
15667
15668 2012-01-28 Chong Yidong <cyd@gnu.org>
15669
15670 * emacs-lisp/package.el (package-maybe-load-descriptor):
15671 New function, split from package-maybe-load-descriptor.
15672 (package-maybe-load-descriptor): Use it.
15673 (package-download-transaction): Fully load required packages
15674 inside the loop, so that `require' calls work (Bug#10593).
15675 (package-install): No need to call package-initialize now.
15676
15677 2012-01-28 Chong Yidong <cyd@gnu.org>
15678
15679 * simple.el (deactivate-mark): Doc fix (Bug#8614).
15680
15681 * tooltip.el (tooltip-mode): Doc fix.
15682 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
15683
15684 * frame.el (set-cursor-color): Doc fix (Bug#352).
15685
15686 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
15687 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
15688
15689 * cus-edit.el (custom-buffer-create-internal): Fix search button
15690 action (Bug#10542).
15691 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
15692
15693 2012-01-27 Eduard Wiebe <usenet@pusto.de>
15694
15695 * dired.el (dired-mark-files-regexp):
15696 Include any subdirectory components. (Bug#10445)
15697
15698 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
15699
15700 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
15701 Handle [host]:port syntax. (Bug#10533)
15702
15703 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
15704
15705 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
15706
15707 2012-01-26 Glenn Morris <rgm@gnu.org>
15708
15709 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
15710 * term.el (term-raw-escape-map): Use Control-X-prefix.
15711 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
15712
15713 2012-01-25 Martin Rudalics <rudalics@gmx.at>
15714
15715 * window.el (window-state-get, window--state-get-1): Don't deal
15716 with fixed-sizeness of windows. Simplify code.
15717
15718 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
15719
15720 * window.el (window--state-get-1, window--state-put-2):
15721 Don't save and restore the mark.
15722
15723 2012-01-25 Chong Yidong <cyd@gnu.org>
15724
15725 * custom.el (custom-variable-p): Doc fix.
15726
15727 2012-01-25 Glenn Morris <rgm@gnu.org>
15728
15729 * dired.el (dired-goto-file): Handle some of the more common
15730 characters that `ls -b' escapes. (Bug#10596)
15731
15732 * progmodes/compile.el (compilation-next-error-function):
15733 Respect compilation-first-column in the "*compilation*" buffer.
15734 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
15735
15736 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
15737
15738 2012-01-24 Glenn Morris <rgm@gnu.org>
15739
15740 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
15741
15742 2012-01-24 Julien Danjou <julien@danjou.info>
15743
15744 * color.el (color-rgb-to-hsl): Fix value computing.
15745 (color-hue-to-rgb): New function.
15746 (color-hsl-to-rgb): New function.
15747 (color-clamp, color-saturate-hsl, color-saturate-name)
15748 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
15749 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
15750
15751 2012-01-24 Glenn Morris <rgm@gnu.org>
15752
15753 * vc/vc-rcs.el (vc-rcs-create-tag):
15754 * vc/vc-sccs.el (vc-sccs-create-tag):
15755 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
15756
15757 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
15758
15759 * eshell/esh-util.el (eshell-read-hosts-file):
15760 Skip comment lines. (Bug#10549)
15761
15762 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
15763
15764 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
15765
15766 * subr.el (display-delayed-warnings): Doc fix.
15767 (collapse-delayed-warnings): New function to collapse identical
15768 adjacent warnings.
15769 (delayed-warnings-hook): Add it.
15770
15771 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
15772
15773 * net/tramp.el (tramp-action-login): Set connection property "login-as".
15774
15775 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
15776 (tramp-default-user-alist): Don't add "pscp".
15777 (tramp-do-copy-or-rename-file-out-of-band): Use connection
15778 property "login-as", if set. (Bug#10530)
15779
15780 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
15781
15782 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
15783 "plink1" and "psftp". (Bug#10530)
15784
15785 2012-01-21 Kenichi Handa <handa@m17n.org>
15786
15787 * international/mule-cmds.el (prefer-coding-system): Show a
15788 warning message if the default value of file-name-coding-system
15789 was not changed.
15790
15791 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
15792
15793 * windmove.el (windmove-reference-loc):
15794 Fix windmove-reference-loc miscalculation.
15795
15796 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
15797
15798 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
15799 default unit.
15800
15801 2012-01-21 Glenn Morris <rgm@gnu.org>
15802
15803 * international/mule.el (auto-coding-alist): Add .tbz.
15804
15805 * files.el (local-enable-local-variables): Doc fix.
15806 (inhibit-local-variables-regexps): Rename from
15807 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
15808 Doc fix. Add some extensions from auto-coding-alist.
15809 (inhibit-local-variables-suffixes):
15810 Rename from inhibit-first-line-modes-suffixes. Doc fix.
15811 (inhibit-local-variables-p):
15812 New function, extracted from set-auto-mode-1.
15813 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
15814 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
15815 (hack-local-variables): Doc fix. Make the mode-only case
15816 respect enable-local-variables and friends.
15817 Respect inhibit-local-variables-regexps for file-locals, but
15818 not for directory-locals.
15819 (set-visited-file-name):
15820 Take account of inhibit-local-variables-regexps.
15821 Whether it applies may change as the file name is changed.
15822 * jka-cmpr-hook.el (jka-compr-install):
15823 * jka-compr.el (jka-compr-uninstall):
15824 Update for inhibit-first-line-modes-suffixes name change.
15825
15826 2012-01-20 Martin Rudalics <rudalics@gmx.at>
15827
15828 * help-macro.el (make-help-screen): Temporarily restore original
15829 binding for minor-mode-map-alist (Bug#10454).
15830
15831 2012-01-19 Julien Danjou <julien@danjou.info>
15832
15833 * color.el (color-name-to-rgb): Use the white color to find the max
15834 color component value and return correctly computed values.
15835 (color-name-to-rgb): Add missing float conversion for max value.
15836
15837 2012-01-19 Martin Rudalics <rudalics@gmx.at>
15838
15839 * window.el (window--state-get-1, window-state-get): Do not use
15840 special state value for window-persistent-parameters.
15841 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
15842 (window--state-put-2): Reset all window parameters to nil before
15843 assigning values of persistent parameters.
15844
15845 2012-01-18 Alan Mackenzie <acm@muc.de>
15846
15847 Eliminate sluggishness and hangs in fontification of "semicolon
15848 deserts".
15849
15850 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
15851 Change value 10000 -> 3000.
15852 (c-state-safe-place): Reformulate so it doesn't stack up an
15853 infinite number of wrong entries in c-state-nonlit-pos-cache.
15854 (c-determine-limit-get-base, c-determine-limit): New functions to
15855 determine backward search limits disregarding literals.
15856 (c-find-decl-spots): Amend commenting.
15857 (c-cheap-inside-bracelist-p): New function which detects "={".
15858
15859 * progmodes/cc-fonts.el
15860 (c-make-font-lock-BO-decl-search-function): Give a limit to a
15861 backward search.
15862 (c-font-lock-declarations): Fix an occurrence of point being
15863 undefined. Check additionally for point being in a bracelist or
15864 near a macro invocation without a semicolon so as to avoid a
15865 fruitless time consuming search for a declarator. Give a more
15866 precise search limit for declarators using the new
15867 c-determine-limit.
15868
15869 2012-01-18 Glenn Morris <rgm@gnu.org>
15870
15871 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
15872 (set-auto-mode): Doc fixes.
15873
15874 2012-01-17 Glenn Morris <rgm@gnu.org>
15875
15876 * isearch.el (search-nonincremental-instead): Fix doc typo.
15877
15878 * dired.el (dired-insert-directory): Handle newlines in directory name.
15879 (dired-build-subdir-alist): Unescape newlines in directory name.
15880
15881 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
15882
15883 * net/tramp.el (tramp-local-end-of-line): New defcustom.
15884 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
15885 (tramp-action-terminal): Use it. (Bug#10530)
15886
15887 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
15888
15889 * minibuffer.el (completion--replace): Strip properties (bug#10062).
15890
15891 2012-01-16 Martin Rudalics <rudalics@gmx.at>
15892
15893 * window.el (window-state-ignored-parameters): Remove variable.
15894 (window--state-get-1): Rename argument MARKERS to IGNORE.
15895 Handle persistent window parameters. Make copy of clone-of
15896 parameter only if requested. (Bug#10348)
15897 (window--state-put-2): Install a window parameter only if it has
15898 a non-nil value or an existing parameter shall be overwritten.
15899
15900 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
15901
15902 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
15903
15904 2012-01-14 Eli Zaretskii <eliz@gnu.org>
15905
15906 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
15907 don't pass the (nil) value of `upnode' to string-match.
15908
15909 2012-01-14 Chong Yidong <cyd@gnu.org>
15910
15911 * startup.el (command-line): Fix X resource class for cursorColor.
15912 Fix values recognized by the cursorBlink resource.
15913
15914 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
15915
15916 * epg.el (epg--make-temp-file): Avoid permission race condition
15917 when running on old Emacs versions (bug#10403).
15918
15919 2012-01-14 Glenn Morris <rgm@gnu.org>
15920
15921 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
15922
15923 2012-01-13 Alan Mackenzie <acm@muc.de>
15924
15925 Fix filling for when filladapt mode is enabled.
15926
15927 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
15928 c-mask-paragraph, pass in `fill-paragraph' rather than
15929 `fill-region-as-paragraph'. (This is a reversion of a previous
15930 change.)
15931 * progmodes/cc-mode.el (c-basic-common-init):
15932 Make fill-paragraph-handle-comment buffer local and set it to nil.
15933
15934 2012-01-13 Glenn Morris <rgm@gnu.org>
15935
15936 * dired.el (dired-switches-escape-p): New function.
15937 (dired-insert-directory): Use dired-switches-escape-p.
15938 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
15939
15940 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
15941
15942 2012-01-12 Glenn Morris <rgm@gnu.org>
15943
15944 * mail/sendmail.el (mail-mode): Update paragraph-separate for
15945 changes in adaptive-fill-regexp. (Bug#10276)
15946
15947 2012-01-11 Alan Mackenzie <acm@muc.de>
15948
15949 Fix Emacs bug #10463 - put `widen's around the critical spots.
15950
15951 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
15952 widen around each invocation of c-state-pp-to-literal. Remove an
15953 unused let variable.
15954
15955 2012-01-11 Glenn Morris <rgm@gnu.org>
15956
15957 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
15958 Doc fix.
15959
15960 2012-01-10 Chong Yidong <cyd@gnu.org>
15961
15962 * net/network-stream.el (network-stream-open-starttls):
15963 Avoid emitting a confusing error message when the server gives a bad
15964 response to the capability command.
15965
15966 2012-01-10 Glenn Morris <rgm@gnu.org>
15967
15968 * mail/unrmail.el (unrmail): Tweak previous change.
15969
15970 2012-01-09 Chong Yidong <cyd@gnu.org>
15971
15972 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
15973
15974 2012-01-08 Alan Mackenzie <acm@muc.de>
15975
15976 Optimize font locking in long enum definitions.
15977
15978 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
15979 arm to a cond form to handle enums.
15980 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
15981 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
15982
15983 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
15984
15985 * files.el (move-file-to-trash): Preserve default file modes on error.
15986 (Bug#10401)
15987
15988 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15989
15990 * faces.el (set-face-attribute): Clarify the meaning of the nil
15991 frame (bug#10294).
15992
15993 * subr.el (with-selected-frame): Mention that the selected frame
15994 is restored (bug#9980).
15995
15996 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
15997 (bug#9759).
15998
15999 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
16000 (password-read): Don't autoload unused function.
16001
16002 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
16003
16004 * progmodes/which-func.el (which-func-mode): Turn into a
16005 non-interactive function and mark as obsolete (bug#10428).
16006
16007 2012-01-06 Chong Yidong <cyd@gnu.org>
16008
16009 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
16010 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
16011 functions, along with 1 and -1.
16012
16013 2012-01-06 Eli Zaretskii <eliz@gnu.org>
16014
16015 * time.el (display-time-load-average)
16016 (display-time-default-load-average): Doc fixes. See the thread
16017 starting at
16018 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
16019 for the details.
16020
16021 2012-01-06 Glenn Morris <rgm@gnu.org>
16022
16023 * mail/unrmail.el (unrmail): Give an explicit error if the input file
16024 has no messages. (Bug#10377)
16025
16026 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
16027 than Info-edit. (Bug#10385)
16028
16029 * time.el (display-time-load-average, display-time-next-load-average):
16030 Doc fixes.
16031
16032 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
16033 local setting of buffer-read-only to the input buffer. (Bug#10419)
16034
16035 * calendar/calendar.el (calendar-mode):
16036 Locally set scroll-margin to 0. (Bug#10379)
16037
16038 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
16039
16040 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
16041
16042 2012-01-05 Glenn Morris <rgm@gnu.org>
16043
16044 * eshell/em-unix.el (diff-no-select): Autoload it.
16045 (eshell/diff): Use diff-no-select. (Bug#10420)
16046
16047 2012-01-05 Chong Yidong <cyd@gnu.org>
16048
16049 * shell.el (shell-dynamic-complete-functions): Revert last change.
16050 (shell-command-completion-function): New function.
16051 (shell-completion-vars): Use it to implement
16052 shell-completion-execonly (Bug#10417).
16053
16054 * custom.el (enable-theme): Don't set custom-safe-themes.
16055
16056 * cus-theme.el (custom-theme-merge-theme):
16057 Ignore custom-enabled-themes and custom-safe-themes.
16058
16059 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
16060
16061 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
16062 first prompt in `sql-interacive-mode'.
16063 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
16064 keywords.
16065 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
16066 (sql-product-interactive): Bug fix: Set `sql-buffer' in
16067 context of original buffer. Invoke `sql-login-hook'.
16068
16069 2012-01-04 Eli Zaretskii <eliz@gnu.org>
16070
16071 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
16072 letters in cite-prefix.
16073
16074 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16075
16076 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
16077
16078 2012-01-03 Chong Yidong <cyd@gnu.org>
16079
16080 * shell.el (shell-dynamic-complete-functions):
16081 Put pcomplete-completions-at-point, so as to try
16082 comint-filename-completion first (Bug#10417).
16083
16084 2012-01-02 Richard Stallman <rms@gnu.org>
16085
16086 * battery.el (battery-status-function):
16087 Detect when to use battery-yeeloong-sysfs.
16088 (battery-echo-area-format): Add string for Yeeloong.
16089 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
16090 (battery-yeeloong-sysfs): New function.
16091
16092 2012-01-02 Chong Yidong <cyd@gnu.org>
16093
16094 * dirtrack.el (dirtrack-list): Eliminate unused third element.
16095 (dirtrack): Merge code for handling relative filenames in prompt
16096 from shell-dir-cookie-watcher.
16097 (dirtrack-debug-message): New arg to avoid excess format calls.
16098
16099 * shell.el (shell-dir-cookie-re): Variable deleted.
16100 (shell-dir-cookie-watcher): Function deleted.
16101 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
16102 with dirtrack-mode.
16103
16104 2012-01-01 Eli Zaretskii <eliz@gnu.org>
16105
16106 * term/w32-win.el (dynamic-library-alist) <gnutls>:
16107 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
16108 libgnutls-26.dll.
16109
16110 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
16111
16112 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
16113
16114 2011-12-31 Eli Zaretskii <eliz@gnu.org>
16115
16116 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
16117 headers of non-MIME messages, when rmail-enable-mime is non-nil.
16118
16119 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
16120
16121 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
16122 also for alternative shells.
16123 (tramp-open-connection-setup-interactive-shell): Check, whether
16124 the shell is a busybox.
16125 (tramp-send-command): Don't suppress multiple prompts for
16126 busyboxes, it hurts.
16127
16128 2011-12-28 Chong Yidong <cyd@gnu.org>
16129
16130 * progmodes/gdb-mi.el (gdb-get-source-file-list)
16131 (gdb-get-source-file): Move mode line update to
16132 gdb-get-source-file (Bug#10087).
16133
16134 2011-12-25 Chong Yidong <cyd@gnu.org>
16135
16136 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
16137 gud-gdb-marker-filter without taking it as an argument.
16138 (gud-gdb-run-command-fetch-lines): Caller changed.
16139 (gud-gdb-completion-function): New variable.
16140 (gud-gdb-completion-at-point): Use it.
16141 (gud-gdb-completions-1): Split from gud-gdb-completions.
16142
16143 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
16144 function as separate arguments.
16145 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
16146 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
16147 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
16148 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
16149 (gdb-stopped, def-gdb-auto-update-trigger)
16150 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
16151 (gdb-get-changed-registers, gdb-get-main-selected-frame):
16152 Callers changed.
16153 (gud-gdbmi-completions): New function.
16154 (gdb): Use it for generating the completion table.
16155
16156 2011-12-24 Alan Mackenzie <acm@muc.de>
16157
16158 Introduce a mechanism to widen the region used in context font
16159 locking. Use this to protect declarations from losing their contexts.
16160
16161 * progmodes/cc-langs.el (c-before-font-lock-functions):
16162 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
16163 (c-before-context-fontification-functions): New defvar, a list of
16164 functions to be run just before context (etc.) font locking.
16165
16166 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
16167 New, functionality extracted from
16168 c-neutralize-syntax-in-and-mark-CPP.
16169 (c-in-after-change-fontification): New variable.
16170 (c-after-change): Set c-in-after-change-fontification.
16171 (c-set-fl-decl-start): Rejig its interface, so it can be called
16172 from both after-change and context fontifying.
16173 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
16174 New functions.
16175 (c-standard-font-lock-fontify-region-function): New variable.
16176 (c-font-lock-fontify-region): New function.
16177
16178 2011-12-24 Juri Linkov <juri@jurta.org>
16179
16180 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
16181 (Bug#10348)
16182
16183 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
16184
16185 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
16186 existence of source file. (Bug#10325)
16187
16188 2011-12-23 Alan Mackenzie <acm@muc.de>
16189
16190 Fix unstable fontification inside templates.
16191
16192 * progmodes/cc-langs.el (c-before-font-lock-functions):
16193 Newly created from the singular version. The (c c++ objc) entry now
16194 additionally has c-set-fl-decl-start. The other languages (apart
16195 from AWK) have that as a single entry.
16196
16197 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
16198 The functionality for "local" declarations has been extracted to
16199 c-set-fl-decl-start.
16200
16201 * progmodes/cc-mode.el (c-common-init, c-after-change):
16202 Changes due to pluralisation of c-before-font-lock-functions.
16203 (c-set-fl-decl-start): New function, extracted from
16204 c-font-lock-enclosing-decls and enhanced.
16205
16206 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
16207
16208 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
16209
16210 2011-12-22 Juri Linkov <juri@jurta.org>
16211
16212 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
16213
16214 2011-12-22 Chong Yidong <cyd@gnu.org>
16215
16216 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
16217
16218 2011-12-21 Drew Adams <drew.adams@oracle.com>
16219
16220 * files.el (file-remote-p): Fix docstring. (Bug#10319)
16221
16222 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
16223
16224 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
16225
16226 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
16227
16228 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
16229 highlighting and support. Fix up comments for capitalization.
16230 (cfengine-mode-debug): New var.
16231 (cfengine3-mode): Change the modeline indicator to "CFE3".
16232 (cfengine3-font-lock-keywords): Improve defun highlighting.
16233 (cfengine2-actions): Rename from `cfengine-actions'.
16234 (cfengine2-font-lock-keywords): Rename from
16235 `cfengine-font-lock-keywords'.
16236 (cfengine2-imenu-expression): Rename from
16237 `cfengine-imenu-expression'.
16238 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
16239 (cfengine2-beginning-of-defun): Rename from
16240 `cfengine-beginning-of-defun'.
16241 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
16242 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
16243 (cfengine2-mode): Rename from `cfengine-mode'. Change the
16244 modeline indicator to "CFE2".
16245 (cfengine-mode): Defalias to `cfengine-auto-mode'.
16246 (cfengine-mode-abbrevs): Mark obsolete.
16247
16248 2011-12-21 Chong Yidong <cyd@gnu.org>
16249
16250 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
16251 filename argument.
16252
16253 2011-12-20 Martin Rudalics <rudalics@gmx.at>
16254
16255 * window.el (window-normalize-buffer-to-display): Remove.
16256 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
16257
16258 2011-12-19 Chong Yidong <cyd@gnu.org>
16259
16260 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
16261 Don't signal an error in a predicate function; return non-nil.
16262 (vc-dir-mark-file): Move the error here.
16263 (vc-dir-mark-unmark): If acting on the region, keep going if one
16264 of the entries cannot be marked/unmarked.
16265 (vc-dir-mark-all-files): If current entry is a directory, mark
16266 only child files, as documented.
16267
16268 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
16269
16270 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
16271 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
16272 addition.
16273
16274 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
16275
16276 * term/ns-win.el (ns-get-selection-internal)
16277 (ns-store-selection-internal): Declare.
16278 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
16279 Declare as obsolete.
16280 (ns-get-pasteboard, ns-paste-secondary):
16281 Use ns-get-selection-internal.
16282 (ns-set-pasteboard, ns-copy-including-secondary):
16283 Use ns-store-selection-internal.
16284
16285 2011-12-17 Chong Yidong <cyd@gnu.org>
16286
16287 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
16288 (vc-deduce-fileset): Doc fix.
16289
16290 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
16291
16292 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
16293
16294 2011-12-13 Sam Steingold <sds@gnu.org>
16295
16296 * man.el (Man-getpage-in-background): When running under a
16297 window-system, ignore $MANWIDTH and $COLUMNS.
16298
16299 2011-12-15 Kenichi Handa <handa@m17n.org>
16300
16301 * language/ethio-util.el: Change coding tag to utf-8-emacs.
16302 (setup-ethiopic-environment-internal): Comment out key-binding for
16303 ethio-toggle-punctuation.
16304
16305 2011-12-13 Alan Mackenzie <acm@muc.de>
16306
16307 Add the switch statement to AWK Mode.
16308
16309 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
16310 "default" to the keywords regexp.
16311
16312 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
16313 expression as the rest.
16314 (c-nonlabel-token-key): Allow string literals for AWK.
16315 Refactor for the other modes.
16316
16317 Large brace-block initialisation makes CC Mode slow: Fix.
16318 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
16319 routines. Limit backward searching in c-font-lock-enclosing.decl.
16320
16321 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
16322 pp-state and literal type in addition to the limits.
16323 (c-state-safe-place): New defun, extracted from c-state-literal-at.
16324 (c-state-literal-at): Use the above new defun.
16325 (c-slow-in-literal, c-fast-in-literal): Remove.
16326 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
16327
16328 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
16329 being in a literal. Add a limit for backward searching.
16330
16331 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
16332 c-slow-in-literal.
16333
16334 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
16335
16336 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
16337
16338 2011-12-13 Martin Rudalics <rudalics@gmx.at>
16339
16340 * window.el (delete-other-windows): Use correct frame in call to
16341 window-with-parameter.
16342
16343 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
16344
16345 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
16346 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
16347 (makefile-gmake-statements, makefile-makepp-statements):
16348 Use it and add new makepp keywords.
16349 (makefile-makepp-font-lock-keywords): Add new patterns.
16350 (makefile-match-function-end): Match new [...] and [[...]].
16351
16352 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
16353
16354 * ses.el (ses-call-printer-return, ses-cell-property-get)
16355 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
16356 (ses-create-cell-variable, ses-reset-header-string)
16357 (ses-cell-set-formula, ses-repair-cell-reference-all)
16358 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
16359 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
16360 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
16361 (ses-aset-with-undo, ses-load, ses-truncate-cell)
16362 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
16363 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
16364 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
16365 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
16366 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
16367 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
16368 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
16369 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
16370
16371 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
16372
16373 * ses.el: The overall change is to add cell renaming, that is
16374 setting fancy names for cell symbols other than name matching
16375 "\\`[A-Z]+[0-9]+\\'" regexp .
16376 (ses-create-cell-variable): New defun.
16377 (ses-relocate-formula): Relocate formulas only for cells the
16378 symbols of which are not renamed, i.e. symbols whose names do not
16379 match regexp "\\`[A-Z]+[0-9]+\\'".
16380 (ses-relocate-all): Relocate values only for cells the symbols of
16381 which are not renamed.
16382 (ses-load): Create cells variables as the (ses-cell ...) are read,
16383 in order to check row col consistency with cell symbol name only
16384 for cells that are not renamed.
16385 (ses-replace-name-in-formula): New defun.
16386 (ses-rename-cell): New defun.
16387
16388 2011-12-11 Chong Yidong <cyd@gnu.org>
16389
16390 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
16391 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
16392
16393 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
16394
16395 * window.el (other-window): Fix docstring.
16396
16397 2011-12-10 Eli Zaretskii <eliz@gnu.org>
16398
16399 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
16400 `from' or `to' address before taking its substring.
16401 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
16402 encoded name is chopped in the middle of the encoded string, and
16403 thus displayed encoded.
16404
16405 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
16406
16407 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
16408
16409 2011-12-10 Eli Zaretskii <eliz@gnu.org>
16410
16411 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
16412 to use texinfo-update-node and commands that call it if the
16413 Texinfo file uses @node lines without next/prev/up pointers.
16414 Correct outdated description about texinfo-master-menu.
16415 (texinfo-all-menus-update, texinfo-master-menu)
16416 (texinfo-update-node, texinfo-every-node-update)
16417 (texinfo-multiple-files-update): Doc fix. Warn against updating
16418 all the @node lines.
16419 (texinfo-master-menu): Only call texinfo-update-node if the prefix
16420 argument is numeric. Explain better in the doc string what the
16421 function really does.
16422 (texinfo-insert-master-menu-list): Improve the error message
16423 displayed if there's no menu in the Top node.
16424 (Bug#2975) See also this thread:
16425 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
16426
16427 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
16428
16429 * speedbar.el (speedbar-supported-extension-expressions):
16430 Add .adb and .ads, commonly used for Ada source code (bug#10256).
16431
16432 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
16433
16434 * printing.el (pr-mode-alist):
16435 * simple.el (filter-buffer-substring-functions)
16436 (completion-list-insert-choice-function):
16437 * window.el (window-with-parameter, window-atom-root)
16438 (window-sides-slots, window-size-fixed, window-min-delta)
16439 (window-max-delta, window--resize-mini-window)
16440 (window--resize-child-windows-normal, window-tree)
16441 (delete-other-windows, quit-window, split-window)
16442 (display-buffer-record-window, special-display-buffer-names)
16443 (special-display-regexps, special-display-popup-frame)
16444 (same-window-p, split-window-sensibly)
16445 (display-buffer-overriding-action, display-buffer-alist)
16446 (display-buffer-base-action, display-buffer, switch-to-buffer)
16447 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
16448 (fit-window-to-buffer, recenter-positions)
16449 (mouse-autoselect-window-state, mouse-autoselect-window-select):
16450 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
16451 and remove unneeded backslashes in docstrings.
16452
16453 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
16454
16455 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
16456
16457 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
16458 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
16459 end in ".mk".
16460 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
16461 when reading the makefile (bug#10116).
16462
16463 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
16464
16465 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
16466 (bug#10116).
16467
16468 2011-12-06 Glenn Morris <rgm@gnu.org>
16469
16470 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
16471
16472 2011-12-06 Chong Yidong <cyd@gnu.org>
16473
16474 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
16475
16476 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
16477
16478 * textmodes/table.el (table-shorten-cell): Fix typo.
16479
16480 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
16481
16482 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
16483
16484 2011-12-05 Eli Zaretskii <eliz@gnu.org>
16485
16486 * descr-text.el (describe-char): Fix display of strong
16487 right-to-left characters and directional embeddings and overrides.
16488
16489 * simple.el (what-cursor-position): Fix display of codepoints of
16490 strong right-to-left characters.
16491
16492 2011-12-05 Chong Yidong <cyd@gnu.org>
16493
16494 * faces.el (read-color): Doc fix.
16495
16496 2011-12-05 Glenn Morris <rgm@gnu.org>
16497
16498 * align.el (align--set-marker): Add doc-string.
16499 Don't try to move something that is not a marker. (Bug#10216)
16500
16501 2011-12-04 Glenn Morris <rgm@gnu.org>
16502
16503 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
16504 overly zealous deletion of trailing whitespace.
16505
16506 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
16507
16508 * server.el (server-delete-client): On Windows, do not try to delete
16509 the only terminal.
16510 (server-process-filter): On Windows, treat requests for a tty frame as
16511 if they were for a GUI frame if the running server is in GUI mode.
16512
16513 2011-12-03 Glenn Morris <rgm@gnu.org>
16514
16515 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
16516
16517 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
16518
16519 * electric.el: Streamline electric-indent's hook.
16520 (electric-indent-chars): Revert to simple list.
16521 (electric-indent-functions): New var.
16522 (electric-indent-post-self-insert-function): Use it.
16523
16524 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
16525 there's no inferior buffer (bug#10196).
16526 (prolog-consult-compile): Don't use toggle-read-only.
16527
16528 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
16529
16530 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
16531 interrupt. (Bug#10187)
16532
16533 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
16534
16535 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
16536 (bug#9160).
16537
16538 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
16539 (bug#10191).
16540
16541 2011-12-02 Juri Linkov <juri@jurta.org>
16542
16543 * info.el (Info-search): Display "end of manual" when Isearch
16544 reaches the end of single-file Info manual. (Bug#9918)
16545
16546 2011-12-02 Eli Zaretskii <eliz@gnu.org>
16547
16548 * isearch.el (isearch-message-prefix): Run the input method part
16549 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
16550
16551 2011-12-02 Juri Linkov <juri@jurta.org>
16552
16553 * isearch.el (isearch-occur): Use `word-search-regexp' for
16554 `isearch-word'.
16555 (isearch-search-and-update): Add condition for `isearch-word' and
16556 call `word-search-regexp'. (Bug#10145)
16557
16558 2011-12-01 Glenn Morris <rgm@gnu.org>
16559
16560 * eshell/em-hist.el (eshell-hist-initialize):
16561 Handle eshell-history-size nil and HISTSIZE set or unset.
16562 (eshell-history-file-name, eshell-history-size): Fix custom type.
16563
16564 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
16565
16566 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
16567
16568 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
16569
16570 * progmodes/verilog-mode.el (verilog-pretty-expr):
16571 Rework verilog-pretty-expr to handle new assignment operators in system
16572 verilog, such as += *= and the like.
16573 (verilog-assignment-operator-re): Regular expression to find the
16574 assigment operator in a verilog assignment.
16575 (verilog-assignment-operation-re): Regular expression to find an
16576 assignment statement for pretty-expr.
16577 (verilog-in-attribute-p): Query returns true if point is in an
16578 attribute context; used to skip these for expression line up from
16579 pretty-expr.
16580 (verilog-in-parameter-p): Query returns true if point is in an
16581 parameter definition context; used to skip these for expression
16582 line up from pretty-expr.
16583 (verilog-in-parenthesis-p): Query returns true if point is in a
16584 parenthetical expression, specifically ( ) but not [ ] or { };
16585 used by pretty-expr.
16586 (verilog-just-one-space): If there is no space, don't add one.
16587 (verilog-get-lineup-indent-2): Specifically skip just attribute
16588 contexts for expression lineup, rather than skipping all
16589 parenthetical expressions.
16590 (verilog-calculate-indent): Fix comment, and fix indent.
16591 (verilog-do-indent): Indent declarations in lists (suggested by
16592 Joachim Lechner).
16593 (verilog-mode-abbrev-table): Populate abbrev mode with the various
16594 skeleton items.
16595 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
16596 by Alain Mellan).
16597
16598 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
16599
16600 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
16601 parameters with embedded comments. Reported by Ray Stevens.
16602 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
16603 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
16604 Reported by Tim Holt.
16605 (verilog-auto): Fix AUTOing a upper module then AUTOing module
16606 instantiated by upper module causing wrong expansion until AUTOed a
16607 second time. Reported by K C Buckenmaier.
16608 (verilog-diff-auto): Fix showing .* as a difference when
16609 `verilog-auto-star-save' off. Reported by Dan Dever.
16610 (verilog-auto-reset, verilog-read-always-signals)
16611 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
16612 temporary signals in reset list if
16613 verilog-auto-reset-blocking-in-non is nil, and match assignment
16614 style to each signal's assignment type, bug381.
16615 Reported by Thomas Esposito.
16616 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
16617 (verilog-uvm-statement-re): Support UVM indentation and
16618 highlighting, with old OVM keywords only.
16619 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
16620 Support AUTOTIEOFF creating non-wire data types.
16621 Suggested by Jonathan Greenlaw.
16622 (verilog-auto-insert-lisp, verilog-delete-to-paren)
16623 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
16624 (verilog-inject-sense, verilog-read-inst-pins)
16625 (verilog-read-sub-decls, verilog-read-sub-decls-line):
16626 Fix mismatching parenthesis inside commented out code when deleting
16627 AUTOINST, bug383. Reported by Jonathan Greenlaw.
16628 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
16629 non-numeric vector width. Reported by Alex Reed.
16630 (verilog-auto-ascii-enum): Add "onehot" option to work around not
16631 detecting signals with parameter widths. Reported by Alex Reed.
16632 (verilog-auto-delete-trailing-whitespace):
16633 With `verilog-auto-delete-trailing-whitespace' remove trailing
16634 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
16635 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
16636 Fix verilog-scan-cache corruption when running user AUTO expansion
16637 hooks that call indentation routines.
16638 (verilog-simplify-range-expression): Fix typo ignoring lower case
16639 identifiers.
16640 (verilog-delete-auto): Fix delete-autos to also remove user created
16641 automatics, as long as they start with AUTO.
16642 (verilog-batch-diff-auto, verilog-diff-auto)
16643 (verilog-diff-function): Add `verilog-diff-auto' and bind to
16644 "C-c?" to report differences in AUTO expansion, ignoring spaces.
16645 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
16646 (verilog-in-paren-quick, verilog-re-search-backward-quick)
16647 (verilog-re-search-forward-quick, verilog-syntax-ppss):
16648 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
16649 is disabled and its cache will get corrupt, causing AUTOS not to
16650 expand. Instead use only -quick functions.
16651 (verilog-scan-region): Fix scanning over escaped quotes.
16652 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
16653 (verilog-re-search-backward-quick)
16654 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
16655 related functions now ignore strings, to fix misparsing of strings
16656 with magic comments embedded in them.
16657 (verilog-read-auto-template):
16658 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
16659 Reported by Brad Dobbie.
16660 (verilog-read-auto-template):
16661 Fix 'verilog-auto-inst-template-numbers' with comments.
16662 Reported by Brad Dobbie.
16663 (verilog-auto-inst, verilog-auto-inst-param)
16664 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
16665 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
16666 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
16667 debugging templates without merge conflicts, bug357.
16668 Reported by Brad Dobbie.
16669 (verilog-read-auto-template):
16670 Fix verilog-auto-inst-template-numbers with multiple templates.
16671 Reported by Brad Dobbie.
16672 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
16673 abbrevs so user won't be asked to save.
16674 (verilog-read-auto-lisp-present): Fix to start at beginning of
16675 buffer in case called outside of verilog-auto.
16676 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
16677 to "X-2". Reported by Matthew Myers.
16678 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
16679 all inputs from module templates. Reported by Leith Johnson.
16680 (verilog-module-inside-filename-p): Fix locating programs as with
16681 modules.
16682 (verilog-auto-inst-port): Fix vl-width expressions when using
16683 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
16684 (verilog-decls-get-regs, verilog-decls-get-signals,
16685 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
16686 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
16687 verilog-read-decls): Combine reg and wire structures into one var
16688 structure to represent SystemVerilog concepts.
16689 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
16690 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
16691 (verilog-auto-wire-type, verilog-insert-definition):
16692 Add verilog-auto-wire-type and AUTOLOGIC to support using
16693 SystemVerilog "logic" keyword instead of "wire"/"reg".
16694 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
16695 to declares outputs that also have assignments (presumably in an
16696 ifdef or generate if so there's not a driver conflict).
16697 Reported by Matthew Myers.
16698 (verilog-auto-declare-nettype, verilog-insert-definition):
16699 Add verilog-auto-declare-nettype to fix declarations using
16700 `default_nettype none. Reported by Julian Gorfajn.
16701 (verilog-read-always-signals-recurse, verilog-read-decls)
16702 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
16703 malformed end statement, bug325. Reported by Joshua Wise and
16704 Andrew Drake.
16705 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
16706 (verilog-inst-comment-re): Fix not deleting Interfaced comment
16707 when expanding .* in interfaces, bug320.
16708 Reported by Pierre-David Pfister.
16709 (verilog-read-module-name): Fix import statements between module
16710 name and open parenthesis, bug317.
16711 Reported by Pierre-David Pfister.
16712 (verilog-simplify-range-expression): Fix simplification of
16713 multiplications inside AUTOWIRE connections, bug303.
16714 (verilog-auto-inst-port): Support parameter expansion in
16715 multidimensional arrays.
16716 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
16717 after "assert property". Reported by Julian Gorfajn.
16718 (verilog-simplify-range-expression): Fix "couldn't merge" errors
16719 with multiplication, bug303.
16720 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
16721 Reported by Jan Frode Lonnum.
16722
16723 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
16724
16725 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
16726 (hfy-shell-file-name, hfy-shell):
16727 * international/fontset.el (x-decompose-font-name): Fix typos.
16728
16729 2011-11-29 Ken Brown <kbrown@cornell.edu>
16730
16731 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
16732 (gdb-version): Remove defvar.
16733 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
16734 (gdb-gud-context-command, gdb-non-stop-handler)
16735 (gdb-current-context-command, gdb-stopped): Use it.
16736 (gdb-init-1): Enable pretty printing here.
16737 (gdb-non-stop-handler): Don't enable pretty-printing here.
16738 Check to see if the target supports non-stop mode; if not, turn off
16739 non-stop mode. Use the following.
16740 (gdb-check-target-async): New defun.
16741 (gud-watch, gdb-stopped): Fix whitespace.
16742 (gdb-get-source-file): Don't try to display the source file if
16743 `gdb-main-file' is nil.
16744
16745 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
16746
16747 * align.el: Try to generate fewer markers (bug#10047).
16748 (align--set-marker): New macro.
16749 (align-region): Use it.
16750
16751 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
16752
16753 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
16754
16755 2011-11-29 Chong Yidong <cyd@gnu.org>
16756
16757 * indent.el (indent-for-tab-command, indent-according-to-mode):
16758 Doc fix.
16759 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
16760
16761 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
16762
16763 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
16764 aware of remote file names. (Bug#10124)
16765
16766 2011-11-29 Chong Yidong <cyd@gnu.org>
16767
16768 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
16769
16770 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
16771
16772 * files.el (find-file): Don't use force-same-window (bug#10144).
16773 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
16774 use pop-to-buffer if the selected window can't be used.
16775 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
16776
16777 2011-11-28 Eli Zaretskii <eliz@gnu.org>
16778
16779 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
16780 special-mode-map.
16781
16782 2011-11-28 Chong Yidong <cyd@gnu.org>
16783
16784 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
16785
16786 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
16787
16788 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
16789 gdb-get-source-file-list on gdb-create-source-file-list.
16790
16791 2011-11-26 Eli Zaretskii <eliz@gnu.org>
16792
16793 * whitespace.el (whitespace-newline): Use a different foreground
16794 color for 16-color light-background displays.
16795
16796 2011-11-24 Chong Yidong <cyd@gnu.org>
16797
16798 * window.el (display-buffer--special-action): Doc fix.
16799
16800 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
16801
16802 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
16803 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
16804 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
16805 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
16806 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
16807 (avl-tree-stack-first):
16808 * emacs-lisp/cconv.el (cconv--analyse-use):
16809 * net/gnutls.el (gnutls-negotiate): Fix typos.
16810
16811 2011-11-24 Glenn Morris <rgm@gnu.org>
16812
16813 * lpr.el (lpr-windows-system, lpr-lp-system):
16814 * mail/binhex.el (binhex-begin-line):
16815 * progmodes/grep.el (grep-history, grep-find-history):
16816 * textmodes/flyspell.el:
16817 * vc/pcvs-defs.el (cvs-global-menu):
16818 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
16819 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
16820 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
16821
16822 * net/tls.el: Fix case of "GnuTLS".
16823
16824 * paths.el (rmail-file-name): Format doc-string for make-docfile.
16825
16826 * version.el (emacs-build-system): Give it a doc-string.
16827
16828 2011-11-24 Juri Linkov <juri@jurta.org>
16829
16830 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
16831
16832 2011-11-24 Glenn Morris <rgm@gnu.org>
16833
16834 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
16835 if called on a non-mime message just toggle the headers. (Bug#8006)
16836
16837 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
16838
16839 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
16840 (allout-lead-with-comment-string, allout-structure-deleted-hook)
16841 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
16842 (allout-rebullet-heading, allout-open-sibtopic)
16843 (allout-toggle-current-subtree-encryption)
16844 (allout-toggle-subtree-encryption, allout-encrypt-string)
16845 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
16846 (allout-distinctive-bullets-string, allout-auto-activation):
16847 * window.el (window-normalize-buffer-to-display):
16848 * progmodes/verilog-mode.el (verilog-batch-indent):
16849 * textmodes/bibtex.el (bibtex-field-braces-opt)
16850 (bibtex-field-strings-opt):
16851 * vc/cvs-status.el (cvs-tree-merge):
16852 Fix typos.
16853
16854 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
16855
16856 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
16857 `non-essential' to t, in order to avoid remote connections.
16858
16859 2011-11-23 Eli Zaretskii <eliz@gnu.org>
16860
16861 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
16862 On MS-DOS and MS-Windows, compare with loaddefs.el
16863 case-insensitively.
16864
16865 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16866
16867 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
16868
16869 2011-11-23 Glenn Morris <rgm@gnu.org>
16870
16871 * paths.el (rmail-file-name): Reformat the doc-string so that it
16872 is picked up.
16873
16874 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
16875 (rmail-auto-file): Ignore case in the "special" field names,
16876 as mail-fetch-field does for all others.
16877
16878 * mail/rmail.el (rmail-forward):
16879 * mail/rmailkwd.el (rmail-set-label):
16880 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
16881 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
16882
16883 * mail/rmail.el (rmail-current-message): Doc fix.
16884
16885 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
16886
16887 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
16888
16889 * server.el (server-eval-and-print): Allow C-g (bug#6585).
16890
16891 2011-11-22 Glenn Morris <rgm@gnu.org>
16892
16893 * mail/rmailmm.el (test-rmail-mime-handler)
16894 (test-rmail-mime-bulk-handler)
16895 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
16896
16897 2011-11-21 Juri Linkov <juri@jurta.org>
16898
16899 * calc/calc.el (calc-read-key-sequence):
16900 Let-bind `input-method-function' to nil. (Bug#10018)
16901
16902 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16903
16904 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
16905 Tell the caller that the next line needs recomputation, even
16906 though it doesn't start a sexp (bug#10094).
16907
16908 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
16909
16910 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
16911
16912 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
16913
16914 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
16915 Use force-same-window.
16916
16917 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
16918
16919 * descr-text.el (describe-char-unicode-data):
16920 * json.el (json-string-escape):
16921 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
16922 (Footnote-unicode, Footnote-style-p):
16923 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
16924
16925 2011-11-20 Chong Yidong <cyd@gnu.org>
16926
16927 * window.el (replace-buffer-in-windows): Restore interactive spec.
16928
16929 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
16930
16931 * electric.el (electric-indent-mode): Fix last change (too optimistic).
16932
16933 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
16934 (byte-compile-global-not-obsolete-vars): New var.
16935 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
16936 Use it.
16937 (byte-compile-warn-obsolete): Align text with the one in *Help*.
16938
16939 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
16940
16941 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
16942 * progmodes/pascal.el (electric-pascal-equal):
16943 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
16944 * xml.el (xml-substitute-special): Fix typos.
16945
16946 2011-11-20 Glenn Morris <rgm@gnu.org>
16947
16948 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
16949 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
16950 Doc fixes.
16951 (rmail-decode-mime-charset): Mark as obsolete.
16952
16953 * mail/rmailsum.el (rmail-message-regexp-p-1):
16954 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
16955 Before using mime functions, check they are set. (Bug#10077)
16956
16957 2011-11-19 Juri Linkov <juri@jurta.org>
16958
16959 * info.el (Info-finder-find-node): Use `package--builtins' instead
16960 of `package-alist'. Use node names formed by the pattern "Keyword "
16961 and the keyword name.
16962
16963 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
16964
16965 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
16966
16967 2011-11-19 Juri Linkov <juri@jurta.org>
16968
16969 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
16970 that calls `revert-buffer' on all Info buffers. (Bug#9915)
16971 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
16972 `old-history', `old-history-forward'. Add let-binding
16973 `window-selected'. Remove calls to `kill-buffer',
16974 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
16975 before calling `Info-find-node', so `Info-find-node-2' will reread
16976 the Info file. Restore window positions only when `window-selected'
16977 is non-nil.
16978
16979 2011-11-19 Juri Linkov <juri@jurta.org>
16980
16981 * isearch.el (isearch-lazy-highlight-new-loop):
16982 Remove condition `(not isearch-error)'. (Bug#9918)
16983
16984 * misearch.el (multi-isearch-search-fun): Add condition
16985 `(not bound)' to ignore lazy-highlighting search.
16986 Add the search-failed message "end of multi" when the end of
16987 multi-sequence is reached. Uncapitalize the search-failed
16988 message "Repeat for next buffer".
16989
16990 * info.el (Info-search): Add the search-failed message
16991 "end of the manual" when the end of the manual is reached
16992 in Isearch mode.
16993
16994 2011-11-19 Juri Linkov <juri@jurta.org>
16995
16996 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
16997 Use non-destructive `remove' instead of `delete' because
16998 `Info-history-list' stored to `Info-isearch-initial-history-list' in
16999 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
17000
17001 2011-11-19 Juri Linkov <juri@jurta.org>
17002
17003 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
17004 to nil instead of binding `search-ring' and `regexp-search-ring'.
17005 (Bug#9185)
17006
17007 2011-11-19 Eli Zaretskii <eliz@gnu.org>
17008
17009 * simple.el (line-move): Force movement by logical lines for any
17010 hscrolled window, not only when auto-hscroll-mode is on.
17011 (line-move-visual): Update doc string to that effect. (Bug#10076)
17012
17013 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
17014
17015 * language/european.el (macintosh): Define as alias for mac-roman.
17016
17017 2011-11-19 Eli Zaretskii <eliz@gnu.org>
17018
17019 * mail/rmailmm.el (rmail-mime-display-header)
17020 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
17021 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
17022 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
17023 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
17024 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
17025 of a raw aref.
17026 (rmail-mime-entity-segment): To get past the tagline, move forward
17027 2 more lines, to account for the 2 empty lines that precede and
17028 follow the line with the buttons.
17029 (rmail-mime-update-tagline): Move one more line, to get past the
17030 empty line that follows the buttons in the tagline. (Bug#9520)
17031
17032 2011-11-19 Martin Rudalics <rudalics@gmx.at>
17033
17034 * window.el (window-max-delta-1, window-min-delta-1)
17035 (window-min-size-1, window-state-get-1, window-state-put-1)
17036 (window-state-put-2): Use "window--" prefix.
17037
17038 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
17039
17040 * emacs-lisp/smie.el: Improve warnings and conflict detection.
17041 (smie-warning-count): New var.
17042 (smie-set-prec2tab): Use it.
17043 (smie-bnf->prec2): Improve warnings. Add docstring.
17044 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
17045 (smie-bnf--set-class): New function.
17046 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
17047 corner case.
17048
17049 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
17050 (compilation-error-properties, compilation-move-to-column):
17051 Handle compilation-first-column while in the target buffer.
17052
17053 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
17054 Don't hardcode point-min==1.
17055
17056 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
17057 (eshell-rewrite-for-command): Remove workaround.
17058 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
17059 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
17060 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
17061
17062 * files-x.el (modify-file-local-variable): Obey commenting conventions.
17063
17064 2011-11-17 Glenn Morris <rgm@gnu.org>
17065
17066 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
17067 Ignore buffer-local generated-autoload-file if it is the same
17068 as the global value. (Bug#10049)
17069
17070 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
17071
17072 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
17073 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
17074 (reftex-toc-previous-heading, reftex-toc-max-level)
17075 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
17076 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
17077 (reftex-toc-do-promote, reftex-toc-promote-prepare)
17078 (reftex-toc-promote-action, reftex-toc-extract-section-number)
17079 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
17080 (reftex-toc-rename-label, reftex-toc-visit-location)
17081 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
17082 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
17083 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
17084 leaving "*toc*" only for references to the buffer.
17085
17086 2011-11-17 Martin Rudalics <rudalics@gmx.at>
17087
17088 * window.el (window-resize, delete-window, split-window):
17089 Replace window-splits by window-combination-resize.
17090 * cus-start.el (window-splits): Replace by window-combination-resize.
17091
17092 2011-11-17 Glenn Morris <rgm@gnu.org>
17093
17094 * progmodes/sh-script.el (sh-font-lock-keywords-var):
17095 Make bash entry derive from sh entry, not shell entry.
17096
17097 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
17098
17099 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
17100 local file name.
17101
17102 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
17103
17104 * menu-bar.el (menu-bar-file-menu):
17105 * printing.el (pr-ps-utility):
17106 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
17107 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
17108 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
17109 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
17110 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
17111 (icalendar--convert-cyclic-to-ical)
17112 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
17113 (icalendar--convert-ical-to-diary)
17114 (icalendar--convert-recurring-to-diary)
17115 (icalendar--convert-non-recurring-all-day-to-diary)
17116 (icalendar-import-format-sample):
17117 * progmodes/idlw-shell.el (idlwave-shell-mode):
17118 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
17119 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
17120 (vhdl-ps-print-init): Fix typos.
17121
17122 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
17123
17124 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
17125 FSF and collapse date sequence, obscure author/maintainer email address
17126 better, remove extra version line, track relocation of author's webpage.
17127
17128 * progmodes/python.el (python-pdbtrack-input-prompt)
17129 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
17130 regular python pdb prompts. Adjustments shamelessly taken exactly as
17131 suggested in EmacsWiki page (tiny change):
17132 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
17133
17134 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
17135
17136 * expand.el (expand-pos, expand-index, expand-point):
17137 Remove redundant info from docstring.
17138 (expand-add-abbrevs): Doc fix.
17139 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
17140 (expand-sample-perl-mode-expand-list): Fix typos.
17141
17142 * net/dbus.el (dbus-event-member-name):
17143 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
17144 * term/pc-win.el (msdos-create-frame-with-faces):
17145 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
17146
17147 2011-11-16 Martin Rudalics <rudalics@gmx.at>
17148
17149 * window.el (split-window, window-state-get-1)
17150 (window-state-put-1, window-state-put-2): Rename occurrences of
17151 window-nest to window-combination-limit.
17152 * cus-start.el (window-nest): Rename to window-combination-limit.
17153
17154 2011-11-16 Chong Yidong <cyd@gnu.org>
17155
17156 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
17157 regexp (Bug#10033).
17158
17159 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
17160
17161 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
17162 `completing-read' will remove *Completions* and will preserve
17163 current-buffer for us.
17164 (tmm-add-prompt): Users of *Completions* will always (re)set its
17165 major mode.
17166 (tmm-old-comp-map): Remove.
17167
17168 2011-11-16 Glenn Morris <rgm@gnu.org>
17169
17170 * mail/rmailedit.el: Require rmailmm when compiling.
17171 (rmail-old-mime-state): New declaration.
17172 (rmail-edit-current-message): If editing a mime message,
17173 edit the "raw" message from the mbox buffer.
17174 (rmail-cease-edit): Handle mime messages. (Bug#9840)
17175
17176 2011-11-15 Glenn Morris <rgm@gnu.org>
17177
17178 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
17179 which wasn't being used. Add optional arg to force given state.
17180 (rmail-mime): Add optional arg to force given state.
17181
17182 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
17183
17184 * allout.el (allout-encryption-plaintext-sanitization-regexps):
17185 * frame.el (display-mm-dimensions-alist):
17186 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
17187 (outline-move-subtree-down):
17188 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
17189 (newsticker--treeview-do-get-node):
17190 * net/quickurl.el (quickurl-list-buffer-name):
17191 * progmodes/dcl-mode.el (dcl-mode):
17192 * progmodes/gdb-mi.el (gdb-mapcar*):
17193 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
17194
17195 2011-11-15 Glenn Morris <rgm@gnu.org>
17196
17197 * mail/rmail.el (rmail-file-coding-system): It's only ever used
17198 in a boolean sense, so just make it a boolean, and fix the doc.
17199 (rmail-show-mime-function, rmail-mime-feature)
17200 (rmail-require-mime-maybe): Doc fixes.
17201 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
17202
17203 * mail/rmailmm.el (rmail-show-mime): Doc fix.
17204
17205 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
17206
17207 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
17208 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
17209 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
17210 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
17211
17212 2011-11-15 Glenn Morris <rgm@gnu.org>
17213
17214 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
17215 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
17216 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
17217 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
17218 (rmail-mime, rmail-show-mime): Doc fixes.
17219
17220 * term/ns-win.el (mode-line-frame-identification):
17221 Leave it alone. (Bug#10051)
17222
17223 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
17224
17225 * mail/rmailout.el (rmail-output-to-rmail-buffer):
17226 Handle empty buffers. (Bug#9978)
17227
17228 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
17229
17230 * international/mule.el (define-charset):
17231 * mail/rmailmm.el (rmail-mime-find-header-encoding):
17232 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
17233 * progmodes/verilog-mode.el (verilog-backward-token):
17234 * textmodes/ispell.el (lookup-words):
17235 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
17236
17237 2011-11-14 Glenn Morris <rgm@gnu.org>
17238
17239 * progmodes/executable.el
17240 (executable-make-buffer-file-executable-if-script-p):
17241 Handle file-modes returning nil.
17242
17243 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
17244 message - not necessary, and causes problems. (Bug#9831)
17245
17246 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
17247
17248 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
17249
17250 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
17251 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
17252 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
17253
17254 2011-11-12 Martin Rudalics <rudalics@gmx.at>
17255
17256 * window.el (window-resize, delete-window): Use window-splits
17257 variable instead of function.
17258 (window-state-get-1, window-state-put-2, window-state-put):
17259 Don't deal with windows' splits status.
17260
17261 2011-11-12 Glenn Morris <rgm@gnu.org>
17262
17263 * apropos.el (apropos-do-all, apropos-library, apropos-value)
17264 (apropos-documentation): Doc fixes.
17265
17266 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
17267
17268 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
17269 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
17270
17271 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
17272
17273 * electric.el (electric-indent-post-self-insert-function): Make it
17274 possible for a char to only indent in some circumstances.
17275 (electric-indent-mode): Simplify.
17276
17277 2011-11-11 Martin Rudalics <rudalics@gmx.at>
17278
17279 * window.el (windows-with-parameter): Remove unused function.
17280 (windows-at-side): Rename to window-at-side-list.
17281 (window-check, window-atom-check, window-atom-check-1)
17282 (window-side-check, window-size-ignore, window-size-fixed-1)
17283 (window-in-direction-2): Prefix with "window--".
17284 (window-tree-1): Rename to window--subtree, fix doc-string.
17285
17286 2011-11-11 Glenn Morris <rgm@gnu.org>
17287
17288 * subr.el (eval-after-load): If FILE is already loaded,
17289 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
17290
17291 2011-11-10 Glenn Morris <rgm@gnu.org>
17292
17293 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
17294 Call svn via vc-svn-command rather than vc-do-command.
17295 (vc-svn-command): Add --non-interactive. (Bug#9993)
17296 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
17297
17298 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17299 Add toggle-read-only. (Bug#7292)
17300 * files.el (toggle-read-only): Mention that it should only
17301 be used interactively. (Bug#10006)
17302
17303 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
17304
17305 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17306 Adjust regexp for OCaml warnings.
17307
17308 * electric.el (electric-pair-post-self-insert-function): Let user
17309 turn it off buffer-locally (bug#9932).
17310
17311 * progmodes/python.el (python-beginning-of-statement):
17312 Rewrite (bug#2703).
17313
17314 * progmodes/compile.el: Better handle TABs (bug#9749).
17315 (compilation-internal-error-properties)
17316 (compilation-next-error-function): Obey the target buffer's
17317 compilation-error-screen-columns.
17318
17319 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
17320
17321 * progmodes/meta-mode.el: Remove obsolete comments.
17322 (meta-right-comment-regexp, meta-ignore-comment-regexp):
17323 Fix typos in docstrings.
17324
17325 2011-11-09 Martin Rudalics <rudalics@gmx.at>
17326
17327 * window.el (window-size-fixed-p): Rewrite doc-string.
17328 (window-resizable-p): Rename to window--resizable-p. Update callers.
17329 (window--resizable): New function. Make all callers of
17330 window-resizable call window--resizable instead.
17331 (window-resizable): Rewrite in terms of window--resizable.
17332
17333 2011-11-08 Glenn Morris <rgm@gnu.org>
17334
17335 * progmodes/delphi.el (delphi-mode-syntax-table):
17336 Let define-derived-mode define a proper syntax table. (Bug#9994)
17337
17338 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
17339
17340 * window.el: Stay away from defsubst.
17341 (window-list-no-nils): Remove.
17342 (window-state-get-1, window-state-get): Use backquote instead.
17343
17344 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17345
17346 * emacs-lisp/find-func.el (find-function-read):
17347 Fix incorrect use of default argument in `completing-read'.
17348
17349 2011-11-08 Martin Rudalics <rudalics@gmx.at>
17350
17351 * window.el (display-buffer-function, special-display-function):
17352 Mention display-buffer-record-window but do not mention
17353 help-setup parameter in doc-strings.
17354 (window-min-delta): Fix doc-string typo.
17355
17356 2011-11-08 Chong Yidong <cyd@gnu.org>
17357
17358 * window.el (window-total-height, window-total-width): Doc fix.
17359 (window-body-size): Move from C.
17360 (window-body-height, window-body-width): Move to C.
17361
17362 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
17363
17364 * window.el: Make special-display like display-buffer-alist (bug#9532).
17365 (display-buffer--special-action): New function, morphed
17366 from display-buffer--special.
17367 (display-buffer): Use it to handle special-display-buffers at higher
17368 priority (just after display-buffer-alist).
17369 (display-buffer-fallback-action, display-buffer--other-frame-action)
17370 (pop-to-buffer-same-window): Remove display-buffer--special.
17371
17372 2011-11-07 Glenn Morris <rgm@gnu.org>
17373
17374 * calendar/cal-menu.el (cal-menu-set-date-title):
17375 Do nothing if not in a calendar. (Bug#9976)
17376
17377 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
17378
17379 * files.el (find-file): Always use selected-window.
17380
17381 2011-11-07 Martin Rudalics <rudalics@gmx.at>
17382
17383 * window.el (window-combinations): Make WINDOW argument
17384 mandatory. Rewrite doc-string.
17385 (walk-window-subtree, window-atom-check, window-min-delta)
17386 (window-max-delta, window--resize-this-window)
17387 (window--resize-root-window-vertically, window-tree)
17388 (balance-windows, window-state-put): Rewrite doc-strings as to
17389 not mention the term "subwindow".
17390 (window--resize-subwindows-skip-p): Rename to
17391 window--resize-child-windows-skip-p.
17392 (window--resize-subwindows-normal): Rename to
17393 window--resize-child-windows-normal.
17394 (window--resize-subwindows): Rename to
17395 window--resize-child-windows.
17396 (window-or-subwindow-p): Rename to window--in-subtree-p.
17397
17398 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
17399
17400 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
17401 Ensure that mbox format messages end in two newlines (Bug#9974).
17402
17403 2011-11-06 Chong Yidong <cyd@gnu.org>
17404
17405 * window.el (window-combination-p): Function deleted; its
17406 side-effect is not used in any existing code.
17407 (window-combinations, window-combined-p): Call window-*-child
17408 directly.
17409
17410 2011-11-05 Chong Yidong <cyd@gnu.org>
17411
17412 * window.el (window-valid-p): Rename from window-any-p.
17413 (window-size-ignore, window-state-get): Callers changed.
17414 (window-normalize-window): Rename from window-normalize-any-window.
17415 New arg LIVE-ONLY, replacing window-normalize-live-window.
17416 (window-normalize-live-window): Delete.
17417 (window-combination-p, window-combined-p, window-combinations)
17418 (walk-window-subtree, window-atom-root, window-min-size)
17419 (window-sizable, window-sizable-p, window-size-fixed-p)
17420 (window-min-delta, window-max-delta, window-resizable)
17421 (window-resizable-p, window-full-height-p, window-full-width-p)
17422 (window-current-scroll-bars, window-point-1, set-window-point-1)
17423 (window-at-side-p, window-in-direction, window-resize)
17424 (adjust-window-trailing-edge, maximize-window, minimize-window)
17425 (window-deletable-p, delete-window, delete-other-windows)
17426 (record-window-buffer, unrecord-window-buffer)
17427 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
17428 (quit-window, split-window, window-state-put)
17429 (set-window-text-height, fit-window-to-buffer)
17430 (shrink-window-if-larger-than-buffer): Callers changed.
17431
17432 2011-11-04 Eli Zaretskii <eliz@gnu.org>
17433
17434 * mail/rmail.el (rmail-simplified-subject): Decode subject with
17435 rfc2047-decode-string.
17436 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
17437 warnings.
17438
17439 * window.el (window-body-height, window-body-width): Mention in
17440 the doc string that the return values are in frame's canonical
17441 units. (Bug#9949)
17442
17443 2011-11-03 Alan Mackenzie <acm@muc.de>
17444
17445 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
17446 change in cc-engine.el.
17447
17448 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
17449
17450 * window.el (switch-to-buffer): Use `force-same-window' interactively.
17451
17452 2011-11-02 Martin Rudalics <rudalics@gmx.at>
17453
17454 * window.el (quit-window): Call unrecord-window-buffer after
17455 showing another buffer in the window. (Bug#9937)
17456 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
17457
17458 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
17459
17460 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
17461 Accept status with more than 9 shelves. (Bug#9935)
17462 Reported by Colin D Bennett <colin@gibibit.com>.
17463
17464 2011-11-01 Martin Rudalics <rudalics@gmx.at>
17465
17466 * help.el (with-help-window): Don't reference
17467 temp-buffer-show-specifiers in doc-string.
17468
17469 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
17470
17471 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
17472 menu-item.
17473
17474 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17475
17476 * whitespace.el: New version 13.2.2.
17477 (whitespace-newline-mode): Disable properly. Reported by Sarah
17478 <EmacsWiki>.
17479
17480 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
17481
17482 * net/newst-treeview.el: Remove "Time-stamp".
17483 (newsticker--group-manage-orphan-feeds): Do not call
17484 newsticker--treeview-tree-update.
17485 (newsticker-treeview-update, newsticker-treeview):
17486 Call newsticker--treeview-tree-update if necessary.
17487
17488 2011-10-30 Martin Rudalics <rudalics@gmx.at>
17489
17490 * window.el (window-iso-combination-p, window-iso-combined-p)
17491 (window-iso-combinations): Remove "iso-" infix.
17492 Suggested by Chong Yidong.
17493 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
17494 (window-max-delta-1, window-resize, window--resize-siblings)
17495 (window--resize-this-window, adjust-window-trailing-edge)
17496 (split-window, balance-windows-1)
17497 (shrink-window-if-larger-than-buffer):
17498 * calendar/calendar.el (calendar-generate-window):
17499 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
17500
17501 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
17502
17503 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
17504 in place (bug#9907).
17505 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
17506 (eshell-rewrite-if-command, eshell-rewrite-for-command)
17507 (eshell-structure-basic-command, eshell-rewrite-while-command)
17508 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
17509 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
17510 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
17511 (eshell-do-pipelines-synchronously, eshell-eval-command):
17512 Use backquotes and prefer setq to set.
17513 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
17514 (eshell-macrop): Use functionp.
17515 (eshell-do-eval): Handle multiple expressions in `while' body.
17516
17517 2011-10-30 Chong Yidong <cyd@gnu.org>
17518
17519 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
17520 instead of set-mark (Bug#9810).
17521
17522 2011-10-30 Chong Yidong <cyd@gnu.org>
17523
17524 * window.el (split-window-below, split-window-right): Rename from
17525 split-window-above-each-other and split-window-side-by-side
17526 respectively. All callers changed.
17527 (split-window-sensibly, split-window-sensibly): Use them.
17528 (split-window-keep-point): Doc fix.
17529
17530 * isearch.el: Add isearch-scroll property to split-window-below
17531 and split-window-right.
17532
17533 * follow.el (follow-mode):
17534 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
17535 * progmodes/ada-xref.el (ada-gdb-application):
17536 * emulation/vip.el (vip-buffer-in-two-windows):
17537 * image-dired.el (image-dired-dired-with-window-configuration):
17538 * dired-x.el (dired-do-find-marked-files):
17539 * dired.el (dired-pop-to-buffer):
17540 * bs.el (bs--show-with-configuration):
17541 * vc/emerge.el (emerge-setup-windows):
17542 * textmodes/two-column.el (2C-two-columns):
17543 * textmodes/reftex-toc.el (reftex-toc):
17544 * progmodes/gdb-mi.el (gdb-setup-windows):
17545 * progmodes/fortran.el (fortran-window-create):
17546 * net/newst-treeview.el (newsticker--treeview-window-init):
17547 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
17548 * emulation/tpu-edt.el (tpu-gold-map):
17549 * emulation/crisp.el (crisp-mode-map):
17550 * calendar/calendar.el (calendar-basic-setup): Callers changed.
17551
17552 2011-10-29 Chong Yidong <cyd@gnu.org>
17553
17554 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
17555
17556 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
17557
17558 * textmodes/flyspell.el (flyspell-word): Fix char offset for
17559 forged Ispell output (Bug#7904).
17560
17561 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
17562
17563 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17564
17565 * doc-view.el: Avoid ugly errors about not finding nil.
17566 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
17567 (doc-view-dvipdf-program, doc-view-unoconv-program)
17568 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
17569 Avoid nil or absolute file name as default value.
17570 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
17571
17572 2011-10-28 Alan Mackenzie <acm@muc.de>
17573
17574 * progmodes/cc-defs.el (c-version): -> 5.32.2.
17575
17576 2011-10-28 Alan Mackenzie <acm@muc.de>
17577
17578 Amend the handling of c-beginning/end-of-defun in nested declaration
17579 scopes.
17580
17581 * progmodes/cc-vars.el (c-defun-tactic): Move here from
17582 cc-langs.el. Change it to a defcustom.
17583
17584 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
17585 cc-vars.el.
17586
17587 * progmodes/cc-engine.el (c-beginning-of-statement-1):
17588 Prevent "class foo : bar" being spuriously recognized as a label.
17589
17590 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
17591 Add parameter `inclusive' (to include enclosing braces in the region).
17592 (c-widen-to-enclosing-decl-scope): New function.
17593 (c-while-widening-to-decl-block): New macro.
17594 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
17595 outward for defun boundaries, and correspondingly change symbol
17596 `respect-enclosure' to `go-outward'.
17597 (c-declaration-limits): Change algorithm to report only the "innermost"
17598 defun's boundaries.
17599
17600 2011-10-28 Deniz Dogan <deniz@dogan.se>
17601
17602 * net/rcirc.el (rcirc-mode): Use hard newlines.
17603
17604 2011-10-28 Alan Mackenzie <acm@muc.de>
17605
17606 Amend to indent and fontify macros "which include their own semicolon"
17607 correctly, using the "virtual semicolon" mechanism.
17608
17609 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
17610
17611 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
17612 Recode to scan one line at a time rather than having \n and \r
17613 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
17614 (c-forward-label): Amend for virtual semicolons.
17615 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
17616
17617 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
17618 of the new C macros.
17619
17620 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
17621 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
17622 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
17623 (c-opt-cpp-macro-define): Make into a full language variable.
17624 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
17625 AWK Mode (including \n, \r) removed, no longer needed.
17626
17627 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
17628 Invoke c-make-macro-with-semi-re.
17629
17630 * progmodes/cc-vars.el (c-macro-with-semi-re):
17631 (c-macro-names-with-semicolon): New variables.
17632 (c-make-macro-with-semi-re): New function.
17633
17634 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17635
17636 * vc/log-edit.el: Fill empty field rather than adding new one.
17637 (log-edit-add-field): New function.
17638 (log-edit-insert-changelog): Use it.
17639
17640 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
17641
17642 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
17643
17644 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17645
17646 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
17647 (gdb--check-interpreter): New function.
17648 (gdb): Use it.
17649
17650 2011-10-27 Glenn Morris <rgm@gnu.org>
17651
17652 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
17653 (least-positive-float, least-negative-float)
17654 (least-positive-normalized-float, least-negative-normalized-float)
17655 (float-epsilon, float-negative-epsilon):
17656 Remove unnecessary declarations.
17657
17658 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
17659 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
17660 (least-positive-float, least-negative-float)
17661 (least-positive-normalized-float, least-negative-normalized-float)
17662 (float-epsilon, float-negative-epsilon): Add doc-strings,
17663 based on those in cl.texi.
17664
17665 * files.el (set-visited-file-name): If the major-mode changed,
17666 reload the local variables. (Bug#9796)
17667
17668 2011-10-27 Chong Yidong <cyd@gnu.org>
17669
17670 * subr.el (change-major-mode-after-body-hook): New hook.
17671 (run-mode-hooks): Run it.
17672
17673 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
17674 Use change-major-mode-before-body-hook.
17675
17676 * simple.el (fundamental-mode):
17677 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
17678 change introducing fundamental-mode-hook.
17679
17680 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
17681
17682 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
17683
17684 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
17685
17686 * ido.el (ido-file-name-all-completions-1): Do not require
17687 tramp.el explicitly. (Bug#7583)
17688
17689 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
17690
17691 * progmodes/octave-mod.el:
17692 * progmodes/octave-inf.el: Update maintainer.
17693
17694 2011-10-26 Chong Yidong <cyd@gnu.org>
17695
17696 * subr.el (with-wrapper-hook): Rewrite doc.
17697
17698 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
17699
17700 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
17701 filenames "/method:foo:". (Bug#9793)
17702
17703 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
17704
17705 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
17706 (bug#9865).
17707
17708 2011-10-24 Glenn Morris <rgm@gnu.org>
17709
17710 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
17711
17712 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
17713
17714 * notifications.el: Add the requirement of a running D-Bus session
17715 bus to the Commentary.
17716
17717 2011-10-24 Juri Linkov <juri@jurta.org>
17718
17719 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
17720 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
17721 (Bug#9364)
17722
17723 2011-10-24 Juri Linkov <juri@jurta.org>
17724
17725 * info.el (Info-following-node-name-re): Add newline to the list
17726 of allowed characters for leading space. (Bug#9824)
17727
17728 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
17729
17730 * progmodes/octave-inf.el (inferior-octave-mode-map):
17731 Fix C-c C-h binding.
17732 * progmodes/octave-mod.el (octave-help): Remove.
17733
17734 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
17735
17736 Sync with Tramp 2.2.3.
17737
17738 * net/tramp-cache.el (top): Pacify byte-compiler using
17739 `init-file-user' and `site-run-file'.
17740
17741 * net/trampver.el: Update release number.
17742
17743 2011-10-23 Chong Yidong <cyd@gnu.org>
17744
17745 * files.el (toggle-read-only): Remove obsolete comment about
17746 version control.
17747
17748 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
17749 for toggle-read-only. Note that this hasn't called vc-next-action
17750 since 2008-05-02, though it wasn't documented at the time.
17751
17752 * vc/ediff-init.el (ediff-toggle-read-only-function):
17753 Use toggle-read-only.
17754
17755 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
17756
17757 Fix bug #9560, sporadic wrong indentation; improve instrumentation
17758 of c-parse-state.
17759
17760 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
17761 correct faulty logical expression.
17762 (c-parse-state-state, c-record-parse-state-state):
17763 (c-replay-parse-state-state): New defvar/defuns.
17764 (c-debug-parse-state): Use new functions.
17765
17766 2011-10-22 Martin Rudalics <rudalics@gmx.at>
17767
17768 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
17769 last fix. Use window-in-direction correctly.
17770
17771 2011-10-21 Chong Yidong <cyd@gnu.org>
17772
17773 * progmodes/idlwave.el (idlwave-mode):
17774 * progmodes/vera-mode.el (vera-mode): No need to set
17775 require-final-newline; that's done in prog-mode.
17776 Suggested by Stefan Monnier.
17777
17778 2011-10-21 Martin Rudalics <rudalics@gmx.at>
17779
17780 * mouse.el (mouse-drag-window-above)
17781 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
17782 (mouse-drag-mode-line-1, mouse-drag-header-line)
17783 (mouse-drag-vertical-line-rightward-window): Remove.
17784 (mouse-drag-line): New function.
17785 (mouse-drag-mode-line, mouse-drag-header-line)
17786 (mouse-drag-vertical-line): Call mouse-drag-line.
17787 * window.el (window-at-side-p, windows-at-side): New functions.
17788
17789 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
17790
17791 * tar-mode.el (tar-grind-file-mode):
17792 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
17793
17794 2011-10-21 Chong Yidong <cyd@gnu.org>
17795
17796 * progmodes/idlwave.el (idlwave-mode):
17797 * progmodes/vera-mode.el (vera-mode):
17798 Use mode-require-final-newline.
17799
17800 2011-10-20 Glenn Morris <rgm@gnu.org>
17801
17802 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
17803
17804 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
17805
17806 * emulation/cua-base.el (cua-set-mark): Fix case of string.
17807
17808 2011-10-20 Chong Yidong <cyd@gnu.org>
17809
17810 * emulation/cua-base.el (cua-mode):
17811 * mail/footnote.el (footnote-mode):
17812 * mail/mailabbrev.el (mail-abbrevs-mode):
17813 * net/xesam.el (xesam-minor-mode):
17814 * progmodes/bug-reference.el (bug-reference-mode):
17815 * progmodes/cap-words.el (capitalized-words-mode):
17816 * progmodes/compile.el (compilation-minor-mode)
17817 (compilation-shell-minor-mode):
17818 * progmodes/gud.el (gud-tooltip-mode):
17819 * progmodes/hideif.el (hide-ifdef-mode):
17820 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
17821 * progmodes/subword.el (subword-mode):
17822 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
17823 * progmodes/which-func.el (which-function-mode):
17824 * term/tvi970.el (tvi970-set-keypad-mode):
17825 * term/vt100.el (vt100-wide-mode):
17826 * textmodes/flyspell.el (flyspell-mode):
17827 * textmodes/ispell.el (ispell-minor-mode):
17828 * textmodes/nroff-mode.el (nroff-electric-mode):
17829 * textmodes/paragraphs.el (use-hard-newlines):
17830 * textmodes/refill.el (refill-mode):
17831 * textmodes/reftex.el (reftex-mode):
17832 * textmodes/rst.el (rst-minor-mode):
17833 * textmodes/sgml-mode.el (html-autoview-mode)
17834 (sgml-electric-tag-pair-mode):
17835 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
17836 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
17837 * emulation/crisp.el (crisp-mode):
17838 * emacs-lisp/eldoc.el (eldoc-mode):
17839 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
17840 minor mode behavior.
17841
17842 2011-10-19 Juri Linkov <juri@jurta.org>
17843
17844 * descr-text.el (describe-char): Add #x2010 and #x2011 to
17845 the list of hard-coded chars with escape-glyph face.
17846
17847 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
17848
17849 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
17850
17851 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
17852
17853 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
17854 running process.
17855
17856 2011-10-19 Glenn Morris <rgm@gnu.org>
17857
17858 * vc/vc-bzr.el (vc-bzr-after-dir-status):
17859 Ignore ignored files. (Bug#9726)
17860
17861 2011-10-19 Chong Yidong <cyd@gnu.org>
17862
17863 Doc fix for minor modes, stating that an omitted argument enables
17864 the mode unconditionally when called from Lisp.
17865
17866 * abbrev.el (abbrev-mode):
17867 * allout.el (allout-mode):
17868 * autoinsert.el (auto-insert-mode):
17869 * autoarg.el (autoarg-mode, autoarg-kp-mode):
17870 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
17871 (global-auto-revert-mode):
17872 * battery.el (display-battery-mode):
17873 * composite.el (global-auto-composition-mode)
17874 (auto-composition-mode):
17875 * delsel.el (delete-selection-mode):
17876 * desktop.el (desktop-save-mode):
17877 * dired-x.el (dired-omit-mode):
17878 * dirtrack.el (dirtrack-mode):
17879 * doc-view.el (doc-view-minor-mode):
17880 * double.el (double-mode):
17881 * electric.el (electric-indent-mode, electric-pair-mode):
17882 * emacs-lock.el (emacs-lock-mode):
17883 * epa-hook.el (auto-encryption-mode):
17884 * follow.el (follow-mode):
17885 * font-core.el (font-lock-mode):
17886 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
17887 * help.el (temp-buffer-resize-mode):
17888 * hilit-chg.el (highlight-changes-mode)
17889 (highlight-changes-visible-mode):
17890 * hi-lock.el (hi-lock-mode):
17891 * hl-line.el (hl-line-mode, global-hl-line-mode):
17892 * icomplete.el (icomplete-mode):
17893 * ido.el (ido-everywhere):
17894 * image-file.el (auto-image-file-mode):
17895 * image-mode.el (image-minor-mode):
17896 * iswitchb.el (iswitchb-mode):
17897 * jka-cmpr-hook.el (auto-compression-mode):
17898 * linum.el (linum-mode):
17899 * longlines.el (longlines-mode):
17900 * master.el (master-mode):
17901 * mb-depth.el (minibuffer-depth-indicate-mode):
17902 * menu-bar.el (menu-bar-mode):
17903 * minibuf-eldef.el (minibuffer-electric-default-mode):
17904 * mouse-sel.el (mouse-sel-mode):
17905 * msb.el (msb-mode):
17906 * mwheel.el (mouse-wheel-mode):
17907 * outline.el (outline-minor-mode):
17908 * paren.el (show-paren-mode):
17909 * recentf.el (recentf-mode):
17910 * reveal.el (reveal-mode, global-reveal-mode):
17911 * rfn-eshadow.el (file-name-shadow-mode):
17912 * ruler-mode.el (ruler-mode):
17913 * savehist.el (savehist-mode):
17914 * scroll-all.el (scroll-all-mode):
17915 * scroll-bar.el (scroll-bar-mode):
17916 * server.el (server-mode):
17917 * shell.el (shell-dirtrack-mode):
17918 * simple.el (auto-fill-mode, transient-mark-mode)
17919 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
17920 (line-number-mode, column-number-mode, size-indication-mode)
17921 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
17922 * strokes.el (strokes-mode):
17923 * time.el (display-time-mode):
17924 * t-mouse.el (gpm-mouse-mode):
17925 * tool-bar.el (tool-bar-mode):
17926 * tooltip.el (tooltip-mode):
17927 * type-break.el (type-break-mode-line-message-mode)
17928 (type-break-query-mode):
17929 * view.el (view-mode):
17930 * whitespace.el (whitespace-mode, whitespace-newline-mode)
17931 (global-whitespace-mode, global-whitespace-newline-mode):
17932 * xt-mouse.el (xterm-mouse-mode): Doc fix.
17933
17934 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
17935 Fix autogenerated docstring.
17936
17937 2011-10-19 Juri Linkov <juri@jurta.org>
17938
17939 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
17940 by checking environment variables "DESKTOP_SESSION" and
17941 "XDG_CURRENT_DESKTOP". (Bug#9779)
17942
17943 2011-10-19 Juri Linkov <juri@jurta.org>
17944
17945 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
17946 (browse-url-chromium-program, browse-url-chromium-arguments):
17947 New defcustoms.
17948 (browse-url-default-browser): Check for `browse-url-chromium' and
17949 call `browse-url-chromium-program'.
17950 (browse-url-chromium): New command. (Bug#9779)
17951
17952 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
17953
17954 * facemenu.el (list-colors-duplicates): On Windows, detect more
17955 duplicates by assuming that only colors matching "^System" are
17956 special "system colors". (Bug#9722)
17957
17958 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
17959
17960 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
17961 to distinguish the author from the committer.
17962
17963 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
17964
17965 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
17966
17967 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
17968
17969 * international/mule.el (sgml-html-meta-auto-coding-function):
17970 Add support for detecting encoding in HTML5 specified only as
17971 <meta charset="UTF-8">. Implementation just makes http-equiv and
17972 content-type parts from HTML4 encoding string optional. (Bug#9716)
17973
17974 2011-10-18 Glenn Morris <rgm@gnu.org>
17975
17976 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
17977
17978 2011-10-18 Chong Yidong <cyd@gnu.org>
17979
17980 * faces.el (cursor): Doc fix.
17981
17982 2011-10-17 Chong Yidong <cyd@gnu.org>
17983
17984 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
17985
17986 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
17987
17988 * dirtrack.el (dirtrack): Support shell buffers with path
17989 prefixes, e.g. tramp-based remote shells. (Bug#9647)
17990
17991 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
17992
17993 * json.el: Bump version to 1.3 and note change in History.
17994 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
17995
17996 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17997
17998 * comint.el (comint-insert-input, comint-send-input)
17999 (comint-get-old-input-default, comint-backward-matching-input)
18000 (comint-next-prompt): Use nil instead of `input' for field property of
18001 past user input (bug#114).
18002
18003 * minibuffer.el (completion--replace): Inherit surrounding properties
18004 (bug#114).
18005 (minibuffer-complete-and-exit): Use it.
18006
18007 * comint.el (comint--table-subvert): Quote the all-completions output
18008 (bug#9160).
18009
18010 2011-10-17 Martin Rudalics <rudalics@gmx.at>
18011
18012 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
18013
18014 * menu-bar.el (menu-bar-file-menu): Add entry for making new
18015 window on right of selected. (Bug#9350) Reword other window
18016 entries and separate them from frame entries.
18017
18018 2011-10-15 Glenn Morris <rgm@gnu.org>
18019
18020 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
18021 Doc fixes.
18022
18023 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
18024
18025 * net/network-stream.el (network-stream-open-starttls):
18026 Improve detection of failure due to lack of TLS support.
18027
18028 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
18029 putting the input text in front and in bold.
18030
18031 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
18032
18033 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
18034
18035 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
18036 empty buffer.
18037
18038 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
18039 unread-command-events rather than pushing yet-another event.
18040
18041 2011-10-14 Eli Zaretskii <eliz@gnu.org>
18042
18043 * mail/sendmail.el (sendmail-query-once): Improve the wording of
18044 the explanation of the possible choices. Make the options passed
18045 to completing-read shorter.
18046
18047 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
18048
18049 * textmodes/flyspell.el (flyspell-large-region): Make sure
18050 extended character mode is used if defined (Bug#1339).
18051
18052 2011-10-13 Eli Zaretskii <eliz@gnu.org>
18053
18054 * simple.el (what-cursor-position): Fix the display of the
18055 character info for LRE, LRO, RLE, and RLO characters by appending
18056 an invisible PDF.
18057
18058 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
18059
18060 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
18061 even in case of error; add debug spec; simplify data flow.
18062 (with-timeout-handler): Remove.
18063
18064 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
18065
18066 Fix Bug#6019, Bug#9315.
18067
18068 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
18069 complete `buffer-file-name', the local file name part could look
18070 remotely (for example on VMS).
18071
18072 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
18073 `tramp-run-real-handler'.
18074 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
18075 already quoted by '"'.
18076
18077 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
18078 Let `file-name-handler-alist' be nil, the local file name part
18079 could look remotely (for example on VMS).
18080
18081 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
18082
18083 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
18084 from here...
18085 (flyspell-post-command-hook): ...to here.
18086
18087 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
18088
18089 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
18090 if not needed.
18091 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
18092 using completion. Protect against "slow" callers.
18093 Remove the "message hack".
18094
18095 2011-10-11 Juri Linkov <juri@jurta.org>
18096
18097 * isearch.el (isearch-lazy-highlight-word): New variable.
18098 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
18099 Use it. (Bug#9727)
18100
18101 2011-10-11 Glenn Morris <rgm@gnu.org>
18102
18103 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
18104 like f90-previous-statement does.
18105
18106 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18107
18108 * eshell/eshell.el (eshell-command): History should be saved
18109 only in interactive use, to avoid error.
18110
18111 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
18112
18113 * minibuffer.el (completion-file-name-table): Fix last change,
18114 i.e. ignore normal errors but not the other ones.
18115
18116 2011-10-10 Martin Rudalics <rudalics@gmx.at>
18117
18118 * window.el (special-display-buffer-names)
18119 (special-display-regexps): Remove some remnants of earlier
18120 changes from doc-strings.
18121 (quit-windows-on): New function.
18122
18123 * vc/vc.el (vc-revert, vc-rollback):
18124 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
18125 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
18126 (Bug#6183) (Bug#7074) (Bug#7447)
18127
18128 2011-10-09 Martin Rudalics <rudalics@gmx.at>
18129
18130 * window.el (frame-auto-hide-function): Add version tag.
18131 (Bug#9699)
18132
18133 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
18134
18135 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
18136 condition.
18137
18138 2011-10-09 Leo Liu <sdl.web@gmail.com>
18139
18140 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
18141 (Bug#9701)
18142
18143 2011-10-08 Glenn Morris <rgm@gnu.org>
18144
18145 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
18146 before the first code statement zero indent. (Bug#9690)
18147
18148 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
18149
18150 * simple.el (count-words-region): Always count in the region.
18151 Report the number of lines and characters too.
18152 (count-words): New command, which counts in the buffer if the
18153 region is inactive, as count-words-region used to.
18154 (count-words--message): New function. Handle plurals.
18155 (count-lines-region): Make it an alias for count-words-region.
18156
18157 * bindings.el (esc-map): Replace count-lines-region with
18158 count-words-region.
18159
18160 2011-10-08 Martin Rudalics <rudalics@gmx.at>
18161
18162 * window.el (window--delete): Delete dedicated frame
18163 unconditionally when argument KILL is non-nil. (Bug#9699)
18164 (switch-to-buffer): Fix doc-string typo.
18165
18166 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18167
18168 * eshell/eshell.el (eshell-command): Avoid using hooks.
18169
18170 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
18171
18172 * bindings.el ([M-left],[M-right]): Bind to left-word and
18173 right-word respectively.
18174
18175 2011-10-07 Glenn Morris <rgm@gnu.org>
18176
18177 * cus-start.el (debug-on-quit): Fix custom type.
18178
18179 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
18180
18181 * subr.el (define-key-after): Clarify that the function is not
18182 useful for non-menu keymaps.
18183
18184 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
18185
18186 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18187
18188 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
18189 in current minibuffer (Fix bug with recursive minibuffers).
18190
18191 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
18192
18193 * progmodes/gdb-mi.el (gdb): Doc fix.
18194
18195 2011-10-05 Martin Rudalics <rudalics@gmx.at>
18196
18197 * window.el (frame-auto-hide-function): New option replacing
18198 frame-auto-delete. Suggested by Stefan Monnier.
18199 (window--delete): Call frame-auto-hide-function instead of
18200 investigating frame-auto-delete.
18201 (window-point-1, set-window-point-1): New functions.
18202 (window-in-direction, record-window-buffer, window-state-get-1)
18203 (display-buffer-record-window): Use window-point-1 instead of
18204 window-point.
18205 (set-window-buffer-start-and-point): Use set-window-point-1.
18206
18207 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18208
18209 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
18210
18211 2011-10-05 Glenn Morris <rgm@gnu.org>
18212
18213 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
18214 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
18215
18216 2011-10-05 Leo Liu <sdl.web@gmail.com>
18217
18218 * subr.el (read-char-choice): Fix argument to buffer-live-p which
18219 works with buffer object.
18220
18221 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18222
18223 * mpc.el (mpc-tool-bar-map): Add labels.
18224
18225 2011-10-04 Glenn Morris <rgm@gnu.org>
18226
18227 * calendar/holidays.el (calendar-check-holidays): Doc fix.
18228
18229 2011-10-04 Martin Rudalics <rudalics@gmx.at>
18230
18231 * window.el (window--delete): New function.
18232 (frame-auto-delete): Resuscitate option.
18233 (bury-buffer, replace-buffer-in-windows)
18234 (quit-window): Rewrite using window--delete.
18235 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
18236 Pass display-buffer-mark-dedicated to window--display-buffer-2
18237 (Bug#9639).
18238
18239 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
18240
18241 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
18242 returns a list (bug#9554). Add remote file name completion.
18243 * comint.el (comint--table-subvert): Curry and get quote&unquote
18244 functions as arguments.
18245 (comint--complete-file-name-data): Adjust call accordingly.
18246 * pcomplete.el (pcomplete--table-subvert): Remove.
18247 (pcomplete-completions-at-point): Use comint--table-subvert instead.
18248
18249 * minibuffer.el (completion-table-case-fold): Use currying.
18250 (completion--styles-type, completion--cycling-threshold-type):
18251 New constants.
18252 (completion-styles, completion-category-overrides)
18253 (completion-cycle-threshold): Use them.
18254 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
18255 completion-table-case-fold.
18256
18257 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
18258
18259 * minibuffer.el (completion-category-overrides): Fix type of styles
18260 and add more user friendly tags (bug#9660).
18261
18262 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
18263
18264 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
18265 (mule-input-method-string): New widget.
18266 (default-input-method, language-info-custom-alist): Use it.
18267
18268 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
18269
18270 * pcomplete.el: Require comint.
18271 (pcomplete--common-suffix): Remove.
18272 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
18273 (pcomplete--table-subvert): Sync with comint--table-subvert.
18274 (pcomplete--entries): Use comint-completion-file-name-table.
18275 * comint.el (comint-unquote-filename): Simplify.
18276 (comint-completion-file-name-table): New function (bug#9616).
18277 (comint--complete-file-name-data): Use it.
18278
18279 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
18280 (pcmpl-gnu-tar-buffer): Remove.
18281 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
18282 around. Make sure pcomplete-suffix-list is only changed temporarily.
18283 Don't look inside the tar's file if it's too large.
18284
18285 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
18286
18287 * cus-edit.el (custom-mode-map):
18288 * epa.el (epa-key-list-mode-map):
18289 * man.el (Man-mode-map):
18290 * startup.el (splash-screen-keymap):
18291 * simple.el (special-mode-map): Use scroll-up-command and
18292 scroll-down-command.
18293
18294 * progmodes/idlw-help.el (idlwave-help-mode-map):
18295 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
18296 * net/newst-plainview.el (newsticker-mode-map):
18297 * emulation/ws-mode.el (wordstar-mode-map):
18298 * emulation/vi.el (vi-com-map):
18299 * calc/calc-graph.el (calc-graph-show-dumb):
18300 * term/sun.el (terminal-init-sun):
18301 * term/ns-win.el (global-map):
18302 * progmodes/grep.el (grep-mode-map):
18303 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
18304 * mail/rmail.el (rmail-mode-map):
18305 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
18306
18307 * custom.el (custom-safe-themes, load-theme): Treat value of t for
18308 custom-safe-themes as special.
18309
18310 2011-10-01 Julien Danjou <julien@danjou.info>
18311
18312 * notifications.el (notifications-notify): Fix docstring.
18313
18314 2011-10-01 Per Starbäck <per@starback.se>
18315
18316 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
18317
18318 2011-09-30 Martin Rudalics <rudalics@gmx.at>
18319
18320 * startup.el (command-line-1): Fix last fix by inserting
18321 initial-scratch-message into *scratch* before displaying it.
18322 (Bug#9605) and (Bug#9636)
18323
18324 2011-09-29 Eli Zaretskii <eliz@gnu.org>
18325
18326 * simple.el (line-move): If auto-hscroll-mode is disabled and the
18327 window is hscrolled, move by logical lines. (Bug#9607)
18328 (line-move-visual): Update the doc string to the above effect.
18329
18330 2011-09-29 Martin Rudalics <rudalics@gmx.at>
18331
18332 * window.el (display-buffer-record-window): When WINDOW is the
18333 selected window use `point' instead of `window-point'. (Bug#9626)
18334
18335 * startup.el (command-line-1): Use insert-before-markers when
18336 inserting initial-scratch-message. (Bug#9605)
18337
18338 * help.el (help-window): Remove variable.
18339
18340 2011-09-29 Glenn Morris <rgm@gnu.org>
18341
18342 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
18343
18344 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
18345
18346 * descr-text.el (describe-char-categories): Accept category
18347 descriptions more than one line long.
18348
18349 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
18350
18351 * simple.el (delete-trailing-whitespace): Fix last change.
18352
18353 * progmodes/perl-mode.el (perl-syntax-propertize-function):
18354 Don't confuse "y => 3" as the beginning of a `y' operation.
18355
18356 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
18357 object has more than 4 slots (bug#9613).
18358
18359 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
18360
18361 * subr.el (with-output-to-temp-buffer):
18362 * net/quickurl.el (quickurl, quickurl-browse-url):
18363 Fix typos in docstrings.
18364
18365 2011-09-27 Eli Zaretskii <eliz@gnu.org>
18366
18367 * minibuffer.el (completion-styles)
18368 (completion-category-overrides): Cross reference each other in doc
18369 strings.
18370
18371 2011-09-27 Glenn Morris <rgm@gnu.org>
18372
18373 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
18374 to split-string. (Bug#9606)
18375
18376 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
18377
18378 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
18379 (bug#9615).
18380
18381 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
18382
18383 * emacs-lisp/package.el (list-packages): Fix echo area message.
18384
18385 2011-09-27 Leo Liu <sdl.web@gmail.com>
18386
18387 * ido.el (ido-read-internal): Accept cons cell HIST arg.
18388
18389 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
18390
18391 * net/dbus.el (dbus-unregister-object): Don't release services for
18392 registered signals. (Bug#9581)
18393
18394 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
18395
18396 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
18397 function that picks between cfengine 2 and 3 support
18398 automatically. Update docs accordingly.
18399
18400 2011-09-22 Kenichi Handa <handa@m17n.org>
18401
18402 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
18403 ZERO.
18404 (indian-itrans-v5-table-for-tamil): New variable.
18405 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
18406
18407 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
18408
18409 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
18410 that's true if the current command involved collapsing of text.
18411 It's reset to false at the beginning of the next command.
18412 (allout-post-command-business): Move the cursor to the beginning
18413 of entry if the cursor is hidden and collapsing activity just
18414 happened.
18415
18416 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
18417
18418 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
18419 tracking (Bug#9541).
18420
18421 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
18422
18423 * net/newst-reader.el (newsticker-html-renderer)
18424 (newsticker-show-news): Automatically load html rendering package
18425 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
18426 because w3m-fill-column is let-bound" and the error "Symbol's value
18427 as variable is void: w3m-fill-column".
18428
18429 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
18430
18431 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
18432 Release services only if they are defined. (Bug#9581)
18433
18434 2011-09-23 Richard Stallman <rms@gnu.org>
18435
18436 * textmodes/paragraphs.el (forward-sentence): For backwards case,
18437 distinguish start of paragraph from start of its text.
18438
18439 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
18440
18441 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
18442 (rmail-generate-viewer-buffer): Put that hook on view buffer.
18443 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
18444
18445 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
18446
18447 * international/mule-diag.el (mule-diag): Insert a newline after
18448 each fontset description.
18449
18450 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18451
18452 * simple.el (delete-trailing-whitespace):
18453 Document last change; simplify.
18454
18455 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
18456
18457 * simple.el (delete-trailing-whitespace): Also delete
18458 extra newlines at the end of the buffer.
18459
18460 * textmodes/picture.el: Make motion commands obey shift-select-mode.
18461 (picture-newline): Use forward-line so as to ignore fields.
18462
18463 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18464
18465 * subr.el (with-wrapper-hook): Fix edebug spec.
18466
18467 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
18468
18469 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
18470 (bug#4538).
18471
18472 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
18473
18474 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
18475 Fix nasty bug using wrong cached values.
18476
18477 2011-09-23 Alan Mackenzie <acm@muc.de>
18478
18479 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
18480
18481 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
18482
18483 * window.el (pop-to-buffer): Ensure right window is selected if we
18484 chose another frame.
18485
18486 2011-09-22 Eli Zaretskii <eliz@gnu.org>
18487
18488 * simple.el (what-cursor-position): Use get-char-property-change
18489 and next-single-char-property-change, to be able to show display
18490 properties that come from overlays as well as text properties.
18491
18492 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
18493
18494 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
18495
18496 * cmuscheme.el (run-scheme, switch-to-scheme):
18497 * cus-edit.el (customize-group, custom-buffer-create)
18498 (customize-browse):
18499 * info.el (info):
18500 * shell.el (shell):
18501 * mail/sendmail.el (mail):
18502 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
18503
18504 2011-09-22 Richard Stallman <rms@gnu.org>
18505
18506 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
18507 move back only to line beg, don't move back over blank lines.
18508
18509 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
18510
18511 * files.el (copy-directory): Set directory attributes only in case
18512 they could be retrieved from the source directory. (Bug#9565)
18513
18514 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
18515
18516 * progmodes/hideshow.el (hs-looking-at-block-start-p)
18517 (hs-find-block-beginning, hs-hide-level-recursive):
18518 Ignore strings as well as comments. (Bug#9502)
18519
18520 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
18521
18522 * progmodes/sql.el (sql-comint-postgres):
18523 Convert port number to a string. (Bug#9566)
18524
18525 2011-09-22 Martin Rudalics <rudalics@gmx.at>
18526
18527 * window.el (quit-window): Undedicate window when switching to
18528 previous buffer. Reported by Thierry Volpiatto
18529 <thierry.volpiatto@gmail.com>.
18530 (special-display-popup-frame): When popping up a new frame reset
18531 its previous buffers to nil. Simplify code.
18532
18533 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
18534
18535 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
18536 and process filter, as done also in `shell-command'.
18537
18538 2011-09-21 Martin Rudalics <rudalics@gmx.at>
18539
18540 * window.el (set-window-buffer-start-and-point):
18541 Call set-window-start with NOFORCE argument t.
18542 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
18543 (quit-window): Reword doc-string. Handle new format of
18544 quit-restore parameter. Don't delete window if it has a
18545 previous buffer we can show instead of the present one.
18546 (display-buffer-record-window): Rewrite using a new format for
18547 the quit-restore window parameter
18548 (special-display-popup-frame, display-buffer-same-window)
18549 (display-buffer-reuse-window, display-buffer-pop-up-frame)
18550 (display-buffer-pop-up-window, display-buffer-use-some-window):
18551 Adapt symbol passed to display-buffer-record-window.
18552 * help.el (help-window-setup): Handle new format of quit-restore
18553 parameter.
18554
18555 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
18556
18557 * faces.el (face-list): Fix docstring (bug#9564).
18558
18559 * window.el (display-buffer--action-function-custom-type):
18560 Don't include internal functions in the Custom interface.
18561
18562 2011-09-20 Juri Linkov <juri@jurta.org>
18563
18564 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
18565 (Info-forward-node, Info-backward-node, Info-next-preorder)
18566 (Info-last-preorder): Use it. (Bug#9528)
18567
18568 2011-09-20 Juri Linkov <juri@jurta.org>
18569
18570 * info.el (Info-last-preorder): Visit last menu item only when
18571 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
18572
18573 2011-09-20 Julien Danjou <julien@danjou.info>
18574
18575 * password-cache.el (password-cache-remove): Remove entries even if the
18576 value is nil, so that password with a nil value (negative caching) is
18577 possible to invalidate.
18578
18579 2011-09-20 Lawrence Mitchell <wence@gmx.li>
18580
18581 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
18582 all whitespace around breakpoint. (Bug#9553)
18583 (f90-find-breakpoint): Only break at whitespace inside a comment.
18584
18585 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
18586
18587 * minibuffer.el (completion-file-name-table): Keep track of errors.
18588 (completion-table-with-predicate): Handle the case where pred1 is nil.
18589 * pcomplete.el (pcomplete-completions-at-point): Simplify.
18590
18591 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
18592
18593 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
18594 (debugger-return-value): Signal an error if the debugging context does
18595 not await any return value.
18596
18597 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
18598 * image-mode.el (image-toggle-display-text)
18599 (image-toggle-display-image): Stay away from evil `intangible'.
18600
18601 2011-09-19 Leo Liu <sdl.web@gmail.com>
18602
18603 * replace.el (occur-revert-arguments): Make it permanent-local.
18604 (occur-mode): Don't call font-lock-defontify.
18605
18606 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
18607
18608 * net/ldap.el (ldap-search-internal): Don't push empty search
18609 result (Bug#9508).
18610
18611 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
18612
18613 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
18614
18615 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
18616
18617 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
18618 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
18619
18620 2011-09-18 Juri Linkov <juri@jurta.org>
18621
18622 * buff-menu.el (Buffer-menu-mode-map):
18623 * dired.el (dired-mode-map):
18624 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
18625 (lisp-interaction-mode-map):
18626 * emacs-lisp/package.el (package-menu-mode-map):
18627 * epa.el (epa-key-list-mode-map):
18628 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
18629 (menu-bar-options-menu):
18630 * outline.el (outline-mode-menu-bar-map):
18631 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
18632 * vc/vc-dir.el (vc-dir-menu-map):
18633 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
18634 Capitalize non-function content words in menu item strings.
18635
18636 * dired.el (dired-mode-map): Add menu item for
18637 `image-dired-dired-toggle-marked-thumbs'.
18638
18639 2011-09-18 Juri Linkov <juri@jurta.org>
18640
18641 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
18642 to `isearch-case-fold-search' and restore its original value
18643 after the `isearch-mode' call.
18644
18645 2011-09-18 Juri Linkov <juri@jurta.org>
18646
18647 * progmodes/grep.el (grep-process-setup): Don't check code for 1
18648 because `zgrep' returns 1 for successful matches (bug#9226).
18649
18650 2011-09-18 Juri Linkov <juri@jurta.org>
18651
18652 * info.el (Info-extract-menu-node-name): Check the second match
18653 for empty string (second test-case of bug#9528).
18654 (Info-last-preorder): Let-bind `Info-history' to nil to not add
18655 intermediate nodes to the history (first test-case of bug#9528).
18656
18657 2011-09-18 Juri Linkov <juri@jurta.org>
18658
18659 * info.el (Info-mode-syntax-table): New variable.
18660 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
18661
18662 2011-09-18 Juri Linkov <juri@jurta.org>
18663
18664 * info.el (Info-file-supports-index-cookies):
18665 Increment line-beginning-position's arg from 3 to 4 because makeinfo
18666 outputs one more line for long file names (bug#4142).
18667
18668 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
18669
18670 * newcomment.el (comment-normalize-vars): If prompting for
18671 comment-start, set comment-start-skip too (Bug#8424).
18672
18673 2011-09-18 Johan Bockgård <bojohan@gnu.org>
18674
18675 * icomplete.el: Fix previous fix of Bug#5849.
18676 (icomplete-mode): Don't set completion-show-inline-help.
18677 (icomplete-minibuffer-setup): Set completion-show-inline-help
18678 locally during icompletion.
18679
18680 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
18681
18682 * woman.el (woman2-process-escapes): Don't delete unrecognized
18683 escapes (Bug#7843).
18684
18685 * files.el (inhibit-first-line-modes-regexps): Add image files.
18686 (hack-local-variables-prop-line): Return nil for malformed
18687 prop-lines (Bug#9044).
18688
18689 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
18690
18691 * net/tramp.el (top): Don't require 'shell.
18692 (tramp-methods): Fix docstring.
18693 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
18694 Return complete remote file name. Handle "smb" case.
18695 Use `tramp-tmpdir', if defined for the respective method.
18696 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
18697
18698 * net/tramp-compat.el (top): Require 'shell.
18699
18700 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
18701 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
18702 `tramp-current-host'.
18703 (tramp-get-remote-tmpdir): Remove.
18704
18705 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
18706 `tramp-tmpdir' entries.
18707 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
18708 (tramp-smb-handle-file-attributes): Ignore errors.
18709 (tramp-smb-wait-for-output): Check also for process end.
18710
18711 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
18712
18713 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
18714 when sending QUIT (bug#9312).
18715
18716 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
18717
18718 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
18719 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
18720 occur-mode-display-occurrence.
18721 (occur-edit-mode): Add usage message.
18722 (occur-cease-edit): New command.
18723 (occur-after-change-function): Use text properties to find the
18724 position of the prefix text.
18725 (occur-engine): Set stickiness of prefix text properties.
18726
18727 2011-09-17 Glenn Morris <rgm@gnu.org>
18728
18729 * progmodes/etags.el (complete-tag):
18730 Fix call to completion-in-region. (Bug#9526)
18731
18732 2011-09-17 Juri Linkov <juri@jurta.org>
18733
18734 * textmodes/ispell.el (ispell-word): Add to the error message
18735 the word, ispell program name and current dictionary (bug#9121).
18736 (ispell-tex-arg-end): Capitalize "error" in the error message.
18737
18738 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
18739
18740 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
18741 check. (Bug#4251)
18742
18743 2011-09-17 Juri Linkov <juri@jurta.org>
18744
18745 * window.el (window-safe-min-height, window-safe-min-width):
18746 Fix typos (followup to bug#9522).
18747
18748 2011-09-17 Sven Joachim <svenjoac@gmx.de>
18749
18750 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
18751
18752 2011-09-16 Eli Zaretskii <eliz@gnu.org>
18753
18754 * simple.el (line-move): If goal-column is set, move by logical
18755 lines, not by display lines. (Bug#971)
18756 (next-line, previous-line, goal-column, line-move-visual): Doc fix
18757 to reflect the above change.
18758
18759 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
18760
18761 * image.el (imagemagick-register-types): Use regexp-opt.
18762
18763 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
18764
18765 * window.el (display-buffer-base-action): Rename from
18766 display-buffer-default-action. Make default value empty.
18767 (display-buffer-overriding-action): Convert to defvar.
18768 (display-buffer-fallback-action): New var.
18769
18770 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
18771
18772 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
18773 declaration.
18774 (package--add-to-archive-contents): If there is a duplicate entry
18775 with an older version, remove it.
18776 (package-menu-mark-delete, package-menu-mark-install)
18777 (package-menu-mark-unmark): Make unused args optional.
18778 (package-menu-mark-obsolete-for-deletion):
18779 Use package-menu-get-status instead of a regexp search.
18780 (package-menu-get-status): Use tabulated-list-entry.
18781 (package-menu-mark-upgrades): New command.
18782 (package-menu-mode-map): Bind it to U. Add it to menu bar.
18783 (package-menu-execute): Do installation before deletion.
18784 (package-menu-refresh, package-menu-execute): Use derived-mode-p
18785 instead of checking major-mode.
18786 (package-menu--find-upgrades): New function.
18787
18788 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
18789
18790 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
18791 passwords in the log buffer.
18792 (smtpmail-process-filter): Update the process marker so that the
18793 "broken by peer" status message is inserted in the right place.
18794
18795 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
18796
18797 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
18798 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
18799 bibtex-completion-at-point-function.
18800 (bibtex-completion-at-point-function): Use them.
18801
18802 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
18803
18804 * mpc.el (mpc-constraints-tag-lookup): New function.
18805 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
18806 also to browser "album|playlist".
18807
18808 2011-09-14 Juri Linkov <juri@jurta.org>
18809
18810 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
18811 (isearch-edit-string): Use length of `isearch-string' when
18812 `isearch-fail-pos' returns nil.
18813 (isearch-message): Remove duplicate code and call
18814 `isearch-fail-pos' with arg `t'.
18815
18816 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
18817
18818 * replace.el (occur-mode-goto-occurrence): Don't force using other
18819 window (Bug#9499).
18820
18821 * dired-aux.el (dired-do-chmod): Don't provide initial input.
18822
18823 2011-09-14 Martin Rudalics <rudalics@gmx.at>
18824
18825 * window.el (display-buffer-window): Remove.
18826 (display-buffer-record-window): Use help-setup window parameter
18827 instead of variable display-buffer-window.
18828 (display-buffer-function, special-display-buffer-names)
18829 (special-display-function): Mention help-setup parameter instead
18830 of display-buffer-window in doc-string.
18831 * help.el (help-window-setup): New argument help-window.
18832 Use help-window-setup parameter instead of display-buffer-window.
18833 Reword some messages.
18834 (with-help-window): Pass window used for displaying the buffer
18835 to help-window-setup. Don't set display-buffer-window.
18836
18837 2011-09-13 Glenn Morris <rgm@gnu.org>
18838
18839 * emacs-lisp/debug.el (debugger-make-xrefs):
18840 Preserve point. (Bug#9462)
18841
18842 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
18843
18844 * window.el (window-deletable-p): Use next-frame.
18845
18846 2011-09-13 Martin Rudalics <rudalics@gmx.at>
18847
18848 * window.el (window-auto-delete): Remove.
18849 (window-deletable-p): Remove argument FORCE. Don't deal with
18850 dedication and previous buffers.
18851 (switch-to-prev-buffer): Don't delete window.
18852 (delete-windows-on): Delete a window's frame if and only if the
18853 window is dedicated.
18854 (replace-buffer-in-windows): Delete buffer's window or frame if
18855 and only if window is dedicated.
18856 (quit-window): Handle quit-restore as before last change.
18857 (bury-buffer): Delete window only if window-deletable-p returns t.
18858
18859 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
18860
18861 * window.el (window-deletable-p): Never delete the last frame on a
18862 given terminal.
18863
18864 2011-09-13 Glenn Morris <rgm@gnu.org>
18865
18866 * help.el (describe-key-briefly): Copy previous standard-output change.
18867
18868 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
18869
18870 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
18871
18872 2011-09-13 Glenn Morris <rgm@gnu.org>
18873
18874 * emacs-lisp/lisp-mode.el (lisp-indent-function):
18875 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
18876
18877 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
18878
18879 * dired-aux.el (dired-mark-read-string): Don't return default
18880 value on empty input (Bug#9361).
18881 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
18882 Omit initial minibuffer contents.
18883 (dired-do-chmod): Signal an error on empty input.
18884 (dired-mark-read-string): Don't return default on empty input.
18885
18886 * files.el (file-modes-symbolic-to-number): Doc fix.
18887
18888 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18889
18890 * international/mule-cmds.el (ucs-completions): Remove.
18891 (read-char-by-name): Use complete-with-action instead; add metadata.
18892
18893 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
18894
18895 * window.el (display-buffer--action-function-custom-type)
18896 (display-buffer--action-custom-type): New vars.
18897 (display-buffer-alist, display-buffer-default-action)
18898 (display-buffer-overriding-action): Add defcustom types.
18899
18900 * frame.el (delete-other-frames): Doc fix (Bug#276).
18901
18902 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18903
18904 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
18905
18906 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
18907
18908 Change modes that used same-window-* vars to use switch-to-buffer.
18909
18910 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
18911 Use switch-to-buffer.
18912
18913 * cus-edit.el (customize-group, custom-buffer-create)
18914 (customize-browse, custom-buffer-create-other-window):
18915 Use switch-to-buffer or switch-to-buffer-other-window.
18916
18917 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
18918 (Info-prev, Info-up, Info-speedbar-goto-node)
18919 (info-display-manual): Use switch-to-buffer.
18920 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
18921
18922 * mail/sendmail.el (mail): Use switch-to-buffer.
18923 (mail-recover): Use switch-to-buffer-other-window.
18924
18925 * cmuscheme.el (run-scheme, switch-to-scheme):
18926 * ielm.el (ielm):
18927 * shell.el (shell):
18928 * net/rlogin.el (rlogin):
18929 * net/telnet.el (telnet, rsh):
18930 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
18931
18932 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
18933
18934 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
18935
18936 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18937
18938 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
18939 so don't mention it (bug#9301).
18940 (dired-sort-toggle-or-edit): Clarify string further.
18941
18942 * faces.el (face-spec-set-match-display): Make `(type graphic)'
18943 match `x', `w32' and `ns', like the manual says (bug#9029).
18944
18945 * subr.el (eval-after-load): Doc string clarification (bug#9125).
18946 (process-kill-buffer-query-function): Mention the buffer name in
18947 the query.
18948
18949 * image-mode.el (image-next-line): The line parameter is mandatory
18950 (bug#9258).
18951
18952 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
18953 which can be useful (bug#9301).
18954
18955 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
18956
18957 * subr.el (match-string): Mention that the current buffer should
18958 be the same as the search was done in (bug#9282).
18959
18960 * facemenu.el: Disable the remove-* commands if the mark isn't
18961 active (bug#9162).
18962
18963 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
18964
18965 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
18966 of display-buffer.
18967 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
18968
18969 * replace.el (occur-mode-goto-occurrence)
18970 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
18971 and display-buffer.
18972
18973 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
18974 display-buffer.
18975
18976 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
18977 special-display and same-window variables.
18978 (mail-other-window): Use switch-to-buffer-other-window.
18979 (mail-other-frame): USe switch-to-buffer-other-frame.
18980
18981 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
18982 Use display-buffer-other-frame.
18983 (gdb-display-gdb-buffer): Use pop-to-buffer.
18984
18985 * progmodes/gud.el (gud-goto-info): Use info-other-window.
18986
18987 * progmodes/python.el: Don't set same-window-buffer-names.
18988
18989 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
18990
18991 * window.el (display-buffer-alist): Add *Python*.
18992
18993 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
18994
18995 * window.el (display-buffer-alist): Add entry for buffers
18996 previously handled same-window-*.
18997 (display-buffer-alist, display-buffer-default-action)
18998 (display-buffer-overriding-action): Mark as risky.
18999 (display-buffer-alist): Document action function changes.
19000 (display-buffer--same-window-action)
19001 (display-buffer--other-frame-action): New variables.
19002 (switch-to-buffer, display-buffer-other-frame): Use them.
19003 (display-buffer): Rename reuse-frame entry to reusable-frames.
19004 (display-buffer-reuse-selected-window): Function deleted.
19005 (display-buffer-reuse-window): Handle reusable-frames alist entry.
19006 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
19007 (display-buffer-special): New function.
19008 (display-buffer--maybe-pop-up-frame-or-window): Rename from
19009 display-buffer-reuse-or-pop-window. Split off special-display
19010 part into display-buffer-special.
19011 (display-buffer-use-some-window): Don't perform any special
19012 pop-up-frames handling.
19013 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
19014 (display-buffer--maybe-same-window): Rename from
19015 display-buffer-maybe-same-window.
19016
19017 * info.el: Don't set same-window-regexps.
19018 (info-setup): New function.
19019 (info-other-window, info): Call it.
19020
19021 * cus-edit.el: Don't set same-window-regexps.
19022 (customize-group): New argument.
19023 (customize-group-other-window): Use it.
19024 (customize-face, customize-face-other-window): Likewise.
19025 (custom-buffer-create-other-window): Use pop-to-buffer directly.
19026
19027 * net/rlogin.el:
19028 * net/telnet.el:
19029 * progmodes/gud.el: Don't set same-window-regexps.
19030
19031 * cmuscheme.el:
19032 * ielm.el:
19033 * shell.el:
19034 * mail/sendmail.el:
19035 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
19036
19037 2011-09-10 Juri Linkov <juri@jurta.org>
19038
19039 * isearch.el (isearch-edit-string): Remove obsolete mention of
19040 `C-w' (`isearch-yank-word-or-char') from docstring.
19041 (isearch-query-replace): Fix typo in docstring (bug#9466).
19042
19043 2011-09-10 Juri Linkov <juri@jurta.org>
19044
19045 * paren.el (show-paren-function): Don't show escaped parens.
19046 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
19047
19048 2011-09-10 Eli Zaretskii <eliz@gnu.org>
19049
19050 * mail/sendmail.el (mml-to-mime, mml-attach-file)
19051 (mm-default-file-encoding): Remove autoload forms, they are
19052 replaced with autoload cookies in mml.el and mm-encode.el.
19053 (mail-add-attachment): New command.
19054 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
19055 (mail-mode): Mention mail-insert-file and mail-add-attachment in
19056 the doc string.
19057 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
19058
19059 2011-09-10 Reuben Thomas <rrt@sc3d.org>
19060
19061 * simple.el (count-words-region): Use buffer if there's no region
19062 (bug#9429).
19063
19064 2011-09-09 Juri Linkov <juri@jurta.org>
19065
19066 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
19067 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
19068 (wdired-isearch-filter-read-only): New function. (Bug#6362)
19069
19070 2011-09-09 Alan Mackenzie <acm@muc.de>
19071
19072 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
19073 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
19074
19075 2011-09-09 Eli Zaretskii <eliz@gnu.org>
19076
19077 Fix for Savannah bug#9392.
19078 * simple.el (mail-encode-mml): New defvar.
19079
19080 * mail/rmail.el (mail-encode-mml): Add a defvar.
19081 (rmail-enable-mime-composing): Default to t.
19082 (rmail-forward): Use MIME method of forwarding only if both
19083 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
19084 Set mail-encode-mml non-nil if the MIME method was used.
19085
19086 * mail/sendmail.el (mml-to-mime): Add autoload form.
19087 (mail-encode-mml): Add a defvar.
19088 (mail-mode): Make mail-encode-mml buffer-local and initialize it
19089 to nil.
19090 (mail-send): If mail-encode-mml is non-nil, run the outgoing
19091 message through mml-to-mime, and reset mail-encode-mml to nil.
19092
19093 2011-09-09 Glenn Morris <rgm@gnu.org>
19094
19095 * woman.el (woman-if-body): When processing an .el block,
19096 do not delete the next .el block as well. (Bug#9447)
19097 (woman-special-characters): Add oq, cq, and hy characters.
19098
19099 2011-09-08 Martin Rudalics <rudalics@gmx.at>
19100
19101 * window.el (window-deletable-p): Make sure window is live before
19102 invoking window-prev-buffers.
19103
19104 2011-09-08 Leo Liu <sdl.web@gmail.com>
19105
19106 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
19107
19108 2011-09-08 Juri Linkov <juri@jurta.org>
19109
19110 * progmodes/compile.el (compilation-environment): Make it
19111 a defcustom (bug#8340).
19112
19113 2011-09-08 Martin Rudalics <rudalics@gmx.at>
19114
19115 * window.el (frame-auto-delete): Rename to window-auto-delete.
19116 Make it control auto-deletion of windows and/or frames.
19117 (window-deletable-p): New argument FORCE. Rewrite conditions
19118 for deleting window/frame. (Bug#9419)
19119 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
19120 Rewrite handling of case when window/frame can be deleted.
19121 (delete-windows-on): Call window-deletable-p with new FORCE
19122 argument t. (Bug#9456)
19123
19124 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
19125
19126 * help-mode.el (help-mode): Restore autoload.
19127
19128 2011-09-07 Juri Linkov <juri@jurta.org>
19129
19130 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
19131 `compilation-environment'. Set buffer-local
19132 `compilation-environment' to `thisenv' later after (funcall mode).
19133 (Bug#8340)
19134
19135 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
19136 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
19137 instead of replacing its value. (Bug#8340)
19138
19139 2011-09-07 Juri Linkov <juri@jurta.org>
19140
19141 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
19142 based on text properties put by `grep-filter' instead of matching
19143 escape sequences.
19144 (grep-mode): Set buffer-local `compilation-error-screen-columns'
19145 to the value of `grep-error-screen-columns' (bug#9438).
19146
19147 2011-09-07 Juri Linkov <juri@jurta.org>
19148
19149 * simple.el (next-error-highlight, next-error-highlight-no-select):
19150 Doc fix (bug#9432).
19151
19152 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
19153
19154 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
19155 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
19156
19157 2011-09-07 Leo Liu <sdl.web@gmail.com>
19158
19159 * net/rcirc.el (rcirc-mode): Conditionally initialize
19160 rcirc-input-ring.
19161
19162 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
19163
19164 * emacs-lisp/find-func.el (find-function-C-source): Only set
19165 find-function-C-source-directory after checking that we found a source
19166 file there (bug#9440).
19167
19168 2011-09-06 Alan Mackenzie <acm@muc.de>
19169
19170 * isearch.el (isearch-other-meta-char): Wherever a key list is
19171 unread, "unread" the prefix arg, too. This fixes bug #8901.
19172
19173 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
19174
19175 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
19176
19177 2011-09-05 Juri Linkov <juri@jurta.org>
19178
19179 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
19180
19181 2011-09-05 Juri Linkov <juri@jurta.org>
19182
19183 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
19184 keeping point where processing of grep matches begins, and
19185 continue to delete remaining escape sequences from the same point.
19186 (grep-filter): Make leading zero optional in "0?1;31m" because
19187 git-grep emits "\033[1;31m" escape sequences unlike expected
19188 "\033[01;31m" as GNU Grep does (bug#9408).
19189 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
19190
19191 2011-09-05 Juri Linkov <juri@jurta.org>
19192
19193 * subr.el (y-or-n-p): Capitalize "yes".
19194
19195 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
19196
19197 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
19198 `tramp-cache-unload-hook' where appropriate.
19199 (tramp-methods): Rename `tramp-remote-sh' to
19200 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
19201 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
19202
19203 * net/tramp-sh.el (top): Don't require 'shell.
19204 (tramp-methods): Add `tramp-remote-shell' and
19205 `tramp-remote-shell-args' entries.
19206 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
19207 (tramp-sh-handle-shell-command): Remove.
19208 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
19209 Use `tramp-remote-shell'.
19210
19211 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
19212
19213 * mail/sendmail.el (sendmail-query-once-function): Delete.
19214 (sendmail-query-once): Save directly to send-mail-function.
19215 Update message-send-mail-function too.
19216
19217 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
19218
19219 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
19220
19221 * progmodes/python.el (python-mode-map): Use correct function to
19222 start python interpreter from menu-bar (as reported by Geert
19223 Kloosterman).
19224 (inferior-python-mode-map): Fix typo.
19225 (python-shell-map): Remove.
19226
19227 2011-09-03 Deniz Dogan <deniz@dogan.se>
19228
19229 * net/rcirc.el (rcirc-print): Simplify code for
19230 rcirc-scroll-show-maximum-output. There is no need to walk
19231 through all windows to find the right one.
19232
19233 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
19234
19235 * help.el (help-return-method): Doc fix.
19236
19237 2011-09-03 Martin Rudalics <rudalics@gmx.at>
19238
19239 * window.el (window-deletable-p): Don't return a non-nil value
19240 when there's a buffer that was shown in the window before.
19241 (Bug#9419)
19242 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
19243 Set window's previous buffers to nil.
19244
19245 2011-09-03 Eli Zaretskii <eliz@gnu.org>
19246
19247 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
19248 newline before and after the tag line, so it doesn't interfere
19249 with determining the paragraph direction of bidirectional text.
19250
19251 2011-09-03 Leo Liu <sdl.web@gmail.com>
19252
19253 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
19254
19255 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
19256
19257 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
19258 (pop-to-buffer): Change interactive spec. Pass second argument
19259 directly to display-buffer.
19260 (display-buffer): Fix interactive spec. Use functionp to
19261 distinguish between a function and a list of functions.
19262
19263 * abbrev.el (edit-abbrevs):
19264 * arc-mode.el (archive-extract):
19265 * autoinsert.el (auto-insert):
19266 * bookmark.el (bookmark-bmenu-list):
19267 * files.el (find-file):
19268 * view.el (view-buffer):
19269 * progmodes/compile.el (compilation-goto-locus):
19270 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
19271
19272 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
19273
19274 * window.el (display-buffer-alist): Doc fix.
19275 (display-buffer): Add docstring. Don't treat
19276 display-buffer-default specially.
19277 (display-buffer-reuse-selected-window)
19278 (display-buffer-same-window, display-buffer-maybe-same-window)
19279 (display-buffer-reuse-window, display-buffer-pop-up-frame)
19280 (display-buffer-pop-up-window)
19281 (display-buffer-reuse-or-pop-window)
19282 (display-buffer-use-some-window): New functions.
19283 (display-buffer-default-action): Use them.
19284 (display-buffer-default): Delete.
19285 (pop-to-buffer-1): Fix choice of actions.
19286
19287 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
19288
19289 * minibuffer.el (completion--insert-strings): Don't get confused by
19290 completion entries that end with an LF char.
19291
19292 2011-09-01 Eli Zaretskii <eliz@gnu.org>
19293
19294 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
19295
19296 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
19297
19298 * window.el (display-buffer): Restore interactive spec.
19299 (display-buffer-same-window, display-buffer-other-window):
19300 New functions.
19301 (pop-to-buffer-1): New function. Use the above.
19302 (pop-to-buffer, pop-to-buffer-same-window): Use it.
19303 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
19304
19305 * view.el (view-buffer-other-window, view-buffer-other-frame):
19306 Just use pop-to-buffer.
19307
19308 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19309
19310 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
19311
19312 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
19313
19314 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
19315
19316 2011-08-31 Richard Stallman <rms@gnu.org>
19317
19318 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
19319 of the separation of rmail-view-buffer from rmail-buffer.
19320 If you say no to "replace original", the decrypt is in the
19321 view buffer. If you say yes, the decrypt goes into the
19322 rmail buffer also.
19323
19324 2011-08-31 Martin Rudalics <rudalics@gmx.at>
19325
19326 * window.el (display-buffer-window): Rewrite doc-string.
19327 (display-buffer-record-window): New function.
19328 (display-buffer-macro-specifiers)
19329 (display-buffer-even-window-sizes, display-buffer-set-height)
19330 (display-buffer-set-width, display-buffer-in-window)
19331 (display-buffer-reuse-window, display-buffer-split-specifiers)
19332 (display-buffer-side-specifiers, display-buffer-split-window-1)
19333 (display-buffer-split-window, display-buffer-split-atom-window)
19334 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
19335 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
19336 (display-buffer-other-window-means-other-frame)
19337 (display-buffer-normalize-special)
19338 (display-buffer-normalize-default)
19339 (display-buffer-normalize-argument)
19340 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
19341 (display-buffer-normalize-specifiers, display-buffer-frame)
19342 (display-buffer-same-window, display-buffer-same-frame)
19343 (display-buffer-other-window)
19344 (display-buffer-same-frame-other-window)
19345 (display-buffer-other-frame, pop-to-buffer-same-window)
19346 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
19347 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
19348 (switch-to-buffer-same-frame)
19349 (switch-to-buffer-other-window-same-frame)
19350 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
19351 (display-buffer-alist-set-1, display-buffer-alist-set-2)
19352 (display-buffer-alist-set): Remove.
19353 (display-buffer-function, special-display-buffer-names)
19354 (special-display-regexps, special-display-function):
19355 In doc-string refer to display-buffer-window and quit-restore
19356 parameter.
19357 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
19358 (special-display-frame-alist, special-display-popup-frame)
19359 (same-window-buffer-names, same-window-regexps, same-window-p)
19360 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
19361 (split-window-preferred-function, split-height-threshold)
19362 (split-width-threshold, window-splittable-p)
19363 (split-window-sensibly, window--try-to-split-window)
19364 (window--frame-usable-p, even-window-heights)
19365 (window--even-window-heights, window--display-buffer-1)
19366 (window--display-buffer-2, display-buffer-other-frame):
19367 Restore old Emacs 23 code, order and doc-strings where applicable.
19368 (display-buffer-default, display-buffer-assq-regexp): New functions.
19369 (display-buffer-alist): Rewrite doc-string.
19370 (display-buffer-default-action)
19371 (display-buffer-overriding-action): New variables.
19372 (display-buffer, switch-to-buffer): Rewrite.
19373 (pop-to-buffer): Restore Emacs 23 behavior but use
19374 window-normalize-buffer-to-display.
19375 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
19376 Restore Emacs 23 behavior but use
19377 window-normalize-buffer-to-switch-to.
19378 (pop-to-buffer-same-window): Rewrite.
19379 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
19380 Rewrite using Emacs 23 options.
19381
19382 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
19383
19384 * net/tramp.el (tramp-root-regexp): Remove.
19385 (tramp-completion-file-name-regexp-unified)
19386 (tramp-completion-file-name-regexp-separate)
19387 (tramp-completion-file-name-regexp-url): Don't use leading volume
19388 letter on w32 systems. (Bug#5303, Bug#9311)
19389 (tramp-drop-volume-letter): Simplify definition.
19390 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
19391
19392 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
19393
19394 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
19395 (bug#9356).
19396
19397 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
19398
19399 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
19400
19401 2011-08-29 Juri Linkov <juri@jurta.org>
19402
19403 * isearch.el (isearch-done): Don't display message "Mark saved"
19404 when arg `edit' is non-nil to prevent its flicker in the echo area.
19405
19406 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
19407
19408 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
19409 obsolete packages for deletion.
19410
19411 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
19412
19413 * help-mode.el (help-mode-map): Add special-mode-map to parent.
19414 (help-mode): Derive help-mode from special-mode. Don't invoke
19415 view-mode from help-mode.
19416 (help-xref-override-view-map): Remove.
19417 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
19418 view-mode is not used anymore.
19419
19420 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
19421
19422 * server.el (server-port): Doc fix.
19423
19424 * cus-theme.el (custom-theme-choose-mode): Inherit from
19425 special-mode (Bug#9124).
19426 (custom-theme-choose-mode-map): Add special-mode to parent.
19427
19428 2011-08-28 Alan Mackenzie <acm@muc.de>
19429
19430 * progmodes/cc-fonts.el
19431 (c-make-font-lock-BO-decl-search-function): New function.
19432 (c-basic-matchers-after - "Fontify the clauses after various
19433 keywords"): Extract the three keyword lists for the 3 erroneous
19434 constructs from the list of four, and use the new function above
19435 in place of an old one.
19436
19437 2011-08-28 Deniz Dogan <deniz@dogan.se>
19438
19439 * net/rcirc.el (rcirc-insert-prev-input)
19440 (rcirc-insert-next-input): Remove unused argument.
19441
19442 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19443
19444 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
19445
19446 2011-08-27 Alan Mackenzie <acm@muc.de>
19447
19448 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
19449 handle function pointer parameters properly.
19450
19451 2011-08-27 Martin Rudalics <rudalics@gmx.at>
19452
19453 * window.el (display-buffer-reuse-window): Fix case where
19454 selected window was reused with non-nil OTHER-WINDOW argument.
19455 (Bug#9381)
19456
19457 2011-08-27 Deniz Dogan <deniz@dogan.se>
19458
19459 * net/rcirc.el (rcirc-check-auth-status): Adding support for
19460 oftc's NickServ messages.
19461
19462 2011-08-27 Glenn Morris <rgm@gnu.org>
19463
19464 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
19465
19466 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
19467
19468 * emacs-lisp/package.el (package-install): Call package-initialize
19469 if called interactively.
19470
19471 2011-08-26 Leo Liu <sdl.web@gmail.com>
19472
19473 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
19474
19475 2011-08-25 Juri Linkov <juri@jurta.org>
19476
19477 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
19478 `search-whitespace-regexp' (bug#9364).
19479
19480 2011-08-25 Juri Linkov <juri@jurta.org>
19481
19482 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
19483 `regexp-search-ring' to their global values to protect from
19484 updating by `read-from-minibuffer' (bug#9185).
19485
19486 2011-08-25 Juri Linkov <juri@jurta.org>
19487
19488 * textmodes/ispell.el (ispell-command-loop): Add newline
19489 at the end of the "Use option `i'..." line.
19490
19491 2011-08-25 Juri Linkov <juri@jurta.org>
19492
19493 * battery.el (display-battery-mode): If `battery-status-function'
19494 or `battery-mode-line-format' is nil, display the message and set
19495 `display-battery-mode' to nil (bug#9363).
19496
19497 2011-08-25 Eli Zaretskii <eliz@gnu.org>
19498
19499 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
19500 bidi-string-mark-left-to-right; they are unnecessary now.
19501
19502 2011-08-25 Deniz Dogan <deniz@dogan.se>
19503
19504 * net/quickurl.el: Documentation typo fixes.
19505
19506 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
19507
19508 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
19509
19510 2011-08-25 Glenn Morris <rgm@gnu.org>
19511
19512 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
19513
19514 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
19515 (smtpmail-via-smtp): Handle nil response from smtp.
19516
19517 2011-08-24 Juri Linkov <juri@jurta.org>
19518
19519 * proced.el (proced-marked): Inherit from `error' instead of
19520 `font-lock-warning-face'.
19521
19522 * ibuffer.el (ibuffer-marked-face): Change default face from
19523 `font-lock-warning-face' to `warning'.
19524 (ibuffer-deletion-face): Change default face from
19525 `font-lock-type-face' to `error'.
19526
19527 * battery.el (battery-update): Use the face `error' instead of
19528 `font-lock-warning-face' (bug#6117).
19529
19530 2011-08-24 Juri Linkov <juri@jurta.org>
19531
19532 * faces.el (success): Change face color from "Green3" to
19533 "ForestGreen" on light background (bug#9353).
19534
19535 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
19536
19537 * window.el (quit-window): Rename from quit-restore-window.
19538 Use same arglist as old quit-window.
19539 (frame-auto-delete): Doc fix.
19540
19541 * view.el (view-mode-exit): Use quit-window.
19542
19543 2011-08-24 Juri Linkov <juri@jurta.org>
19544
19545 * isearch.el (isearch-ring-adjust1): Start visiting previous
19546 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
19547 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
19548 for empty search string (when the last search string is reused
19549 automatically) to adjust the isearch ring to the last element and
19550 prepare the correct index for further M-p commands (bug#9185).
19551
19552 2011-08-24 Kenichi Handa <handa@m17n.org>
19553
19554 * international/ucs-normalize.el: If decomposition property of
19555 CHAR is the default one (i.e. a list of CHAR itself), treat it as
19556 nil.
19557 (nfd, nfkd): Likewise.
19558
19559 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
19560
19561 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
19562 from process filters aren't reliably transmitted to the surrounding
19563 accept-process-output.
19564 (mpc-proc-check): New function.
19565 (mpc-proc-sync): Use it (bug#8293)
19566
19567 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
19568
19569 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
19570 Add compatibility functions (bug#9313).
19571
19572 2011-08-23 Eli Zaretskii <eliz@gnu.org>
19573
19574 * cus-start.el (all): Add entry for bidi-paragraph-direction.
19575
19576 * international/uni-bidi.el: Regenerate.
19577
19578 2011-08-23 Kenichi Handa <handa@m17n.org>
19579
19580 * international/charprop.el:
19581 * international/uni-bidi.el:
19582 * international/uni-category.el:
19583 * international/uni-combining.el:
19584 * international/uni-comment.el:
19585 * international/uni-decimal.el:
19586 * international/uni-decomposition.el:
19587 * international/uni-digit.el:
19588 * international/uni-lowercase.el:
19589 * international/uni-mirrored.el:
19590 * international/uni-name.el:
19591 * international/uni-numeric.el:
19592 * international/uni-old-name.el:
19593 * international/uni-titlecase.el:
19594 * international/uni-uppercase.el: Regenerate.
19595
19596 2011-08-23 Martin Rudalics <rudalics@gmx.at>
19597
19598 * help.el (help-window-setup): Fix message displayed when other
19599 window is reused. (Bug#9341)
19600
19601 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
19602
19603 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
19604 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
19605
19606 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
19607 Mark obsolete.
19608 * shell.el (shell-parse-pcomplete-arguments): New function.
19609 (shell-completion-vars): Use it instead (bug#9160).
19610
19611 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
19612
19613 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
19614 strings and comments (bug#9333).
19615
19616 * emacs-lisp/debug.el (debug-arglist): New function.
19617 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
19618 (debug-on-entry-1): Handle interpreted closures (bug#9120).
19619
19620 2011-08-22 Juri Linkov <juri@jurta.org>
19621
19622 * progmodes/compile.el (compilation-mode-font-lock-keywords):
19623 Revert regexp that highlights output switches to its old
19624 pre-2010-10-28 value and remove one `?' from it (bug#9319).
19625
19626 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
19627 to check for empty output (bug#9226).
19628
19629 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
19630
19631 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
19632 symbol-constituent as the default, as that stops font-lock from
19633 working properly (Bug#8843).
19634
19635 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19636
19637 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
19638 `coding-system-for-*' around the process open call to avoid
19639 auth-source side effects.
19640 (smtpmail-try-auth-methods): Expand the secret password.
19641 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
19642 probe hangs.
19643
19644 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
19645
19646 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
19647
19648 * emacs-lisp/find-func.el (find-function-noselect): New arg
19649 lisp-only.
19650
19651 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
19652 signal an error for built-in functions (Bug#6664).
19653
19654 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19655
19656 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
19657 (smtpmail-try-auth-methods): Use it.
19658
19659 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
19660
19661 * font-lock.el (font-lock-fontify-region)
19662 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
19663 (font-lock-default-unfontify-buffer)
19664 (font-lock-default-fontify-region)
19665 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
19666
19667 * progmodes/compile.el (compilation-error-properties):
19668 Fix confusion between file struct and message struct (Bug#9319).
19669 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
19670 `ant' regexp.
19671
19672 * net/browse-url.el (browse-url-firefox): Don't call
19673 browse-url-firefox-sentinel unless using -remote (Bug#9328).
19674
19675 2011-08-20 Glenn Morris <rgm@gnu.org>
19676
19677 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
19678
19679 * tutorial.el (tutorial--default-keys): Update some default bindings.
19680
19681 * files.el (hack-local-variables): Fully ignore case for "mode:".
19682
19683 2011-08-20 Alan Mackenzie <acm@muc.de>
19684
19685 Resolve invalid use of a regexp in regexp-opt.
19686
19687 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
19688 detection for a java annotation.
19689
19690 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
19691 detection for a java annotation.
19692
19693 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
19694 handling for java.
19695 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
19696
19697 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
19698
19699 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
19700 (Bug#9274).
19701
19702 2011-08-20 Alan Mackenzie <acm@muc.de>
19703
19704 Fontify CPP expressions correctly when starting in the middle of
19705 such a construct. Mainly for when jit-lock etc. starts a chunk
19706 here.
19707
19708 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
19709 variable.
19710 (c-make-font-lock-search-form): New function, extracted from
19711 c-make-font-lock-search-function.
19712 (c-make-font-lock-search-function): Use the above function.
19713 (c-make-font-lock-context-search-function): New function.
19714 (c-cpp-matchers): Enhance the preprocessor expression case with
19715 the above function
19716 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
19717 which takes an expression.
19718
19719 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
19720
19721 2011-08-20 Martin Rudalics <rudalics@gmx.at>
19722
19723 * window.el (display-buffer-reuse-window)
19724 (display-buffer-pop-up-window): Don't reuse or split a side
19725 window.
19726
19727 2011-08-19 Glenn Morris <rgm@gnu.org>
19728
19729 * files.el (hack-local-variables-prop-line, hack-local-variables):
19730 Downcase "Mode:". (Bug#9331)
19731
19732 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
19733
19734 * international/characters.el: Add L and R categories.
19735
19736 * subr.el (bidi-string-mark-left-to-right): Rename from
19737 string-mark-left-to-right. Use category search.
19738
19739 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
19740
19741 2011-08-18 Juri Linkov <juri@jurta.org>
19742
19743 * faces.el (error, warning, success): New faces with definitions
19744 copied from old default values of `font-lock-warning-face',
19745 `compilation-warning', `compilation-info' (bug#6117).
19746
19747 * font-lock.el (font-lock-warning-face): Inherit from `error'.
19748
19749 * progmodes/compile.el (compilation-error): Inherit from `error'.
19750 (compilation-warning): Inherit from `warning'.
19751 (compilation-info): Inherit from `success'.
19752
19753 * dired.el (dired-marked): Inherit from `warning'.
19754 (dired-flagged): Inherit from `error'.
19755
19756 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19757
19758 * mail/smtpmail.el (auth-source): Require to avoid problems with
19759 binding variables (bug#9298). Also clean up some unused
19760 autoloads.
19761
19762 * net/network-stream.el (network-stream-open-starttls):
19763 Support using starttls.el without using gnutls-cli.
19764
19765 2011-08-17 Juri Linkov <juri@jurta.org>
19766
19767 * progmodes/grep.el (rgrep): Handle the case when
19768 `grep-find-command' is a cons cell (bug#9278).
19769
19770 2011-08-17 Martin Rudalics <rudalics@gmx.at>
19771
19772 * window.el (display-buffer-pop-up-frame): Run frame creation
19773 function with BUFFER current (as special-display-popup-frame
19774 does). Reported by Drew Adams.
19775
19776 2011-08-17 Daiki Ueno <ueno@unixuser.org>
19777
19778 * epa-mail.el: Simplify GnuPG group expansion using
19779 epg-expand-group.
19780 (epa-mail-group-alist, epa-mail-group-modtime)
19781 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
19782 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
19783 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
19784 Remove.
19785
19786 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
19787
19788 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
19789
19790 2011-08-16 Alan Mackenzie <acm@muc.de>
19791
19792 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
19793 Correct, to avoid the inside of macros.
19794
19795 2011-08-16 Richard Stallman <rms@gnu.org>
19796
19797 * epa-mail.el: Handle GnuPG group definitions.
19798 (epa-mail-group-alist, epa-mail-group-modtime)
19799 (epa-mail-gnupg-conf-file): New variables.
19800 (epa-mail-parse-groups, epa-mail-sync-groups)
19801 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
19802 (epa-mail-expand-recipients): New functions.
19803 (epa-mail-encrypt): Call epa-mail-expand-recipients.
19804
19805 * mail/rmail.el (rmail-epa-decrypt): New command.
19806
19807 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
19808 Don't bind buffer-read-only, just inhibit-read-only.
19809 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
19810 (epa-decrypt-armor-in-region): Make error message clearer.
19811
19812 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
19813
19814 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
19815 and "a2b" to "ab" for `prefix'.
19816
19817 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
19818
19819 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
19820 filter groups.
19821 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
19822 Fourquet (Bug#8804).
19823
19824 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
19825
19826 * startup.el (argi): Declare as global variable (bug#9275).
19827
19828 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
19829
19830 * subr.el (string-mark-left-to-right): Search the entire string
19831 for RTL script, not just the terminating character. Doc fix.
19832
19833 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
19834
19835 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
19836 New function.
19837 (js--regexp-literal, js-syntax-propertize-function): Remove.
19838 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
19839 (js-mode-map): Don't rebind electric keys.
19840 (js-insert-and-indent): Remove.
19841 (js-mode): Setup electric-layout and electric-indent instead.
19842
19843 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
19844
19845 2011-08-12 Daiki Ueno <ueno@unixuser.org>
19846
19847 * epa.el (epa-progress-callback-function): Fix the logic of
19848 displaying progress.
19849 * epa-file.el (epa-file-insert-file-contents): Make progress
19850 display more user-friendly.
19851 (epa-file-write-region): Ditto.
19852
19853 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
19854
19855 * subr.el (string-mark-left-to-right): New function.
19856
19857 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
19858 Use string-mark-left-to-right.
19859 (list-buffers-noselect): Caller changed.
19860
19861 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19862 Use string-mark-left-to-right.
19863 (tabulated-list-print): Recenter after moving point.
19864
19865 2011-08-10 Juri Linkov <juri@jurta.org>
19866
19867 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
19868 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
19869 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
19870
19871 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
19872
19873 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
19874 (Bug#7554).
19875
19876 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
19877
19878 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
19879 character. (Bug#6594)
19880
19881 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
19882
19883 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
19884 (image-dired--with-db-file): New macro.
19885 (image-dired-write-tags, image-dired-remove-tag)
19886 (image-dired-create-gallery-lists, image-dired-write-comments)
19887 (image-dired-get-comment, image-dired-mark-tagged-files)
19888 (image-dired-list-tags, image-dired-gallery-generate): Use it.
19889 (image-dired-gallery-generate): Use insert-file-contents.
19890
19891 * time.el (display-time-world-list, display-time-world-display):
19892 * time-stamp.el (time-stamp-string):
19893 * vc/add-log.el (add-change-log-entry): Use setenv instead of
19894 set-time-zone-rule (Bug#7337).
19895
19896 2011-08-08 Daiki Ueno <ueno@unixuser.org>
19897
19898 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
19899 (epg-error-to-string, epg-errors-to-string): New function.
19900 (epg-wait-for-completion): Reverse errors list.
19901 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
19902 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
19903 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
19904 (epg-sign-keys, epg-generate-key-from-file)
19905 (epg-generate-key-from-string): Format errors by using
19906 epg-errors-to-string (bug#9255).
19907 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
19908
19909 2011-08-07 Juri Linkov <juri@jurta.org>
19910
19911 * faces.el (list-faces-display): Remove extra angle bracket
19912 from `help-mode-map'.
19913
19914 * info.el (Info-history-toc-nodes): Doc fix.
19915
19916 * longlines.el (longlines-mode): Doc fix.
19917
19918 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
19919
19920 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
19921 of statements and in a few more cases (bug#9183).
19922
19923 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
19924 New functions.
19925 (cl-transform-lambda): Use them (bug#9239).
19926
19927 2011-08-05 Martin Rudalics <rudalics@gmx.at>
19928
19929 * window.el (display-buffer-same-window)
19930 (display-buffer-same-frame, display-buffer-other-window)
19931 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
19932 (pop-to-buffer-other-window)
19933 (pop-to-buffer-same-frame-other-window)
19934 (pop-to-buffer-other-frame): Make them defuns.
19935 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
19936
19937 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
19938
19939 * subr.el (make-composed-keymap): Move from C. Change calling
19940 convention, and improve docstring to bring attention to a subtle point.
19941 * minibuffer.el (completing-read-default): Adjust accordingly.
19942
19943 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
19944
19945 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
19946 (tramp-open-shell): Use `tramp-shell-quote-argument'.
19947
19948 * net/trampver.el: Update release number.
19949
19950 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
19951
19952 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
19953 "in" (bug#9190).
19954
19955 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19956
19957 * mail/sendmail.el (sendmail-query-once): Restore the current
19958 buffer after querying (bug#9074).
19959
19960 * dired.el (dired-flagged): Use different faces for marked and
19961 flagged files (bug#6117).
19962
19963 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
19964 (bug#4433).
19965
19966 * ido.el (ido-mode): Switch off the message if called
19967 non-interactively.
19968
19969 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
19970 before 587, since it appears that that's more likely to work for
19971 more people.
19972
19973 * cus-edit.el (custom-file): When running under emacs -q, always
19974 refuse to save the customizations, even if the .emacs file doesn't
19975 exist.
19976
19977 * info.el: Remove the `Info-beginning-of-buffer' function
19978 (bug#8325).
19979
19980 * net/network-stream.el (network-stream-open-starttls):
19981 Use `starttls-available-p' to see whether starttls.el can be used.
19982
19983 2011-08-01 Martin Rudalics <rudalics@gmx.at>
19984
19985 * window.el (display-buffer-in-window): Don't set dedicated status
19986 of window here (Bug#9215).
19987 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
19988 (display-buffer-pop-up-side-window)
19989 (display-buffer-in-side-window): Set dedicated status of window here.
19990
19991 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
19992
19993 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
19994 before binding generated-autoload-file.
19995
19996 2011-08-01 Deniz Dogan <deniz@dogan.se>
19997
19998 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
19999
20000 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
20001
20002 Sync with Tramp 2.2.2.
20003
20004 * net/trampver.el: Update release number.
20005
20006 2011-07-30 Juri Linkov <juri@jurta.org>
20007
20008 * dired-aux.el (dired-touch-initial): Remove function.
20009 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
20010 current time, and `default' to the last modification time of the
20011 current marked file (bug#6887).
20012
20013 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
20014
20015 * simple.el (goto-line): Use string-to-number to provide a
20016 numeric argument to read-number (bug#9163).
20017
20018 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
20019
20020 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
20021 connection process, it could be nil.
20022
20023 2011-07-27 Leo Liu <sdl.web@gmail.com>
20024
20025 Simplify url handling in rcirc-mode.
20026
20027 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
20028 (rcirc-browse-url-at-mouse): Remove.
20029 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
20030
20031 2011-07-26 Alan Mackenzie <acm@muc.de>
20032
20033 Fontify bitfield declarations properly.
20034
20035 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
20036 (c-symbol-chars): Now exported as a lang variable.
20037 (c-not-primitive-type-keywords): New lang variable.
20038
20039 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
20040 QT keyword "more" to prevent "more slots: ...." being spuriously
20041 parsed as a bitfield declaration.
20042
20043 * progmodes/cc-engine.el (c-beginning-of-statement-1):
20044 Refactor and enhance to handle bitfield declarations.
20045 (c-punctuation-in): New function.
20046 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
20047 declarations properly.
20048
20049 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
20050
20051 * calendar/icalendar.el (icalendar--all-events): Take care of
20052 multiple vcalendars in a single file.
20053 (icalendar--convert-float-to-ical): Checkdoc fixes.
20054
20055 2011-07-25 Deniz Dogan <deniz@dogan.se>
20056
20057 * image.el (insert-image): Clarifying docstring.
20058
20059 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
20060
20061 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
20062 `tramp-send-command-and-check' if there is no error.
20063 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
20064
20065 2011-07-22 Alan Mackenzie <acm@muc.de>
20066
20067 Prevent cc-langs.elc being loaded at run time.
20068
20069 * progmodes/cc-mode.el: Remove two autoload forms which loaded
20070 cc-langs.
20071
20072 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
20073 "(require 'cc-langs)". Quote a form so it will evaluate at
20074 (cc-mode's) compilation time.
20075
20076 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
20077
20078 * net/tramp.el (tramp-file-name-handler): Avoid recursive
20079 loading. (Bug#9114)
20080
20081 2011-07-21 Martin Rudalics <rudalics@gmx.at>
20082
20083 * window.el (display-buffer-pop-up-window)
20084 (display-buffer-pop-up-side-window)
20085 (display-buffer-in-side-window): Call display-buffer-set-height
20086 and display-buffer-set-width after setting the new window's
20087 buffer so `fit-window-to-buffer' and friends work on the right buffer.
20088
20089 2011-07-20 Sam Steingold <sds@gnu.org>
20090
20091 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
20092 (etags-tags-included-tables): Call `convert-standard-filename' on
20093 the file names contained in TAGS so that windows Emacs can handle
20094 TAGS files created by cygwin ctags.
20095
20096 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
20097
20098 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
20099 which apparently didn't work.
20100
20101 2011-07-19 Roland Winkler <winkler@gnu.org>
20102
20103 * proced.el (proced-send-signal): For *Marked Processes* buffer
20104 put point at beginning of buffer.
20105
20106 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
20107
20108 * proced.el (proced-format): Make header lines align with the text
20109 (bug#1779).
20110
20111 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
20112
20113 * view.el (view-buffer): Allow running in `special' modes if we're
20114 visiting a file (bug#8615).
20115
20116 2011-07-19 Martin Rudalics <rudalics@gmx.at>
20117
20118 * window.el (display-buffer-alist-of-strings-p)
20119 (display-buffer-alist-set-1, display-buffer-alist-set-2):
20120 New functions.
20121 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
20122 more accurately.
20123
20124 2011-07-18 Alan Mackenzie <acm@muc.de>
20125
20126 Fontify declarators properly when, e.g., a jit-lock chunk begins
20127 inside a declaration.
20128
20129 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
20130
20131 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
20132 New function.
20133 (c-complex-decl-matchers): Insert reference to
20134 c-font-lock-enclosing-decls.
20135
20136 * progmodes/cc-engine.el (c-backward-single-comment):
20137 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
20138 to nil around calls to (forward-comment -1).
20139
20140 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20141
20142 * image.el (put-image): Doc typo fix.
20143
20144 * progmodes/etags.el (tags-search): Doc typo fix.
20145
20146 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
20147 password if we get errors 550 to 554.
20148
20149 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
20150
20151 * net/gnutls.el (gnutls-log-level): Remove.
20152
20153 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
20154 indentation character (bug#6380).
20155
20156 * files.el (buffer-offer-save): Made permanently local (bug#6241).
20157
20158 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
20159 to clarify what the problem is (bug#4291).
20160
20161 * simple.el (current-kill): Clarify what
20162 `interprogram-paste-function' does (bug#7500).
20163 (auto-fill-mode): Document `auto-fill-function' in relation to
20164 `auto-fill-mode' (bug#2470).
20165
20166 2011-07-16 Lawrence Mitchell <wence@gmx.li>
20167
20168 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
20169 method if slot is read-only (bug#9035).
20170
20171 2011-07-16 Martin Rudalics <rudalics@gmx.at>
20172
20173 * frame.el (select-frame-set-input-focus): New argument NORECORD.
20174 * window.el (pop-to-buffer): Select window used even if it was
20175 selected before, see discussion of (Bug#8615), (Bug#6954).
20176 Pass argument NORECORD on to select-frame-set-input-focus.
20177
20178 2011-07-15 Glenn Morris <rgm@gnu.org>
20179
20180 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
20181 Respect help-form.
20182
20183 2011-07-09 Lawrence Mitchell <wence@gmx.li>
20184
20185 * net/gnutls.el (gnutls-min-prime-bits): New variable.
20186 (gnutls-negotiate): Use it.
20187
20188 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20189
20190 * net/gnutls.el (gnutls-negotiate):
20191 Upcase `gnutls-algorithm-priority'.
20192
20193 2011-07-15 Glenn Morris <rgm@gnu.org>
20194
20195 * jka-compr.el (jka-compr-verbose): Move from here...
20196 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
20197 Add missing :version tag.
20198 * info.el: No need to require jka-compr when compiling.
20199
20200 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20201
20202 * net/gnutls.el (gnutls-algorithm-priority): New variable.
20203 (gnutls-negotiate): Use it.
20204
20205 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
20206
20207 * info.el (Info-beginning-of-buffer): New command.
20208 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
20209 announcing `b' as the key (bug#8325).
20210 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
20211
20212 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
20213
20214 * international/mule-cmds.el
20215 (describe-specified-language-support): Make the error message
20216 clearer (bug#8905).
20217
20218 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
20219
20220 * isearch.el (isearch-barrier): Add a doc string, since it's
20221 mentioned in a function doc string (bug#8678).
20222
20223 2011-07-15 Martin Rudalics <rudalics@gmx.at>
20224
20225 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
20226 buffer argument (Bug#9083) and self-identifying label argument.
20227
20228 2011-07-15 Glenn Morris <rgm@gnu.org>
20229
20230 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
20231
20232 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20233
20234 * man.el (Man-fontify-manpage): Fix message when formatting the
20235 man page (bug#7929).
20236
20237 2011-07-14 Eli Zaretskii <eliz@gnu.org>
20238
20239 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
20240 argument LRM; if non-nil, append an invisible LRM character to the
20241 buffer name.
20242 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
20243 last argument non-nil, when formatting buffer names.
20244 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
20245 paragraph direction.
20246
20247 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20248
20249 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
20250 the man page name (bug#7929).
20251
20252 * image.el (put-image): Mention the `put-image' overlay property
20253 (bug#7834).
20254
20255 * scroll-bar.el (set-scroll-bar-mode): Mention that
20256 `scroll-bar-mode' lists the values (bug#7772).
20257
20258 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
20259 command (bug#7729).
20260
20261 * rect.el (apply-on-rectangle): Return the point after the last
20262 operation.
20263 (string-rectangle): Go to the point after the last operation
20264 (bug#7522).
20265
20266 * printing.el (pr-toggle-region): Clarify the documentation
20267 slightly (bug#7493).
20268
20269 * time.el (display-time-update):
20270 Allow `display-time-mail-function' to return nil (bug#7158).
20271 Fix suggested by Detlev Zundel.
20272
20273 * vc/diff.el (diff): Clarify the order the file names are read
20274 (bug#7111).
20275
20276 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
20277 the doc string (bug#7015).
20278
20279 * font-lock.el (font-lock-maximum-decoration): Mention what
20280 numeric levels mean (bug#6935).
20281
20282 * startup.el (initial-buffer-choice): Don't mention the `none'
20283 selection, which is against policy.
20284
20285 2011-07-14 Martin Rudalics <rudalics@gmx.at>
20286
20287 * window.el (display-buffer-normalize-special):
20288 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
20289
20290 2011-07-14 Eli Zaretskii <eliz@gnu.org>
20291
20292 * subr.el (version<, version<=, version=): Mention "-CVS" and
20293 "-12345" alpha version numbers.
20294
20295 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
20296
20297 * bindings.el: Add advertised binding for set-mark-command
20298 (Bug#5772).
20299
20300 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
20301
20302 * bindings.el (mode-line-other-buffer):
20303 * bookmark.el (bookmark-bmenu-2-window):
20304 * bs.el (bs-cycle-next, bs-cycle-previous):
20305 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
20306 switch-to-buffer.
20307
20308 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
20309 Delete.
20310
20311 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
20312
20313 * follow.el (follow-debug-message, follow-redisplay):
20314 * jka-cmpr-hook.el (with-auto-compression-mode):
20315 Fix typos in docstrings.
20316
20317 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20318
20319 * subr.el (with-silent-modifications): Clarify somewhat what the
20320 macro inhibits (bug#6525).
20321
20322 * simple.el (eval-expression): Note what it does if called
20323 interactively (bug#6495).
20324
20325 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
20326
20327 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
20328 Use pop-to-buffer buffer-or-name if it is nil.
20329
20330 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20331 Remove switch-to-buffer.
20332
20333 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20334
20335 * files.el (make-directory): Clarify that an error will be raised
20336 if there's an error (bug#6397).
20337
20338 * startup.el (initial-buffer-choice): Add `none' as a choice
20339 (bug#6234).
20340
20341 * subr.el (add-hook): Clarify section about buffer-local hooks
20342 (bug#6218).
20343
20344 * dired.el (dired-flagged): Clarify doc string (bug#6117).
20345
20346 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
20347
20348 * tabify.el (untabify): Preserve the current column so that point
20349 doesn't move (bug#6032).
20350
20351 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20352
20353 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
20354 Rewrite to avoid awkward possessive "s" (bug#5986).
20355
20356 2011-07-13 Glenn Morris <rgm@gnu.org>
20357
20358 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
20359 (dired-insert-directory): Give a message the first time
20360 if ls is found not to support --dired.
20361
20362 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20363
20364 * simple.el (toggle-truncate-lines): Clarify what is toggled
20365 (bug#5580). Text by Drew Adams.
20366
20367 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
20368
20369 * simple.el (blink-matching-open): Make the error message from the
20370 last change less verbose.
20371
20372 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
20373
20374 * font-lock.el (font-lock-comment-face): Use the high contrast
20375 "yellow" color for font-lock-comment-face on low color terminals
20376 using a dark background color (bug#4221).
20377
20378 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20379
20380 * dired.el (dired-insert-set-properties): Make the doc string
20381 reflect what it does now (bug#5325).
20382
20383 * simple.el (blink-matching-open): Say that we were unable to find
20384 the match within the limit, if we're limited (bug#5122).
20385
20386 * international/mule-cmds.el (prefer-coding-system): Add an
20387 example (bug#4869).
20388
20389 * progmodes/etags.el (tags-search): Document `file-list-form'
20390 (bug#4731).
20391
20392 2011-07-13 Lawrence Mitchell <wence@gmx.li>
20393
20394 * net/browse-url.el (browse-url-default-browser)
20395 (browse-url-browser-function): Make the default browser choice a
20396 bit more logical (bug#4300). Also clean up the doc string.
20397
20398 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
20399
20400 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
20401 binary endings (bug#4440).
20402
20403 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20404
20405 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
20406 which can be pretty annoying (bug#8971).
20407
20408 * jka-compr.el (jka-compr-verbose): New variable, and use
20409 throughout (bug#8971).
20410
20411 * info.el (Info-find-file): Fall back on the installation
20412 directory if we can't find the info node anywhere else.
20413
20414 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
20415
20416 * vc/vc.el (vc-revert-file):
20417 Don't set file time-stamp in the past. (Bug#5181)
20418
20419 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20420
20421 * files.el (after-find-file): Give a better error message when
20422 trying to find a symlink that points to a file that doesn't exist
20423 (bug#4398).
20424
20425 * progmodes/cc-vars.el: Remove (probably) misleading comment
20426 (bug#4396).
20427
20428 2011-07-12 Johan Bockgård <bojohan@gnu.org>
20429
20430 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
20431
20432 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
20433
20434 * mouse-sel.el: Hack restoring functionality, while keeping
20435 compatibility with 2010-07-03 changes to mouse selection.
20436 (mouse-sel-primary-overlay): New var.
20437 (mouse-sel-selection-alist): Use it.
20438 (mouse-sel-mode): Doc fix; remove points that are default features
20439 of mouse.el.
20440
20441 2011-07-12 Johan Bockgård <bojohan@gnu.org>
20442
20443 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20444 Fix previous fix (bug#2490).
20445
20446 2011-07-12 Roland Winkler <winkler@gnu.org>
20447
20448 * textmodes/bibtex.el (bibtex-initialize):
20449 Use pop-to-buffer-same-window.
20450 (bibtex-search-entries): Fix interactive call.
20451
20452 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20453
20454 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20455 Fontise bytecomp Error lines more correctly (bug#2490).
20456 Fix suggested by Johan Bockgård.
20457
20458 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
20459
20460 * dired-x.el (dired-guess-default): Use `delete-dups'.
20461
20462 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
20463
20464 * dired.el (dired-mark-prompt):
20465 * dired-aux.el (dired-read-shell-command): Doc fix.
20466
20467 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20468
20469 * mail/sendmail.el (sendmail-query-once):
20470 Use `customize-save-variable' unconditionally, now that it works under
20471 emacs -Q.
20472
20473 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
20474
20475 * cus-edit.el (custom-file): Take an optional no-error variable.
20476 (customize-save-variable): Set the variable, and give a warning if
20477 running under "emacs -q".
20478
20479 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
20480
20481 * loadhist.el (unload-feature-special-hooks):
20482 Add `auto-coding-functions', `fill-nobreak-predicate' and
20483 `find-directory-functions' (bug#5327).
20484
20485 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20486
20487 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
20488
20489 * cus-edit.el (custom-guess-name-alist): -alist variables should
20490 use the `alist' type (bug#3120). Suggested by Drew Adams.
20491
20492 * printing.el: Add documentation to all the `pr-toggle-' commands.
20493
20494 2011-07-11 Leo Liu <sdl.web@gmail.com>
20495
20496 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
20497 backends where it makes sense (bug#2623).
20498
20499 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20500
20501 * dired-x.el (dired-guess-default): Remove duplicate shell command
20502 entries (bug#2028).
20503 (dired-guess-default): Fix grammar in doc string (bug#2028).
20504 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
20505
20506 * subr.el (remove-duplicates): New conveniency function.
20507
20508 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
20509
20510 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
20511 (bug#1526).
20512
20513 2011-07-10 Martin Rudalics <rudalics@gmx.at>
20514
20515 * window.el (display-buffer-normalize-default): Don't invert
20516 meaning of even-window-heights. Reported by Eli Zaretskii
20517 <eliz@gnu.org>.
20518
20519 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
20520
20521 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
20522
20523 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
20524
20525 * window.el (display-buffer): Fix arguments to
20526 display-buffer-reuse-window in last change.
20527
20528 * faces.el (link): Use a less saturated blue on light backgrounds.
20529
20530 * startup.el (fancy-startup-text, fancy-about-text)
20531 (fancy-startup-tail): Use font-lock faces, for background safety.
20532
20533 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
20534
20535 * emulation/viper-cmd.el (viper-change-state-to-vi):
20536 Limit triggering of abbrev expansion (Bug#9038).
20537
20538 2011-07-09 Martin Rudalics <rudalics@gmx.at>
20539
20540 * window.el (display-buffer-default-specifiers): Remove.
20541 (display-buffer-macro-specifiers): Remove default specifiers.
20542 (display-buffer-alist): Default to nil.
20543 (display-buffer-reuse-window): New optional argument other-window.
20544 (display-buffer-pop-up-window): Allow splitting internal
20545 windows. Check whether a live window was created.
20546 (display-buffer-other-window-means-other-frame)
20547 (display-buffer-normalize-arguments): Rename to
20548 display-buffer-normalize-argument and rewrite. Set the
20549 other-window specifier.
20550 (display-buffer-normalize-special): New function.
20551 (display-buffer-normalize-options): Rename to
20552 display-buffer-normalize-default and rewrite.
20553 (display-buffer-normalize-options-inhibit): Remove.
20554 (display-buffer-normalize-specifiers): Rewrite.
20555 (display-buffer): Process other-window specifier and call
20556 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
20557 more faithfully.
20558 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
20559 (display-buffer-alist-set): Don't handle 'unset default values.
20560 (display-buffer-in-window, display-buffer-alist-set):
20561 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
20562 <tassilo@member.fsf.org>.
20563
20564 2011-07-09 Leo Liu <sdl.web@gmail.com>
20565
20566 * register.el (insert-register): Restore accidental change on
20567 2011-06-26. (Bug#9028)
20568
20569 2011-07-09 Glenn Morris <rgm@gnu.org>
20570
20571 * subr.el (remq): Handle the empty list. (Bug#9024)
20572
20573 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
20574
20575 * mail/sendmail.el (send-mail-function): No longer delay custom
20576 initialization.
20577 * custom.el (custom-initialize-delay): Doc fix.
20578
20579 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
20580
20581 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
20582
20583 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
20584
20585 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
20586 human-friendly prompt.
20587
20588 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
20589
20590 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
20591 provided by a particular plugin.
20592
20593 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
20594
20595 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
20596 save customizations (with "emacs -Q"), just set the variable
20597 instead of erroring out.
20598
20599 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
20600
20601 2011-07-08 Juri Linkov <juri@jurta.org>
20602
20603 * arc-mode.el (archive-zip-expunge, archive-zip-update)
20604 (archive-zip-update-case): Use 7z if found by `executable-find'.
20605 The order of searching the available programs is the same as in
20606 `archive-zip-extract' (bug#8968).
20607
20608 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20609
20610 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
20611 (menu-bar-options-menu): Tweak descriptions.
20612
20613 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
20614
20615 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
20616 menu items into verb phrases (bug#1421). Also refill to fit under
20617 80 columns.
20618
20619 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20620
20621 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
20622 (Info-read-node-name): Doc fix (Bug#1084).
20623
20624 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
20625 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
20626 (end-of-sexp, beginning-of-sexp)
20627 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
20628 (forward-symbol, forward-same-syntax, word-at-point)
20629 (sentence-at-point): Doc fix (Bug#1144).
20630
20631 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
20632
20633 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
20634 should cover it (bug#1281).
20635
20636 * cus-edit.el (custom-show): Mark as obsolete.
20637
20638 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
20639 negotiation fails, then possibly try again with a non-encrypted
20640 connection (bug#9017).
20641
20642 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
20643 be used.
20644
20645 2011-07-07 Richard Stallman <rms@gnu.org>
20646
20647 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
20648 property, and handle its changed format.
20649 Look for the correct line number.
20650 Use file's line contents (but not past first =) to find
20651 correct line in message.
20652
20653 2011-07-07 Kenichi Handa <handa@m17n.org>
20654
20655 * international/characters.el (build-unicode-category-table):
20656 Delete it.
20657 (unicode-category-table): Set it by unicode-property-table-internal.
20658
20659 * international/mule-cmds.el (char-code-property-alist): Move to
20660 to src/chartab.c.
20661 (get-char-code-property): Call unicode-property-table-internal to
20662 load a file. Call get-unicode-property-internal where necessary.
20663 (put-char-code-property): Call unicode-property-table-internal to
20664 load a file. Call put-unicode-property-internal where necessary.
20665 put-unicode-property-internal where necessary.
20666 (char-code-property-description):
20667 Call unicode-property-table-internal to load a file.
20668
20669 * international/charprop.el:
20670 * international/uni-bidi.el:
20671 * international/uni-category.el:
20672 * international/uni-combining.el:
20673 * international/uni-comment.el:
20674 * international/uni-decimal.el:
20675 * international/uni-decomposition.el:
20676 * international/uni-digit.el:
20677 * international/uni-lowercase.el:
20678 * international/uni-mirrored.el:
20679 * international/uni-name.el:
20680 * international/uni-numeric.el:
20681 * international/uni-old-name.el:
20682 * international/uni-titlecase.el:
20683 * international/uni-uppercase.el: Regenerate.
20684
20685 * loadup.el: Load international/charprop.el before
20686 international/characters.
20687
20688 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20689
20690 * window.el (next-buffer, previous-buffer): Signal an error if
20691 called from a minibuffer window.
20692
20693 * bindings.el: Revert 2011-07-04 change.
20694
20695 2011-07-06 Richard Stallman <rms@gnu.org>
20696
20697 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
20698 (rmail-mime-insert-bulk, rmail-mime-insert-text):
20699 Treat markers like ints.
20700 (rmail-mime-entity): Doc fix.
20701
20702 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20703
20704 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
20705 defcustom again for backwards compatibility.
20706
20707 * simple.el (shell-command-on-region): Fill.
20708
20709 * dired-aux.el (dired-kill-line): Add a doc string.
20710
20711 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
20712 to "\\sw\\|\\s_" (bug#358).
20713
20714 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
20715 (dired-unmark-backward): Ditto.
20716 (dired-flag-backup-files): Ditto.
20717
20718 * dired-x.el (dired-mark-sexp): Ditto.
20719
20720 2011-07-06 Richard Stallman <rms@gnu.org>
20721
20722 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
20723 (rmail-mime-entity): New arg TRUNCATED.
20724 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
20725 New functions.
20726 (rmail-mime-save): Warn if entity is truncated.
20727 (rmail-mime-toggle-hidden): Likewise, for showing.
20728 (rmail-mime-process-multipart): Record when an entity is truncated.
20729
20730 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
20731 if ENTITY is a string.
20732
20733 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20734
20735 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
20736 of faces when `M-C-x'-ing their definitions (bug#8378).
20737 Also clean up the code slightly.
20738
20739 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
20740 because that makes the colors go away.
20741
20742 * mail/sendmail.el (send-mail-function): Change the default to
20743 `sendmail-query-once'.
20744 (sendmail-query-once): Add an autoload cookie.
20745
20746 * net/network-stream.el (network-stream-open-starttls): Try using
20747 a plain connection even if the server offered STARTTLS, and we
20748 kinda wanted to use it, if Emacs doesn't have any STARTTLS
20749 capability. This should make smtpmail.el work in slightly more
20750 configurations.
20751
20752 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
20753
20754 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
20755 New defun.
20756 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
20757
20758 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
20759
20760 * progmodes/sql.el: Version 3.0
20761 (sql-product-alist): Add product :completion-object,
20762 :completion-column, and :statement attributes.
20763 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
20764 (sql-mode-syntax-table): Mark all punctuation.
20765 (sql-font-lock-keywords-builder): Temporarily remove fallback on
20766 ansi keywords.
20767 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
20768 (sql-mode-oracle-font-lock-keywords): Improve.
20769 (sql-oracle-show-reserved-words): New function for development.
20770 (sql-product-font-lock): Simplify for source code buffers.
20771 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
20772 New functions.
20773 (sql-highlight-product): Set product specific syntax table.
20774 (sql-mode-map): Add statement movement functions.
20775 (sql-ansi-statement-starters, sql-oracle-statement-starters):
20776 New variable.
20777 (sql-statement-regexp, sql-beginning-of-statement)
20778 (sql-end-of-statement, sql-signum): New functions.
20779 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
20780 (sql-show-sqli-buffer): Bug fix.
20781 (sql-interactive-mode): Store connection data as buffer local.
20782 (sql-connect): Add NEW-NAME parameter. Redesign interaction
20783 with sql-interactive-mode.
20784 (sql-save-connection): Save buffer local settings.
20785 (sql-connection-menu-filter): Change menu entry name.
20786 (sql-product-interactive): Bug fix.
20787 (sql-preoutput-hold): New variable.
20788 (sql-interactive-remove-continuation-prompt): Bug fixes.
20789 (sql-debug-redirect): New variable.
20790 (sql-str-literal): New function.
20791 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
20792 Redesign.
20793 (sql-oracle-save-settings, sql-oracle-restore-settings)
20794 (sql-oracle-list-all, sql-oracle-list-table): New functions.
20795 (sql-completion-object, sql-completion-column)
20796 (sql-completion-sqlbuf): New variables.
20797 (sql-build-completions-1, sql-build-completions)
20798 (sql-try-completion): New functions.
20799 (sql-read-table-name): Use them.
20800 (sql-contains-names): New buffer local variable.
20801 (sql-list-all, sql-list-table): Use it.
20802 (sql-oracle-completion-types): New variable.
20803 (sql-oracle-completion-object, sql-sqlite-completion-object)
20804 (sql-postgres-completion-object): New functions.
20805
20806 2011-07-06 Glenn Morris <rgm@gnu.org>
20807
20808 * window.el (pop-to-buffer): Doc fix.
20809
20810 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
20811
20812 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
20813
20814 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
20815
20816 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
20817
20818 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
20819
20820 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
20821
20822 * button.el (button): Inherit from link face. Suggested by Dan
20823 Nicolaescu.
20824
20825 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20826
20827 * progmodes/gdb-mi.el: Fit in 80 columns.
20828 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
20829 switch-to-buffer.
20830
20831 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
20832 if imenu is simply not configured (bug#8941).
20833
20834 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
20835
20836 * allout.el (allout-post-undo-hook): New allout outline-change
20837 event hook to signal undo activity.
20838 (allout-post-command-business): Run allout-post-undo-hook if an
20839 undo just occurred.
20840 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
20841 * allout-widgets.el (allout-widgets-after-undo-function):
20842 Ensure the integrity of the current item's decoration after it has been
20843 in the vicinity of an undo.
20844 (allout-widgets-mode): Include allout-widgets-after-undo-function
20845 on the new allout-post-undo-hook.
20846
20847 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20848
20849 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
20850 Let define-derived-mode define it.
20851 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
20852 cycles of abbrev-table inheritance (bug#8998).
20853
20854 2011-07-05 Roland Winkler <winkler@gnu.org>
20855
20856 * textmodes/bibtex.el: Add support for biblatex.
20857 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
20858 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
20859 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
20860 (bibtex-entry-alist, bibtex-field-alist): New variables.
20861 (bibtex-entry-field-alist): Obsolete alias for
20862 bibtex-BibTeX-entry-alist.
20863 (bibtex-entry-alist, bibtex-field-alist): New widgets.
20864 (bibtex-set-dialect): New command.
20865 (bibtex-entry-type, bibtex-entry-head)
20866 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
20867 Bind via bibtex-set-dialect.
20868 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
20869 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
20870 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
20871 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
20872 Define via bibtex-set-dialect.
20873 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
20874 Obey bibtex-no-opt-remove-re.
20875 (bibtex-vec-push, bibtex-vec-incr): New functions.
20876 (bibtex-format-entry, bibtex-field-list)
20877 (bibtex-print-help-message, bibtex-validate)
20878 (bibtex-search-entries): Use new format of bibtex-entry-alist.
20879
20880 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20881
20882 * progmodes/compile.el (compilation-goto-locus):
20883 * net/tramp-cmds.el (tramp-append-tramp-buffers):
20884 * bs.el (bs-cycle-next, bs-cycle-previous):
20885 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
20886 * bindings.el (mode-line-other-buffer):
20887 * autoinsert.el (auto-insert):
20888 * arc-mode.el (archive-extract):
20889 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
20890
20891 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20892
20893 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
20894 Fix check of `emacs-lock-unlockable-modes'.
20895 Coerce true values of `emacs-lock--try-unlocking' to t.
20896
20897 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20898
20899 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
20900 * emacs-lock.el: New file.
20901
20902 2011-07-05 Julien Danjou <julien@danjou.info>
20903
20904 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
20905 than `boundp' to check if face is set.
20906
20907 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20908
20909 * register.el (registerv-make):
20910 * window.el (window-min-height): Fix typos in docstrings.
20911
20912 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
20913
20914 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
20915 Update doc string.
20916
20917 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
20918
20919 * server.el (server-execute): Catch quit and call
20920 `server-return-error' to pass the error back to emacsclient and
20921 close the connection (bug#8942).
20922
20923 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
20924
20925 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
20926 insecure exception for current topic. Also note that auto-saves
20927 are handled differently.
20928
20929 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
20930 State variables for tracking auto-save inhibition situation.
20931
20932 (allout-write-contents-hook-handler): Rename from
20933 'allout-write-file-hook-handler', and describe how it depends on
20934 write-contents-functions sensitivity to non-nil value to prevent
20935 file write.
20936
20937 (allout-auto-save-hook-handler): Remove. auto-save does not check
20938 this in individual buffers, only in the starting buffer, so this
20939 is not the right way for us to inhibit auto-save in a buffer
20940 according to its condition.
20941
20942 (allout-mode): Use new allout-write-contents-hook-handler, and
20943 only with write-contents-functions. Remove auto-save provisions -
20944 they're implemented elsewhere.
20945
20946 (allout-before-change-handler): If undo is in progress, note that
20947 for attention of allout-post-command-business.
20948
20949 (allout-post-command-business): If the command we're following was
20950 an undo, check for change in the status of encrypted items and
20951 adjust auto-save inhibitions accordingly.
20952
20953 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
20954 according to whether there are or aren't any plain-text topics
20955 pending encryption.
20956
20957 (allout-inhibit-auto-save-info-for-decryption):
20958 Adjust buffer-saved-size and some allout state to inhibit auto-saves
20959 if there are plain-text topics pending encryption.
20960
20961 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
20962 buffer-saved-size and some allout state to not inhibit auto-saves
20963 if there are no longer any plain-text topics pending encryption.
20964
20965 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
20966 No longer provide for exemption of the current topic.
20967
20968 2011-07-04 Juri Linkov <juri@jurta.org>
20969
20970 Add 7z operations to delete and save changed members (bug#8968).
20971 * arc-mode.el (archive-7z-expunge, archive-7z-update):
20972 New defcustoms.
20973 (archive-7z-write-file-member): New function.
20974 (archive-7z-summarize): Fix the number of dashes in the
20975 listing output.
20976
20977 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
20978
20979 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
20980 (bug#8958).
20981
20982 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
20983
20984 * bindings.el: Ignore next-buffer and previous-buffer in
20985 minibuffer-local-map.
20986
20987 * font-lock.el (font-lock-builtin-face): Change light background
20988 color to dark slate blue (Bug#6693).
20989
20990 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
20991
20992 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
20993
20994 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
20995
20996 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
20997 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20998 Add switch-to-buffer.
20999
21000 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
21001
21002 * isearch.el (isearch-search-fun-function): Clarify further the
21003 meaning of the function returned.
21004
21005 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
21006
21007 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
21008
21009 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
21010 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
21011 Use it.
21012 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
21013 `tramp-default-remote-path' does not exist.
21014 (tramp-send-command-and-read): New optional argument NOERROR.
21015 (tramp-open-connection-setup-interactive-shell)
21016 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
21017 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
21018 (tramp-process-sentinel): Flush also process' connection property.
21019 (tramp-sh-handle-start-file-process): Do not set process
21020 sentinel. It is done now ...
21021 (tramp-maybe-open-connection): ... here. (Bug#8929)
21022
21023 2011-07-04 MON KEY <monkey@sandpframing.com>
21024
21025 * play/animate.el (animate-string): Doc fixes and allow changing
21026 the buffer name (bug#5417).
21027
21028 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
21029
21030 * play/animate.el (animation-buffer-name): Rename from *animate*.
21031
21032 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
21033
21034 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
21035 This is simpler and helps future-proof the code.
21036 (timer-until): Use time-subtract and float-time.
21037 (timer--time-less-p): Use time-less-p.
21038
21039 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
21040
21041 * type-break.el (timep): Use the value of `float-time' to avoid a
21042 byte-compiler warning.
21043
21044 * server.el (server-eval-and-print): Return any result, even nil.
21045
21046 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
21047
21048 * type-break.el: Accept time formats that the builtins accept.
21049 (timep, type-break-time-difference): Accept any format that
21050 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
21051 This is simpler and helps future-proof the code.
21052 (type-break-time-difference): Round rather than ignoring
21053 subseconds components.
21054
21055 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21056
21057 * info.el (Info-apropos-matches): Make non-interactive, since it
21058 doesn't seem to do anything useful as a command (bug#8829).
21059
21060 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
21061
21062 * frame.el (frame-background-mode, frame-set-background-mode):
21063 Move from faces.el.
21064 (frame-default-terminal-background): New function.
21065
21066 * custom.el (custom-push-theme): Don't record faces in `changed'
21067 theme; this doesn't work correctly for per-frame face settings.
21068 (disable-theme): Use face-set-after-frame-default to reset faces.
21069 (custom--frame-color-default): New function.
21070
21071 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21072
21073 * dired.el (dired-flagging-regexp): Remove unused variable
21074 (bug#8769).
21075
21076 2011-03-29 Kevin Ryde <user42@zip.com.au>
21077
21078 * progmodes/compile.el (compilation-error-regexp-alist-alist):
21079 `perl-Test2' extend to match possible "fail #N" rep count
21080 (bug#8377).
21081
21082 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21083
21084 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
21085 `smtpmail-via-smtp' now returns the error instead of nil.
21086
21087 * isearch.el (isearch-search-fun-function): Clarify the doc string
21088 (bug#8101).
21089
21090 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
21091
21092 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
21093 unnecessary spaces (bug#8987).
21094
21095 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21096
21097 * net/network-stream.el (open-network-stream): Use the
21098 :end-of-capability command thoughout.
21099
21100 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
21101
21102 * net/network-stream.el (open-network-stream): Add the
21103 :end-of-capability command parameter, used by pop3.el.
21104
21105 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21106
21107 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
21108
21109 * fringe.el (fringe-query-style): Remove redundant text " (type ?
21110 for list)" (bug#6475).
21111
21112 * files.el (file-expand-wildcards): Ignore non-readable
21113 sub-directories while trying to find matches instead of signaling
21114 an error (bug#6297).
21115
21116 * man.el (Man-reference-regexp): Allow matching possible
21117 word-wrapped references (bug#6289).
21118
21119 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
21120 for consistency with the other vc buffers (bug#6197).
21121 (vc-checkin): Ditto.
21122
21123 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
21124
21125 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
21126
21127 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21128
21129 * custom.el (defcustom): Clarify that :set is only used in the
21130 Customize user interface (bug#6089).
21131
21132 * progmodes/flymake.el (flymake-mode): If the buffer isn't
21133 associated with a file, refuse to run instead of erroring out
21134 (bug#6084).
21135
21136 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
21137 the doc string, since it appears that using `fill-column' always
21138 controls the width (bug#7845).
21139
21140 * simple.el (shell-command-on-region): Say where the error output
21141 went if `shell-command-default-error-buffer' is set (bug#6857).
21142
21143 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
21144
21145 * allout.el (allout-yank-processing): Adjust cursor position for
21146 backwards-deleted space.
21147
21148 (allout-rebullet-heading): Register changes with
21149 allout-exposure-changed-hook, so the modified topic is properly
21150 decorated.
21151
21152 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21153
21154 * minibuffer.el (completion-in-region): Document PREDICATE
21155 (bug#7136).
21156
21157 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
21158 of keyword/argument pairs (bug#6904).
21159
21160 * replace.el (multi-occur):
21161 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
21162
21163 2011-07-02 Drew Adams <drew.adams@oracle.com>
21164
21165 * dired.el (dired-mark-if): Make the message about whether it's
21166 marking or unmarking clearer (bug#8523).
21167
21168 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21169
21170 * disp-table.el (display-table-print-array): New function.
21171 (describe-display-table): Use it to print the vectors more pretty
21172 (Bug#8859).
21173
21174 2011-07-02 Martin Rudalics <rudalics@gmx.at>
21175
21176 * window.el (window-state-get-1): Don't assign clone numbers.
21177 Add clone-of item to list of window parameters.
21178 (window-state-put-2): Don't process clone numbers.
21179 (display-buffer-alist): Fix doc-string.
21180
21181 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
21182
21183 * subr.el (remq): Don't allocate if it's not needed.
21184 (keymap--menu-item-binding, keymap--menu-item-with-binding)
21185 (keymap--merge-bindings): New functions.
21186 (keymap-canonicalize): Use them to refine the canonicalization.
21187 * minibuffer.el (minibuffer-local-completion-map)
21188 (minibuffer-local-must-match-map): Move initialization from C.
21189 (minibuffer-local-filename-completion-map): Move initialization from C;
21190 don't inherit from anything here.
21191 (minibuffer-local-filename-must-match-map): Make obsolete.
21192 (completing-read-default): Use make-composed-keymap to combine
21193 minibuffer-local-filename-completion-map with either
21194 minibuffer-local-must-match-map or
21195 minibuffer-local-filename-completion-map.
21196
21197 2011-07-01 Glenn Morris <rgm@gnu.org>
21198
21199 * type-break.el (type-break-time-sum): Use dolist.
21200
21201 * textmodes/flyspell.el (flyspell-word-search-backward):
21202 Replace CL function.
21203
21204 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21205
21206 * mouse.el (mouse--strip-first-event): New function.
21207 (function-key-map): Use it to map fringe clicks to normal clicks
21208 by default.
21209
21210 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
21211 (vc-bzr-revision-completion-table): Add support for annotate and date.
21212
21213 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
21214 inherit from parent.
21215
21216 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
21217
21218 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
21219 (dired-show-file-type): Doc fixup (bug#8818).
21220
21221 * dired.el (dired-mode): Fix up the doc string as suggested by
21222 Drew Adams (bug#8817).
21223
21224 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
21225 cookie, since the manual says that it should be possible to add
21226 this function to `find-file-hook' (bug#8709).
21227
21228 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
21229
21230 * progmodes/cfengine.el: Moved all cfengine3.el functionality
21231 here. Noted Ted Zlatanov as the maintainer.
21232 (cfengine-common-settings, cfengine-common-syntax): New functions
21233 to set up common things between `cfengine-mode' and
21234 `cfengine3-mode'.
21235 (cfengine3-mode): New mode.
21236 (cfengine3-defuns cfengine3-defuns-regex
21237 (cfengine3-class-selector-regex cfengine3-category-regex)
21238 (cfengine3-vartypes cfengine3-font-lock-keywords)
21239 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
21240 (cfengine3-indent-line): Add from cfengine3.el.
21241
21242 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
21243
21244 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
21245
21246 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
21247
21248 2011-07-01 Martin Rudalics <rudalics@gmx.at>
21249
21250 * window.el (same-window-buffer-names, same-window-regexps)
21251 (same-window-p, special-display-frame-alist)
21252 (special-display-popup-frame, special-display-function)
21253 (special-display-buffer-names, special-display-regexps)
21254 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
21255 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21256 (split-window-preferred-function, split-height-threshold)
21257 (split-width-threshold, even-window-heights)
21258 (display-buffer-mark-dedicated, window-splittable-p)
21259 (split-window-sensibly, window-safely-shrinkable-p):
21260 Un-obsolete.
21261 (display-buffer): Don't spread args with function specifier
21262 because special-display-popup-frame won't like it.
21263
21264 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
21265
21266 Time-stamp simplifications and fixes.
21267 These improve accuracy slightly, and future-proof the code
21268 against some potential changes to current-time format.
21269
21270 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
21271 by using time-since and float-time.
21272
21273 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
21274 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
21275 + NNN microseconds".
21276
21277 * type-break.el (type-break-time-sum): Rewrite using time-add.
21278
21279 * play/hanoi.el (hanoi-current-time-float): Remove.
21280 All uses replaced by float-time.
21281
21282 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
21283 This yields a more-accurate answer.
21284 (rng-time-to-float): Remove; no longer needed.
21285
21286 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
21287
21288 * calendar/timeclock.el (timeclock-seconds-to-time):
21289 Defalias to seconds-to-time, since they're the same thing.
21290
21291 * emacs-lisp/elp.el (elp-elapsed-time):
21292 * emacs-lisp/benchmark.el (benchmark-elapse):
21293 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
21294
21295 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21296
21297 * window.el (bury-buffer): Don't iconify the only frame.
21298 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
21299 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
21300
21301 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
21302
21303 * eshell/em-smart.el (eshell-smart-display-navigate-list):
21304 Add mouse-yank-primary.
21305
21306 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
21307
21308 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
21309
21310 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21311
21312 * emacs-lisp/find-func.el (find-library--load-name): New fun.
21313 (find-library-name): Use it to find relative load names when provided
21314 absolute file name (bug#8803).
21315
21316 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
21317
21318 * textmodes/flyspell.el (flyspell-word): Consider words that
21319 differ only in case as potential doublons (bug#5687).
21320
21321 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
21322 Remove two rather uninteresting debugging-like messages to make
21323 debbugs.el more silent.
21324
21325 * comint.el (comint-password-prompt-regexp): Accept "Response" as
21326 a password-like phrase.
21327
21328 2011-06-30 Masatake YAMATO <yamato@redhat.com>
21329
21330 * progmodes/cc-guess.el: New file.
21331
21332 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
21333
21334 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
21335 derived from `c-basic-common-init'.
21336
21337 * progmodes/cc-mode.el (top-level): Require cc-guess.
21338 (c-basic-common-init): Use `cc-choose-style-for-mode'.
21339
21340 2011-06-30 Lawrence Mitchell <wence@gmx.li>
21341
21342 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
21343
21344 2011-06-30 Alan Mackenzie <acm@muc.de>
21345
21346 * progmodes/cc-engine.el (c-guess-continued-construct):
21347 Correct the handling of template-args-cont, particularly for when font
21348 lock is disabled. Name this case as "CASE G".
21349
21350 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
21351
21352 * allout.el (allout-yank-processing): Fix injection of extra space
21353 between bullet and non-whitespace character in first topic when
21354 pasting, ensuring that the actual spacing in the pasted topic
21355 following the bullet char is preserved. This extra space was
21356 causing pasted encrypted topics to get a decrypted status even
21357 when the content was actually still encrypted. Now the decryption
21358 status from before the paste is preserved.
21359
21360 (allout-flag-region): Set all allout overlays so they evaporate
21361 when reduced to zero length (evanescent), to prevent overlay
21362 leakage.
21363
21364 2011-06-30 Glenn Morris <rgm@gnu.org>
21365
21366 * w32-fns.el (w32-charset-info-alist): Declare.
21367
21368 * find-dired.el (find-grep-options): Simplify.
21369
21370 * term/ns-win.el (ns-set-resource): Declare.
21371
21372 * ses.el (row, col): Declare dynamic variables honestly.
21373
21374 * textmodes/reftex-parse.el (index-tags): Declare.
21375
21376 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
21377
21378 * cus-edit.el (customize-push-and-save): New function.
21379
21380 * files.el (hack-local-variables-confirm): Use it.
21381
21382 * custom.el (load-theme): New arg NO-CONFIRM.
21383 Use customize-push-and-save (Bug#8720).
21384 (custom-enabled-themes): Doc fix.
21385
21386 * cus-theme.el (customize-create-theme)
21387 (custom-theme-merge-theme): Callers to load-theme changed.
21388
21389 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
21390
21391 * thingatpt.el (thing-at-point-short-url-regexp): Require that
21392 short URLs have at least one dot in them (bug #7614).
21393
21394 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
21395 nil, because using a pty is apparently too slow (bug #895).
21396
21397 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
21398
21399 * mail/sendmail.el (sendmail-query-once): New function.
21400 (sendmail-query-once-function): New variable.
21401
21402 2011-06-29 Glenn Morris <rgm@gnu.org>
21403
21404 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
21405
21406 * ses.el (top-level): Require cl when compiling.
21407 (ses-set-localvars): Fix error statement.
21408 Call it at compile time to silence a storm of warnings.
21409
21410 2011-06-29 Martin Rudalics <rudalics@gmx.at>
21411
21412 * window.el (normalize-live-buffer): Rename to
21413 window-normalize-buffer.
21414 (normalize-live-frame): Rename to window-normalize-frame.
21415 (normalize-any-window): Rename to window-normalize-any-window.
21416 (normalize-live-window): Rename to window-normalize-live-window.
21417 (make-window-atom): Rename to window-make-atom.
21418 (window-resize-reset): Rename to window--resize-reset.
21419 (window-resize-reset-1): Rename to window--resize-reset-1.
21420 (resize-mini-window): Rename to window--resize-mini-window.
21421 (resize-subwindows-skip-p): Rename to
21422 window--resize-subwindows-skip-p.
21423 (resize-subwindows-normal): Rename to
21424 window--resize-subwindows-normal.
21425 (resize-subwindows): Rename to window--resize-subwindows.
21426 (resize-other-windows): Rename to window--resize-siblings.
21427 (resize-this-window): Rename to window--resize-this-window.
21428 (resize-root-window): Rename to window--resize-root-window.
21429 (resize-root-window-vertically): Rename to
21430 window--resize-root-window-vertically.
21431 (normalize-buffer-to-display): Rename to
21432 window-normalize-buffer-to-display.
21433 (normalize-buffer-to-switch-to): Rename to
21434 window-normalize-buffer-to-switch-to.
21435 Correspondingly update all callers of the functions listed
21436 above.
21437 (display-buffer-alist, display-buffer-normalize-arguments)
21438 (display-buffer-normalize-options, display-buffer)
21439 (display-buffer-alist-set): Use "function" instead of
21440 "fun-with-args".
21441
21442 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
21443
21444 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
21445 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
21446 debbugs.gnu.org. Mention acknowledgment email.
21447
21448 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
21449
21450 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
21451 buffer multibyteness, since it shouldn't matter.
21452
21453 2011-06-28 Martin Rudalics <rudalics@gmx.at>
21454
21455 * window.el (display-buffer-in-side-window): Handle dedicated
21456 windows as in display-buffer-reuse-window.
21457 (display-buffer-normalize-alist): Use value of override
21458 specifier.
21459 (display-buffer-normalize-specifiers): Use value of
21460 other-window-means-other-frame specifier.
21461 (display-buffer-alist): Rewrite some texts in widgets.
21462 (display-buffer): Spread arguments when calling function
21463 specified by fun-with-args.
21464
21465 2011-06-28 Deniz Dogan <deniz@dogan.se>
21466
21467 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
21468 Unnest `let'.
21469
21470 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
21471 selectors (Bug#5732).
21472 (css-proprietary-nmstart-re): Use `regexp-opt'.
21473
21474 2011-06-27 Jari Aalto <jari.aalto@cante.net>
21475
21476 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
21477 (eshell-ls-date-format): New defcustom.
21478 (eshell-ls-file): Use it.
21479
21480 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
21481
21482 * help-fns.el (describe-variable): Fix message for terminal-local vars.
21483
21484 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
21485
21486 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
21487 (ange-ftp-make-tmp-name): New arg.
21488 (ange-ftp-file-local-copy): Use it.
21489
21490 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
21491
21492 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
21493 no-conversion (Bug#8870).
21494
21495 2011-06-27 Martin Rudalics <rudalics@gmx.at>
21496
21497 * window.el (window-right, window-left, window-child)
21498 (window-child-count, window-last-child)
21499 (window-iso-combination-p, walk-window-tree-1)
21500 (window-atom-check-1, window-tree-1, delete-window)
21501 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
21502 new naming conventions - window-vchild, window-hchild,
21503 window-next and window-prev are now called window-top-child,
21504 window-left-child, window-next-sibling and window-prev-sibling
21505 respectively.
21506 (resize-window-reset): Rename to window-resize-reset.
21507 (resize-window-reset-1): Rename to window-resize-reset-1.
21508 (resize-window): Rename to window-resize.
21509 (window-min-height, window-min-width)
21510 (resize-mini-window, resize-this-window, resize-root-window)
21511 (resize-root-window-vertically, adjust-window-trailing-edge)
21512 (enlarge-window, shrink-window, maximize-window)
21513 (minimize-window, delete-window, quit-restore-window)
21514 (split-window, balance-windows, balance-windows-area-adjust)
21515 (balance-windows-area, window-state-put-2)
21516 (display-buffer-even-window-sizes, display-buffer-set-height)
21517 (display-buffer-set-width, set-window-text-height)
21518 (fit-window-to-buffer): Rename all "resize-window" prefixed
21519 calls to use the "window-resize" prefix convention.
21520 (display-buffer-alist): Fix symbol for label specifier.
21521 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
21522 corresponding specifier.
21523 Reported by Juanma Barranquero <lekktu@gmail.com>.
21524
21525 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
21526
21527 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
21528 convention.
21529 (ses-call-printer): Does not pass an empty string to formatter when the
21530 cell is empty to keep from barking printer Calc math-format-value.
21531
21532 2011-06-27 Richard Stallman <rms@gnu.org>
21533
21534 * battery.el (battery-mode-line-limit): New variable.
21535 (battery-update): Handle it.
21536
21537 * mail/rmailmm.el (rmail-mime-process-multipart):
21538 Handle truncated messages.
21539
21540 2011-06-27 Glenn Morris <rgm@gnu.org>
21541
21542 * progmodes/flymake.el (flymake-err-line-patterns):
21543 Allow for column numbers in the ant/javac pattern. (Bug#8866)
21544
21545 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
21546
21547 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
21548 (ses--clean-!, ses--clean-_): New functions.
21549 (ses-range): Add configurability of readout order, and conversion
21550 to Calc vector.
21551
21552 * ses.el (ses-repair-cell-reference-all): New function.
21553 (ses-cell-symbol): Set macro as safe, so that it can be used in
21554 formulas.
21555
21556 * ses.el: Update cycle detection algorithm.
21557 (ses-localvars): Add ses--Dijkstra-attempt-nb and
21558 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
21559 (ses-set-localvars): New function.
21560 (ses-make-cell): Add property-list as a cell element.
21561 (ses-cell-property-get-fun, ses-cell-property-get)
21562 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
21563 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
21564 New functions.
21565 (ses-cell-property-set, ses-cell-property-pop)
21566 (ses-cell-property-get-handle): New macro.
21567 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
21568 New aliases, used for code readability.
21569 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
21570 cycle detection.
21571 (ses-self-reference-early-detection): New defcustom.
21572 (ses-formula-references): Robustify against self-referring cells.
21573 (ses-mode): Use ses-set-localvars.
21574 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
21575 before lauching the update processing.
21576 (ses-initialize-Dijkstra-attempt): New function.
21577 (ses-recalculate-cell): Update for cycle detection based on
21578 Dijkstra algorithm.
21579
21580 * ses.el: Fix commenting and indenting convention.
21581
21582 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
21583
21584 * bs.el (bs-cycle-next): Complete last change.
21585
21586 2011-06-27 Drew Adams <drew.adams@oracle.com>
21587
21588 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
21589
21590 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
21591
21592 * net/network-stream.el (network-stream-open-starttls):
21593 Don't re-get capabilities unless we've reestablished connection.
21594 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
21595
21596 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
21597 to binary to possibly avoid line encoding issues on Windows (among
21598 other things).
21599
21600 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
21601
21602 * net/network-stream.el (open-network-stream): Return an :error
21603 saying what the problem was, if possible.
21604
21605 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
21606 server.
21607
21608 * net/network-stream.el (network-stream-open-starttls): If we
21609 wanted to use STARTTLS, and the server offered it, but we weren't
21610 able to because we had no STARTTLS support, then close the connection.
21611 (open-network-stream): Return an :error element, if present.
21612
21613 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
21614
21615 * hl-line.el (hl-line-sticky-flag): Doc fix.
21616 (global-hl-line-sticky-flag): New option (Bug#8323).
21617 (global-hl-line-highlight): Obey it.
21618
21619 * vc/vc.el (vc-revert-show-diff): Default to t.
21620
21621 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
21622
21623 * allout-widgets.el (allout-widgets-post-command-business):
21624 Stop decorating intermediate isearch matches. They're not being
21625 undecorated when an isearch is continued past, and isearch
21626 automatically collapses them. This leads to "widget leaks", where
21627 decorated items accumulate in collapsed areas. Lines with lots of
21628 hidden widgets can slow down cursor travel, substantially.
21629 Too much complicated machinery would be needed to ensure undecoration,
21630 so we're doing without this nicety.
21631
21632 (allout-widgets-tally-string): Don't try to do a hash-table-count
21633 of allout-widgets-tally when it's nil. This eliminates spurious "Error
21634 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
21635 *Messages* when allout-widgets-maintain-tally is t.
21636
21637 2011-06-26 Martin Rudalics <rudalics@gmx.at>
21638
21639 * window.el (display-buffer-normalize-argument): Rename to
21640 display-buffer-normalize-arguments. Handle special meaning of
21641 LABEL argument. Respect special-display-function when popping up
21642 a new frame. Fix code searching for a window showing the buffer
21643 on another frame.
21644 (display-buffer-normalize-specifiers):
21645 Call display-buffer-normalize-arguments.
21646 (display-buffer-in-window): Don't undedicate the window if its
21647 buffer remains the same.
21648 Reported by Drew Adams <drew.adams@oracle.com>.
21649 (display-buffer-alist): Add choice for same-window macro
21650 specfier.
21651 (display-buffer): Mention special meaning of LABEL argument in
21652 doc-string. Fix quoting. Don't pop up a new frame even as
21653 fallback.
21654
21655 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
21656
21657 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
21658 avoid deleting the current window in some cases (bug#8911).
21659
21660 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
21661
21662 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
21663 (Bug#8934)
21664
21665 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
21666
21667 * net/network-stream.el (network-stream-open-starttls):
21668 Use built-in TLS support if `gnutls-available-p' is true.
21669 (network-stream-open-tls): Ditto.
21670
21671 2011-06-26 Leo Liu <sdl.web@gmail.com>
21672
21673 * register.el (registerv): New struct.
21674 (registerv-make): New function.
21675 (jump-to-register, describe-register-1, insert-register):
21676 Support the jump-func, print-func and insert-func slot of a registerv
21677 struct. (Bug#8415)
21678
21679 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
21680
21681 * vc/vc.el (vc-revert-show-diff): New defcustom.
21682 (vc-diff-internal): New arg specifying diff buffer.
21683 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
21684 reuse an existing *vc-diff* buffer (Bug#8927).
21685
21686 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
21687
21688 2011-06-26 Glenn Morris <rgm@gnu.org>
21689
21690 * progmodes/f90.el (f90-critical-indent): New option.
21691 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
21692 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
21693 (f90-mode): Doc fix.
21694 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
21695 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
21696 (f90-beginning-of-block, f90-next-block, f90-indent-region)
21697 (f90-match-end): Handle block, critical.
21698
21699 2011-06-25 Glenn Morris <rgm@gnu.org>
21700
21701 * calendar/diary-lib.el (diary-included-files): Doc fix.
21702 (diary-include-files): New function, extracted from
21703 diary-include-other-diary-files and diary-mark-included-diary-files.
21704 (diary-include-other-diary-files, diary-mark-included-diary-files):
21705 Just call diary-include-files.
21706 (diary-mark-entries): Reset diary-included-files on first call.
21707
21708 * calendar/diary-lib.el (diary-mark-entries)
21709 (diary-mark-included-diary-files):
21710 Visit included diary-files in temp buffers.
21711
21712 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
21713 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
21714 (f90-start-block-re, f90-imenu-generic-expression)
21715 (f90-looking-at-program-block-start, f90-no-block-limit):
21716 Add support for submodules.
21717
21718 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
21719 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
21720
21721 2011-06-25 Eli Zaretskii <eliz@gnu.org>
21722
21723 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
21724 buffer-file-type before setting its value, to avoid disastrous
21725 global effects on decoding files for DOS/Windows systems. (Bug#8780)
21726
21727 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
21728
21729 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
21730
21731 * ses.el (ses-unload-function):
21732 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
21733
21734 * proced.el (proced-unload-function):
21735 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
21736
21737 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
21738
21739 * server.el (server-create-window-system-frame): Add parameters arg.
21740 (server-process-filter): Doc fix. Handle frame-parameters.
21741
21742 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
21743
21744 Fix bug#8730, bug#8781.
21745
21746 * loadhist.el (unload--set-major-mode): New function.
21747 (unload-feature): Use it.
21748
21749 * progmodes/python.el (python-after-info-look): Add autoload cookie.
21750 (python-unload-function): New function.
21751
21752 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
21753
21754 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
21755
21756 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
21757
21758 * net/browse-url.el (browse-url-firefox-program): Add icecat to
21759 the candidates list.
21760
21761 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
21762
21763 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
21764
21765 2011-06-23 Richard Stallman <rms@gnu.org>
21766
21767 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
21768 (rmail-variables): Set next-error-move-function.
21769 (rmail-what-message): Take argument POS.
21770 (rmail-next-error-move): New function.
21771
21772 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
21773
21774 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
21775 messages for adjacent non-terminals.
21776
21777 2011-06-23 Richard Stallman <rms@gnu.org>
21778
21779 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
21780 (rmail-show-message-1): Preserve buffer modified flag.
21781 (rmail-start-mail): Don't specify use of rmail-mail-return;
21782 that's done by mail-bury now.
21783 (rmail-mail-return): Handle arg NEWBUF.
21784
21785 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
21786
21787 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
21788 SIZE is a number.
21789
21790 2011-06-23 Martin Rudalics <rudalics@gmx.at>
21791
21792 * window.el (get-lru-window, get-mru-window)
21793 (get-largest-window): Never return a minibuffer window.
21794 (display-buffer-pop-up-window): Fix a bug that could lead to
21795 reusing the minibuffer window.
21796 (display-buffer): Pass original specifier argument to
21797 display-buffer-function instead of the normalized one.
21798 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
21799
21800 2011-06-22 Leo Liu <sdl.web@gmail.com>
21801
21802 * minibuffer.el (completing-read-function)
21803 (completing-read-default): Move from minibuf.c.
21804
21805 2011-06-22 Richard Stallman <rms@gnu.org>
21806
21807 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
21808 to Rmail even if not started by a special Rmail command.
21809
21810 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
21811 Copy the buffer currently showing just one message.
21812
21813 2011-06-22 Roland Winkler <winkler@gnu.org>
21814
21815 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
21816 (bibtex-clean-entry): First delete the old key so that a
21817 customized algorithm for generating the new key does not get
21818 confused by the old key.
21819 (bibtex-url): Obey regexp of first step.
21820 (bibtex-search-entries): Do not use add-to-list with local
21821 list-var.
21822
21823 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
21824
21825 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
21826 stored a user name, then query for the password first, instead of
21827 waiting for SMTP to give an error message and the trying again.
21828
21829 2011-06-22 Lawrence Mitchell <wence@gmx.li>
21830
21831 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
21832 BUFFER in call-process.
21833
21834 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
21835
21836 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
21837 QUIT twice.
21838 (smtpmail-try-auth-methods): Require user name and password from
21839 auth-source.
21840
21841 2011-06-22 Martin Rudalics <rudalics@gmx.at>
21842
21843 * window.el (display-buffer-default-specifiers)
21844 (display-buffer-alist): Remove entries for pop-up-frame-alist.
21845 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
21846 (split-window): Normalize SIDE argument (Bug#8916).
21847
21848 * frame.el (pop-up-frame-alist, pop-up-frame-function)
21849 (special-display-frame-alist, special-display-popup-frame):
21850 Remove duplicate declarations. These are now in window.el.
21851
21852 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21853
21854 * mail/smtpmail.el (smtpmail-via-smtp):
21855 Set :use-starttls-if-possible so that we always use STARTTLS if the
21856 server supports it. SMTP servers that support STARTTLS commonly
21857 require it.
21858
21859 * net/network-stream.el (network-stream-open-starttls): Support
21860 upgrading to STARTTLS always, even if we don't have built-in support.
21861 (open-network-stream): Add the :always-query-capabilities keyword.
21862
21863 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
21864 upgrades with `open-network-stream', and rely solely on
21865 auth-source for all credentials. Big changes throughout the file,
21866 but in particular:
21867 (smtpmail-auth-credentials): Remove.
21868 (smtpmail-starttls-credentials): Remove.
21869 (smtpmail-via-smtp): Check for servers saying they want AUTH after
21870 MAIL FROM, too.
21871
21872 * net/network-stream.el (network-stream-open-starttls):
21873 Provide support for client certificates both for external and built-in
21874 STARTTLS.
21875 (auth-source): Require.
21876 (open-network-stream): Document the :client-certificate keyword.
21877 (network-stream-certificate): Change cert-cert to cert and
21878 cert-key to key.
21879
21880 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
21881
21882 * net/tramp-cache.el (top): Don't load the persistency file when
21883 "emacs -Q" has been called.
21884
21885 2011-06-21 Tim Harper <timcharper@gmail.com>
21886
21887 * term/ns-win.el (ns-initialize-window-system):
21888 Set application-specific `ApplePressAndHoldEnabled' system
21889 resource to NO as it is not yet supported by the NS port.
21890
21891 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
21892
21893 * misc.el (list-dynamic-libraries--refresh): Compute header here...
21894 (list-dynamic-libraries): ...not here.
21895
21896 2011-06-21 Leo Liu <sdl.web@gmail.com>
21897
21898 * subr.el (sha1): Implement sha1 using secure-hash.
21899
21900 2011-06-21 Martin Rudalics <rudalics@gmx.at>
21901
21902 * window.el (display-buffer-alist): In default value do not
21903 enforce searching a window on any but the selected frame.
21904 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
21905 (display-buffer-select-window): Remove function.
21906 (display-buffer-in-window): When a window on another frame gets
21907 reused, do not select it any more but just raise its frame if
21908 necessary (Bug#8851) and (Bug#8856).
21909 (display-buffer-normalize-options): Handle pop-up-frames related
21910 options more faithfully.
21911 (pop-to-buffer): Don't rely on `display-buffer' selecting the
21912 window if it is on another frame.
21913 (display-buffer-alist, display-buffer-default-specifiers):
21914 Don't make new frame unsplittable by default.
21915 (display-buffer-normalize-argument): Fix doc-string typo and use
21916 'same-frame-other-window instead of 'other-window when associating
21917 with display-buffer-macro-specifiers.
21918
21919 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
21920
21921 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
21922 New functions.
21923 (5x5-mode-map, 5x5-mode-menu): Bind them.
21924 (5x5-draw-grid): Tweak the solver's rendering.
21925
21926 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
21927
21928 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
21929 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
21930
21931 2011-06-21 Drew Adams <drew.adams@oracle.com>
21932
21933 * menu-bar.el: Use function variable instead of switch-to-buffer.
21934 (menu-bar-select-buffer-function): New variable.
21935 (menu-bar-update-buffers): Use it (bug#8876).
21936
21937 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
21938
21939 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
21940 variable's status.
21941
21942 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
21943
21944 * x-dnd.el (x-dnd-version-from-flags)
21945 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
21946 and long as number (Bug#8899).
21947 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
21948
21949 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
21950
21951 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
21952 (completion-try-completion, completion-all-completions): Compute the
21953 metadata argument if it's missing; make it optional (bug#8795).
21954
21955 * wid-edit.el: Use lex-bind and move towards completion-at-point.
21956 (widget-complete): Use new :completion-function property.
21957 (widget-completions-at-point): New function.
21958 (default): Use :completion-function instead of :complete.
21959 (widget-default-completions): Rename from widget-default-complete;
21960 Rewrite.
21961 (widget-string-complete, widget-file-complete, widget-color-complete):
21962 Remove functions.
21963 (file, symbol, function, variable, coding-system, color):
21964 * international/mule-cmds.el (default-input-method, charset)
21965 (language-info-custom-alist):
21966 * cus-edit.el (face): Use new property :completions.
21967
21968 * progmodes/pascal.el (pascal-completions-at-point): New function.
21969 (pascal-mode): Use it.
21970 (pascal-mode-map): Use completion-at-point.
21971 (pascal-toggle-completions): Make obsolete.
21972 (pascal-complete-word, pascal-show-completions):
21973 * progmodes/octave-mod.el (octave-complete-symbol):
21974 Redefine as obsolete alias.
21975 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
21976 Signal absence of completion info for old Octave,
21977 (inferior-octave-complete): Redefine as obsolete alias.
21978 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
21979 (meta-completions-at-point): Rename from meta-complete-symbol and
21980 adapt it for use on completion-at-point-functions.
21981 (meta-common-mode): Use it.
21982 (meta-looking-at-backward, meta-match-buffer): Remove.
21983 (meta-complete-symbol): Redefine as obsolete alias.
21984 (meta-common-mode-map): Use completion-at-point.
21985 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
21986 (makefile-mode-map): Use completion-at-point.
21987 (makefile-completions-at-point): Rename from makefile-complete and
21988 adapt it for use on completion-at-point-functions.
21989 (makefile-mode): Use it.
21990 (makefile-complete): Redefine as obsolete alias.
21991
21992 2011-06-20 Deniz Dogan <deniz@dogan.se>
21993
21994 * net/rcirc.el: Delete trailing whitespaces once and for all.
21995
21996 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
21997
21998 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
21999
22000 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
22001
22002 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
22003
22004 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
22005
22006 2011-06-19 Martin Rudalics <rudalics@gmx.at>
22007
22008 * window.el (display-buffer-other-window-means-other-frame):
22009 Call display-buffer-normalize-alist.
22010 (display-buffer-normalize-specifiers-1): Rename to
22011 display-buffer-normalize-argument. New argument other-frame.
22012 Rewrite.
22013 (display-buffer-normalize-specifiers-2): Rename to
22014 display-buffer-normalize-options.
22015 (display-buffer-normalize-alist-1): New function.
22016 (display-buffer-normalize-specifiers-3): Rename to
22017 display-buffer-normalize-alist.
22018 Call display-buffer-normalize-alist-1.
22019 (display-buffer-normalize-options-inhibit): New variable.
22020 (display-buffer-normalize-specifiers): Rewrite calling
22021 display-buffer-normalize-alist,
22022 display-buffer-normalize-argument, and
22023 display-buffer-normalize-options. Don't call the latter if
22024 display-buffer-normalize-options-inhibit is non-nil.
22025 (frame-auto-delete): New option.
22026 (window-deletable-p): Use frame-auto-delete.
22027 (window-list-no-nils, window-state-ignored-parameters)
22028 (window-state-get-1, window-state-get, window-state-put-list)
22029 (window-state-put-1, window-state-put-2, window-state-put):
22030 New functions.
22031 (display-buffer-normalize-options): Move special-display-p group
22032 after pop-up-frame group (Bug#8851) and (Bug#8856).
22033
22034 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
22035
22036 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
22037 groups (Bug#8776).
22038 (rx-submatch-n): New function.
22039 (rx): Document it.
22040
22041 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
22042 (Bug#8768).
22043
22044 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
22045
22046 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
22047
22048 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
22049 anytime existing face settings are present (Bug#8889).
22050
22051 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
22052 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
22053 Remove unused argument.
22054
22055 2011-06-18 Martin Rudalics <rudalics@gmx.at>
22056
22057 * window.el (display-buffer-default-specifiers):
22058 Remove pop-up-frame. Add pop-up-window-min-height,
22059 pop-up-window-min-width, and another reuse-window specifier
22060 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
22061 (display-buffer-normalize-specifiers-2):
22062 Handle split-height-threshold and split-width-threshold also when
22063 pop-up-windows is unset. Add a reuse-window specifier for the
22064 case popping up a new window fails.
22065 (special-display-popup-frame): Remove double quoting.
22066 (display-buffer-normalize-specifiers-1): Fix thinko.
22067
22068 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
22069
22070 * shell.el (shell-completion-vars): Set pcomplete-termination-string
22071 according to comint-completion-addsuffix.
22072
22073 * pcomplete.el: Convert to lexical binding and fix bug#8819.
22074 (pcomplete-suffix-list): Mark as obsolete.
22075 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
22076 pcomplete-seen in the closure.
22077 (pcomplete-comint-setup): Setup completion-at-point as well.
22078 (pcomplete--entries): New function.
22079 (pcomplete--env-regexp): New var.
22080 (pcomplete-entries): Rewrite to work with partial-completion and
22081 without relying on pcomplete-suffix-list.
22082 (pcomplete-pare-list): Remove, unused.
22083
22084 2011-06-17 Martin Rudalics <rudalics@gmx.at>
22085
22086 * window.el (display-buffer-alist): Set pop-up-window-min-height
22087 and pop-up-window-min-width in default value. Reported by
22088 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
22089 other-window-means-other-frame.
22090 (display-buffer-macro-specifiers): Comment out entry for
22091 other-window specifier.
22092 (display-buffer-other-window-means-other-frame): New function.
22093 (display-buffer-normalize-specifiers-1): New arguments
22094 buffer-name and label. Treat other-window case specially.
22095 (display-buffer-normalize-specifiers-2): Treat other-window case
22096 specially.
22097 (display-buffer-normalize-specifiers-3): New function.
22098 (display-buffer-normalize-specifiers):
22099 Call display-buffer-normalize-specifiers-3.
22100
22101 2011-06-17 Martin Rudalics <rudalics@gmx.at>
22102
22103 * window.el (same-window-p): Fix two typos introduced when
22104 adding with-no-warnings.
22105 (display-buffer-normalize-specifiers-1): Don't check
22106 pop-up-frames for 'unset initialization.
22107 (display-buffer-normalize-specifiers-2): Major rewrite using
22108 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
22109 (pop-up-frames, display-buffer-reuse-frames)
22110 (display-buffer-mark-dedicated): Don't initialize to 'unset.
22111 Suggested by David Engster <deng@randomsample.de>.
22112 (even-window-heights): Initialize to 'unset.
22113 (display-buffer-alist-set): Handle new 'unset initializations.
22114 (display-buffer-macro-specifiers): Don't pop up a new frame in the
22115 other window case.
22116
22117 2011-06-16 Martin Rudalics <rudalics@gmx.at>
22118
22119 * window.el (display-buffer-normalize-specifiers-1):
22120 Respect current value of pop-up-frames for most reasonable values of
22121 second argument of display-buffer (Bug#8865).
22122 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
22123 (switch-to-buffer-other-window-same-frame)
22124 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
22125 Adams (Bug#8875).
22126 (display-buffer): Don't check noninteractive when calling
22127 display-buffer-pop-up-frame.
22128 (display-buffer-pop-up-frame): Never pop up a frame in
22129 noninteractive mode (Bug#8857).
22130 (enlarge-window, shrink-window): Don't report an error when the
22131 window can't be resized as requested (Bug#8862).
22132
22133 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
22134
22135 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
22136
22137 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
22138
22139 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
22140
22141 2011-06-15 Alan Mackenzie <acm@muc.de>
22142
22143 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
22144 for declarators, disable knr checking to speed up for normal files.
22145 2: Refactor, replacing a sequence of nested if forms by a cond form.
22146
22147 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
22148
22149 * net/network-stream.el (open-network-stream): Add the keyword
22150 :always-query-capabilities for the case where you want to force a
22151 `plain' network connection, but the protocol still requires the
22152 capabilitiy command (i.e., SMTP and EHLO).
22153
22154 * subr.el (process-live-p): Rename from `process-alive-p' for
22155 consistency with other `-live-p' functions.
22156
22157 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
22158
22159 * window.el (same-window-buffer-names, same-window-regexps)
22160 (special-display-frame-alist, special-display-popup-frame)
22161 (special-display-function, special-display-buffer-names)
22162 (special-display-regexps, pop-up-frame-alist)
22163 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
22164 (pop-up-windows, split-window-preferred-function)
22165 (split-height-threshold, split-width-threshold, even-window-heights)
22166 (display-buffer-mark-dedicated): Don't encourage the use of
22167 display-buffer-alist from Elisp code.
22168
22169 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
22170
22171 * progmodes/python.el (python-mode): Derive from prog-mode.
22172 * progmodes/ps-mode.el (ps-mode):
22173 * progmodes/mixal-mode.el (mixal-mode):
22174 * progmodes/cfengine.el (cfengine-mode):
22175 * progmodes/ld-script.el (ld-script-mode): Likewise.
22176
22177 2011-06-15 Martin Rudalics <rudalics@gmx.at>
22178
22179 * window.el (display-buffer-alist): Trim default value to avoid
22180 popping up a new frame (Bug#8857) or reusing an arbitrary window
22181 on another frame.
22182 (display-buffer): Do not fall back on popping up a new frame in
22183 batch mode (Bug#8857).
22184
22185 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
22186
22187 * cus-theme.el (describe-theme-1): Use custom-theme-p.
22188 (custom-theme-summary): New function.
22189 (customize-themes): Use it.
22190
22191 2011-06-13 Glenn Morris <rgm@gnu.org>
22192
22193 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
22194
22195 2011-06-13 Martin Rudalics <rudalics@gmx.at>
22196
22197 * help.el (help-window): Remove variable.
22198 (help-window-point-marker, temp-buffer-max-height)
22199 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
22200 (help-print-return-message): Don't set help-window.
22201 (resize-temp-buffer-window): Rewrite cod eand doc-string.
22202 (help-window-setup-finish): Remove.
22203 (help-window-display-message, help-window-setup)
22204 (with-help-window): Major rewrite based on new
22205 display-buffer-window variable.
22206
22207 * help-mode.el (help-mode-finish): Remove help-window related
22208 code.
22209
22210 * view.el (view-exits-all-viewing-windows): Remove reference to
22211 view-return-to-alist in doc-string.
22212 (view-return-to-alist): Make obsolete.
22213 (view-buffer): Call pop-to-buffer-same-window and remove
22214 undo-window code.
22215 (view-buffer-other-window): Call pop-to-buffer-other-window and
22216 simplify code. Ignore second argument.
22217 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
22218 simplify code. Ignore second argument.
22219 (view-return-to-alist-update): Make obsolete.
22220 (view-mode-enter): Rename second argument to QUIT-RESTORE.
22221 Rewrite using quit-restore window parameters.
22222 (view-mode-exit): Rename second argument to EXIT-ONLY.
22223 Rewrite using quit-restore-window.
22224 (View-exit, View-exit-and-edit, View-leave, View-quit)
22225 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
22226 appropriate arguments.
22227 (view-end-message): Use quit-restore window parameter.
22228
22229 * window.el (display-buffer-function): Rewrite doc-string.
22230 (display-buffer-window, display-buffer-alist): New variables.
22231 (display-buffer-split-specifiers)
22232 (display-buffer-side-specifiers)
22233 (display-buffer-macro-specifiers): New constants.
22234 (display-buffer-even-window-sizes, display-buffer-set-height)
22235 (display-buffer-set-width, display-buffer-select-window)
22236 (display-buffer-in-window, display-buffer-reuse-window)
22237 (display-buffer-split-window-1, display-buffer-split-window)
22238 (display-buffer-split-atom-window, display-buffer-pop-up-window)
22239 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
22240 (display-buffer-in-side-window, normalize-buffer-to-display)
22241 (display-buffer-normalize-specifiers-1)
22242 (display-buffer-normalize-specifiers-2)
22243 (display-buffer-normalize-specifiers, display-buffer-frame):
22244 New functions.
22245 (display-buffer): Major rewrite.
22246 (display-buffer-other-window, display-buffer-other-frame)
22247 (pop-to-buffer, switch-to-buffer-other-window)
22248 (switch-to-buffer-other-frame): Rewrite.
22249 (display-buffer-same-window, display-buffer-same-frame)
22250 (display-buffer-same-frame-other-window)
22251 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
22252 (pop-to-buffer-other-window)
22253 (pop-to-buffer-same-frame-other-window)
22254 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
22255 (switch-to-buffer-other-window-same-frame): New functions.
22256 (same-window-p, special-display-p): Rewrite disabling warnings.
22257 Make obsolete.
22258 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
22259 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
22260 Make obsolete
22261 (same-window-buffer-names, same-window-regexps)
22262 (special-display-frame-alist, special-display-popup-frame)
22263 (special-display-function, special-display-buffer-names)
22264 (special-display-regexps, pop-up-frame-alist)
22265 (pop-up-frame-function, split-window-preferred-function)
22266 (split-height-threshold, split-width-threshold)
22267 (even-window-heights): Make obsolete.
22268
22269 2011-06-12 Glenn Morris <rgm@gnu.org>
22270
22271 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
22272 Misc simplifications.
22273
22274 2011-06-12 Martin Rudalics <rudalics@gmx.at>
22275
22276 * window.el (window-safely-shrinkable-p): Restore function which
22277 was inadvertently removed in change from 2011-06-11. Declare as
22278 obsolete.
22279
22280 * calendar/calendar.el (calendar-generate-window):
22281 Use window-iso-combined-p instead of combination of one-window-p and
22282 window-safely-shrinkable-p.
22283
22284 2011-06-12 Glenn Morris <rgm@gnu.org>
22285
22286 * progmodes/fortran.el (fortran-mode-syntax-table):
22287 * progmodes/f90.el (f90-mode-syntax-table):
22288 Set % to punctuation. (Bug#8820)
22289 (f90-find-tag-default): Remove, no longer needed.
22290
22291 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
22292
22293 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
22294
22295 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
22296
22297 * image.el (image-animated-p): Return animation delay in seconds.
22298 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
22299 (image-animate-timeout): Remove DELAY argument. Don't assume
22300 every subimage has the same delay; get it from image-animated-p.
22301 (image-animate): Caller changed.
22302
22303 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
22304
22305 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
22306 to ignored backtrace functions.
22307
22308 2011-06-11 Glenn Morris <rgm@gnu.org>
22309
22310 * calendar/appt.el (appt-disp-window-function): Doc fix.
22311 (appt-check): Handle overlapping appointments. (Bug#8337)
22312
22313 2011-06-11 Martin Rudalics <rudalics@gmx.at>
22314
22315 * window.el (window-tree-1, window-tree): New functions, moving
22316 the latter to window.el.
22317 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
22318 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
22319 (bw-refresh-edges): Remove.
22320 (balance-windows-1, balance-windows-2): New functions.
22321 (balance-windows): Rewrite in terms of window tree functions,
22322 balance-windows-1 and balance-windows-2.
22323 (bw-adjust-window): Remove.
22324 (balance-windows-area-adjust): New function with functionality of
22325 bw-adjust-window but using resize-window.
22326 (set-window-text-height): Rewrite doc-string.
22327 Use normalize-live-window and resize-window.
22328 (enlarge-window-horizontally, shrink-window-horizontally):
22329 Rename argument to DELTA.
22330 (window-buffer-height): New function.
22331 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
22332 Rewrite using new window resize routines.
22333 (kill-buffer-and-window, mouse-autoselect-window-select):
22334 Use ignore-errors instead of condition-case.
22335 (quit-window): Call delete-frame instead of delete-windows-on
22336 for the only buffer on frame.
22337
22338 2011-06-10 Martin Rudalics <rudalics@gmx.at>
22339
22340 * loadup.el (top-level): Load window before files for the sake
22341 of replace-buffer-in-windows.
22342
22343 * files.el (read-buffer-to-switch)
22344 (switch-to-buffer-other-window)
22345 (switch-to-buffer-other-frame, display-buffer-other-frame):
22346 Move to window.el.
22347
22348 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
22349 (previous-buffer): Move to window.el.
22350
22351 * bindings.el (unbury-buffer): Move to window.el.
22352
22353 * window.el (delete-other-windows-vertically): Move after
22354 definition of delete-other-windows.
22355 (other-window, delete-windows-on, replace-buffer-in-windows):
22356 Move here from window.c.
22357 (record-window-buffer, unrecord-window-buffer)
22358 (set-window-buffer-start-and-point, switch-to-prev-buffer)
22359 (switch-to-next-buffer): New functions.
22360 (get-next-valid-buffer, last-buffer, next-buffer): Move here
22361 from simple.el. Call switch-to-next-buffer.
22362 (previous-buffer): Move here from simple.el.
22363 Call switch-to-prev-buffer.
22364 (bury-buffer): Move here from buffer.c. Switch to previous
22365 buffer when window cannot be deleted.
22366 (unbury-buffer): Move here from bindings.el.
22367 (ctl-x-map): Move binding for other-window from window.c to
22368 here.
22369 (read-buffer-to-switch, switch-to-buffer-other-window)
22370 (switch-to-buffer-other-frame): Move here from files.el.
22371 (normalize-buffer-to-switch-to): New functions.
22372 (switch-to-buffer): Move here from buffer.c.
22373 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
22374
22375 2011-06-10 Martin Rudalics <rudalics@gmx.at>
22376
22377 * window.el (window-min-height, window-min-width): Move here
22378 from window.c. Add defcustoms and rewrite doc-strings.
22379 (resize-mini-window, resize-window): New functions.
22380 (adjust-window-trailing-edge, enlarge-window, shrink-window):
22381 Move here from window.c.
22382 (maximize-window, minimize-window): New functions.
22383 (delete-window, delete-other-windows, split-window): Move here
22384 from window.c.
22385 (window-split-min-size): New function.
22386 (split-window-keep-point): Mention split-window-above-each-other
22387 instead of split-window-vertically.
22388 (split-window-above-each-other, split-window-vertically):
22389 Rename split-window-vertically to split-window-above-each-other
22390 and provide defalias for old definition.
22391 (split-window-side-by-side, split-window-horizontally):
22392 Rename split-window-horizontally to split-window-side-by-side
22393 and provide defalias for the old definition.
22394 (ctl-x-map): Move bindings for delete-window,
22395 delete-other-windows and enlarge-window here from window.c.
22396 Replace bindings for split-window-vertically and
22397 split-window-horizontally by bindings for
22398 split-window-above-each-other and split-window-side-by-side.
22399
22400 * cus-start.el (all): Remove entries for window-min-height and
22401 window-min-width. Add entries for window-splits and
22402 window-nest.
22403
22404 2011-06-09 Glenn Morris <rgm@gnu.org>
22405
22406 * calendar/appt.el (appt-mode-line): New function.
22407 (appt-check, appt-disp-window): Use it.
22408
22409 * files.el (hack-one-local-variable-eval-safep):
22410 Allow minor-modes with explicit +/-1 arguments.
22411
22412 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
22413
22414 * term/xterm.el (xterm): Add defgroup.
22415 (xterm-extra-capabilities): Add defcustom to supply known xterm
22416 capabilities, skip querying them, or query them (default).
22417 (terminal-init-xterm): Use it.
22418 (terminal-init-xterm-modify-other-keys): New function to set up
22419 modifyOtherKeys support to simplify `terminal-init-xterm'.
22420
22421 2011-06-09 Martin Rudalics <rudalics@gmx.at>
22422
22423 * window.el (resize-window-reset, resize-window-reset-1)
22424 (resize-subwindows-skip-p, resize-subwindows-normal)
22425 (resize-subwindows, resize-other-windows, resize-this-window)
22426 (resize-root-window, resize-root-window-vertically)
22427 (window-deletable-p, window-or-subwindow-p)
22428 (frame-root-window-p): New functions.
22429
22430 2011-06-09 Glenn Morris <rgm@gnu.org>
22431
22432 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
22433 (ange-ftp-get-files): Use it.
22434
22435 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
22436
22437 * mail/sendmail.el (mail-recover-1, mail-recover):
22438 * files.el (recover-file, recover-session):
22439 Handle dired-listing-switches not being just a single short option.
22440
22441 2011-06-09 Glenn Morris <rgm@gnu.org>
22442
22443 * calendar/appt.el (appt-display-message, appt-disp-window):
22444 Handle lists of appointments.
22445
22446 2011-06-08 Martin Rudalics <rudalics@gmx.at>
22447
22448 * window.el (one-window-p): Move down in code.
22449 Rewrite doc-string.
22450 (window-current-scroll-bars): Rewrite doc-string.
22451 Normalize live window argument.
22452 (walk-windows, get-window-with-predicate, count-windows):
22453 Rewrite doc-string. Use window-list-1.
22454 (window-in-direction-2, window-in-direction, get-mru-window):
22455 New functions.
22456
22457 2011-06-08 Reuben Thomas <rrt@sc3d.org>
22458
22459 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
22460 Doc fix (Bug#8713).
22461
22462 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
22463
22464 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
22465
22466 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
22467
22468 * loadhist.el (unload-feature-special-hooks):
22469 Add `comint-output-filter-functions'.
22470
22471 2011-06-08 Ivan Kanis <gnu@kanis.fr>
22472
22473 * calendar/appt.el (appt-check): Move some initializations into the let.
22474
22475 2011-06-08 Martin Rudalics <rudalics@gmx.at>
22476
22477 * window.el (window-height): Defalias to window-total-height.
22478 (window-width): Defalias to window-body-width.
22479
22480 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
22481
22482 * image-mode.el (image-toggle-animation): New command.
22483 (image-mode-map): Bind it to RET.
22484 (image-mode): Update message.
22485 (image-toggle-display-image): Avoid a spurious cache flush.
22486 (image-transform-rotation): Doc fix.
22487 (image-transform-properties): Return quickly in the normal case.
22488 (image-animate-loop): Rename from image-animate-max-time.
22489
22490 * image.el (image-animate-max-time): Move to image-mode.el.
22491 (create-animated-image): Remove unnecessary function.
22492 (image-animate): Rename from image-animate-start. New arg.
22493 (image-animate-stop): Remove; just use image-animate-timer.
22494 (image-animate-timer): Use car-safe.
22495 (image-animate-timeout): Rename argument.
22496
22497 2011-06-07 Martin Rudalics <rudalics@gmx.at>
22498
22499 * window.el (get-lru-window, get-largest-window): Move here from
22500 window.c. Rename first argument to ALL-FRAMES.
22501 Rephrase doc-strings.
22502 (get-buffer-window-list): Rewrite using window-list-1.
22503 Rephrase doc-string.
22504 (window-safe-min-height, window-safe-min-width): New constants.
22505 (window-size-ignore, window-min-size, window-min-size-1)
22506 (window-sizable, window-sizable-p, window-size-fixed-1)
22507 (window-size-fixed-p, window-min-delta-1, window-min-delta)
22508 (window-max-delta-1, window-max-delta, window-resizable)
22509 (window-resizable-p, window-total-height, window-total-width)
22510 (window-body-width): New functions.
22511 (window-full-height-p, window-full-width-p): Rewrite using
22512 window-total-size.
22513 (window-body-height): Rewrite using window-body-size.
22514
22515 2011-06-06 Martin Rudalics <rudalics@gmx.at>
22516
22517 * window.el (window-right, window-left, window-child)
22518 (window-child-count, window-last-child, window-any-p)
22519 (normalize-live-buffer, normalize-live-frame)
22520 (normalize-any-window, normalize-live-window)
22521 (window-iso-combination-p, window-iso-combined-p)
22522 (window-iso-combinations)
22523 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
22524 (windows-with-parameter, window-with-parameter)
22525 (window-atom-root, make-window-atom, window-atom-check-1)
22526 (window-atom-check, window-side-check, window-check):
22527 New functions.
22528 (ignore-window-parameters, window-sides, window-sides-vertical)
22529 (window-sides-slots): New variables.
22530 (window-size-fixed): Move down in code. Minor doc-string fix.
22531
22532 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
22533
22534 * comint.el (comint-dynamic-complete-as-filename)
22535 (comint-dynamic-complete-filename): Correctly call
22536 completion-in-region.
22537
22538 2011-06-05 Deniz Dogan <deniz@dogan.se>
22539
22540 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
22541 in last change.
22542
22543 2011-06-05 Deniz Dogan <deniz@dogan.se>
22544
22545 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
22546 (rcirc): Use it to prompt for encryption.
22547
22548 2011-06-05 Roland Winkler <winkler@gnu.org>
22549
22550 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
22551 (bibtex-search-entries): New command bound to C-c C-a.
22552 (bibtex-display-entries): New function.
22553
22554 2011-06-05 Roland Winkler <winkler@gnu.org>
22555
22556 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
22557 (bibtex-insert-kill): After yanking insert newline if necessary.
22558 (bibtex-initialize): Call bibtex-string-files-init only once.
22559 (bibtex-mode): Do not call easy-menu-add.
22560 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
22561 (bibtex-yank): Set arg properly if nil.
22562
22563 2011-06-05 Roland Winkler <winkler@gnu.org>
22564
22565 * textmodes/bibtex.el (bibtex-search-entry-globally):
22566 New variable.
22567 (bibtex-search-entry): Use it.
22568
22569 2011-06-05 Roland Winkler <winkler@gnu.org>
22570
22571 * textmodes/bibtex.el (bibtex-entry-format): New option
22572 sort-fields.
22573 (bibtex-format-entry, bibtex-reformat): Honor this option.
22574 (bibtex-parse-entry): Return fields in proper order.
22575
22576 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
22577
22578 * doc-view.el (doc-view-remove-if): Move computation of result out
22579 of `dolist' to silence misleading lexical-binding warning.
22580
22581 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
22582
22583 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
22584 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
22585
22586 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
22587
22588 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
22589 "SunOS 5.10".
22590
22591 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
22592
22593 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
22594 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
22595 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
22596 (tramp-parse-putty):
22597 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
22598 (tramp-completion-function-alist-ssh)
22599 (tramp-completion-function-alist-telnet)
22600 (tramp-completion-function-alist-su)
22601 (tramp-completion-function-alist-putty): Set `tramp-autoload'
22602 cookie.
22603
22604 * net/tramp-ftp.el:
22605 * net/tramp-sh.el:
22606 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
22607 load "tramp.el" `tramp-set-completion-function'.
22608
22609 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
22610
22611 * shell.el: Require and use pcomplete.
22612 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
22613 (shell-completion-vars): Set pcomplete-default-completion-function.
22614
22615 2011-06-04 Deniz Dogan <deniz@dogan.se>
22616
22617 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
22618 `memq' (Bug#8799).
22619
22620 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
22621
22622 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
22623
22624 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
22625
22626 * bs.el (bs--mark-unmark, bs--nth-wrapper):
22627 * mpc.el (mpc-select-extend, mpc-songpointer-context):
22628 * vc/log-view.el (log-view-beginning-of-defun):
22629 * vc/smerge-mode.el (smerge-apply-resolution-patch)
22630 (smerge-refine-forward, smerge-refine-chopup-region):
22631 Silence warning for unused `dotimes' counter variables.
22632
22633 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
22634
22635 * net/tramp.el (tramp-with-progress-reporter): Rename from
22636 with-progress-reporter. Use `declare'.
22637 * net/tramp-smb.el:
22638 * net/tramp-sh.el:
22639 * net/tramp-gvfs.el: Update all uses.
22640
22641 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
22642
22643 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
22644 buffer isn't killed before making it current.
22645
22646 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
22647
22648 Silence various byte-compiler warnings.
22649 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
22650 `access-type' and new obsolescence format.
22651 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
22652 new format.
22653 (byte-compile-check-variable): New `access-type' argument.
22654 Only warn if the access-type is obsolete.
22655 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
22656 (byte-compile-variable-set): Adjust callers.
22657 * help-fns.el (describe-variable): Adjust to new obsolescence format.
22658 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
22659 setting it as obsolete.
22660 * simple.el (minibuffer-completing-symbol):
22661 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
22662 access as obsolete.
22663 * minibuffer.el (minibuffer-completing-file-name): Don't make it
22664 obsolete yet.
22665 * international/quail.el (quail-mouse-choose-completion): Remove unused
22666 code referring to obsolete var.
22667 (quail-choose-completion-string): Remove.
22668 * server.el (server-clients-with, server-kill-buffer-query-function)
22669 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
22670 * proced.el (proced-send-signal):
22671 * emacs-lisp/lisp.el (lisp-complete-symbol):
22672 Replace completion-annotate-function with completion-extra-properties.
22673
22674 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
22675
22676 * simple.el (goto-line): Use read-number.
22677 (overriding-map-is-bound): Remove.
22678 (saved-overriding-map): Change default.
22679 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
22680 Take the map as argument.
22681 (universal-argument, negative-argument, digit-argument): Use it.
22682 (restore-overriding-map): Adjust.
22683 (do-auto-fill): Use fill-forward-paragraph.
22684 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
22685
22686 * minibuffer.el (minibuffer-inactive-mode-map): New var.
22687 (minibuffer-inactive-mode): New major mode.
22688 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
22689 the *Messages* buffer" hack.
22690 (mouse-popup-menubar): Don't burp if the event is a normal key.
22691
22692 Miscellaneous tweaks.
22693 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
22694 lexical scoping as in subr.el's dolist and dotimes.
22695 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
22696 Silence compiler warning.
22697 * thingatpt.el (forward-whitespace): Trivial coding style fix.
22698 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
22699 * international/ccl.el (ccl-compile): Trivial simplification.
22700 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
22701 * emacs-lisp/testcover.el (testcover-end): Remove spurious
22702 `printflag' argument.
22703 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
22704 Purecopy the whole obsolescence data.
22705
22706 2011-06-01 Leo Liu <sdl.web@gmail.com>
22707
22708 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
22709 improve doc-string as suggested by Marco Pessotto
22710 <melmothx@gmail.com>.
22711 (rcirc-print): Fix last change.
22712
22713 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22714
22715 * minibuffer.el (complete-with-action): Return nil for the metadata and
22716 boundaries of non-functional tables.
22717 (completion-table-dynamic): Return nil for the metadata.
22718 (completion-table-with-terminator): Add default case, using
22719 complete-with-action.
22720 (completion--metadata): New function.
22721 (completion-all-sorted-completions, minibuffer-completion-help): Use it
22722 to try and avoid pathological performance problems.
22723 (completion--embedded-envvar-table): Return `category' metadata.
22724
22725 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
22726
22727 * subr.el (process-alive-p): New tiny convenience function.
22728
22729 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22730
22731 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
22732 content but also its previous major mode.
22733
22734 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
22735
22736 * emacs-lisp/debug.el (debug): Restore the previous content of the
22737 *Backtrace* buffer when we exit with C-M-c.
22738
22739 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22740
22741 * minibuffer.el: Add metadata method to completion tables.
22742 (completion-category-overrides): New defcustom.
22743 (completion-metadata, completion--field-metadata)
22744 (completion-metadata-get, completion--styles)
22745 (completion--cycle-threshold): New functions.
22746 (completion-try-completion, completion-all-completions):
22747 Add `metadata' argument to choose completion-styles.
22748 (completion--do-completion): Use metadata to choose cycling.
22749 (completion-all-sorted-completions): Use metadata for sorting.
22750 Remove :completion-cycle-penalty which is not needed any more.
22751 (completion--try-word-completion): Add `metadata' argument.
22752 (minibuffer-completion-help): Check metadata for annotation function
22753 and sorting.
22754 (completion-file-name-table): Return `category' metadata.
22755 (minibuffer-completing-file-name): Make obsolete.
22756 * simple.el (minibuffer-completing-symbol): Make obsolete.
22757 * icomplete.el (icomplete-completions): Pass new `metadata' param to
22758 completion-try-completion.
22759
22760 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
22761
22762 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
22763
22764 2011-05-30 Leo Liu <sdl.web@gmail.com>
22765
22766 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
22767 (rcirc-print): Decode all incoming messages (bug#8744).
22768 (rcirc-decode-coding-system): Allow value nil for automatic coding
22769 system detection.
22770
22771 2011-06-01 Glenn Morris <rgm@gnu.org>
22772
22773 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
22774
22775 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22776
22777 * image.el (image-animate-max-time): Allow nil and t values.
22778 Default to nil.
22779 (create-animated-image): Doc fix.
22780 (image-animate-start): Remove second arg; just use
22781 image-animate-max-time.
22782 (image-animate-timeout): Doc fix. Args changed.
22783
22784 * image-mode.el (image-toggle-display-image): Ensure that the
22785 image spec passed to the animate timer is the same object as in
22786 the buffer's display property (Bug#6981).
22787 (image-transform-properties): Doc fix.
22788
22789 * image.el (image-animate-max-time): Default to nil.
22790
22791 2011-05-29 Martin Rudalics <rudalics@gmx.at>
22792
22793 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
22794 entire buffer list (Bug#8184).
22795
22796 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22797
22798 * image.el (imagemagick-types-inhibit)
22799 (imagemagick-register-types): Doc fix.
22800
22801 2011-05-29 Deniz Dogan <deniz@dogan.se>
22802
22803 * net/rcirc.el (rcirc): Use the user's stored encryption method by
22804 default.
22805
22806 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22807
22808 * select.el: Don't perform clipboard-manager saving in hooks;
22809 leave the hooks empty.
22810
22811 2011-05-28 Leo Liu <sdl.web@gmail.com>
22812
22813 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
22814 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
22815 (occur-edit-mode): New major mode (Bug#8463).
22816 (occur-after-change-function): New function.
22817 (occur-engine): Give Occur tags a read-only property.
22818
22819 2011-05-28 Kevin Ryde <user42@zip.com.au>
22820
22821 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
22822
22823 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22824
22825 * bindings.el (help-echo): Make the initial non-indicator dash
22826 empty on graphical terminals (Bug#7295).
22827
22828 * files.el (auto-mode-alist): Move config rule after the
22829 in-stripping one (Bug#8547).
22830
22831 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
22832
22833 * startup.el (normal-splash-screen): Remove gratuitous mode-line
22834 setting (Bug#8740).
22835
22836 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
22837
22838 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
22839 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
22840 (Bug#8539).
22841
22842 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22843
22844 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
22845
22846 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
22847
22848 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
22849 (hs-hide-block-at-point, hs-find-block-beginning)
22850 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
22851 (Bug#8279).
22852
22853 2011-05-28 Glenn Morris <rgm@gnu.org>
22854
22855 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
22856
22857 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22858
22859 * help-fns.el (describe-function-1): If the function is a derived
22860 major mode, print the parent mode.
22861
22862 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
22863 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
22864
22865 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
22866
22867 * minibuffer.el (completion--capf-wrapper): Check applicability before
22868 returning non-nil for non-exclusive completion data.
22869 * progmodes/etags.el (tags-completion-at-point-function):
22870 * info-look.el (info-lookup-completions-at-point): Mark as
22871 non-exclusive.
22872 (info-complete): Adjust accordingly.
22873
22874 * info-look.el: Convert to lexical-binding and completion-at-point.
22875 (info-lookup-completions-at-point): New function.
22876 (info-complete): Use it and completion-in-region.
22877
22878 2011-05-28 Drew Adams <drew.adams@oracle.com>
22879
22880 * isearch.el: Let M-e start with point at the first mismatched char.
22881 (isearch-fail-pos): New function.
22882 (isearch-edit-string): Use it.
22883
22884 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
22885
22886 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
22887
22888 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
22889
22890 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
22891 traversal functions for avl-trees.
22892 (avl-tree--stack): New struct.
22893 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
22894 (avl-tree-enter): Add optional `updatefun' arg.
22895 (avl-tree--do-enter): Add optional `updatefun' arg.
22896 Change return value.
22897 (avl-tree-delete): Add optional `test' and `nilflag' args.
22898 (avl-tree--do-delete): Add `test' and `nilflag' args.
22899 Change return value.
22900 (avl-tree-member): Add optional `nilflag'
22901 (avl-tree-member-p): New function.
22902 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
22903 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
22904 (avl-tree-stack-empty-p): New functions.
22905
22906 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
22907 avl-tree--del-balance1 and make it work both ways.
22908 (avl-tree--del-balance2): Remove.
22909 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
22910 make it work both ways.
22911 (avl-tree--enter-balance2): Remove.
22912 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
22913 New macros.
22914 (avl-tree--mapc, avl-tree-map): Add direction argument.
22915
22916 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
22917
22918 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
22919
22920 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
22921
22922 * select.el: Support clipboard managers with built-in function
22923 x-clipboard-manager-save, via delete-frame-functions and
22924 kill-emacs-hook.
22925 (xselect-convert-to-targets): Add MULTIPLE target to list.
22926 (xselect-convert-to-save-targets): New function.
22927
22928 2011-05-27 Kenichi Handa <handa@m17n.org>
22929
22930 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
22931 let-binding rfc2047-encode-encoded-words to nil.
22932
22933 2011-05-27 Glenn Morris <rgm@gnu.org>
22934
22935 * mail/emacsbug.el: Don't require url-util.
22936
22937 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
22938
22939 * files.el (set-auto-mode):
22940 Also respect mode: entries at the end of the file. (Bug#8586)
22941
22942 2011-05-26 Glenn Morris <rgm@gnu.org>
22943
22944 * files.el (hack-local-variables-prop-line, hack-local-variables):
22945 Downcase mode names, as seems to be traditional.
22946 (hack-local-variables, hack-local-variables-apply): Doc fixes.
22947
22948 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
22949 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
22950
22951 2011-05-25 Julien Danjou <julien@danjou.info>
22952
22953 * textmodes/rst.el (rst-define-level-faces): Do not define face
22954 symbol if it is already defined.
22955
22956 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
22957
22958 * play/5x5.el (5x5-new-game, 5x5-randomize):
22959 Reset 5x5-solver-output to nil when a new grid is cast.
22960 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
22961 these debugging traces, as defmacro breaks the compiled code.
22962
22963 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
22964
22965 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
22966
22967 2011-05-24 Leo Liu <sdl.web@gmail.com>
22968
22969 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
22970 (vc-bzr-sha1): Adapt.
22971
22972 * sha1.el: Remove. Function `sha1' is now builtin.
22973
22974 * bindings.el: Provide sha1 feature.
22975
22976 2011-05-24 Kenichi Handa <handa@m17n.org>
22977
22978 * mail/sendmail.el: Require `rfc2047'.
22979 (mail-insert-from-field): Do not perform RFC2047 encoding.
22980 (mail-encode-header): New function.
22981 (sendmail-send-it): Set buffer-file-coding-system of the work
22982 buffer to the return value of select-message-coding-system.
22983 Call mail-encode-header.
22984
22985 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
22986
22987 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
22988
22989 * mail/supercite.el (sc-default-cite-frame):
22990 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
22991
22992 2011-05-24 Glenn Morris <rgm@gnu.org>
22993
22994 * progmodes/python.el (brm-menu): Declare.
22995
22996 * emulation/viper.el (viper-set-hooks): Declare.
22997
22998 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
22999 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
23000 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
23001 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
23002 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
23003 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
23004
23005 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
23006
23007 Add an :exit-function for completion-at-point.
23008
23009 * minibuffer.el (completion--done): New fun.
23010 (completion--do-completion): Use it. New arg `expect-exact'.
23011 (minibuffer-complete, minibuffer-complete-word): Don't output message,
23012 since completion--do-completion does it for us now.
23013 (minibuffer-force-complete): Use completion--done and
23014 completion--replace. Handle sole-completion case with more care.
23015 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
23016 (completion-extra-properties): New var.
23017 (completion-annotate-function): Make obsolete.
23018 (minibuffer-completion-help): Adjust accordingly.
23019 Use completion-list-insert-choice-function.
23020 (completion-at-point, completion-help-at-point):
23021 Bind completion-extra-properties.
23022 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
23023 * simple.el (completion-list-insert-choice-function): New var.
23024 (completion-setup-function): Preserve it.
23025 (choose-completion): Pay attention to it, shuffle the code a bit.
23026 (choose-completion-string): New arg `insert-function'.
23027
23028 * textmodes/bibtex.el: Convert to lexical binding.
23029 (bibtex-mode-map): Use completion-at-point.
23030 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
23031 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
23032 (bibtex-complete): Define as obsolete alias.
23033 (bibtex-complete-internal): Remove.
23034 (bibtex-format-entry): Remove unused sub-group in regexp.
23035 * shell.el (shell--command-completion-data)
23036 (shell-environment-variable-completion):
23037 * pcomplete.el (pcomplete-completions-at-point):
23038 * comint.el (comint--complete-file-name-data): Use :exit-function
23039 instead of completion-table-with-terminator so it also works for
23040 choose-completion.
23041
23042 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
23043
23044 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
23045
23046 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
23047 (bug#8710).
23048
23049 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
23050
23051 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
23052
23053 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
23054 customization variable and implement: If non-nil, auto-fill will
23055 be inhibited while on topic's header line.
23056
23057 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
23058
23059 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
23060 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
23061 always have a solution in grid size = 5 cases.
23062 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
23063 (5x5-solver-output, 5x5-log-buffer): New vars.
23064 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
23065 Make these variables buffer local to achieve 5x5 multi-session-ness.
23066 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
23067 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
23068 (5x5-solve-suggest): New funs.
23069 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
23070 randomize a grid so that we ensure that there is always a solution.
23071 (5x5-make-random-grid): Allow other movement than flipping.
23072
23073 2011-05-23 Kevin Ryde <user42@zip.com.au>
23074
23075 * emacs-lisp/advice.el (ad-read-advised-function):
23076 Use `function-called-at-point' as the default, if it has
23077 advice and passes PREDICATE.
23078
23079 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
23080
23081 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
23082 byte-compile-lambda if it's actually a lambda.
23083
23084 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
23085 Fix function quoting. Use backquote better.
23086
23087 2011-05-22 Yuanle Song <sylecn@gmail.com>
23088
23089 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
23090 matching (Bug#8516).
23091
23092 2011-05-22 Jari Aalto <jari.aalto@cante.net>
23093
23094 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
23095 different face (Bug#8178).
23096
23097 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
23098
23099 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
23100 defface (Bug#8144).
23101
23102 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
23103
23104 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
23105 funcall as well (bug#8712). Warn when performing those conversions.
23106 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
23107
23108 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
23109
23110 2011-05-22 Glenn Morris <rgm@gnu.org>
23111
23112 * files.el (hack-local-variables-prop-line): Small simplifications.
23113 (hack-local-variables, hack-local-variables-prop-line):
23114 If MODE-ONLY, return the mode, rather than just `t'.
23115
23116 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
23117
23118 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
23119
23120 2011-05-21 Glenn Morris <rgm@gnu.org>
23121
23122 * files.el (hack-local-variables-prop-line, hack-local-variables):
23123 If only interested in the mode, don't bother doing the other stuff.
23124
23125 * image-mode.el (image-after-revert-hook):
23126 Redraw all frames on which the image is visible. (Bug#8567)
23127
23128 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
23129
23130 * wid-edit.el (widget-checklist-match-inline):
23131 Fix 2011-04-19 change. (Bug#8649)
23132
23133 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
23134
23135 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
23136 Also allow singlespace after single-letter capitals followed by a dot.
23137
23138 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
23139 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
23140
23141 2011-05-20 Nix <nix@esperi.org.uk>
23142
23143 * files.el (basic-save-buffer-2):
23144 Fix handling of break-hardlink-on-save with non-existent files.
23145
23146 2011-05-19 Deniz Dogan <deniz@dogan.se>
23147
23148 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
23149 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
23150
23151 2011-05-19 Glenn Morris <rgm@gnu.org>
23152
23153 * progmodes/f90.el (f90-type-def-re):
23154 Handle "type, bind(c)". (Bug#8691)
23155
23156 * emacs-lisp/autoload.el (batch-update-autoloads):
23157 Set autoload-excludes by parsing loadup.el rather than Makefiles.
23158
23159 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
23160
23161 * net/tramp.el (tramp-process-actions): Set "first-password-request"
23162 property for the correct connection in case of multihops.
23163
23164 2011-05-18 Glenn Morris <rgm@gnu.org>
23165
23166 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
23167 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
23168
23169 Rationalize calendar handling of day and month abbrev-arrays.
23170 * calendar/calendar.el (calendar-customized-p): New function.
23171 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
23172 (calendar-day-name-array, calendar-month-name-array): Doc fix.
23173 Add :set function.
23174 (calendar-abbrev-length, calendar-day-abbrev-array)
23175 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
23176 (calendar-day-abbrev-array, calendar-month-abbrev-array):
23177 Elements may no longer be nil.
23178 (calendar-day-name, calendar-month-name):
23179 Update for changed nature of abbrev arrays.
23180 * calendar/diary-lib.el (diary-name-pattern):
23181 Update for changed nature of abbrev arrays.
23182 (diary-mark-entries-1): Update calendar-make-alist calls.
23183 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
23184 * calendar/cal-html.el (cal-html-day-abbrev-array):
23185 Simply inherit from calendar-day-abbrev-array.
23186
23187 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
23188
23189 * progmodes/grep.el (grep-mode): Disable default
23190 compilation-directory-matcher setting (bug#8684).
23191
23192 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
23193
23194 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
23195 instead of "head" and "tail". There were problems with SunOS 5.9,
23196 and it performs better.
23197
23198 2011-05-17 Glenn Morris <rgm@gnu.org>
23199
23200 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
23201
23202 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
23203 Replace obsolete function.
23204
23205 * shell.el (pcomplete-parse-arguments-function): Declare.
23206
23207 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
23208 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
23209 (appt-check): Doc fixes.
23210 (appt-disp-window-function, appt-delete-window-function):
23211 Remove needless special case in custom :type.
23212 (appt-display-count): Default to 0, not nil.
23213 (appt-check): Reset appt-display-count to 0, not nil.
23214
23215 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
23216
23217 * progmodes/python.el (python-font-lock-keywords):
23218 Add the Python 3.X keyword "nonlocal" (bug#8639).
23219
23220 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
23221
23222 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
23223
23224 2011-05-16 Kevin Ryde <user42@zip.com.au>
23225
23226 * info-look.el (makefile-automake-mode): New setups, looking in
23227 automake manual, then makefile-mode.
23228 (makefile-mode): Remove automake manual, have it just in
23229 makefile-automake-mode since there's various things different or
23230 not relevant to plain make.
23231 (makefile-mode): Remove "other-modes" non-existent automake-mode,
23232 believe a hypothetical automake-mode would go to makefile-mode,
23233 not the other way around.
23234
23235 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
23236
23237 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
23238 hunk-end tags (Bug#8672).
23239
23240 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
23241 vc-annotate-show-diff-revision-at-line (Bug#8671).
23242
23243 2011-05-14 Glenn Morris <rgm@gnu.org>
23244
23245 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
23246 in the middle of an existing one with multiple authors. (Bug#8645)
23247 (change-log-font-lock-keywords): Also handle multiple author lines
23248 with leading tabs. (Bug#8644)
23249
23250 * calendar/appt.el (appt-check): Rename some local variables.
23251 Some simplification/reordering.
23252
23253 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
23254 (feedmail-sendmail-f-doesnt-sell-me-out)
23255 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
23256 (feedmail-debug-sit-for, feedmail-queue-express-hook)
23257 (feedmail-queue-runner-message-sender): Set :version.
23258 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
23259 (bbdb-dwim-net-address, vm-mail): Declare.
23260 (feedmail-binmail-gnulinuxish-template):
23261 Rename from feedmail-binmail-linuxish-template.
23262 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
23263 Use insert-buffer-substring.
23264
23265 2011-05-14 Bill Carpenter <bill@carpenter.org>
23266
23267 * mail/feedmail.el (feedmail-patch-level): Increase.
23268 (feedmail-debug): New custom group.
23269 (feedmail-confirm-outgoing-timeout)
23270 (feedmail-sendmail-f-doesnt-sell-me-out)
23271 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
23272 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
23273 (feedmail-sender-line, feedmail-from-line)
23274 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
23275 (feedmail-spray-this-address)
23276 (feedmail-spray-address-fiddle-plex-list)
23277 (feedmail-queue-use-send-time-for-date)
23278 (feedmail-queue-use-send-time-for-message-id)
23279 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
23280 (feedmail-buffer-eating-function):
23281 Doc fixes.
23282 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
23283 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
23284 (feedmail-message-action-scroll-down): New functions.
23285 (feedmail-queue-directory, feedmail-queue-draft-directory):
23286 Use expand-file-name.
23287 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
23288 Remove C-v help entry.
23289 (feedmail-queue-buffer-file-name): New variable.
23290 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
23291 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
23292 (feedmail-message-action-send-strong, feedmail-message-action-edit)
23293 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
23294 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
23295 (feedmail-message-action-toggle-spray)
23296 (feedmail-run-the-queue-no-prompts)
23297 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
23298 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
23299 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
23300 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
23301 (feedmail-envelope-deducer, feedmail-fiddle-from)
23302 (feedmail-fiddle-sender, feedmail-default-date-generator)
23303 (feedmail-fiddle-date, feedmail-fiddle-message-id)
23304 (feedmail-fiddle-spray-address)
23305 (feedmail-fiddle-list-of-spray-fiddle-plexes)
23306 (feedmail-fiddle-list-of-fiddle-plexes)
23307 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
23308 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
23309 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
23310 Change default. Doc fix.
23311 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
23312 (feedmail-binmail-linuxish-template): New constant.
23313 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
23314 Respect feedmail-sendmail-f-doesnt-sell-me-out.
23315 (feedmail-send-it): Add debug call.
23316 Use feedmail-queue-buffer-file-name, and
23317 feedmail-send-it-immediately-wrapper.
23318 (feedmail-message-action-send): Add debug call.
23319 Use feedmail-send-it-immediately-wrapper.
23320 (feedmail-queue-express-to-queue): Add debug call.
23321 Run feedmail-queue-express-hook.
23322 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
23323 (feedmail-message-action-help-blat):
23324 Rename from feedmail-queue-send-edit-prompt-help-first.
23325 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
23326 Check line-endings. Handle errors better.
23327 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
23328 Doc fix. Add debug call.
23329 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
23330 Use feedmail-queue-send-edit-prompt-inner.
23331 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
23332 (feedmail-queue-send-edit-prompt-inner): New function, extracted
23333 from feedmail-queue-send-edit-prompt.
23334 (feedmail-queue-send-edit-prompt-help)
23335 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
23336 (feedmail-tidy-up-slug): Add debug call.
23337 Respect feedmail-queue-slug-suspect-regexp.
23338 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
23339 (feedmail-dump-message-to-queue): Add debug call.
23340 Expand queue-directory.
23341 (feedmail-dump-message-to-queue): Change message slightly.
23342 Use feedmail-say-chatter.
23343 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
23344 (feedmail-send-it-immediately-wrapper): New function.
23345 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
23346 Insert empty string rather than newline. Handle full-frame case.
23347 Use catch/throw. Use feedmail-say-chatter.
23348 (feedmail-fiddle-from): Try mail-host-address.
23349 (feedmail-default-message-id-generator): Doc fix.
23350 Bind system-time-locale. Handle missing end.
23351 (feedmail-fiddle-x-mailer): Add debug call.
23352 Handle feedmail-x-mailer-line being nil.
23353 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
23354 Add debug call. Use buffer-substring-no-properties.
23355 (feedmail-say-debug, feedmail-say-chatter): New functions.
23356 (feedmail-find-eoh): Give an explicit error.
23357
23358 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
23359
23360 * net/newst-treeview.el (newsticker-treeview-face): Change default
23361 family from helvetica to sans.
23362 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
23363 etc/images/newsticker.
23364
23365 * net/newst-reader.el (newsticker-feed-face): Change default
23366 family from helvetica to sans.
23367
23368 * net/newst-plainview.el (newsticker-new-item-face)
23369 (newsticker-old-item-face, newsticker-immortal-item-face)
23370 (newsticker-obsolete-item-face, newsticker-date-face)
23371 (newsticker-statistics-face): Change default family from
23372 helvetica to sans.
23373 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
23374 etc/images/newsticker.
23375
23376 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
23377 (newsticker--process-auto-mark-filter-match): Tell user about
23378 auto-marking.
23379
23380 2011-05-13 Didier Verna <didier@xemacs.org>
23381
23382 Common Lisp indentation improvements on defmethod and lambda-lists.
23383 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
23384 TODO entries.
23385 (lisp-lambda-list-keyword-parameter-indentation)
23386 (lisp-lambda-list-keyword-parameter-alignment)
23387 (lisp-lambda-list-keyword-alignment): New customizable user options.
23388 (lisp-indent-defun-method): Improve docstring.
23389 (extended-loop-p): Fix comment.
23390 (lisp-indent-lambda-list-keywords-regexp): New variable.
23391 (lisp-indent-lambda-list): New function.
23392 (lisp-indent-259): Use it.
23393 (lisp-indent-defmethod): Support for more than one
23394 method qualifier and properly indent methods lambda-lists.
23395 (defgeneric): Provide a missing common-lisp-indent-function property.
23396
23397 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
23398
23399 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
23400 bounds for the empty string (bug#8667).
23401
23402 2011-05-13 Glenn Morris <rgm@gnu.org>
23403
23404 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
23405
23406 * mail/sendmail.el (sendmail-program): Try executable-find first.
23407 (sendmail-send-it): `sendmail-program' cannot be unbound.
23408
23409 * calendar/appt.el (appt-make-list): Simplify.
23410 (appt-time-msg-list): Doc fix.
23411 (appt-check): Change mode-line message at the time of the appointment.
23412
23413 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
23414
23415 * progmodes/ld-script.el (ld-script-keywords)
23416 (ld-script-builtins): Update keywords list.
23417
23418 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23419
23420 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
23421
23422 * shell.el (shell-completion-vars): New function.
23423 (shell-mode):
23424 * simple.el (read-shell-command): Use it.
23425 (blink-matching-open): No need for " [...]" in minibuffer-message.
23426
23427 2011-05-12 Glenn Morris <rgm@gnu.org>
23428
23429 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
23430 (appt-check): Simplify.
23431
23432 2011-05-12 Eli Zaretskii <eliz@gnu.org>
23433
23434 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
23435 literal "/dev/null".
23436
23437 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23438
23439 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
23440 Fix typo.
23441
23442 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
23443
23444 * progmodes/which-func.el (which-function):
23445 Use add-log-current-defun instead of add-log-current-defun-function,
23446 which might not be defined (Bug#8260).
23447
23448 2011-05-12 Glenn Morris <rgm@gnu.org>
23449
23450 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
23451 Let byte-compile-initial-macro-environment always take precedence.
23452
23453 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23454
23455 * net/rcirc.el: Add support for SSL/TLS connections.
23456 (rcirc-server-alist): New field `encryption'.
23457 (rcirc): Check `encryption' settings.
23458 (rcirc-connect): New arg `encryption'. Use open-network-stream.
23459 Merge make-local-variable into `set'.
23460 (rcirc--connection-open-p): New function.
23461 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
23462 the process is not a network process (e.g. running gnutls-cli).
23463 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
23464 Make rcirc-(en|de)code-coding-system local here.
23465 (rcirc-mode): Merge make-local-variable into `set'.
23466 (rcirc-parent-buffer): Make permanent buffer-local.
23467 (rcirc-multiline-minor-mode): Don't do it here.
23468 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
23469 there's no server buffer.
23470
23471 2011-05-11 Glenn Morris <rgm@gnu.org>
23472
23473 * newcomment.el (comment-kill): Prefix "unused" local.
23474
23475 * term/w32console.el (get-screen-color): Declare.
23476
23477 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
23478 Handle symbol elements of byte-compile-initial-macro-environment.
23479
23480 2011-05-10 Leo Liu <sdl.web@gmail.com>
23481
23482 * bookmark.el (bookmark-bmenu-mode-map):
23483 Bind bookmark-bmenu-search to `/'.
23484
23485 * mail/footnote.el: Convert to utf-8 encoding.
23486 (footnote-unicode-string, footnote-unicode-regexp): New variable.
23487 (Footnote-unicode): New function.
23488 (footnote-style-alist): Add unicode style to the list.
23489 (footnote-style): Doc fix.
23490
23491 2011-05-10 Jim Meyering <meyering@redhat.com>
23492
23493 Fix doubled-word typos.
23494 * international/quail.el (quail-insert-kbd-layout): and and -> and
23495 * kermit.el: and and -> and
23496 * net/ldap.el (ldap-search-internal): to to -> to
23497 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
23498 * progmodes/js.el (js-mode): and and -> and
23499 * textmodes/artist.el (artist-move-to-xy): at at -> at
23500 (artist-draw-region-trim-line-endings): if if -> if
23501 And Safetyc -> Safety.
23502 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
23503
23504 2011-05-10 Glenn Morris <rgm@gnu.org>
23505 Stefan Monnier <monnier@iro.umontreal.ca>
23506
23507 * files.el (hack-one-local-variable-eval-safep):
23508 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
23509
23510 2011-05-10 Glenn Morris <rgm@gnu.org>
23511
23512 * calendar/diary-lib.el (diary-list-entries-hook)
23513 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
23514 (diary-nongregorian-marking-hook, diary-list-entries)
23515 (diary-include-other-diary-files, diary-mark-entries)
23516 (diary-mark-included-diary-files): Doc fixes.
23517
23518 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
23519
23520 * misc.el: Require tabulated-list.el during compilation.
23521
23522 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
23523
23524 * progmodes/compile.el (compilation-start):
23525 Run compilation-filter-hook for the async case too.
23526 (compilation-filter-hook): Doc fix.
23527
23528 2011-05-09 Deniz Dogan <deniz@dogan.se>
23529
23530 * wdired.el: Remove outdated installation comment. Fix usage
23531 comment.
23532
23533 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
23534
23535 * misc.el: Implement new command `list-dynamic-libraries'.
23536 (list-dynamic-libraries--loaded-only-p): New variable.
23537 (list-dynamic-libraries--refresh): New function.
23538 (list-dynamic-libraries): New command.
23539
23540 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
23541
23542 * progmodes/compile.el (compilation-error-regexp-alist-alist):
23543 Fix the ant regexp to handle end-line and end-column info from jikes.
23544 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
23545 higher priority to avoid clobbering by gnu.
23546
23547 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
23548
23549 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
23550 if the face has existing theme settings (Bug#8454).
23551
23552 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
23553
23554 * progmodes/perl-mode.el (perl-imenu-generic-expression):
23555 Only match variables declared via `my' or `our' (Bug#8261).
23556
23557 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
23558 special file names `.' and `..' (Bug#8259).
23559
23560 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
23561
23562 * progmodes/grep.el (grep-mode-font-lock-keywords):
23563 Remove buffer-changing entries.
23564 (grep-filter): New function.
23565 (grep-mode): Add it to compilation-filter-hook.
23566
23567 * progmodes/compile.el (compilation-filter-hook)
23568 (compilation-filter-start): New defvars.
23569 (compilation-filter): Call compilation-filter-hook prior to
23570 updating the process mark.
23571
23572 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
23573
23574 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
23575
23576 2011-05-07 Eli Zaretskii <eliz@gnu.org>
23577
23578 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
23579 mailclient-send-it even if window-system is nil. (Bug#8595)
23580
23581 * term/w32console.el (terminal-init-w32console):
23582 Call get-screen-color and use its output to set the frame
23583 background-mode. (Bug#8597)
23584
23585 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
23586
23587 Make bytecomp.el understand that defmethod defines funs (bug#8631).
23588 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
23589 New functions.
23590 (defgeneric, eieio--defmethod): Use them.
23591 (eieio-defgeneric): Remove.
23592 (defmethod): Call defgeneric in a way visible to the byte-compiler.
23593
23594 2011-05-07 Glenn Morris <rgm@gnu.org>
23595
23596 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
23597 Use let rather than let*.
23598 (timeclock-find-discrep): Remove unused local.
23599
23600 * calendar/diary-lib.el (diary-comment-start): Doc fix.
23601
23602 * calendar/appt.el (appt-time-msg-list): Doc fix.
23603
23604 2011-05-06 Noah Friedman <friedman@splode.com>
23605
23606 * apropos.el (apropos-print-doc): Only use
23607 emacs-lisp-docstring-fill-column when it is bound to an integer,
23608 per that variable's documentation.
23609
23610 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
23611
23612 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
23613 and warnings are not silently discarded (e.g. use -d instead of -P).
23614
23615 2011-05-06 Glenn Morris <rgm@gnu.org>
23616
23617 * calendar/appt.el (appt-message-warning-time): Doc fix.
23618 (appt-warning-time-regexp): New option.
23619 (appt-make-list): Respect appt-message-warning-time.
23620
23621 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
23622 New options.
23623 (diary-add-to-list): Strip comments from the displayed string.
23624 (diary-mode): Set comment-start and comment-end.
23625
23626 * vc/diff-mode.el (smerge-refine-subst): Declare.
23627 (diff-refine-hunk): Don't require smerge-mode when compiling.
23628
23629 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
23630
23631 * simple.el (list-processes): Return nil as the docstring says.
23632
23633 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
23634
23635 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
23636 to "".
23637 (ange-ftp-write-region, ange-ftp-insert-file-contents)
23638 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
23639 determining of binary transfer. (Bug#7383)
23640
23641 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
23642
23643 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23644 Fix port computation bug. (Bug#8618)
23645
23646 2011-05-05 Glenn Morris <rgm@gnu.org>
23647
23648 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
23649
23650 * simple.el (shell-dynamic-complete-functions)
23651 (comint-dynamic-complete-functions): Declare.
23652
23653 * net/network-stream.el (gnutls-negotiate):
23654 * simple.el (tabulated-list-print): Fix declarations.
23655
23656 * progmodes/gud.el (syntax-symbol, syntax-point):
23657 Remove unnecessary and incorrect declarations.
23658
23659 * emacs-lisp/check-declare.el (check-declare-scan):
23660 Handle byte-compile-initial-macro-environment in bytecomp.el.
23661
23662 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
23663
23664 Fix earlier half-done eieio-defmethod change (bug#8338).
23665 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
23666 Streamline and change calling convention.
23667 (defmethod): Adjust accordingly and simplify.
23668 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
23669 new eieio--defmethod.
23670 (slot-boundp): Minor CSE simplification.
23671
23672 2011-05-05 Milan Zamazal <pdm@zamazal.org>
23673
23674 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
23675 (glasses-make-readable): Use glasses-separate-capital-groups.
23676
23677 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
23678
23679 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
23680 (warning-series): Doc fix.
23681 (display-warning): Don't try to create the buffer if we just found it.
23682
23683 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
23684
23685 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
23686 (autoload-find-generated-file): New function.
23687 (generate-file-autoloads): Bind generated-autoload-file to
23688 buffer-file-name.
23689 (update-file-autoloads, update-directory-autoloads):
23690 Use autoload-find-generated-file. If called interactively, prompt for
23691 output file (Bug#7989).
23692 (batch-update-autoloads): Doc fix.
23693
23694 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
23695
23696 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
23697
23698 2011-05-04 Glenn Morris <rgm@gnu.org>
23699
23700 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
23701 function, so it follows changes in calendar-date-style.
23702 (diary-fancy-date-matcher): New function.
23703 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
23704 (diary-fancy-font-lock-fontify-region-function):
23705 Use diary-fancy-date-pattern as a function.
23706
23707 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
23708 non-numbers for `year' etc pseudo-variables. (Bug#8583)
23709
23710 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
23711
23712 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
23713 instead of positional arguments. Allow :keylist and :crlfiles
23714 arguments.
23715 (open-gnutls-stream): Call it.
23716
23717 * net/network-stream.el (network-stream-open-starttls): Adjust to
23718 call `gnutls-negotiate' with :process and :hostname arguments.
23719
23720 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
23721
23722 * minibuffer.el (completion--message): New function.
23723 (completion--do-completion, minibuffer-complete)
23724 (minibuffer-force-complete, minibuffer-complete-word): Use it.
23725 (completion--do-completion): Don't ignore completion-auto-help when in
23726 icomplete-mode.
23727
23728 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
23729 internal encoding (e.g. tibetan zero is not whitespace).
23730 (global-whitespace-mode): Prefer save-current-buffer.
23731 (whitespace-trailing-regexp): Remove useless save-match-data.
23732 (whitespace-empty-at-bob-regexp): Minor simplification.
23733
23734 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
23735
23736 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
23737
23738 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
23739
23740 * textmodes/ispell.el (ispell-add-per-file-word-list):
23741 Use `concat' to create string for insertion.
23742
23743 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
23744
23745 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
23746 Avoid open-line which runs post-self-insert-hook.
23747 (bibtex-fill-entry): Remove unused `end' var.
23748
23749 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
23750
23751 * textmodes/ispell.el (ispell-add-per-file-word-list):
23752 Protect against `nil' value of `comment-start' (Bug#8579).
23753
23754 2011-05-03 Leo Liu <sdl.web@gmail.com>
23755
23756 * isearch.el (isearch-yank-pop): New command.
23757 (isearch-mode-map): Bind it to `M-y'.
23758 (isearch-forward): Mention it.
23759
23760 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
23761
23762 * simple.el (minibuffer-complete-shell-command): Remove.
23763 (minibuffer-local-shell-command-map): Use completion-at-point.
23764 (read-shell-command): Setup completion vars here instead.
23765 (read-expression-map): Bind TAB to symbol completion.
23766
23767 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
23768 error directly rather via storing it into `results'.
23769
23770 2011-05-02 Leo Liu <sdl.web@gmail.com>
23771
23772 * vc/diff.el: Fix description.
23773
23774 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23775
23776 * server.el (server-eval-at): New function.
23777
23778 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
23779
23780 * net/network-stream.el (open-network-stream): Take a :nowait
23781 parameter and pass it on to `make-network-process'.
23782 (network-stream-open-plain): Ditto.
23783
23784 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
23785
23786 * faces.el (face-spec-set-match-display): Don't match toolkit
23787 options on terminal frames.
23788
23789 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
23790
23791 * progmodes/pascal.el: Use lexical binding.
23792 (pascal-mode-map): Remove author preferences.
23793
23794 * pcomplete.el (pcomplete-std-complete): Don't abuse
23795 completion-at-point.
23796
23797 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
23798
23799 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
23800 removing code that has been dead since 1991 or so.
23801
23802 * startup.el (command-line): When warning about "_emacs", use a
23803 delayed warning to allow the user to filter it out.
23804
23805 2011-04-28 Deniz Dogan <deniz@dogan.se>
23806
23807 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
23808 user has not joined.
23809
23810 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
23811
23812 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
23813 aren't any completions at point.
23814
23815 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
23816
23817 * subr.el (display-delayed-warnings): New function.
23818 (delayed-warnings-hook): New variable.
23819
23820 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
23821
23822 * minibuffer.el (completion-at-point, completion-help-at-point):
23823 Don't presume that a given completion-at-point-function will always
23824 use the same calling convention.
23825
23826 * pcomplete.el (pcomplete-completions-at-point):
23827 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
23828 pcomplete-seen is non-nil.
23829 (pcomplete-comint-setup): Also recognize the new comint/shell
23830 completion functions.
23831 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
23832 pcomplete-seen is non-nil.
23833
23834 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
23835
23836 * calendar/icalendar.el (diary-lib): Add require statement.
23837 (icalendar--create-uid): Read out a uid from a text-property on
23838 the first character in the entry. This allows for code to add its
23839 own uid to the entry.
23840 (icalendar--convert-float-to-ical): Add export of
23841 `diary-float'-entries save for those with the optional DAY
23842 argument.
23843
23844 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
23845
23846 * subr.el (shell-quote-argument): Use alternate escaping strategy
23847 when we spot a variable reference in a string.
23848
23849 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
23850
23851 * cus-start.el (all): Define customization for debug-on-event.
23852
23853 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
23854
23855 * subr.el (shell-quote-argument): Escape correctly under Windows.
23856
23857 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
23858
23859 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
23860
23861 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
23862
23863 * net/tramp.el (tramp-process-actions): Add POS argument.
23864 Delete region between POS and (pos).
23865
23866 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23867 Use `nil' position in `tramp-process-actions' call.
23868 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
23869
23870 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
23871 position in `tramp-process-actions' call.
23872
23873 * net/trampver.el: Update release number.
23874
23875 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
23876
23877 * custom.el (defcustom): Obey lexical-binding.
23878
23879 Fix octave-inf completion problems reported by Alexander Klimov.
23880 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
23881 Inherit from octave-mode-syntax-table.
23882 (inferior-octave-mode): Set info-lookup-mode.
23883 (inferior-octave-completion-at-point): New function.
23884 (inferior-octave-complete): Use it and completion-in-region.
23885 (inferior-octave-dynamic-complete-functions): Use it as well, and use
23886 comint-filename-completion.
23887 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
23888 symbol elements which shouldn't be word elements.
23889 (octave-font-lock-keywords, octave-beginning-of-defun)
23890 (octave-function-header-regexp): Adjust regexps accordingly.
23891 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
23892
23893 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
23894
23895 * net/gnutls.el (gnutls-errorp): Declare before first use.
23896
23897 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
23898
23899 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
23900 verify-error, and verify-hostname-error parameters. Check whether
23901 default trustfile exists before going to use it. Add missing
23902 argument to gnutls-message-maybe call. Return value.
23903 Reported by Claudio Bley <claudio.bley@gmail.com>.
23904 (open-gnutls-stream): Add usage example.
23905
23906 * net/network-stream.el (network-stream-open-starttls): Give host
23907 parameter to `gnutls-negotiate'.
23908 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
23909 * subr.el (shell-quote-argument): Escape correctly under Windows.
23910
23911 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
23912
23913 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
23914 Use correct match group (bug#8438).
23915
23916 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
23917
23918 * emacs-lisp/package.el (package-built-in-p): Fix typo.
23919 (package-menu--generate): New arg specifying packages to show.
23920 (package-menu-refresh, package-menu-execute, list-packages):
23921 Callers changed.
23922 (package-show-package-list): New function, replacing deleted
23923 package--list-packages (renamed because it is non-internal).
23924
23925 * finder.el (finder-list-matches): Use package-show-package-list
23926 instead of deleted package--list-packages.
23927
23928 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
23929 Based on a previous implementation by Juanma Barranquero (Bug#8366).
23930 (vc-annotate-mode-map): Bind it to RET.
23931
23932 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
23933
23934 * progmodes/etags.el (next-file): Don't use set-buffer to change
23935 buffers (Bug#8478).
23936
23937 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
23938
23939 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
23940
23941 * apropos.el (apropos-label-face): Avoid variable-pitch face.
23942 (apropos-accumulator): Doc fix.
23943 (apropos-function, apropos-macro, apropos-command)
23944 (apropos-variable, apropos-face, apropos-group, apropos-widget)
23945 (apropos-plist): Add face property.
23946 (apropos-symbols-internal): Fix indentation.
23947 (apropos-print): Simplify help, and recognize apropos-multi-type.
23948 (apropos-print-doc): Use button-type-get to extract the button's
23949 face property. Fill docstring (Bug#8352).
23950
23951 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
23952
23953 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
23954
23955 * play/mpuz.el (mpuz-silent): Doc fix.
23956 (mpuz-mode-map): Use mapc.
23957 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
23958 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
23959 Fix typos in docstrings.
23960
23961 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
23962 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
23963
23964 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
23965
23966 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
23967
23968 * minibuffer.el (completion--do-completion): Avoid the "Next char
23969 not unique" prompt if icomplete-mode is enabled (Bug#5849).
23970
23971 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
23972 mouse-2 into unread-command-events, it is interpreted correctly.
23973
23974 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
23975 (image-toggle-display): Doc fix.
23976
23977 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
23978
23979 * textmodes/page.el (what-page): Use line-number-at-pos to
23980 calculate line number (Bug#6825).
23981
23982 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
23983
23984 * eshell/esh-mode.el (find-tag-interactive): Declare function.
23985 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
23986 Pass argument NO-DEFAULT to `find-tag-interactive'.
23987
23988 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
23989
23990 Lexical-binding cleanup.
23991
23992 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
23993 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
23994 * progmodes/ada-prj.el (ada-prj-initialize-values)
23995 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
23996 (ada-prj-show-value):
23997 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
23998 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
23999 (antlr-invalidate-context-cache, antlr-options-menu-filter)
24000 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
24001 * progmodes/bug-reference.el (bug-reference-push-button):
24002 * progmodes/fortran.el (fortran-line-length):
24003 * progmodes/glasses.el (glasses-change):
24004 * progmodes/octave-mod.el (octave-fill-paragraph):
24005 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
24006 (python-pdbtrack-grub-for-buffer, python-sentinel):
24007 * progmodes/sql.el (sql-save-connection):
24008 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
24009 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
24010 Mark unused parameters.
24011
24012 * progmodes/compile.el (compilation--flush-directory-cache)
24013 (compilation--flush-parse, compile-internal): Mark unused parameters.
24014 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
24015 (compilation-next-error-function): Remove unused variable `timestamp'.
24016
24017 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
24018 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
24019
24020 * progmodes/dcl-mode.el (dcl-end-of-command):
24021 Remove unused variable `start'.
24022 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
24023 (dcl-option-value-basic, dcl-option-value-offset)
24024 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
24025 Mark unused parameters.
24026 (dcl-save-local-variable): Remove unused variable `val'.
24027 (mode): Declare.
24028
24029 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
24030 Mark unused parameters.
24031 (delphi-ignore-changes): Move before first use.
24032 (delphi-charset-token-at): Remove unused variable `start'.
24033 (delphi-else-start): Remove unused variable `if-count'.
24034 (delphi-comment-block-start, delphi-comment-block-end):
24035 Remove unused variable `kind'.
24036 (delphi-indent-line): Remove unused variable `new-point'.
24037
24038 * progmodes/ebrowse.el (ebrowse-files-list)
24039 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
24040 Mark unused parameters. Don't quote `lambda'.
24041 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
24042 Don't quote `lambda'.
24043 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
24044 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
24045 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
24046 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
24047 Use `ignore-errors'.
24048 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
24049 (ebrowse-view/find-file-and-search-pattern)
24050 (ebrowse-view/find-member-declaration/definition):
24051 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
24052 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
24053 Rename parameter PREFIX-ARG to PREFIX.
24054 (ebrowse-tags-read-name): Remove unused variables `start' and
24055 `member-info'.
24056 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
24057 to `tags-file'.
24058
24059 * progmodes/etags.el (local-find-tag-hook): Declare.
24060 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
24061 Mark unused parameters.
24062
24063 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
24064 (executable-interpret): Mark unused parameter.
24065
24066 * progmodes/flymake.el (flymake-process-sentinel)
24067 (flymake-after-change-function)
24068 (flymake-create-temp-with-folder-structure)
24069 (flymake-get-include-dirs-dot): Mark unused parameters.
24070 (flymake-safe-delete-directory): Remove unused variable `err'.
24071
24072 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
24073 (speedbar-timer-fn, speedbar-line-text)
24074 (speedbar-change-expand-button-char, speedbar-delete-subblock)
24075 (speedbar-center-buffer-smartly): Declare functions.
24076 (gdb-find-watch-expression): Remove unused variable `array'.
24077 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
24078 (gdb-starting): Mark unused parameters.
24079 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
24080 (gdb-table-string): Remove unused variable `res'.
24081 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
24082 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
24083 (gdb-display-buffer): Remove unused variable `cur-size'.
24084
24085 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
24086 allow lexical-binding compilation.
24087 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
24088 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
24089 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
24090 Mark unused parameters.
24091 (gud-gdb-marker-filter): Remove unused variable `match'.
24092 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
24093 lambda expressions and funcall them, instead of using `fset'.
24094
24095 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
24096 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
24097
24098 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
24099 variable `header-beg'; use `let'.
24100
24101 * progmodes/icon.el (indent-icon-exp): Remove unused variables
24102 `restart', `last-sexp' and `at-do'.
24103
24104 * progmodes/js.el (js--debug): Mark unused parameter.
24105 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
24106 (js--splice-into-items): Remove unused variable `item'.
24107 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
24108
24109 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
24110 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
24111 (makefile-complete): Remove unused variable `try'.
24112 (makefile-fill-paragraph, makefile-match-function-end):
24113 Mark unused parameters.
24114
24115 * progmodes/octave-inf.el (inferior-octave-complete):
24116 Remove unused variable `proc'.
24117 (inferior-octave-output-digest): Mark unused parameter.
24118
24119 * progmodes/perl-mode.el (perl-calculate-indent):
24120 Remove unused variable `err'.
24121
24122 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
24123 (prolog-indent-line): Mark unused parameters.
24124 (prolog-indent-line): Remove unused variable `beg'.
24125
24126 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
24127 (reporter-dont-compact-list): Declare.
24128
24129 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
24130 Remove unused variable `char'.
24131 (sh-debug): Mark unused parameter.
24132 (sh-get-indent-info): Remove unused variable `start'.
24133 (sh-calculate-indent): Remove unused variable `var'.
24134
24135 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
24136 (simula-electric-keyword): Remove unused variable `null'.
24137 (simula-search-backward, simula-search-forward): Remove unused
24138 variables `begin' and `end'.
24139
24140 * progmodes/vera-mode.el (vera-guess-basic-syntax):
24141 Remove unused variable `pos'.
24142 (vera-electric-tab, vera-comment-uncomment-region):
24143 Mark unused parameters.
24144 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
24145
24146 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
24147
24148 * emacs-lisp/package.el (package--builtins, package-alist)
24149 (package-load-descriptor, package-built-in-p, package-activate)
24150 (define-package, package-installed-p)
24151 (package-compute-transaction, package-buffer-info)
24152 (package--push): Doc fix. Distinguish more clearly between
24153 version strings and version lists.
24154
24155 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
24156
24157 Lexical-binding cleanup.
24158
24159 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
24160 (5x5-make-mutate-best):
24161 * play/fortune.el (fortune-in-buffer):
24162 * play/gomoku.el (gomoku-init-display):
24163 * play/solitaire.el (solitaire, solitaire-do-check):
24164 * play/tetris.el (tetris-default-update-speed-function):
24165 Mark unused parameters.
24166
24167 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
24168 (bubbles--shift): Remove unused variable `char-org'.
24169 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
24170 (bubbles--show-images): Remove unused variable `char'.
24171
24172 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
24173 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
24174 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
24175 (decipher-analyze-buffer): Use ?\s.
24176 (decipher-make-checkpoint): Remove unused variable `mapping'.
24177
24178 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
24179
24180 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
24181 Remove unused variable `result'; use `let'.
24182
24183 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
24184 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
24185 (gametree-children-shown-p, gametree-compute-reduced-score):
24186 Use `ignore-errors'.
24187
24188 * play/handwrite.el (ps-lpr-switches): Declare.
24189 (handwrite): Remove unused variables `pmin' and `lastp'.
24190
24191 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
24192
24193 * play/landmark.el (landmark-init-display)
24194 (landmark-update-naught-weights): Mark unused parameters.
24195 (landmark-y): Remove unused variable `noise'. Simplify.
24196 (landmark-human-plays): Remove unused variable `score'.
24197
24198 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
24199 (mpuz-try-proposal): Remove unused variable `game'.
24200
24201 * play/zone.el (life-patterns): Declare.
24202
24203 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
24204
24205 * vc/vc.el (ediff-vc-internal): Declare function.
24206
24207 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
24208
24209 * shell.el: Use lexical-binding and std completion UI.
24210 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
24211 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
24212 comint-preoutput-filter-functions rather than on
24213 comint-output-filter-functions.
24214 (shell-command-completion, shell--command-completion-data)
24215 (shell-filename-completion, shell-environment-variable-completion)
24216 (shell-c-a-p-replace-by-expanded-directory): New functions.
24217 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
24218 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
24219 (shell-dynamic-complete-environment-variable): Use them.
24220 (shell-dynamic-complete-as-environment-variable)
24221 (shell-dynamic-complete-as-command): Remove.
24222 (shell-match-partial-variable): Match past point.
24223 * comint.el: Clean up use of completion-at-point-functions.
24224 (comint-completion-at-point): New function.
24225 (comint-mode): Use it completion-at-point-functions.
24226 (comint-dynamic-complete): Make it obsolete.
24227 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
24228 (comint-c-a-p-replace-by-expanded-history): New function.
24229 (comint-dynamic-complete-functions)
24230 (comint-replace-by-expanded-history): Use it.
24231 * minibuffer.el (completion-table-with-terminator): Allow dynamic
24232 termination strings. Try harder to avoid second try-completion.
24233 (completion-in-region-mode-map): Disable bindings that don't work yet.
24234
24235 * comint.el: Use lexical-binding. Require CL.
24236 (comint-dynamic-complete-functions): Use comint-filename-completion.
24237 (comint-completion-addsuffix): Tweak custom type.
24238 (comint-filename-completion, comint--common-suffix)
24239 (comint--common-quoted-suffix, comint--table-subvert)
24240 (comint--complete-file-name-data): New functions.
24241 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
24242 (comint-dynamic-list-filename-completions): Use them.
24243 (comint-dynamic-simple-complete): Make obsolete.
24244
24245 * minibuffer.el (completion-in-region-mode):
24246 Keep completion-in-region-mode--predicate global.
24247 (completion-in-region--postch):
24248 Assume completion-in-region-mode--predicate is not null.
24249
24250 * progmodes/flymake.el (flymake-start-syntax-check-process):
24251 Obey `dir'. Simplify.
24252
24253 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
24254 we're in VC after all.
24255
24256 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
24257
24258 * vc/vc.el (vc-diff-build-argument-list-internal)
24259 (vc-version-ediff, vc-ediff): New commands.
24260 (vc-version-diff): Use vc-diff-build-argument-list-internal.
24261
24262 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
24263
24264 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
24265 add sanity check.
24266
24267 * obsolete/erc-hecomplete.el: Make obsolete.
24268 * obsolete/: Standardize obsolescence info in the header.
24269
24270 2011-04-20 Glenn Morris <rgm@gnu.org>
24271
24272 * calendar/solar.el (solar-horizontal-coordinates):
24273 Use the longitude argument rather than `calendar-longitude'.
24274 (solar-date-next-longitude): Remove unused locals.
24275
24276 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
24277
24278 * whitespace.el: New version 13.2.1.
24279
24280 2011-04-20 felix <EmacsWiki> (tiny change)
24281
24282 * whitespace.el (global-whitespace-mode): Keep highlight when
24283 switching between major modes on a file.
24284
24285 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
24286
24287 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
24288 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
24289 multi-line comments as well.
24290
24291 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
24292
24293 Lexical-binding cleanup.
24294
24295 * arc-mode.el (archive-mode-revert):
24296 * cmuscheme.el (scheme-interactively-start-process):
24297 * custom.el (custom-initialize-delay):
24298 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
24299 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
24300 * emacs-lock.el (emacs-lock-clear-sentinel):
24301 * ezimage.el (defezimage):
24302 * follow.el (follow-avoid-tail-recenter):
24303 * fringe.el (set-fringe-mode-1):
24304 * generic-x.el (bat-generic-mode-compile):
24305 * help-mode.el (help-info-variable, help-do-xref)
24306 (help-mode-revert-buffer):
24307 * help.el (view-emacs-todo):
24308 * iswitchb.el (iswitchb-completion-help):
24309 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
24310 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
24311 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
24312 * locate.el (locate-update):
24313 * longlines.el (longlines-encode-region)
24314 (longlines-after-change-function):
24315 * outline.el (outline-isearch-open-invisible):
24316 * ps-def.el (declare-function, charset-dimension, char-width)
24317 (encode-char):
24318 * ps-mule.el (ps-mule-plot-string):
24319 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
24320 (recentf-edit-list-select, recentf-edit-list-validate)
24321 (recentf-open-files-action):
24322 * rect.el (delete-whitespace-rectangle-line)
24323 (rectangle-number-line-callback):
24324 * register.el (window-configuration-to-register)
24325 (frame-configuration-to-register):
24326 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
24327 * select.el (xselect-convert-to-string, xselect-convert-to-length)
24328 (xselect-convert-to-targets, xselect-convert-to-delete)
24329 (xselect-convert-to-filename, xselect-convert-to-charpos)
24330 (xselect-convert-to-lineno, xselect-convert-to-colno)
24331 (xselect-convert-to-os, xselect-convert-to-host)
24332 (xselect-convert-to-user, xselect-convert-to-class)
24333 (xselect-convert-to-name, xselect-convert-to-integer)
24334 (xselect-convert-to-atom, xselect-convert-to-identity):
24335 * subr.el (declare, ignore, process-kill-without-query)
24336 (text-clone-maintain):
24337 * terminal.el (te-get-char, te-tic-sentinel):
24338 * tool-bar.el (tool-bar-make-keymap):
24339 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
24340 * type-break.el (type-break-mode, type-break-noninteractive-query):
24341 * view.el (View-back-to-mark):
24342 * wid-browse.el (widget-browse-action, widget-browse-widget)
24343 (widget-browse-widgets, widget-browse-sexp):
24344 * widget.el (define-widget-keywords):
24345 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
24346 Mark unused parameters.
24347
24348 * align.el (align-adjust-col-for-rule): Mark unused parameter.
24349 (align-areas): Remove unused variable `look'.
24350 (align-region): Remove unused variables `real-end' and `pos-list'.
24351
24352 * apropos.el (apropos-score-doc): Remove unused variable `i'.
24353
24354 * bindings.el (mode-line-modified, mode-line-remote):
24355 Mark unused parameters.
24356 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
24357
24358 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
24359 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
24360
24361 * comint.el (comint-history-isearch-pop-state)
24362 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
24363 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
24364 (comint-substitute-in-file-name): Doc fix.
24365
24366 * completion.el (cmpl-statistics-block): Mark unused parameter.
24367 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
24368 (save-completions-to-file, load-completions-from-file):
24369 Remove unused local variable `e'.
24370
24371 * composite.el (compose-chars): Remove unused variable `len'.
24372 (lgstring-insert-glyph): Remove unused variable `g'.
24373 (compose-glyph-string): Remove unused variables `ascent',
24374 `descent', `lbearing' and `rbearing'.
24375 (compose-glyph-string-relative): Remove unused variables
24376 `lbearing', `rbearing' and `wadjust'.
24377 (compose-gstring-for-graphic): Remove unused variables `header',
24378 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
24379 (compose-gstring-for-terminal): Remove unused variables `header'
24380 and `nchars'. Use `let', not `let*'.
24381
24382 * cus-edit.el (Custom-set, Custom-save, custom-reset)
24383 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
24384 (Custom-buffer-done, custom-buffer-create-internal)
24385 (custom-browse-visibility-action, custom-browse-group-tag-action)
24386 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
24387 (widget-magic-mouse-down-action, custom-toggle-parent)
24388 (custom-add-parent-links, custom-toggle-hide-variable)
24389 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
24390 (custom-toggle-hide-face, face, hook, custom-group-link-action)
24391 (custom-face-menu-create, custom-variable-menu-create, get)
24392 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
24393 (custom-reset-standard-save-and-update): Remove unused variable `value'.
24394 (customize-apropos): Remove unused variable `tests'.
24395 (custom-group-value-create): Remove unused variable `hidden-p'.
24396 (sort-fold-case): Declare.
24397
24398 * cus-theme.el (custom-reset-standard-faces-list)
24399 (custom-reset-standard-variables-list): Declare.
24400 (customize-create-theme, custom-theme-revert, custom-theme-write)
24401 (custom-theme-choose-mode, customize-themes, custom-theme-save):
24402 Mark unused parameters.
24403
24404 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
24405
24406 * delim-col.el (delimit-columns-max): Move defvar before first use.
24407
24408 * descr-text.el (describe-char-categories): Don't quote `lambda'.
24409 (describe-char): Don't quote `lambda'. Mark unused parameter.
24410
24411 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
24412 (auto-insert): Declare.
24413 (desktop-restore-file-buffer): Rename desktop-* parameters;
24414 mark unused ones.
24415 (desktop-create-buffer): Rename desktop-* parameters and bind them.
24416 (desktop-buffer): Rename desktop-* parameters.
24417
24418 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
24419 (dframe-reposition-frame-xemacs, dframe-help-echo)
24420 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
24421 Mark unused parameters.
24422
24423 * dired-aux.el (backup-extract-version-start, overwrite-query)
24424 (overwrite-backup-query, rename-regexp-query)
24425 (rename-non-directory-query): Declare.
24426 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
24427 (dired-add-entry): Remove unused variable `orig-file-name'.
24428 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
24429 Use parameter PRESERVE-TIME instead of accessing dynamic variable
24430 `dired-copy-preserve-time' directly.
24431 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
24432 (dired-insert-subdir-newpos): Rename unused variable `pos'.
24433
24434 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
24435 (dired-virtual-revert, dired-make-relative-symlink):
24436 Mark unused parameters.
24437 (manual-program): Declare.
24438 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
24439 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
24440 wrapped in `with-no-warnings' to avoid replacing one warning by another.
24441
24442 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
24443
24444 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
24445
24446 * echistory.el (electric-history-in-progress, Helper-return-blurb):
24447 Declare.
24448
24449 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
24450
24451 * electric.el (Electric-command-loop): Rename parameter
24452 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
24453
24454 * expand.el (expand-in-literal): Remove unused variable `here'.
24455
24456 * facemenu.el (facemenu-add-new-color):
24457 Remove unused variable `docstring'.
24458
24459 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
24460 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
24461 (face-attr-construct): Mark unused parameter. Doc fix.
24462 (read-color): Remove unused variable `hex-string'.
24463
24464 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
24465 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
24466 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
24467 (display-buffer-other-frame): Remove unused variable `old-window'.
24468 (kill-buffer-hook): Declare.
24469 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
24470 Mark unused parameters.
24471 (after-find-file): Pass 1 to `auto-save-mode', not t.
24472
24473 * files-x.el (auto-insert): Declare.
24474 (modify-file-local-variable-prop-line): Remove unused variable `val'.
24475
24476 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
24477 variable `buf'. Mark unused parameter.
24478 (find-lisp-insert-directory): Mark unused parameter.
24479
24480 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
24481 (format-encode-region): Remove unused variables `cur-buf' and `result'.
24482 (format-common-tail): Remove, unused.
24483 (format-deannotate-region): Remove unused variable `loc'.
24484 (format-annotate-region): Remove unused variable `p'.
24485 (format-annotate-single-property-change): Remove unused variables
24486 `default' and `tail'.
24487
24488 * forms.el (read-file-filter): Declare.
24489 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
24490
24491 * frame.el (frame-creation-function-alist): Mark unused parameter.
24492 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
24493
24494 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
24495 Remove unused parameters.
24496 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
24497 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
24498
24499 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
24500 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
24501 (hfy-prepare-tag-map): Mark unused parameters.
24502 (htmlfontify-buffer): Use `called-interactively-p'.
24503
24504 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
24505 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
24506 (ibuffer-do-occur): Mark unused parameters.
24507 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
24508 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
24509
24510 * ibuffer.el: Don't quote `lambda'.
24511 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
24512 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
24513 Mark unused parameters.
24514
24515 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
24516 (ido-completing-read): Mark unused parameters.
24517 (ido-copy-current-word): Mark unused parameters;
24518 remove unused variable `name'.
24519 (ido-sort-merged-list): Remove unused parameter `dirs'.
24520
24521 * ielm.el (ielm-input-sender): Mark unused parameter.
24522 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
24523 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
24524 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
24525 `ielm-string' as a dynamic variable accessible from the IELM prompt.
24526 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
24527
24528 * image-dired.el (image-dired-display-thumbs): Remove unused
24529 variables `curr-file' and `count'.
24530 (image-dired-remove-tag): Remove unused variable `start'.
24531 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
24532 variable `curr-file'
24533 (image-dired-rotate-original): Remove unused variable `temp-file'.
24534 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
24535 Remove unused variable `file'.
24536 (image-dired-gallery-generate): Remove unused variable `curr'.
24537 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
24538
24539 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
24540
24541 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
24542
24543 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
24544
24545 * isearch.el (minibuffer-history-symbol): Declare.
24546 (isearch-edit-string): Remove unused variable `err'.
24547 (isearch-message-prefix, isearch-message-suffix):
24548 Mark unused parameters.
24549
24550 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
24551
24552 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
24553
24554 * makesum.el (double-column): Remove unused variable `cnt'.
24555
24556 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
24557 (ido-ignore-item-temp-list): Declare.
24558
24559 * mouse-drag.el (mouse-drag-throw): Remove unused variables
24560 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
24561 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
24562 (mouse-drag-drag): Remove unused variables `mouse-delta' and
24563 `mouse-col-delta'.
24564
24565 * mouse-sel.el (mouse-extend-internal):
24566 Remove unused variable `orig-window-frame'.
24567
24568 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
24569 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
24570 Move declarations before first use.
24571 (pcomplete-opt): Mark unused parameters; doc fix.
24572
24573 * proced.el (proced-revert): Mark unused parameter.
24574 (proced-send-signal): Remove unused variable `err'.
24575
24576 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
24577 Rename parameter PREFIX-ARG to ARG.
24578 (ps-basic-plot-string, ps-basic-plot-whitespace):
24579 Mark unused parameters.
24580
24581 * replace.el (replace-count): Define.
24582 (occur-revert-function): Mark unused parameters.
24583 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
24584 (isearch-case-fold-search, isearch-string): Declare.
24585 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
24586 bind `case-fold-search'. Remove unused variables `beg' and `end',
24587 and simplify.
24588 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
24589 COUNT and bind `replace-count'.
24590 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
24591 to COUNT.
24592
24593 * savehist.el (print-readably, print-string-length): Declare.
24594
24595 * shadowfile.el (shadow-expand-cluster-in-file-name):
24596 Remove unused variable `cluster'.
24597 (shadow-copy-file): Remove unused variable `i'.
24598 (shadow-noquery, shadow-clusters, shadow-site-cluster)
24599 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
24600 (shadow-define-literal-group, shadow-define-regexp-group)
24601 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
24602
24603 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
24604 (shell): Use `called-interactively-p'.
24605 (shell-directory-tracker): Remove unused variable `chdir-failure'.
24606
24607 * simple.el (compilation-context-lines, comint-file-name-quote-list)
24608 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
24609 (delete-backward-char): Remove unused variable `ocol'.
24610 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
24611 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
24612 (event-apply-hyper-modifier, event-apply-shift-modifier)
24613 (event-apply-control-modifier, event-apply-meta-modifier):
24614 Mark unused parameters.
24615 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
24616 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
24617
24618 * speedbar.el (speedbar-ignored-directory-expressions)
24619 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
24620 (speedbar-find-file, speedbar-dir-follow)
24621 (speedbar-directory-buttons-follow, speedbar-tag-find)
24622 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
24623 (speedbar-buffers-line-directory, speedbar-buffer-click):
24624 Mark unused parameters.
24625 (speedbar-tag-file): Remove unused variable `mode'.
24626 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
24627
24628 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
24629
24630 * talk.el (talk): Remove unused variable `display'.
24631
24632 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
24633 (tar-write-region-annotate): Mark unused parameter.
24634
24635 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
24636 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
24637 Declare them, wrapped in `with-no-warnings' to avoid replacing one
24638 warning by another.
24639
24640 * time-stamp.el (time-stamp-string-preprocess):
24641 Remove unused variable `require-padding'.
24642
24643 * tree-widget.el (widget-glyph-enable): Declare.
24644 (tree-widget-action): Mark unused parameter.
24645
24646 * w32-fns.el (x-get-selection): Mark unused parameter.
24647 (autoload-make-program, generated-autoload-file): Declare.
24648
24649 * wdired.el (wdired-revert): Mark unused parameters.
24650 (wdired-xcase-word): Remove unused variable `err'.
24651
24652 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
24653 (whitespace-help-scroll): Remove unused variable `data-help'.
24654
24655 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
24656 (widget-image-insert, widget-after-change, default)
24657 (widget-default-format-handler, widget-default-notify)
24658 (widget-default-prompt-value, widget-info-link-action)
24659 (widget-url-link-action, widget-function-link-action)
24660 (widget-variable-link-action, widget-file-link-action)
24661 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
24662 (widget-field-prompt-internal, widget-field-action, widget-field-match)
24663 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
24664 (widget-insert-button-action, widget-delete-button-action, visibility)
24665 (widget-documentation-link-action, widget-documentation-string-action)
24666 (widget-const-prompt-value, widget-regexp-match, symbol)
24667 (widget-coding-system-prompt-value)
24668 (widget-key-sequence-value-to-external, sexp)
24669 (widget-sexp-value-to-internal, character, vector, cons)
24670 (widget-choice-prompt-value, widget-boolean-prompt-value)
24671 (widget-color--choose-action): Mark unused parameters.
24672 (widget-item-match-inline, widget-choice-match-inline)
24673 (widget-checklist-match, widget-checklist-match-inline)
24674 (widget-group-match): Rename parameter VALUES to VALS.
24675 (widget-field-value-set): Remove unused variable `size'.
24676 (widget-color-action): Remove unused variables `value' and `start'.
24677
24678 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
24679 variable `dir'. Doc fix.
24680 (windmove-find-other-window): Don't pass it.
24681
24682 * window.el (count-windows): Mark unused parameter.
24683 (bw-adjust-window): Remove unused variable `err'.
24684
24685 * woman.el (woman-file-name): Remove unused variable `default'.
24686 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
24687 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
24688 (global-font-lock-mode): Declare.
24689 (woman-decode-region): Mark unused parameter.
24690 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
24691
24692 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
24693 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
24694 (x-dnd-handle-moz-url): Remove unused variable `title'.
24695 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
24696
24697 * xml.el (xml-parse-tag, xml-parse-attlist):
24698 Remove unused variable `pos'.
24699
24700 2011-04-19 Glenn Morris <rgm@gnu.org>
24701
24702 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
24703 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
24704 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
24705 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
24706 * calendar/cal-html.el (cal-html-insert-minical):
24707 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
24708 (calendar-mark-date-pattern):
24709 Prefix "unused" locals.
24710
24711 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
24712 optional argument `style'.
24713
24714 * calendar/appt.el (appt-make-list):
24715 * calendar/cal-china.el (calendar-chinese-date-string):
24716 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
24717 (diary-hebrew-yahrzeit):
24718 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
24719 * calendar/calendar.el (calendar-generate-window):
24720 * calendar/time-date.el (time-to-days):
24721 Remove unused local variables.
24722
24723 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
24724
24725 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
24726 glyphless-char-display table.
24727 (tabulated-list-glyphless-char-display): New var.
24728
24729 2011-04-18 Sam Steingold <sds@gnu.org>
24730
24731 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
24732 to acknowledgments.
24733
24734 2011-04-17 Glenn Morris <rgm@gnu.org>
24735
24736 * calendar/diary-lib.el (diary-sexp-entry):
24737 * calendar/holidays.el (holiday-sexp):
24738 Set debug-on-error rather than the removed stack-trace-on-error.
24739
24740 2011-04-16 Glenn Morris <rgm@gnu.org>
24741
24742 * progmodes/f90.el: Use lexical-binding.
24743 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
24744
24745 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
24746
24747 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
24748 (mail-mode): Setup mailalias completion here instead.
24749 * mail/mailalias.el: Use lexical-binding.
24750 (pattern, mailalias-done): Declare dynamic.
24751 (mail-completion-at-point-function): New function, from mail-complete.
24752 (mail-complete): Use it.
24753 (mail-completion-expand): New function.
24754 (mail-get-names): Use it.
24755 (mail-directory, mail-directory-process, mail-directory-stream):
24756 Don't use `pattern' for lexically bound arg.
24757
24758 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
24759
24760 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
24761 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
24762 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
24763
24764 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
24765 (byte-save-window-excursion, byte-temp-output-buffer-setup)
24766 (byte-interactive-p): Define them again, for use when inlining
24767 old code.
24768
24769 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
24770
24771 * loadup.el: Use `string-to-number', not `string-to-int'.
24772
24773 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
24774
24775 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
24776 gud-gdb-complete-command.
24777 (gud-gdb-completions): New function, from gud-gdb-complete-command.
24778 (gud-gdb-completion-at-point): New function.
24779 (gud-gdb-completions): Remove.
24780
24781 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
24782
24783 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
24784 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
24785 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
24786 whether `executable-find' is bound.
24787
24788 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
24789
24790 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
24791
24792 * minibuffer.el (completion-in-region-mode-predicate)
24793 (completion-in-region-mode--predicate): New vars.
24794 (completion-in-region, completion-in-region--postch)
24795 (completion-in-region-mode): Use them.
24796 (completion--capf-wrapper): Also return the hook function.
24797 (completion-at-point, completion-help-at-point):
24798 Adjust and provide a predicate.
24799
24800 Preserve arg names for advice of subr and lexical functions (bug#8457).
24801 * help-fns.el (help-function-arglist): Consolidate the subr and
24802 new-byte-code cases. Add argument `preserve-names' to extract names
24803 from the docstring when needed.
24804 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
24805 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
24806 (ad-arglist): Use help-function-arglist's new arg.
24807 (ad-definition-type): Use cond.
24808
24809 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
24810
24811 * autorevert.el (auto-revert-handler):
24812 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
24813 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
24814 Don't quote lambda.
24815
24816 * image-mode.el (image-transform-set-scale):
24817 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
24818
24819 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
24820
24821 * net/network-stream.el (network-stream-open-starttls): Only do
24822 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
24823 Upgrades via gnutls-cli are too slow to be done opportunistically.
24824
24825 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
24826
24827 * dframe.el (dframe-current-frame): Remove spurious quote.
24828
24829 2011-04-12 Glenn Morris <rgm@gnu.org>
24830
24831 * calendar/cal-tex.el (cal-tex-end-document):
24832 Try to automatically use latin1 input if needed.
24833
24834 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
24835 Don't try to cons a mark onto an empty element.
24836
24837 2011-04-11 Leo Liu <sdl.web@gmail.com>
24838
24839 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
24840 buffers.
24841 (ido-kill-buffer-at-head): Support killing virtual buffers.
24842
24843 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
24844
24845 * minibuffer.el (completion-show-inline-help): New var.
24846 (completion--do-completion, minibuffer-complete)
24847 (minibuffer-force-complete, minibuffer-complete-word):
24848 Inhibit minibuffer messages if completion-show-inline-help is nil.
24849
24850 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
24851 to avoid interference from inline help (Bug#5849).
24852
24853 2011-04-10 Leo Liu <sdl.web@gmail.com>
24854
24855 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
24856 Fix typo.
24857
24858 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
24859
24860 * image-mode.el (image-toggle-display-image): Signal an error if
24861 not in Image mode.
24862 (image-transform-mode, image-transform-resize)
24863 (image-transform-set-rotation): Doc fix.
24864 (image-transform-set-resize): Delete.
24865 (image-transform-set-scale, image-transform-fit-to-height)
24866 (image-transform-fit-to-width): Handle image-toggle-display-image
24867 and image-transform-resize directly.
24868
24869 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
24870
24871 * doc-view.el (doc-view-fit-width-to-window)
24872 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
24873 New functions for fitting the shown image to the Emacs window size.
24874 (doc-view-mode-map): Add bindings for the new functions.
24875
24876 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
24877
24878 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
24879 Fix typo in docstring.
24880
24881 2011-04-08 Eli Zaretskii <eliz@gnu.org>
24882
24883 * files.el (file-size-human-readable): Produce one digit after
24884 decimal, like "ls -lh" does.
24885
24886 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
24887 the file size representation.
24888
24889 * simple.el (list-processes): If async subprocesses are not
24890 available, error out with a clear error message.
24891
24892 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
24893
24894 * help.el (help-form-show): New function, to be called from C.
24895 Put help-form output in a buffer named differently than *Help*.
24896
24897 2011-04-08 Eli Zaretskii <eliz@gnu.org>
24898
24899 * files.el (file-size-human-readable): New function.
24900
24901 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
24902 computing the representation inline. Don't require `cl'.
24903
24904 2011-04-08 Glenn Morris <rgm@gnu.org>
24905
24906 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
24907
24908 * net/browse-url.el (browse-url-firefox):
24909 Test system-type, not system-configuration.
24910
24911 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
24912 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
24913 Use log-edit-empty-buffer-p. (Bug#7598)
24914
24915 * net/rlogin.el (rlogin-process-connection-type): Simplify.
24916 (rlogin-mode-map): Initialize in the defvar.
24917 (rlogin): Use ignore-errors.
24918
24919 * replace.el (occur-mode-map): Some fixes for menu items.
24920
24921 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
24922
24923 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
24924
24925 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
24926
24927 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
24928 issuing unused warnings.
24929
24930 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
24931 macro directly.
24932
24933 * simple.el: Lisp reimplement of list-processes. Based on an
24934 earlier reimplementation by Leo Liu, but using tabulated-list.el.
24935 (process-menu-mode): New major mode.
24936 (list-processes--refresh, list-processes):
24937 (process-menu-visit-buffer): New functions.
24938
24939 * files.el (save-buffers-kill-emacs): Don't assume any return
24940 value of list-processes, which is undocumented anyway.
24941
24942 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
24943
24944 * emacs-lisp/tabulated-list.el: New file.
24945
24946 * emacs-lisp/package.el: Use Tabulated List mode.
24947 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
24948 (package-menu-mode): Derive from tabulated-list-mode. Set up the
24949 table format using Tabulated List mode variables.
24950 (package--push): New macro, replacing package-list-maybe-add.
24951 (package-menu--generate): Use package--push. Renamed from
24952 package--generate-package-list.
24953 (package-menu-refresh, list-packages): Use it.
24954 (package-menu--print-info): Rename from package-print-package.
24955 Return insertion data instead of inserting it directly.
24956 (package-menu-describe-package, package-menu-execute):
24957 Use tabulated-list-get-id.
24958 (package-menu-mark-delete, package-menu-mark-install)
24959 (package-menu-mark-unmark, package-menu-backup-unmark)
24960 (package-menu-mark-obsolete-for-deletion):
24961 Use tabulated-list-put-tag.
24962 (package--list-packages, package-menu-revert)
24963 (package-menu-get-package, package-menu-get-version)
24964 (package-menu-sort-by-column): Functions deleted.
24965 (package-menu-package-list, package-menu-sort-key): Vars deleted.
24966 (package-menu--status-predicate, package-menu--version-predicate)
24967 (package-menu--name-predicate)
24968 (package-menu--description-predicate): Handle arguments in the
24969 Tabulated List format.
24970 (package-list-packages-no-fetch): Call list-packages.
24971
24972 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
24973
24974 * files.el (after-find-file-from-revert-buffer): Remove variable.
24975 (after-find-file): Don't bind it.
24976 (revert-buffer-in-progress-p): New variable.
24977 (revert-buffer): Bind it.
24978 Pass nil for `after-find-file-from-revert-buffer'.
24979
24980 * saveplace.el (save-place-find-file-hook): Use new variable
24981 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
24982
24983 2011-04-06 Glenn Morris <rgm@gnu.org>
24984
24985 * Makefile.in (AUTOGEN_VCS): New variable.
24986 (autoloads): Use $AUTOGEN_VCS.
24987
24988 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
24989 * calendar/calendar.el (calendar-mode-map):
24990 Check for toolkit scroll bars. (Bug#8305)
24991
24992 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
24993
24994 * minibuffer.el (completion-in-region--postch)
24995 (completion-in-region-mode): Remove unnecessary messages.
24996
24997 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
24998
24999 * font-lock.el (font-lock-refresh-defaults):
25000 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
25001 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
25002
25003 * info.el (Info-directory-list, Info-read-node-name-2)
25004 (Info-split-parameter-string): Doc fixes.
25005 (Info-virtual-nodes): Reflow docstring.
25006 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
25007 (Info-apropos-toc-nodes, info-finder, Info-get-token)
25008 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
25009 Fix typos in docstrings.
25010 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
25011 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
25012 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
25013 (Info-restore-desktop-buffer): Mark unused parameters.
25014 (Info-directory-find-file, Info-directory-find-node)
25015 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
25016 (Info-virtual-index-find-node, Info-apropos-find-file)
25017 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
25018 Mark unused parameters; fix typos in docstrings.
25019 (Info-virtual-index): Remove unused local variable `nodename'.
25020
25021 2011-04-05 Deniz Dogan <deniz@dogan.se>
25022
25023 * net/rcirc.el: Update my e-mail address.
25024 (rcirc-mode-map): Remove M-o binding.
25025
25026 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
25027
25028 * startup.el (command-line): Save the cursor's theme-face
25029 directly, instead of using face-override-spec.
25030
25031 * custom.el (load-theme): Minor optimization in assigning faces.
25032
25033 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
25034
25035 * help-fns.el (describe-variable): Complete all variables having
25036 documentation, including keywords.
25037 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
25038
25039 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
25040
25041 Convert to lexical-binding.
25042
25043 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
25044 (bs--get-marked-string, bs--get-modified-string)
25045 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
25046 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
25047 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
25048
25049 * ehelp.el (electric-help-execute-extended)
25050 (electric-help-ctrl-x-prefix):
25051 * hexl.el (hexl-revert-buffer-function):
25052 * linum.el (linum-after-change, linum-after-scroll):
25053 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
25054
25055 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
25056
25057 2011-04-04 Daiki Ueno <ueno@unixuser.org>
25058
25059 * epa-dired.el:
25060 * epa-mail.el:
25061 * epa-hook.el:
25062 * epa-file.el:
25063 * epa.el:
25064 * epg.el: Use lexical binding.
25065
25066 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
25067
25068 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
25069
25070 * textmodes/flyspell.el (flyspell-word): Recognize default
25071 dictionary case for flyspell-mark-duplications-exceptions.
25072 Use regexp matching for languages.
25073 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
25074 default dictionary (Bug#7926).
25075
25076 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
25077
25078 * emacs-lisp/package.el (package--with-work-buffer):
25079 Recognize https URLs.
25080
25081 * net/network-stream.el: Move from gnus/proto-stream.el.
25082 Change prefix to network-stream throughout.
25083 (open-protocol-stream): Merge into open-network-stream, leaving
25084 open-protocol-stream as an alias. Handle nil BUFFER args.
25085
25086 * subr.el (open-network-stream): Move to net/network-stream.el.
25087
25088 2011-04-02 Glenn Morris <rgm@gnu.org>
25089
25090 * find-dired.el (find-exec-terminator): New option.
25091 (find-ls-option): Test for -ls support.
25092 (find-ls-subdir-switches): Test for -b in find-ls-option.
25093 (find-dired, find-grep-dired): Doc fixes.
25094 (find-dired): Use find-exec-terminator.
25095
25096 * find-dired.el (find-ls-option, find-ls-subdir-switches)
25097 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
25098 (find-name-arg): Remove purecopy.
25099
25100 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
25101 (grep-compute-defaults): Check for `-exec COMMAND +' support.
25102 Set grep-find-use-xargs, grep-find-command, and grep-find-template
25103 accordingly. Don't add the null-device if not needed.
25104
25105 * files.el (save-some-buffers): Doc fix.
25106
25107 2011-04-02 Eli Zaretskii <eliz@gnu.org>
25108
25109 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
25110
25111 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
25112
25113 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
25114 Use `dolist' rather than `mapcar'.
25115
25116 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
25117
25118 Add lexical binding.
25119
25120 * subr.el (apply-partially): Use new closures rather than CL.
25121 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
25122 (dolist, dotimes): Use slightly different expansion for lexical code.
25123 (functionp): Move to C.
25124 (letrec): New macro.
25125 (with-wrapper-hook): Use it and apply-partially instead of CL.
25126 (eval-after-load): Preserve lexical-binding.
25127 (save-window-excursion, with-output-to-temp-buffer): Turn them
25128 into macros.
25129
25130 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
25131
25132 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
25133 than the arglist.
25134 (help-add-fundoc-usage): Don't add `Not documented'.
25135 (help-function-arglist): Handle closures, subroutines, and new
25136 byte-code-functions.
25137 (help-make-usage): Remove leading underscores.
25138 (describe-function-1): Handle closures.
25139 (describe-variable): Use special-variable-p for completion.
25140
25141 * files.el (lexical-binding): Declare safe.
25142
25143 * emacs-lisp/pcase.el: Don't use destructuring-bind.
25144 (pcase--memoize): Rename from pcase-memoize. Change weakness.
25145 (pcase): Add `let' pattern.
25146 Change memoization so it actually works.
25147 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
25148 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
25149 <let>: New case.
25150
25151 * emacs-lisp/macroexp.el: Use lexical binding.
25152 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
25153 Don't convert ' to #' without checking that it's indeed quoting
25154 a lambda.
25155
25156 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
25157 Use eval-sexp-add-defvars.
25158 (eval-sexp-add-defvars): New fun.
25159
25160 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
25161
25162 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
25163 Don't autoload.
25164 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
25165 than the internal `byte-compile-lambda'.
25166 (defmethod): Don't hide code under quotes.
25167 (eieio-defmethod): New `code' argument.
25168
25169 * emacs-lisp/eieio-comp.el: Remove.
25170
25171 * emacs-lisp/edebug.el (edebug-eval-defun)
25172 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
25173 (edebug-toggle): Avoid `eval'.
25174
25175 * emacs-lisp/disass.el (disassemble-internal): Handle new
25176 `closure' objects.
25177 (disassemble-1): Handle new byte codes.
25178
25179 * emacs-lisp/cl.el (pushnew): Silence warning.
25180
25181 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
25182 (cl-byte-compile-throw): Remove.
25183 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
25184
25185 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
25186 closures.
25187
25188 * emacs-lisp/cconv.el: New file.
25189
25190 * emacs-lisp/bytecomp.el: Use lexical binding instead of
25191 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
25192 (byte-compile-initial-macro-environment):
25193 Handle declare-function here.
25194 (byte-compile--lexical-environment): New var.
25195 (byte-stack-ref, byte-stack-set, byte-discardN)
25196 (byte-discardN-preserve-tos): New lap codes.
25197 (byte-interactive-p): Don't use any more.
25198 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
25199 New macros.
25200 (byte-compile-lapcode): Use them and handle new lap codes.
25201 (byte-compile-obsolete): Remove.
25202 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
25203 (byte-compile-arglist-warn): Check late def of inlinable funs.
25204 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
25205 since they should have been expanded by now.
25206 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
25207 (byte-compile-from-buffer): Remove unused second arg.
25208 (byte-compile-preprocess): New function.
25209 (byte-compile-toplevel-file-form): New function to distinguish
25210 file-form calls from outside from file-form calls from hunk-handlers.
25211 (byte-compile-file-form): Simplify.
25212 (byte-compile-file-form-defsubst): Remove.
25213 (byte-compile-file-form-defmumble): Simplify now that
25214 byte-compile-lambda always returns a byte-code-function.
25215 (byte-compile): Preprocess.
25216 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
25217 Remove, not used any more.
25218 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
25219 (byte-compile-make-args-desc): New funs.
25220 (byte-compile-lambda): Handle lexical functions. Always return
25221 a byte-code-function.
25222 (byte-compile-reserved-constants): New var, to make up room for
25223 closed-over variables.
25224 (byte-compile-constants-vector): Obey it.
25225 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
25226 (byte-compile-macroexpand-declare-function): New function.
25227 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
25228 byte-code-functions.
25229 (byte-compile-form): Check obsolescence here.
25230 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
25231 (byte-compile-variable-ref): Remove.
25232 (byte-compile-dynamic-variable-op): New fun.
25233 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
25234 (byte-compile-variable-set): New funs.
25235 (byte-compile-discard): Add 2 args.
25236 (byte-compile-stack-ref, byte-compile-stack-set)
25237 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
25238 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
25239 macroexpand-all instead.
25240 (byte-compile-quote-form): Remove.
25241 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
25242 (byte-compile-bind, byte-compile-unbind): New funs.
25243 (byte-compile-let): Handle let* and lexical binding.
25244 (byte-compile-let*): Remove.
25245 (byte-compile-catch, byte-compile-unwind-protect)
25246 (byte-compile-track-mouse, byte-compile-condition-case):
25247 Handle a new :fun-body form, used for lexical scoping.
25248 (byte-compile-save-window-excursion)
25249 (byte-compile-with-output-to-temp-buffer): Remove.
25250 (byte-compile-defun): Simplify.
25251 (byte-compile-stack-adjustment): New fun.
25252 (byte-compile-out): Use it.
25253 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
25254
25255 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
25256 handler any more.
25257
25258 * emacs-lisp/byte-opt.el: Use lexical binding.
25259 (byte-inline-lapcode): Remove (to bytecomp).
25260 (byte-compile-inline-expand): Pay attention to inlining to/from
25261 lexically bound code.
25262 (byte-compile-unfold-lambda): Don't handle byte-code-functions
25263 any more.
25264 (byte-optimize-form-code-walker): Don't handle save-window-excursion
25265 any more and don't call compiler-macros.
25266 (byte-compile-splice-in-already-compiled-code): Remove.
25267 (byte-code): Don't inline any more.
25268 (disassemble-offset): Receive `bytes' as argument rather than via
25269 dynamic scoping.
25270 (byte-compile-tag-number): Declare before first use.
25271 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
25272 `return' even if make-spliceable.
25273 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
25274 obsolete interactive-p.
25275 (byte-optimize-lapcode): Optimize new lap-codes.
25276 Don't trip up on new form of `byte-constant' lap code.
25277
25278 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
25279
25280 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
25281
25282 * custom.el (custom-initialize-default, custom-declare-variable):
25283 Use `defvar'.
25284
25285 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
25286 New variables.
25287 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
25288 (COMPILE_FIRST): Add macroexp and cconv.
25289 * makefile.w32-in: Mirror changes in Makefile.in.
25290
25291 * vc/cvs-status.el:
25292 * vc/diff-mode.el:
25293 * vc/log-edit.el:
25294 * vc/log-view.el:
25295 * vc/smerge-mode.el:
25296 * textmodes/bibtex-style.el:
25297 * textmodes/css-mode.el:
25298 * startup.el:
25299 * uniquify.el:
25300 * minibuffer.el:
25301 * newcomment.el:
25302 * reveal.el:
25303 * server.el:
25304 * mpc.el:
25305 * emacs-lisp/smie.el:
25306 * doc-view.el:
25307 * dired.el:
25308 * abbrev.el: Use lexical binding.
25309
25310 2011-04-01 Eli Zaretskii <eliz@gnu.org>
25311
25312 * info.el (info-display-manual): New function.
25313
25314 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
25315
25316 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
25317
25318 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
25319
25320 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
25321 an entry for that server in rcirc-authinfo. (Bug#8385)
25322
25323 2011-03-31 Glenn Morris <rgm@gnu.org>
25324
25325 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
25326
25327 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
25328
25329 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
25330
25331 * progmodes/python.el (python-default-interpreter)
25332 (python-python-command-args, python-jython-command-args)
25333 (python-which-shell, python-which-args, python-which-bufname)
25334 (python-file-queue, python-comint-output-filter-function)
25335 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
25336 variables and functions.
25337
25338 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
25339
25340 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
25341 (completion-in-region-mode): New minor mode.
25342 (completion-in-region): Use it.
25343 (completion-in-region--data, completion-in-region-mode-map): New vars.
25344 (completion-in-region--postch): New function.
25345 (completion--capf-misbehave-funs, completion--capf-safe-funs):
25346 New vars.
25347 (completion--capf-wrapper): New function.
25348 (completion-at-point): Use it to track well-behavedness of
25349 hook functions.
25350 (completion-help-at-point): New command.
25351
25352 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
25353
25354 * vc/add-log.el (add-change-log-entry): Don't use whitespace
25355 syntax class to search for whitespace on a single line
25356 (Message-ID: <4D938140.4030905@redhat.com>).
25357
25358 2011-03-30 Leo Liu <sdl.web@gmail.com>
25359
25360 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
25361 New commands.
25362 (edit-abbrevs-map): Bind them here.
25363 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
25364
25365 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
25366
25367 * allout.el (allout-hide-by-annotation, allout-flag-region):
25368 Reduce possibility of overlay leakage by making them volatile.
25369
25370 * allout-widgets.el (allout-widgets-tally): Define as nil so the
25371 hash is not shared between buffers. Mode initialization is
25372 responsible for giving it a useful starting value.
25373 (allout-item-span): Reduce possibility of overlay leakage by
25374 making them volatile.
25375 (allout-widgets-count-buttons-in-region): Add diagnostic function
25376 for tracking down button overlay leaks.
25377
25378 2011-03-29 Leo Liu <sdl.web@gmail.com>
25379
25380 * ido.el (ido-read-internal): Use the default history var
25381 minibuffer-history if no HISTORY is specified.
25382
25383 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
25384
25385 * net/imap.el (imap-shell-open, imap-process-connection-type):
25386 Use imap-process-connection-type for 'shell' streams as well as
25387 Kerberos, SSL, other subprocesses.
25388
25389 2011-03-28 Leo Liu <sdl.web@gmail.com>
25390
25391 * abbrev.el (abbrev-table-empty-p): New function.
25392 (prepare-abbrev-list-buffer): Place empty abbrev tables after
25393 nonempty ones. (Bug#5937)
25394
25395 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
25396
25397 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
25398
25399 2011-03-27 Leo Liu <sdl.web@gmail.com>
25400
25401 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
25402 for foreground and background colors.
25403 (ansi-color-make-color-map): Adapt.
25404
25405 2011-03-25 Leo Liu <sdl.web@gmail.com>
25406
25407 * midnight.el (midnight-time-float): Remove. Note it calculates
25408 the microsecond component incorrectly and seconds-to-time does the
25409 same job.
25410 Remove redundant (require 'timer).
25411
25412 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
25413 (ido-completions): Remove unused arguments. (Bug#8329)
25414
25415 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
25416
25417 * minibuffer.el (completion--flush-all-sorted-completions):
25418 Remove itself from hook.
25419 (completion-at-point): Let the functions perform the completion
25420 immediately and return nil or t.
25421 * comint.el (comint-dynamic-complete-functions): Now identical to
25422 completion-at-point-functions.
25423 (comint-dynamic-list-input-ring): Remove unused var `index'.
25424 (comint--match-partial-filename, comint--unquote&expand-filename):
25425 New funs, split from comint-match-partial-filename.
25426 (comint-dynamic-complete): Use completion-at-point.
25427 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
25428
25429 2011-03-24 Drew Adams <drew.adams@oracle.com>
25430
25431 * thingatpt.el: Support `defun'.
25432
25433 2011-03-23 Leo Liu <sdl.web@gmail.com>
25434
25435 * abbrevlist.el: Move to obsolete/abbrevlist.el.
25436
25437 * help-mode.el (help-mode-finish): Tweak regexp.
25438
25439 2011-03-23 Glenn Morris <rgm@gnu.org>
25440
25441 * eshell/esh-opt.el (eshell-eval-using-options):
25442 Do not bind unused local variable `eshell-option-stub'.
25443
25444 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
25445
25446 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
25447
25448 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
25449 keymap variable in `with-no-warnings' to avoid a warning when the
25450 keymap has been already `defconst'ed.
25451
25452 2011-03-22 Leo Liu <sdl.web@gmail.com>
25453
25454 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
25455 encode all chars in abbrevs; otherwise use emacs-mule or
25456 utf-8-emacs. (Bug#8308)
25457
25458 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
25459
25460 * simple.el (backward-delete-char-untabify):
25461 Avoid warning about using `delete-backward-char'.
25462
25463 * image.el (image-type-file-name-regexps): Make it variable.
25464 `imagemagick-register-types' modifies it, and the user may want
25465 to add new extensions for known image types.
25466 (imagemagick-register-types): Throw error if not using ImageMagick.
25467
25468 2011-03-22 Leo Liu <sdl.web@gmail.com>
25469
25470 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
25471 located before rcirc-prompt-end-marker.
25472 (rcirc-complete): Error if point is not after rcirc prompt.
25473 Handle the case when table is nil.
25474 (rcirc-user-authenticated): Define to fix compiler warning.
25475
25476 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
25477
25478 * custom.el (custom--inhibit-theme-enable): Make it affect only
25479 custom-theme-set-variables and custom-theme-set-faces.
25480 (provide-theme): Ignore custom--inhibit-theme-enable.
25481 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
25482 (custom-enabling-themes): Delete variable.
25483 (enable-theme): Accept only loaded themes as arguments.
25484 Ignore the special custom-enabled-themes variable.
25485 (custom-enabled-themes): Forbid themes from setting this.
25486 Eliminate use of custom-enabling-themes.
25487 (custom-push-theme): Quote "changed" custom var entry.
25488
25489 2011-03-21 Leo Liu <sdl.web@gmail.com>
25490
25491 * ido.el (ido-read-internal): Add ido-selected to history instead
25492 of user input.
25493
25494 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
25495
25496 * subr.el (deferred-action-list, deferred-action-function):
25497 Mark obsolete.
25498
25499 2011-03-21 Leo Liu <sdl.web@gmail.com>
25500
25501 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
25502 change on 2011-02-13 (bug#8309).
25503
25504 * minibuffer.el (read-file-name-function): Change default value.
25505 (read-file-name--defaults): Rename from read-file-name-defaults.
25506 (read-file-name-default): Rename from read-file-name.
25507 (read-file-name): Call read-file-name-function.
25508
25509 2011-03-21 Glenn Morris <rgm@gnu.org>
25510
25511 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
25512 Doc fixes.
25513
25514 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
25515
25516 * cus-theme.el: Add missing provide statement.
25517 (customize-create-theme): Extract theme value correctly.
25518 (custom-theme-visit-theme): Autoload.
25519 (customize-create-theme): Prompt before inserting default faces.
25520
25521 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
25522
25523 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
25524 units and musical notes.
25525
25526 2011-03-20 Leo Liu <sdl.web@gmail.com>
25527
25528 * ido.el (ido-read-internal): Use completing-read-default.
25529 (ido-completing-read): Fix compatibility with completing-read.
25530
25531 2011-03-20 Christian Ohler <ohler@gnu.org>
25532
25533 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
25534 (ert-delete-all-tests): Use `called-interactively-p' rather than
25535 `interactive-p'.
25536 (ert--make-xrefs-region): Respect END.
25537
25538 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
25539
25540 * dired-aux.el (dired-create-directory): Signal an error if the
25541 directory already exists (Bug#8246).
25542
25543 * facemenu.el (list-colors-display): Call list-faces-display
25544 inside with-help-window.
25545 (list-colors-print): Use display property to align the final
25546 column, instead of checking window-width.
25547
25548 2011-03-19 Eli Zaretskii <eliz@gnu.org>
25549
25550 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
25551 windows-nt systems.
25552 (emerge-protect-metachars): Quote correctly for ms-dos and
25553 windows-nt systems.
25554
25555 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
25556
25557 * info.el (info-initialize): Replace all uses of `:' with
25558 path-separator for compatibility with non-Unix systems.
25559 Cache quoting of path-separator. (Bug#8258)
25560
25561 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
25562
25563 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
25564 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
25565 (mouse-avoidance-mode): Fix typos in docstrings.
25566
25567 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
25568
25569 * startup.el (package-subdirectory-regexp): Move from package.el.
25570 Omit \\` and \\', and let callers add them.
25571
25572 * emacs-lisp/package.el (package-strip-version)
25573 (package-load-all-descriptors): Add \\` and \\' to
25574 package-subdirectory-regexp before using it.
25575 (package-untar-buffer): New arg DIR; ensure that file untars only
25576 into this expected directory. Remove superfluous delete-region.
25577 (package-unpack): Caller changed.
25578 (package-tar-file-info): Use package-subdirectory-regexp.
25579
25580 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
25581
25582 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
25583 diff-mode-shared-map (bug#8284).
25584 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
25585
25586 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
25587
25588 * calendar/time-date.el (format-seconds): Use assoc instead of
25589 assoc-string, since assoc-string doesn't exist in XEmacs.
25590
25591 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
25592
25593 * custom.el (custom-known-themes): Reflow docstring.
25594 (custom-theme-load-path): Fix typo in docstring.
25595 (load-theme): Fix typo in error message.
25596 (custom-available-themes, custom-variable-theme-value):
25597 Use `let', not `let*'.
25598
25599 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
25600
25601 * calc/README: Mention inclusion of musical notes.
25602
25603 * calc/calc-units.el (calc-lu-quant): Rename from
25604 `calc-logunits-quantity'.
25605 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
25606 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
25607 (calc-db): Rename from `calc-dblevel'.
25608 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
25609 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
25610 (calc-np): Rename from `calc-nplevel'.
25611 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
25612 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
25613 (calc-lu-plus): Rename from `calc-logunits-add'.
25614 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
25615 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
25616 (calc-lu-minus): Rename from `calc-logunits-sub'.
25617 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
25618 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
25619 (calc-lu-times): Rename from `calc-logunits-mul'.
25620 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
25621 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
25622 (calc-lu-divide): Rename from `calc-logunits-div'.
25623 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
25624 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
25625
25626 * calc/calc-ext.el (calc-init-extensions): Update the names of the
25627 functions being autoloaded.
25628
25629 * calc/calc.el (calc-lu-power-reference): Rename from
25630 `calc-logunits-power-reference'.
25631 (calc-lu-field-reference): Rename from
25632 `calc-logunits-field-reference'.
25633
25634 * calc/calc-help.el (calc-l-prefix-help):
25635 Mention musical note functions.
25636
25637 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
25638
25639 * minibuffer.el (completion-all-sorted-completions):
25640 Use :completion-cycle-penalty text property if present.
25641
25642 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
25643
25644 * allout.el (allout-yank-processing): Adjust for new rebulleting
25645 regime so bullet being yanked is used without prompting the user
25646 for a choice.
25647
25648 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
25649
25650 * startup.el (command-line): Warn the user that _emacs is deprecated.
25651
25652 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
25653
25654 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
25655 (delphi-verbose, delphi-comment-face, delphi-string-face)
25656 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
25657 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
25658 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
25659 (delphi-new-comment-line, delphi-font-lock-defaults)
25660 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
25661 Fix typos in docstrings.
25662
25663 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
25664
25665 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
25666 Invert the roles of character and string values for INSTEAD, so a
25667 string is used for the more common case of a defaulting prompt.
25668
25669 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25670
25671 * progmodes/ruby-mode.el (ruby-backward-sexp):
25672 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
25673 * play/gamegrid.el (gamegrid-make-face):
25674 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
25675 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
25676 * notifications.el (notifications-notify):
25677 * net/xesam.el (xesam-search-engines):
25678 * net/quickurl.el (quickurl-list-insert):
25679 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
25680
25681 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
25682
25683 * startup.el (command-line): Update package subdirectory regexp.
25684
25685 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25686
25687 * allout.el (allout-abbreviate-flattened-numbering)
25688 (allout-mode-deactivate-hook): Fix up obsolescence "date".
25689
25690 * subr.el (read-char-choice): Only show the cursor after the prompt,
25691 not after the answer.
25692
25693 2011-03-15 Kevin Ryde <user42@zip.com.au>
25694
25695 * help-fns.el (variable-at-point): Skip leading quotes, if any
25696 (bug#8253).
25697
25698 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25699
25700 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
25701 warning message.
25702
25703 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
25704
25705 * shell.el (shell): When called interactively, offer to change the
25706 shell file name on remote hosts.
25707
25708 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
25709
25710 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
25711 integration for LDAP parameters. The host, base, user or binddn,
25712 and secret tokens can be specified in a netrc file, for instance.
25713 This is optional because an `auth-source' parameter must be
25714 specified in the search attributes.
25715
25716 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
25717
25718 * help.el (describe-mode): Link to the mode's definition (bug#8185).
25719
25720 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
25721
25722 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
25723 into declaration. Remove redundant and harmful binding.
25724
25725 2011-03-12 Eli Zaretskii <eliz@gnu.org>
25726
25727 * files.el (file-ownership-preserved-p): Pass `integer' as an
25728 explicit 2nd argument to `file-attributes'. If the file's owner
25729 is the Administrators group on Windows, and the current user is
25730 Administrator, consider that a match.
25731
25732 * server.el (server-ensure-safe-dir): Consider server directory
25733 safe on MS-Windows if its owner is the Administrators group while
25734 the current Emacs user is Administrator. Use `=' to compare
25735 numerical UIDs, since they could be integers or floats.
25736
25737 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
25738
25739 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
25740
25741 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
25742
25743 Sync with Tramp 2.2.1.
25744
25745 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
25746
25747 * net/trampver.el: Update release number.
25748
25749 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
25750
25751 * progmodes/compile.el (compilation--previous-directory): Fix up
25752 various nil/dead-marker mismatches (bug#8014).
25753 (compilation-directory-properties, compilation-error-properties):
25754 Don't call it at a position past the one we're about to change.
25755
25756 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
25757 Disable obsolescence warnings in the file that declares it.
25758
25759 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
25760
25761 * allout-widgets.el (allout-widgets-tally):
25762 Initialize allout-widgets-tally as a hash table rather than nil to
25763 prevent mode-line redisplay warnings. Also, clarify the module
25764 description and fix a comment typo.
25765
25766 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
25767
25768 * help-fns.el (describe-variable): Don't complete keywords.
25769 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
25770
25771 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
25772
25773 * emacs-lisp/package.el (package-version-join): Impose a standard
25774 string representation for pre/alpha/beta version lists.
25775 (package-unpack-single): Standardize the directory name by passing
25776 it through package-version-join.
25777 (package-strip-rcs-id): Accept any version string that does not
25778 signal an error in version-to-list.
25779
25780 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
25781
25782 * simple.el (delete-trailing-whitespace): Return nil for the
25783 benefit of `write-file-functions'.
25784
25785 2011-03-10 Glenn Morris <rgm@gnu.org>
25786
25787 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
25788
25789 * vc/vc-git.el (vc-git-program): New option.
25790 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
25791 (vc-git--call): Use it.
25792
25793 * eshell/esh-util.el (eshell-condition-case): Doc fix.
25794
25795 * cus-edit.el (Custom-newline): If no button at point, look
25796 for a subgroup button at start-of-line. (Bug#2298)
25797
25798 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
25799
25800 2011-03-10 Julien Danjou <julien@danjou.info>
25801
25802 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
25803 `cursor-type' is nil.
25804
25805 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
25806
25807 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
25808
25809 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
25810
25811 * allout.el: Change so yank of distinctive-bullet items
25812 preserves the existing header prefix, rebulleting it if necessary,
25813 rather than replacing it. This is necessary for proper operation
25814 of cooperative addons like allout-widgets.
25815 (allout-make-topic-prefix, allout-rebullet-heading):
25816 Change SOLICIT arg to INSTEAD, and interpret additionally a string
25817 value as alternate bullet to be used, instead of prompting the user
25818 for a bullet character.
25819
25820 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
25821
25822 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25823 Do not use `tramp-file-name-port', because this returns also
25824 `tramp-default-port'.
25825
25826 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
25827
25828 * net/rcirc.el (rcirc-handler-001): Remove useless
25829 with-rcirc-process-buffer.
25830 (rcirc-check-auth-status): Swap arguments to string-match.
25831
25832 2011-03-09 Glenn Morris <rgm@gnu.org>
25833
25834 * shell.el (shell-mode):
25835 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
25836
25837 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
25838 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
25839
25840 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
25841
25842 * emacs-lisp/package.el (package-refresh-contents)
25843 (package-menu-execute): Use condition-case-no-debug.
25844
25845 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
25846
25847 * simple.el (shell-command-to-string): Use `process-file'.
25848
25849 * emacs-lisp/package.el (package-tar-file-info): Handle also
25850 remote files.
25851
25852 * emacs-lisp/package-x.el (package-upload-buffer-internal):
25853 Use `equal' for upload base check.
25854
25855 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
25856
25857 * textmodes/texinfo.el (texinfo-environments):
25858 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
25859
25860 2011-03-08 Glenn Morris <rgm@gnu.org>
25861
25862 * cus-start.el (cursor-in-non-selected-windows):
25863 Fix :set quoting oddness. (Bug#8192)
25864
25865 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
25866 in some setf expressions. (Bug#2159)
25867
25868 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
25869
25870 * custom.el (custom-available-themes): Return themes in
25871 alphabetical order.
25872
25873 See ChangeLog.15 for earlier changes.
25874
25875 ;; Local Variables:
25876 ;; coding: utf-8
25877 ;; End:
25878
25879 Copyright (C) 2011-2013 Free Software Foundation, Inc.
25880
25881 This file is part of GNU Emacs.
25882
25883 GNU Emacs is free software: you can redistribute it and/or modify
25884 it under the terms of the GNU General Public License as published by
25885 the Free Software Foundation, either version 3 of the License, or
25886 (at your option) any later version.
25887
25888 GNU Emacs is distributed in the hope that it will be useful,
25889 but WITHOUT ANY WARRANTY; without even the implied warranty of
25890 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25891 GNU General Public License for more details.
25892
25893 You should have received a copy of the GNU General Public License
25894 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.