faces.el (read-face-name): Do not override value of arg default, call instead face...
[bpt/emacs.git] / lisp / ChangeLog
1 2013-04-12 Roland Winkler <winkler@gnu.org>
2
3 * faces.el (read-face-name): Do not override value of arg default.
4 Allow single faces and strings as default values. Remove those
5 elements from return value that are not faces.
6 (describe-face): Simplify.
7 (face-at-point): New optional args thing and multiple so that this
8 function can provide the same functionality previously provided by
9 read-face-name.
10 (make-face-bold, make-face-unbold, make-face-italic)
11 (make-face-unitalic, make-face-bold-italic, invert-face)
12 (modify-face, read-face-and-attribute): Use face-at-point.
13
14 * cus-edit.el (customize-face, customize-face-other-window)
15 * cus-theme.el (custom-theme-add-face)
16 * face-remap.el (buffer-face-set)
17 * facemenu.el (facemenu-set-face): Use face-at-point.
18
19 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
20
21 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
22
23 2013-04-10 Tassilo Horn <tsdh@gnu.org>
24
25 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
26 off leading { and trailing } from field values.
27
28 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
29
30 * emacs-lisp/timer.el (timer--check): New function.
31 (timer--time, timer-set-function, timer-event-handler): Use it.
32 (timer-set-idle-time): Simplify.
33 (timer--activate): CSE.
34 (timer-event-handler): Give more info in error message.
35 (internal-timer-start-idle): New function, moved from C.
36
37 * mpc.el (mpc-proc): Add `restart' argument.
38 (mpc-proc-cmd): Use it.
39 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
40 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
41 less often.
42
43 2013-04-10 Masatake YAMATO <yamato@redhat.com>
44
45 * progmodes/sh-script.el: Implement `sh-mode' own
46 `add-log-current-defun-function' (bug#14112).
47 (sh-current-defun-name): New function.
48 (sh-mode): Use the function.
49
50 2013-04-09 Bastien Guerry <bzg@gnu.org>
51
52 * simple.el (choose-completion-string): Fix docstring (bug#14163).
53
54 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
55
56 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
57
58 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
59 timer (bug#14156).
60
61 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
62
63 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
64 declaration.
65
66 2013-04-07 Leo Liu <sdl.web@gmail.com>
67
68 * pcmpl-x.el: New file.
69
70 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
71
72 Do not set x-display-name until X connection is established.
73 This is needed to prevent from weird situation described at
74 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
75 * frame.el (make-frame): Set x-display-name after call to
76 window system initialization function, not before.
77 * term/x-win.el (x-initialize-window-system): Add optional
78 display argument and use it.
79 * term/w32-win.el (w32-initialize-window-system):
80 * term/ns-win.el (ns-initialize-window-system):
81 * term/pc-win.el (msdos-initialize-window-system):
82 Add compatible optional display argument.
83
84 2013-04-06 Eli Zaretskii <eliz@gnu.org>
85
86 * files.el (normal-backup-enable-predicate): On MS-Windows and
87 MS-DOS compare truenames of temporary-file-directory and of the
88 file, so that 8+3 aliases (usually found in $TEMP on Windows)
89 don't fail comparison by compare-strings. Also, compare file
90 names case-insensitively on MS-Windows and MS-DOS.
91
92 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
93
94 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
95 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
96
97 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
98
99 * whitespace.el (whitespace-color-on, whitespace-color-off):
100 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
101
102 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
103
104 * ispell.el (ispell-set-spellchecker-params):
105 Really set `ispell-args' for all equivs.
106
107 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
108
109 * ido.el (ido-completions): Use extra elements of ido-decorations
110 (bug#14143).
111 (ido-decorations): Update docstring.
112
113 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
114
115 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
116 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
117 nil during initialization, in order not to miss changes since the
118 file was opened. (Bug#14140)
119
120 2013-04-05 Leo Liu <sdl.web@gmail.com>
121
122 * kmacro.el (kmacro-call-macro): Fix bug#14135.
123
124 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
125
126 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
127
128 2013-04-04 Glenn Morris <rgm@gnu.org>
129
130 * electric.el (electric-pair-inhibit-predicate): Add :version.
131
132 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
133
134 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
135 when a package is required several times (bug#14082).
136
137 2013-04-04 Roland Winkler <winkler@gnu.org>
138
139 * faces.el (read-face-name): Behave as promised by the docstring.
140 Assume that arg default is a list of faces.
141 (describe-face): Call read-face-name with list of default faces.
142
143 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
144
145 * bookmark.el: Fix deletion of bookmarks (bug#13972).
146 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
147 (bookmark-bmenu-execute-deletions): Only skip first line if it's
148 the header.
149 (bookmark-exit-hook-internal): Save even if list is empty.
150
151 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
152
153 * emacs-lisp/package.el (package-pinned-packages): New var.
154 (package--add-to-archive-contents): Obey it (bug#14118).
155
156 2013-04-03 Alan Mackenzie <acm@muc.de>
157
158 Handle `parse-partial-sexp' landing inside a comment opener
159 (Bug#13244). Also adapt to the new values of element 7 of a parse
160 state.
161
162 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
163 parameter `not-in-delimiter'. Handle being inside comment opener.
164 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
165 character in case we're typing a '*' after a '/'.
166 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
167 instead by passing the parameter to c-state-pp-to-literal.
168
169 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
170 for elt. 7 of a parse state.
171
172 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
173
174 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
175 * international/latin1-disp.el, international/mule-util.el:
176 * language/cyril-util.el, language/european.el, language/ind-util.el:
177 * language/lao-util.el, language/thai.el, language/tibet-util.el:
178 * language/tibetan.el, language/viet-util.el:
179 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
180
181 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
182
183 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
184 (electric-pair-post-self-insert-function): Use it.
185 (electric-pair-default-inhibit): New function, extracted from
186 electric-pair-post-self-insert-function.
187
188 2013-03-31 Roland Winkler <winkler@gnu.org>
189
190 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
191
192 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
193
194 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
195
196 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
197
198 Un-indent after "pass" and "return" statements (Bug#13888)
199 * progmodes/python.el (python-indent-block-enders): New var.
200 (python-indent-calculate-indentation): Use it.
201
202 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
203
204 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
205 defun. Defining it as defalias could introduce too eager
206 byte-compiler optimization. (Bug#14030)
207
208 2013-03-30 Chong Yidong <cyd@gnu.org>
209
210 * iswitchb.el (iswitchb-read-buffer): Fix typo.
211
212 2013-03-30 Leo Liu <sdl.web@gmail.com>
213
214 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
215 (kmacro-execute-from-register): Pass the keyboard macro to
216 kmacro-call-macro or repeating won't work correctly.
217
218 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
219
220 * progmodes/subword.el: Back to using `forward-symbol'.
221
222 * subr.el (forward-whitespace, forward-symbol)
223 (forward-same-syntax): Move from thingatpt.el.
224
225 2013-03-29 Leo Liu <sdl.web@gmail.com>
226
227 * kmacro.el (kmacro-to-register): New command.
228 (kmacro-execute-from-register): New function.
229 (kmacro-keymap): Bind to 'x'. (Bug#14071)
230
231 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
232
233 * mpc.el: Use defvar-local and setq-local.
234 (mpc--proc-connect): Connection failures are not bugs.
235 (mpc-mode-map): `follow-link' only applies to the buffer's content.
236 (mpc-volume-map): Bind to the up-events.
237
238 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
239
240 * progmodes/subword.el (superword-mode): Use `forward-sexp'
241 instead of `forward-symbol'.
242
243 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
244
245 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
246 (edebug--recursive-edit): Use it.
247 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
248 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
249
250 2013-03-28 Leo Liu <sdl.web@gmail.com>
251
252 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
253
254 2013-03-27 Eli Zaretskii <eliz@gnu.org>
255
256 * facemenu.el (list-colors-callback): New defvar.
257 (list-colors-redisplay): New function.
258 (list-colors-display): Install list-colors-redisplay as the
259 revert-buffer-function. (Bug#14063)
260
261 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
262
263 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
264 and suffixes don't overlap (bug#14061).
265
266 * case-table.el: Use lexical-binding.
267 (case-table-get-table): New function.
268 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
269
270 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
271
272 * progmodes/subword.el: Add `superword-mode' to do word motion
273 over symbol_words (parallels and leverages `subword-mode' which
274 does word motion inside MixedCaseWords).
275
276 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
277
278 * eshell/em-unix.el: Move su and sudo to...
279 * eshell/em-tramp.el: ...Eshell tramp module
280
281 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
282
283 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
284 Change return value to be a sexp. Delay `get-buffer' to after
285 restoring the desktop (bug#13951).
286
287 2013-03-26 Leo Liu <sdl.web@gmail.com>
288
289 * register.el: Move semantic tag handling back to
290 cedet/semantic/senator.el. (Bug#14052)
291
292 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
293
294 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
295 into the prompt either (bug#13963).
296
297 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
298
299 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
300 part of "(error-foo)".
301
302 2013-03-24 Juri Linkov <juri@jurta.org>
303
304 * replace.el (list-matching-lines-prefix-face): New defcustom.
305 (occur-1): Pass `list-matching-lines-prefix-face' to the function
306 `occur-engine' if `face-differs-from-default-p' returns t.
307 (occur-engine): Add `,' inside backquote construct to evaluate
308 `prefix-face'. Propertize the prefix with the `prefix-face' face.
309 Pass `prefix-face' to the functions `occur-context-lines' and
310 `occur-engine-add-prefix'.
311 (occur-engine-add-prefix, occur-context-lines): Add optional arg
312 `prefix-face' and propertize the prefix with `prefix-face'.
313 (Bug#14017)
314
315 2013-03-24 Leo Liu <sdl.web@gmail.com>
316
317 * nxml/rng-valid.el (rng-validate-while-idle)
318 (rng-validate-quick-while-idle): Guard against deleted buffer.
319 (Bug#13999)
320
321 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
322 is the last entry in kill-buffer-hook.
323
324 * files.el (kill-buffer-hook): Doc fix.
325
326 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
327
328 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
329 Make it safe-local.
330
331 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
332
333 2013-03-23 Leo Liu <sdl.web@gmail.com>
334
335 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
336 Remove.
337
338 * nxml/rng-valid.el (rng-validate-mode)
339 (rng-after-change-function, rng-do-some-validation):
340 * nxml/rng-maint.el (rng-validate-buffer):
341 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
342 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
343 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
344 (nxml-extend-after-change-region): Use with-silent-modifications.
345
346 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
347 timer-idle-list.
348
349 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
350 (rng-next-error-1, rng-previous-error-1): Do not let-bind
351 timer-idle-list. (Bug#13999)
352
353 2013-03-23 Juri Linkov <juri@jurta.org>
354
355 * info.el (info-index-match): New face.
356 (Info-index, Info-apropos-matches): Add a nested subgroup to the
357 main pattern and add text properties with the new face to matches
358 in index entries relative to the beginning of the index entry.
359 (Bug#14015)
360
361 2013-03-21 Eric Ludlam <zappo@gnu.org>
362
363 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
364 Inhibit read only while inserting objects.
365
366 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
367
368 * progmodes/cfengine.el: Update docs to mention
369 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
370 symbol motion. Remove "_" from the word syntax.
371
372 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
373
374 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
375 syntax for both `cfengine2-mode' and `cfengine3-mode'.
376
377 2013-03-20 Juri Linkov <juri@jurta.org>
378
379 * info.el (Info-next-reference-or-link)
380 (Info-prev-reference-or-link): New functions.
381 (Info-next-reference, Info-prev-reference): Use them.
382 (Info-try-follow-nearest-node): Handle footnote navigation.
383 (Info-fontify-node): Fontify footnotes. (Bug#13989)
384
385 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
386
387 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
388 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
389
390 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
391
392 Suppress unnecessary non-ASCII chatter during build process.
393 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
394 (batch-skkdic-convert): Suppress most of the chatter.
395 It's not needed so much now that machines are faster,
396 and its non-ASCII component was confusing; see Dmitry Gutov in
397 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
398
399 2013-03-20 Leo Liu <sdl.web@gmail.com>
400
401 * ido.el (ido-chop): Fix bug#10994.
402
403 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
404
405 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
406 Remove vars.
407 (whitespace-color-on, whitespace-color-off):
408 Use `font-lock-fontify-buffer' (Bug#13817).
409
410 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
411
412 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
413 remapping in mode-line.
414 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
415
416 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
417
418 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
419 value for `whitespace-line' face (Bug#13875).
420 (whitespace-font-lock-keywords): Change description.
421 (whitespace-color-on): Don't save `font-lock-keywords' value, save
422 the constructed keywords instead.
423 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
424
425 2013-03-19 Leo Liu <sdl.web@gmail.com>
426
427 * progmodes/compile.el (compilation-display-error): New command.
428 (compilation-mode-map, compilation-minor-mode-map): Bind it to
429 C-o. (Bug#13992)
430
431 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
432
433 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
434
435 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
436
437 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
438
439 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
440
441 * net/tramp-compat.el (tramp-compat-user-error): New defun.
442
443 * net/tramp-adb.el (tramp-adb-handle-shell-command):
444 * net/tramp-gvfs.el (top):
445 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
446 (tramp-handle-shell-command): Use it.
447 (tramp-dissect-file-name): Raise an error when hostname is a
448 method name, and neither method nor user is specified.
449
450 * net/trampver.el: Update release number.
451
452 2013-03-18 Leo Liu <sdl.web@gmail.com>
453
454 Make sure eldoc can be turned off properly.
455 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
456 eldoc-mode.
457 (eldoc-display-message-p): Revert last change.
458 (eldoc-display-message-no-interference-p)
459 (eldoc-print-current-symbol-info): Tweak.
460
461 2013-03-18 Tassilo Horn <tsdh@gnu.org>
462
463 * doc-view.el (doc-view-new-window-function): Check the new window
464 overlay's display property instead the char property of the
465 buffer's first char. Use `with-selected-window' instead of
466 `save-window-excursion' with `select-window'.
467 (doc-view-document->bitmap): Check the current doc-view overlay's
468 display property instead the char property of the buffer's first char.
469
470 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
471
472 Automate the build of ja-dic.el (Bug#13984).
473 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
474 from the input, rather than assume that it's been done for us by the
475 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
476 the current date into a ja-dic.el comment, as that complicates
477 regression testing.
478
479 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
480
481 * whitespace.el: Fix double evaluation.
482 (whitespace-space, whitespace-hspace, whitespace-tab)
483 (whitespace-newline, whitespace-trailing, whitespace-line)
484 (whitespace-space-before-tab, whitespace-indentation)
485 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
486 obsolete defvars.
487 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
488 (whitespace-color-on): Use a single font-lock-add-keywords call.
489 Fix double-evaluation of face variables.
490
491 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
492
493 * net/tramp-adb.el (tramp-adb-parse-device-names):
494 Use `start-process' instead of `call-process'. Otherwise, the
495 function might be blocked under MS Windows. (Bug#13299)
496
497 2013-03-17 Leo Liu <sdl.web@gmail.com>
498
499 Extend eldoc to display info in the mode-line. (Bug#13978)
500 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
501 (eldoc-mode-line-string): New variable.
502 (eldoc-minibuffer-message): New function.
503 (eldoc-message-function): New variable.
504 (eldoc-message): Use it.
505 (eldoc-display-message-p)
506 (eldoc-display-message-no-interference-p):
507 Support eldoc-post-insert-mode.
508
509 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
510 (eval-expression): Run it.
511
512 2013-03-17 Roland Winkler <winkler@gnu.org>
513
514 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
515 strings in the list of return values.
516
517 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
518
519 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
520 radix before checking for HMS forms.
521
522 2013-03-16 Leo Liu <sdl.web@gmail.com>
523
524 * progmodes/scheme.el: Add indentation and font-locking for λ.
525 (Bug#13975)
526
527 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
528
529 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
530 token before point (bug#13942).
531
532 2013-03-16 Leo Liu <sdl.web@gmail.com>
533
534 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
535
536 2013-03-16 Eli Zaretskii <eliz@gnu.org>
537
538 * startup.el (command-line-normalize-file-name): Fix handling of
539 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
540 <xfq.free@gmail.com> in
541 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
542
543 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
544
545 Sync with Tramp 2.2.7.
546
547 * net/trampver.el: Update release number.
548
549 2013-03-14 Tassilo Horn <tsdh@gnu.org>
550
551 * doc-view.el Fix bug#13887.
552 (doc-view-insert-image): Don't modify overlay associated to
553 non-live windows, and implement horizontal centering of image in
554 case it's smaller than the window.
555 (doc-view-new-window-function): Force redisplay of new windows on
556 doc-view buffers.
557
558 2013-03-13 Karl Fogel <kfogel@red-bean.com>
559
560 * saveplace.el (save-place-alist-to-file): Don't sort
561 `save-place-alist', just pretty-print it (bug#13882).
562
563 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
564
565 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
566 whether `default-file-name-coding-system' is bound. It isn't in
567 XEmacs.
568
569 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
570
571 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
572 backquotes for `obsolete' (bug#13929).
573
574 * international/mule.el (find-auto-coding): Include file name in
575 obsolescence warning (bug#13922).
576
577 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
578
579 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
580 for CFEngine 3-specific indentation.
581 (cfengine3-indent-line): Use it. Fix up category regex.
582 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
583
584 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
585
586 * type-break.el (type-break-file-name):
587 * textmodes/remember.el (remember-data-file):
588 * strokes.el (strokes-file):
589 * shadowfile.el (shadow-initialize):
590 * saveplace.el (save-place-file):
591 * ps-bdf.el (bdf-cache-file):
592 * progmodes/idlwave.el (idlwave-config-directory):
593 * net/quickurl.el (quickurl-url-file):
594 * international/kkc.el (kkc-init-file-name):
595 * ido.el (ido-save-directory-list-file):
596 * emulation/viper.el (viper-custom-file-name):
597 * emulation/vip.el (vip-startup-file):
598 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
599 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
600
601 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
602
603 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
604 * language/thai-word.el: Switch to UTF-8.
605
606 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
607
608 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
609
610 2013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
611
612 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
613 Use with-current-buffer and don't move point.
614 (net-utils-run-simple): Remove useless code.
615 (net-utils-remove-ctl-m): Remove unused custom.
616
617 2013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
618
619 * international/characters.el (glyphless-set-char-table-range): New fun.
620 (update-glyphless-char-display): Use it (bug#13744).
621
622 2013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
623
624 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
625 namespaces in the syntax, indent closer for hanging brace
626 correctly, allow single-quote delimited 'strings', and make
627 `cfengine3-mode' the default.
628
629 2013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
630
631 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
632 Use lexical-binding. Fix up docstring according to conventions.
633 (gdbmi-debug-mode): New var.
634 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
635 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
636 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
637 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
638 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
639 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
640 (gdbmi-bnf-incomplete-record-result): New functions.
641 (gdb-car<): Remove function.
642 (gdbmi-record-list): Remove variable.
643 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
644 (gdbmi-bnf-result-state-configs): New const.
645 (gud-gdbmi-marker-filter): Rewrite.
646 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
647 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
648 Add `token' argument.
649 (gdb-done, gdb-error): New functions.
650 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
651
652 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
653
654 * term/xterm.el (xterm--report-background-handler): Don't burp
655 upon timeout.
656 (xterm--version-handler): Extract from terminal-init-xterm.
657 (xterm--query): Don't mishandle timeout. Remove debugging messages.
658 Allow multiple handlers.
659 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
660
661 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
662 (xterm--report-background-handler, xterm--query): New functions.
663 (terminal-init-xterm): Use them.
664
665 2013-03-11 Michael R. Mauger <michael@mauger.com>
666
667 * progmodes/sql.el Version 3.2
668 Please note that my address changed to <michael@mauger.com>;
669 the <mmaug@yahoo.com> address remains active.
670 (sql-connection-alist): Updates documentation to fix bug#13715.
671 (sql-connect): Handle missing `sql-connection-alist' correctly.
672 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
673 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
674 property.
675 (sql-default-value): New function.
676 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
677 values were not used.
678 (sql-rename-buffer): Make sure alternate buffer name has no text
679 properties.
680 (sql-input-sender, sql-execute-feature): Fetch variable with
681 `buffer-local-value' rather than `with-current-buffer'.
682 (sql-*): Use #' function syntax consistently.
683 (sql-*): Use message/error/user-error consistently.
684
685 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
686
687 * xt-mouse.el (xterm-mouse-event-read): Remove.
688 (xterm-mouse--read-event-sequence-1000)
689 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
690
691 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
692
693 * term/xterm.el (xterm-function-map): Support format used with
694 formatOtherKeys=1 (bug#13839).
695
696 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
697 (with-no-warnings): Use `declare'.
698
699 * whitespace.el (whitespace-enable-predicate): New variable.
700 (whitespace-enable-predicate): Use it.
701
702 * comint.el (comint-send-input, comint-snapshot-last-prompt)
703 (comint-output-filter, comint-update-fence):
704 Use with-silent-modifications.
705
706 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
707
708 * replace.el (occur-read-regexp-defaults-function): New var.
709 (occur-read-regexp-defaults): New defun.
710 (occur-read-primary-args): Propagate above change (bug#13892).
711
712 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
713
714 * mouse.el (mouse-drag-track): Remove left-over debugging code.
715
716 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
717
718 Major rewrite due to changed D-Bus interface of GVFS 1.14.
719
720 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
721 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
722 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
723 New defconst.
724 (tramp-gvfs-file-name-handler-alist) [directory-files]
725 [directory-files-and-attributes, file-exists-p, file-modes]:
726 Use Tramp default handler.
727 [file-acl, file-selinux-context, process-file, set-file-acl]:
728 [set-file-modes, set-file-selinux-context, shell-command]:
729 [start-file-process]: Remove handler.
730 [verify-visited-file-modtime]: New handler.
731 (tramp-gvfs-dbus-string-to-byte-array)
732 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
733 calls of `dbus-string-to-byte-array' and
734 `tramp-gvfs-dbus-byte-array-to-string'.
735 (tramp-gvfs-handle-copy-file)
736 (tramp-gvfs-handle-delete-directory)
737 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
738 (tramp-gvfs-handle-file-directory-p)
739 (tramp-gvfs-handle-file-executable-p)
740 (tramp-gvfs-handle-file-name-all-completions)
741 (tramp-gvfs-handle-file-readable-p)
742 (tramp-gvfs-handle-file-writable-p)
743 (tramp-gvfs-handle-insert-directory)
744 (tramp-gvfs-handle-insert-file-contents)
745 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
746 (tramp-gvfs-handle-set-visited-file-modtime)
747 (tramp-gvfs-handle-write-region): Rewrite.
748 (tramp-gvfs-handle-file-acl)
749 (tramp-gvfs-handle-file-selinux-context)
750 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
751 (tramp-gvfs-handle-set-file-modes)
752 (tramp-gvfs-handle-set-file-selinux-context)
753 (tramp-gvfs-handle-shell-command)
754 (tramp-gvfs-handle-start-file-process)
755 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
756 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
757 over the symlinks. Fix user handling.
758 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
759 of the D-Bus signals.
760 (tramp-gvfs-connection-mounted-p): Handle different names of the
761 D-Bus methods.
762 (tramp-gvfs-mount-spec-entry): New defun.
763 (tramp-gvfs-mount-spec): Use it.
764 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
765 there is a share name. Handle different names of the D-Bus
766 signals and methods. Set connection properties needed for
767 `tramp-check-cached-permissions'.
768 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
769 Return t or nil.
770
771 * net/tramp.el (tramp-backtrace): Move up.
772 (tramp-error): Dump a backtrace into the debug buffer when
773 `tramp-verbose > 9.
774 (tramp-file-mode-type-map, tramp-file-mode-from-int)
775 (tramp-file-mode-permissions, tramp-get-local-uid)
776 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
777 tramp-sh.el.
778
779 * net/tramp-sh.el (tramp-file-mode-type-map)
780 (tramp-check-cached-permissions, tramp-file-mode-from-int)
781 (tramp-file-mode-permissions, tramp-get-local-uid)
782 (tramp-get-local-gid): Move to tramp.el.
783
784 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
785
786 Separate mouse-1-click-follows-link from mouse-drag-region.
787 * mouse.el (mouse--down-1-maybe-follows-link): New function.
788 (key-translation-map): Use it to implement mouse-1-click-follows-link.
789 (mouse-drag-line, mouse-drag-track):
790 Remove mouse-1-click-follows-link code.
791 (mouse--remap-link-click-p): Remove.
792
793 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
794
795 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
796 (hi-lock-read-regexp-defaults): New defun.
797 (hi-lock-line-face-buffer, hi-lock-face-buffer)
798 (hi-lock-face-phrase-buffer): Propagate above change.
799 Update docstring (bug#13892).
800
801 * subr.el (find-tag-default-as-regexp): New defun.
802 * replace.el (read-regexp): Propagate above change.
803
804 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
805
806 * calc/calc-units.el (calc-convert-units): Fix the way that default
807 new units are stored.
808
809 2013-03-07 Matthias Meulien <orontee@gmail.com>
810
811 * bookmark.el: Define a face to highlight bookmark names in
812 bookmark menu buffers, where the default is a bold face similarly
813 to buffer names in buffer menu buffers.
814 (bookmark-menu-bookmark): New face to highlight bookmark names.
815 (bookmark-insert-location): Remove duplicated text property to
816 conform to buffer list (see `list-buffers').
817 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
818 `bookmark-menu-bookmark' to bookmark names.
819
820 2013-03-07 Matthias Meulien <orontee@gmail.com>
821 Karl Fogel <kfogel@red-bean.com>
822
823 * bookmark.el: Display the bookmark list header similarly to the
824 buffer list header (see `list-buffers'), where the default is now
825 an immovable/immutable header line.
826 (bookmark-bmenu-use-header-line): New variable.
827 (bookmark-bmenu-inline-header-height): New name for
828 `bookmark-bmenu-header-height', to avoid confusion with the code
829 for the new immovable header. All references changed.
830 (bookmark-bmenu-set-header): New function.
831 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
832 Conditionalize header construction accordingly.
833 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
834 the inline header height.
835 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
836 Conditionalize the skipping of the inline header height.
837
838 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
839
840 * progmodes/js.el (js--multi-line-declaration-indentation):
841 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
842
843 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
844
845 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
846 Only propertize regexp when not inside a string (Bug#13885).
847
848 2013-03-06 Alan Mackenzie <acm@muc.de>
849
850 Correct the position of point in some line-up functions.
851 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
852 (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
853 point at column 0 rather than at a random place in the line.
854
855 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
856
857 * net/tramp-compat.el (tramp-compat-delete-directory):
858 Implement TRASH argument.
859
860 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
861
862 Keep pre-existing highlighting in completion candidates (Bug#13250).
863 * minibuffer.el (completions-first-difference): State that the
864 face is "added" in the docstring.
865 (completions-common-part): Same. And don't inherit from default.
866 (completion-hilit-commonality): Prepend 'completions-common-part
867 and 'completion-first-difference faces to the 'face property,
868 instead of replacing the value(s).
869 (completion--insert-strings): Same with 'completions-annotations face.
870 (completion-hilit-commonality): Use 'face instead of
871 'font-lock-face, because it gets priority if the completion
872 strings already have 'face set.
873
874 2013-03-04 Alan Mackenzie <acm@muc.de>
875
876 Replace `last-command-event' by `last-command-char' in XEmacs.
877 * progmodes/cc-defs.el (c-last-command-char): New macro.
878 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
879 (c-semi&comma-no-newlines-before-nonblanks)
880 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
881 in place of `last-command-event'.
882 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
883 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
884 (c-electric-paren, c-electric-continued-statement): Use the new
885 macro in place of `last-command-event'.
886
887 2013-03-04 Glenn Morris <rgm@gnu.org>
888
889 * files.el (inhibit-local-variables-regexps):
890 Add .diff and .patch. (Bug#13862)
891
892 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
893
894 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
895 whether the "su" command is available on the device.
896
897 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
898
899 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
900 (tramp-adb-handle-process-file): Remove superfluous setting.
901 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
902 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
903 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
904
905 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
906
907 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
908 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
909 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
910 Use dict-key rather than dict-name for the error message.
911
912 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
913
914 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
915 when reverting (bug#13831).
916
917 2013-03-01 Agustín Martín Domingo <agustin.martin@hispalinux.es>
918
919 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
920 Always expand affix-file before storing to protect against changed
921 `default-directory'.
922 (ispell-print-if-debug): Make sure message is printed at the end
923 of the debug buffer.
924
925 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
926
927 * net/tramp.el (tramp-obsolete-methods): New defconst.
928 (tramp-warned-obsolete-methods): New defvar.
929 (tramp-find-method): Check for obsolete methods. Map them to a
930 replacement method if appropriate.
931
932 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
933 Remove methods.
934 (top): Remove completion functions for "scp1", "scp2", "ssh1",
935 "ssh2" and "plink1".
936
937 2013-02-28 Dale Sedivec <dale@codefu.org>
938
939 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
940 Return valid syntax-table property value when converting
941 quotes within text from string syntax to punctuation syntax (bug#13844).
942
943 2013-02-28 Juri Linkov <juri@jurta.org>
944
945 * dired-aux.el (dired-diff): If file at point is a backup file,
946 use its original as the default value, and reverse the order
947 of arguments to the `diff' call. Doc fix. (Bug#13772)
948
949 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
950
951 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
952 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
953
954 2013-02-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
955
956 Initial support for hunspell dictionaries auto-detection (Bug#13639)
957
958 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
959 Ask hunspell about available and default dictionaries.
960 (ispell-parse-hunspell-affix-file): Extract relevant info from
961 hunspell affix file.
962 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
963 `ispell-dictionary-alist' entry for given dictionary after info
964 provided by `ispell-parse-hunspell-affix-file'.
965 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
966 of parsed hunspell dicts and associated affix files.
967 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
968 of parsed hunspell dicts and associated parameters.
969 (ispell-set-spellchecker-params):
970 Call `ispell-find-hunspell-dictionaries' if hunspell and not
971 previously done.
972 (ispell-start-process):
973 Call `ispell-hunspell-fill-dictionary-entry' for current
974 dictionary if it is not initialized.
975
976 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
977
978 * imenu.el: Comment nitpicks.
979
980 2013-02-28 Sam Steingold <sds@gnu.org>
981
982 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
983 See <http://stackoverflow.com/questions/14720205>.
984
985 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
986
987 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
988 (net-utils-mode): Use it.
989 (net-utils--revert-cmd): New var.
990 (net-utils-run-simple): Set it, and remove bogus interactive spec.
991 (traceroute): Use net-utils-run-simple.
992
993 2013-02-28 Glenn Morris <rgm@gnu.org>
994
995 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
996
997 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
998
999 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
1000 (doc-view-fallback-mode): Remove overlays here.
1001 (doc-view-toggle-display): Instead of here. Don't throw away
1002 image-mode-winprops-alist.
1003 (doc-view-goto-page): Don't mess with hscroll.
1004
1005 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1006
1007 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
1008 &optional (bug#13819).
1009
1010 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
1011
1012 * net/tramp-adb.el (tramp-adb-parse-device-names)
1013 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
1014
1015 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
1016
1017 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1018 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
1019 defined. POSIX environments fall back to the "C" locale then and
1020 emit a warning, which shall be suppressed.
1021
1022 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
1023
1024 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
1025 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
1026
1027 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
1028
1029 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
1030
1031 2013-02-25 Juri Linkov <juri@jurta.org>
1032
1033 * replace.el (read-regexp): Let-bind `default' to the first
1034 element of `defaults' if it's a list, otherwise it should be
1035 a string or nil. Let-bind `suggestions' to `defaults' if it's
1036 a list, otherwise make a list with the string value. Doc fix.
1037 (Bug#13805)
1038
1039 2013-02-25 Eli Zaretskii <eliz@gnu.org>
1040
1041 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
1042 that match "\`\.#", to avoid compiling lock files, even if they
1043 are readable (as they are on MS-Windows).
1044
1045 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
1046
1047 * files.el (basic-save-buffer): Remove redundant directory-creation.
1048
1049 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
1050
1051 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
1052 Add option to force `pi' to remain symbolic.
1053 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
1054 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
1055 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
1056 derivatives, when necessary.
1057
1058 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
1059
1060 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
1061 (ps-mode-octal-region): Use string-make-unibyte.
1062
1063 2013-02-23 Glenn Morris <rgm@gnu.org>
1064
1065 * emulation/viper-cmd.el (viper-submit-report):
1066 * progmodes/ps-mode.el (ps-mode-maintainer-address):
1067 * progmodes/vera-mode.el (vera-mode-help-address):
1068 * textmodes/artist.el (artist-maintainer-address):
1069 * textmodes/reftex.el (reftex-report-bug):
1070 * vc/ediff-util.el (ediff-submit-report):
1071 Add bug-gnu-emacs to bug report address.
1072
1073 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
1074 Remove bug report entries.
1075 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
1076
1077 * emacs-lisp/bytecomp.el (byte-compile-level): New.
1078 (byte-compile-file, byte-compile-from-buffer):
1079 Use separate input/output buffers for each level of recursive
1080 byte-compile-file calls. (Bug#13787)
1081
1082 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
1083
1084 * net/tramp.el (tramp-methods): Fix docstring.
1085 (tramp-ssh-controlmaster-options): Rename it from
1086 `tramp-ssh-controlmaster-template'. Return a string.
1087 (tramp-default-method): Adapt check for
1088 `tramp-ssh-controlmaster-options'.
1089
1090 * net/tramp-sh.el (tramp-methods):
1091 Replace `tramp-ssh-controlmaster-template' by "%c".
1092 (tramp-do-copy-or-rename-file-out-of-band)
1093 (tramp-maybe-open-connection): Use it in format spec. Ensure,
1094 that it is applied for the first hop only.
1095
1096 2013-02-22 Juri Linkov <juri@jurta.org>
1097
1098 * isearch.el (isearch-lazy-highlight-new-loop):
1099 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
1100 to `isearch-other-end' if it is not nil. (Bug#13402)
1101
1102 * replace.el (replace-highlight): Let-bind `isearch-other-end'
1103 to `match-beg'.
1104
1105 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
1106 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
1107 and `isearch-error' to nil.
1108
1109 2013-03-16 Fabián Ezequiel Gallina <fgallina@cuca>
1110
1111 * progmodes/python.el (python-info-current-defun):
1112 Enhance match-data cluttering prevention.
1113
1114 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
1115
1116 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
1117
1118 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1119 Handle multibyte file names.
1120
1121 2013-02-22 Glenn Morris <rgm@gnu.org>
1122
1123 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
1124 (sgml-transformation-function): Give it a :set function.
1125 (sgml-tag): Doc fix.
1126
1127 * cmuscheme.el (scheme-buffer):
1128 * progmodes/inf-lisp.el (inferior-lisp-buffer):
1129 * progmodes/tcl.el (inferior-tcl-buffer):
1130 * textmodes/tex-mode.el (tex-command): Doc fixes.
1131
1132 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
1133
1134 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
1135
1136 2013-02-21 Bastien Guerry <bzg@gnu.org>
1137
1138 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
1139
1140 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
1141
1142 * progmodes/python.el (python-info-current-defun):
1143 Enhance match-data cluttering prevention.
1144
1145 2013-02-21 Glenn Morris <rgm@gnu.org>
1146
1147 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
1148 loaded while outline-regexp is let bound. (Bug#9584)
1149
1150 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
1151
1152 * progmodes/python.el (python-info-current-defun): Fix failed
1153 defun name retrieval because of unwanted match-data cluttering.
1154
1155 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
1156
1157 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
1158 defconst. Apply independent check for ControlPersist.
1159
1160 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
1161 temporarily, via "env".
1162
1163 2013-02-21 Glenn Morris <rgm@gnu.org>
1164
1165 * info.el (Info-enable-edit): Remove.
1166 (Info-edit): Disable it rather than using Info-enable.
1167 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
1168 (Info-cease-edit): Make editing of Info files obsolete.
1169
1170 * informat.el (Info-tagify):
1171 Handle buffers not visiting files. (Bug#13763)
1172
1173 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
1174
1175 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
1176
1177 2013-02-21 Glenn Morris <rgm@gnu.org>
1178
1179 * files.el (basic-save-buffer): Move check for existing parent
1180 directory after hooks. (Bug#13773)
1181
1182 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
1183
1184 * simple.el (command-execute): Move from C. Add obsolete check.
1185 (extended-command-history): Move from C.
1186
1187 2013-02-20 Ulrich Müller <ulm@gentoo.org>
1188
1189 * jka-cmpr-hook.el (jka-compr-compression-info-list)
1190 (jka-compr-mode-alist-additions): Handle .txz suffix for
1191 XZ-compressed tar archives (bug#13770).
1192
1193 2013-02-20 Bastien Guerry <bzg@gnu.org>
1194
1195 * outline.el (outline-regexp, outline-heading-end-regexp):
1196 Make variables, not options (bug#13731).
1197
1198 2013-02-20 Glenn Morris <rgm@gnu.org>
1199
1200 * image.el (image-current-frame): Change from variable to function.
1201 (image-show-frame): Rename from image-nth-frame. Update callers.
1202 * image-mode.el (image-multi-frame): New variable.
1203 (image-mode-map, image-mode, image-goto-frame):
1204 Use image-multi-frame rather than image-current-frame.
1205 (image-mode, image-goto-frame): Use image-current-frame as
1206 function rather than as variable.
1207
1208 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
1209 * emacs-lisp/cl-macs.el (cl--make-type-test)
1210 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
1211
1212 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
1213
1214 * net/tramp-cache.el (tramp-get-hash-table): New defun.
1215 (tramp-get-file-property, tramp-set-file-property)
1216 (tramp-get-connection-property, tramp-set-connection-property): Use it.
1217 (tramp-flush-file-property, tramp-flush-directory-property):
1218 Rename argument to KEY.
1219 (tramp-flush-connection-property): Simplify a little bit.
1220 (tramp-connection-property-p): New defun.
1221 (top): Reapply saved values only if there isn't a corresponding
1222 entry in `tramp-connection-properties'.
1223
1224 2013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
1225
1226 * progmodes/python.el (python-indent-context):
1227 Fix python-info-line-ends-backslash-p call.
1228 (python-info-line-ends-backslash-p)
1229 (python-info-beginning-of-backslash): Respect line-number argument.
1230 (python-info-current-line-comment-p):
1231 Fix behavior when not at beginning-of-line.
1232 (python-util-position): Remove function.
1233 (python-util-goto-line): New function.
1234
1235 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
1236
1237 * eshell/em-unix.el (eshell/su): Require tramp.
1238 (eshell/sudo): Require tramp. Remove now unnecessary check.
1239
1240 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
1241 `tramp-current-connection' in order to avoid an error when several
1242 commands are invoked in a short time in eshell and friends.
1243
1244 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
1245
1246 Cleanup some of EIEIO's namespace.
1247 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
1248 Use it to define all the class-* and object-* field accessors (renamed
1249 to eieio--class-* and eieio--object-*). Update all uses.
1250 (eieio--class-num-slots, eieio--object-num-slots): Rename from
1251 class-num-slots and object-num-slots.
1252 (eieio--check-type): New macro.
1253 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
1254 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
1255 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
1256 (object-assoc-list-safe): Use it.
1257 (eieio-defclass): Tighten regexp.
1258 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
1259 Remove unreachable code.
1260 (object-class-fast): Declare obsolete.
1261 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
1262 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
1263 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
1264 Rename from class-name, object-name, object-set-name-string,
1265 object-class, object-class-name, class-parents, class-children,
1266 class-precedence-list, class-parent; with obsolete alias.
1267 (class-of, class-direct-superclasses, class-direct-subclasses):
1268 Declare obsolete.
1269 (eieio-defmethod): Use `memq'; remove unreachable code.
1270 * emacs-lisp/eieio-base.el (eieio-persistent-read):
1271 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
1272 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
1273
1274
1275 2013-02-18 Aidan Gauland <aidalgol@no8wireless.co.nz>
1276
1277 * eshell/em-cmpl.el: Correct "context-related help" keybinding in
1278 commentary.
1279
1280 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
1281
1282 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
1283 Use font-lock-keyword-face for macros and special forms (bug#8345).
1284
1285 2013-02-17 Didier Verna <didier@didierverna.net>
1286
1287 * net/network-stream.el (network-stream-open-starttls):
1288 Check that response to the starttls-command is non-nil. (Bug#13706)
1289
1290 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
1291
1292 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
1293 Don't assume all identifier chars have syntax word.
1294 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1295 Remove bar-not-symbol. Adjust callers.
1296 (lisp-mode-variables): Don't set a font-lock-syntax-table.
1297
1298 2013-02-17 Leo Liu <sdl.web@gmail.com>
1299
1300 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
1301
1302 2013-02-17 Glenn Morris <rgm@gnu.org>
1303
1304 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
1305
1306 * image-mode.el (image-mode-map): Add image-dired menu entry.
1307
1308 * image-dired.el (tumme): Make this alias obsolete.
1309
1310 2013-02-16 Glenn Morris <rgm@gnu.org>
1311
1312 * image.el (image-animated-types): Remove.
1313 (image-multi-frame-p): Rename from image-animated-p, and generalize.
1314 (image-animated-p): Make obsolete alias.
1315 (image-animate, image-nth-frame, image-animate-timeout):
1316 Use image-multi-frame-p.
1317 (image-animate-timeout): If no delay, use image-default-frame-delay.
1318 * image-mode.el (image-mode, image-toggle-animation):
1319 Use image-multi-frame-p. (Bug#763, bug#10739)
1320 (image-mode): Adjust startup message for a multi-frame image.
1321
1322 * image-mode.el (image-mode-map): Give it a menu.
1323
1324 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
1325
1326 * net/tramp-cache.el (tramp-connection-properties): New customer
1327 option.
1328 (tramp-get-connection-property): Use it.
1329
1330 * net/tramp-compat.el (top): Require 'trampver.
1331
1332 * net/tramp-sh.el (tramp-remote-process-environment):
1333 Set tramp-autoload cookie.
1334
1335 2013-02-16 Kevin Ryde <user42@zip.com.au>
1336
1337 * info-look.el (info-lookup-select-mode): If major-mode has no
1338 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
1339
1340 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
1341
1342 * replace.el (read-regexp): Tighten the regexp that matches tag.
1343 When tag is retrieved with `find-tag-default', use regexp that
1344 matches tag at point. Also update docstring (Bug#13687).
1345
1346 2013-02-16 Eli Zaretskii <eliz@gnu.org>
1347
1348 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
1349 add watch for the file, not its parent directory, since w32notify
1350 sets up the watch for the directory internally. (Bug#13725)
1351
1352 2013-02-16 Glenn Morris <rgm@gnu.org>
1353
1354 * image.el (image-default-frame-delay): New variable.
1355 (image-animated-p): Use image-default-frame-delay.
1356 (image-minimum-frame-delay): New constant.
1357 (image-animate-timeout): Use image-minimum-frame-delay.
1358
1359 * image.el (image-nth-frame): New, split from image-animate-timeout.
1360 (image-animate-timeout): Use image-nth-frame.
1361 * image-mode.el (image-goto-frame, image-next-frame)
1362 (image-previous-frame): New commands.
1363 (image-mode-map): Add new frame commands.
1364
1365 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
1366
1367 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
1368 If col-desc already has help-echo, use it. (Bug#13563)
1369
1370 2013-02-16 Glenn Morris <rgm@gnu.org>
1371
1372 * image.el (image-current-frame): New variable.
1373 (image-animate-timeout): Set image-current-frame.
1374 * image-mode.el (image-mode): For animated images,
1375 display a frame counter via mode-line-process.
1376
1377 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
1378
1379 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
1380
1381 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
1382
1383 2013-02-15 Alan Mackenzie <acm@muc.de>
1384
1385 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
1386 global minor mode has been enabled, call the minor mode function
1387 for a new buffer once only, after the major mode hook, whilst
1388 allowing that hook explicitly to disable the minor mode.
1389 (MODE-disable-in-buffer): New (generated) function.
1390 (disable-MODE): New (generated) buffer local variable.
1391
1392 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
1393
1394 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
1395 `iswitchb-next-match' and `iswitchb-prev-match' resply.
1396 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
1397 `ido-next-match' and `ido-prev-match' resply.
1398 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
1399 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
1400 `icomplete-backward-completions' (Bug#13708).
1401
1402 2013-02-15 Glenn Morris <rgm@gnu.org>
1403
1404 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
1405
1406 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
1407
1408 * net/goto-addr.el (goto-address-fontify): Add start and end args.
1409 (goto-address-fontify-region): Use them instead of narrowing, so
1410 syntax-ppss has access to the whole buffer.
1411
1412 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
1413
1414 * progmodes/python.el: Explain how to restore "cc-mode"-like
1415 forward-sexp movement in header documentation (Bug#13642).
1416 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
1417 comments and strings (GH bug 114).
1418
1419 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
1420
1421 * progmodes/python.el (python-info-current-defun): Fix current
1422 defun detection (Bug#13618).
1423
1424 2013-02-15 Chong Yidong <cyd@gnu.org>
1425
1426 * xml.el (xml-parse-string): Fix typo in handling of bad character
1427 references.
1428
1429 2013-02-15 Glenn Morris <rgm@gnu.org>
1430
1431 * play/fortune.el (fortune-compile): Simplify and fix previous change.
1432
1433 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
1434
1435 * net/tramp.el (tramp-debug-message):
1436 Add `tramp-condition-case-unless-debug'.
1437 (tramp-debug-on-error): New defvar.
1438 (tramp-condition-case-unless-debug): New defun.
1439 (tramp-file-name-handler): Use it.
1440
1441 2013-02-14 Juri Linkov <juri@jurta.org>
1442
1443 * info.el (Info-isearch-filter): Treat non-nil values of
1444 `search-invisible' including its default value `open'
1445 like the value `t' to match hidden text. (Bug#13402)
1446
1447 2013-02-14 Glenn Morris <rgm@gnu.org>
1448
1449 * help-fns.el (find-lisp-object-file-name): Give special treatment
1450 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
1451
1452 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
1453
1454 * net/quickurl.el (quickurl-save-urls):
1455 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
1456
1457 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
1458
1459 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
1460 depth for unfinished percent literal. Not using it in the caller.
1461 (ruby-move-to-block): Jump over multiline literals of all types,
1462 ignoring code-looking contents inside them.
1463 (ruby-add-log-current-method): Improve performance at the expense
1464 of accuracy. `ruby-block-contains-point' is relatively slow, so
1465 only use it for method and singleton class blocks.
1466
1467 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
1468
1469 Use ControlMaster where applicable. (Bug#13677)
1470
1471 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
1472 replacing `tramp-detect-ssh-controlmaster'.
1473 (tramp-default-method): Use it.
1474
1475 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
1476 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
1477 arguments.
1478 [scpc, rsyncc]: Remove methods.
1479 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
1480 and "ssh2_old".
1481 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
1482 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
1483
1484 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1485
1486 * emacs-lisp/package.el (package--initialized): Move before first use.
1487
1488 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
1489
1490 * icomplete.el (icomplete-hide-common-prefix): New user option.
1491 (icomplete-first-match): New face.
1492 (icomplete-completions): Correct handling of "complete but not
1493 unique" (Bug#12638).
1494
1495 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
1496
1497 * descr-text.el (describe-char): Display the script (bug#13698).
1498
1499 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1500
1501 * tmm.el: Use lexical-binding and current-active-maps.
1502 (tmm-menubar): Use map-keymap and pcase.
1503 (tmm--completion-table): New function.
1504 (tmm-prompt): Use it to fix the menu order.
1505 (tmm-get-keybind): Use current-active-maps.
1506
1507 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
1508
1509 Add dired-hide-details-mode. (Bug#6799)
1510
1511 * locate.el (locate-mode): Set parent mode property to dired-mode.
1512
1513 * find-dired.el (find-dired): Call dired-insert-set-properties on
1514 initial information line. Set process mark on end of buffer.
1515 (find-dired-sentinel):
1516 Call dired-insert-set-properties on summary.
1517
1518 * dired.el (dired-hide-details-hide-symlink-targets)
1519 (dired-hide-details-hide-information-lines): New options.
1520 (dired-insert-directory):
1521 Set properties after final treatment of output.
1522 (dired-insert-set-properties):
1523 Set dired-hide-details-* properties.
1524 (dired-mode-map): Bind dired-hide-details-mode.
1525 (dired-mode): Set buffer-invisibility-spec to a list.
1526 (dired-next-line): Skip hidden lines.
1527 (dired-previous-line): Use dired-next-line.
1528 (dired-hide-details-mode): New minor mode.
1529 (dired-hide-details-update-invisibility-spec): New function.
1530
1531 2013-02-13 Glenn Morris <rgm@gnu.org>
1532
1533 * play/yow.el: Move to obsolete/. (Bug#9384)
1534
1535 2013-02-13 Juri Linkov <juri@jurta.org>
1536
1537 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
1538 to select `ediff-control-frame' and set input focus correctly on Xfce.
1539 (Bug#12218)
1540
1541 2013-02-13 Juri Linkov <juri@jurta.org>
1542
1543 * image-mode.el (image-mode-map):
1544 * doc-view.el (doc-view-mode-map):
1545 * vc/ediff-util.el (ediff-setup-keymap):
1546 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
1547
1548 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
1549
1550 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
1551 performance. Instead of recalculating indentation fully for each
1552 line, sum up indentation depth based only on visited lines.
1553 (ruby-parse-partial): Increase the depth after "do" even when END
1554 is right after it.
1555 (ruby-parse-partial): When END is in the middle of a percent
1556 literal, increase the depth if the delimiter chars belong to the
1557 paren syntax class.
1558
1559 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
1560
1561 * play/fortune.el (fortune-compile): Also make the compiled file
1562 if it does not exist at all, not just if it is old. (Bug#5338)
1563
1564 2013-02-13 Glenn Morris <rgm@gnu.org>
1565
1566 * emacs-lisp/package.el (package-menu-execute): Doc fix.
1567
1568 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
1569
1570 * lisp/emacs-lisp/package.el (package-menu-execute):
1571 Add optional noquery argument. (Bug#13625)
1572
1573 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
1574
1575 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
1576 if DIR exists and PARENTS is non-nil.
1577
1578 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
1579
1580 * progmodes/js.el (js--multi-line-declaration-indentation):
1581 Silence byte-compiler warning.
1582
1583 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
1584
1585 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
1586
1587 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
1588 only if it doesn't exist.
1589
1590 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1591 Set process marker.
1592
1593 2013-02-12 Tassilo Horn <tsdh@gnu.org>
1594
1595 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
1596 UserInstallation when calling soffice to work around LibreOffice
1597 bug 37531.
1598
1599 2013-02-12 Glenn Morris <rgm@gnu.org>
1600
1601 * files.el (basic-save-buffer):
1602 Offer to create a non-existing directory. (Bug#3016)
1603
1604 * calc/calc-graph.el (calc-graph-show-dumb):
1605 * calendar/calendar.el (calendar-mode-map):
1606 * cus-edit.el (custom-mode-map):
1607 * ehelp.el (electric-help-map):
1608 * emulation/vip.el (vip-mode-map):
1609 * epa.el (epa-key-list-mode-map):
1610 * info.el (Info-mode-map):
1611 * mail/rmail.el (rmail-mode-map):
1612 * mail/rmailsum.el (rmail-summary-mode-map):
1613 * man.el (Man-mode-map):
1614 * net/newst-plainview.el (newsticker-mode-map):
1615 * progmodes/cpp.el (cpp-edit-mode-map):
1616 * progmodes/grep.el (grep-mode-map):
1617 * progmodes/idlw-help.el (idlwave-help-mode-map):
1618 * simple.el (special-mode-map):
1619 * startup.el (splash-screen-keymap):
1620 * view.el (view-mode-map):
1621 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
1622
1623 2013-02-11 Elias Pipping <pipping@lavabit.com>
1624
1625 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
1626 (bug#13679).
1627
1628 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
1629
1630 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
1631
1632 2013-02-11 Glenn Morris <rgm@gnu.org>
1633
1634 * vc/diff.el (diff-use-labels): New variable.
1635 (diff-no-select): Use --label rather than -L, and first
1636 check that it is supported. (Bug#11067)
1637
1638 * files.el (enable-dir-local-variables): New variable.
1639 (hack-dir-local-variables): Respect enable-dir-local-variables.
1640 * tutorial.el (help-with-tutorial):
1641 Ignore directory-local variables. (Bug#11127)
1642
1643 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
1644 (vc-svn-global-switches): ... to here. (Bug#13513)
1645
1646 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
1647
1648 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
1649 Handle "foo (bar, default: xxx): " prompts.
1650
1651 2013-02-10 Chong Yidong <cyd@gnu.org>
1652
1653 * files.el (basic-save-buffer-1): Do not set
1654 buffer-file-coding-system-explicit (Bug#4533).
1655
1656 * mail/emacsbug.el (report-emacs-bug): Change binding of
1657 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
1658
1659 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
1660
1661 * calc/calc.el (calc-allow-units-as-numbers): New variable.
1662 * calc/calc-units.el (calc-convert-units): Use new variable.
1663
1664 2013-02-09 Eli Zaretskii <eliz@gnu.org>
1665
1666 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
1667
1668 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
1669 buffer-file-type.
1670
1671 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
1672 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
1673 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
1674 coding-system-for-write instead.
1675
1676 * jka-compr.el (jka-compr-write-region): Don't bind
1677 buffer-file-type.
1678
1679 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
1680 buffer-file-type.
1681
1682 * files.el (file-name-buffer-file-type-alist): Remove defvar.
1683 (insert-file-contents-literally): Remove reference to
1684 file-name-buffer-file-type-alist.
1685
1686 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
1687 make-obsolete.
1688 (find-buffer-file-type-match, find-buffer-file-type): Remove.
1689 (find-buffer-file-type-coding-system): Remove references to
1690 find-buffer-file-type-match, find-buffer-file-type, and
1691 buffer-file-type.
1692 Don't put find-buffer-file-type-coding-system into
1693 file-coding-system-alist.
1694 (find-file-binary, find-file-text): Bind coding-system-for-read
1695 instead of file-name-buffer-file-type-alist.
1696
1697 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
1698
1699 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
1700 converter (Bug#13622).
1701 (doc-view-unoconv-program): Make obsolete alias.
1702 (doc-view-odf->pdf-converter-program): New variable.
1703 (doc-view-odf->pdf-converter-function): New variable.
1704 (doc-view-mode-p): Use it.
1705 (doc-view-odf->pdf-converter-unoconv):
1706 Rename from `doc-view-odf->pdf-converter-unoconv'.
1707 (doc-view-odf->pdf-converter-soffice): New function.
1708 (doc-view-convert-current-doc):
1709 Use `doc-view-odf->pdf-converter-function'.
1710
1711 2013-02-09 Chong Yidong <cyd@gnu.org>
1712
1713 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
1714 view-echo-area-messages (Bug#13340).
1715
1716 * help.el (view-echo-area-messages): Use display-buffer.
1717
1718 * dired-x.el (dired-do-run-mail): Prompt for confirmation
1719 (Bug#13561).
1720
1721 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
1722
1723 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
1724 Eval body right away, now that we do eager macroexpansion (bug#13605).
1725
1726 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
1727 (fundamental-mode): Use run-mode-hooks.
1728
1729 * eshell/esh-proc.el (eshell/kill): Fix last change.
1730 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
1731
1732 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
1733
1734 * eshell/esh-proc.el (eshell/kill): Rewrite.
1735
1736 * eshell/em-ls.el (show-almost-all): Declare.
1737 (eshell-do-ls): Add support for -A argument.
1738
1739 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
1740
1741 * icomplete.el (icomplete-forward-completions)
1742 (icomplete-backward-completions): Handle corner case (bug#13602).
1743
1744 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
1745
1746 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
1747 be nil. Handle this. (Bug#13636)
1748
1749 2013-02-07 Richard Stallman <rms@gnu.org>
1750
1751 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
1752 `save-buffer-coding-system'.
1753
1754 2013-02-07 Alan Mackenzie <acm@muc.de>
1755
1756 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
1757 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
1758 (c-parse-state-get-strategy): Don't return 'BOD any more.
1759 (c-append-lower-brace-pair-to-state-cache):
1760 Extra parameter HERE instead of narrowing.
1761 Widen to top of buffer before searching backwards for a brace pair.
1762 (c-state-push-any-brace-pair): Add HERE parameter to function call.
1763 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
1764 Narrow to parameter HERE, in place of being called narrowed.
1765 (c-remove-stale-state-cache): Extra parameter HERE in place of
1766 narrowing. Check there's an open brace in the cache before
1767 searching for its match.
1768 (c-invalidate-state-cache-1): Add HERE parameter to function call.
1769 (c-parse-state-1): Don't narrow here for 'forward strategy,
1770 instead passing extra parameter HERE to several functions.
1771 Remove 'BOD strategy.
1772
1773 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
1774
1775 * emacs-lisp/package.el (describe-package-1): Tell what archive is
1776 used to install the package.
1777
1778 2013-02-06 Glenn Morris <rgm@gnu.org>
1779
1780 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
1781 if we can't get user input. (Bug#6567)
1782
1783 * startup.el (command-line): If simple.el is missing,
1784 test and warn about for some possible causes.
1785
1786 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
1787
1788 * cus-start.el (all): Add ns-use-native-fullscreen.
1789
1790 2013-02-05 Glenn Morris <rgm@gnu.org>
1791
1792 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
1793
1794 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
1795 Fix directory creation in fallback case.
1796
1797 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1798
1799 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
1800 (vc-update-change-log): Use dolist.
1801
1802 2013-02-04 Chong Yidong <cyd@gnu.org>
1803
1804 * thingatpt.el: Rewrite the URL detection routines, absorbing some
1805 code from ffap.el.
1806 (thing-at-point-beginning-of-url-regexp): New var.
1807 (thing-at-point-uri-schemes): Update list of URI schemes.
1808 (thing-at-point-url-regexp): Variable deleted.
1809 (thing-at-point-markedup-url-regexp): Disallow newlines.
1810 (thing-at-point-newsgroup-regexp)
1811 (thing-at-point-newsgroup-heads)
1812 (thing-at-point-default-mail-uri-scheme): New variables.
1813 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
1814 method to find the possible bounds of the URI at point.
1815 New optional argument to find ill-formed URIs.
1816 (thing-at-point-url-at-point): Rewrite. New arguments for finding
1817 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
1818 the scheme-adding heuristics from ffap-url-at-point.
1819 (thing-at-point--bounds-of-well-formed-url): New function.
1820 Do parens matching to decide whether to include parens in the URI
1821 (Bug#9153).
1822
1823 * ffap.el: Require thingatpt.
1824 (ffap-url-at-point): Delegate URI detection to thing-at-point.
1825 All URI-valid characters are now recognized (Bug#5673).
1826 (ffap-string-at-point): Use use-region-p.
1827 (ffap-url-regexp): Extra character is handled by thing-at-point.
1828 (ffap-string-at-point-mode-alist): Allow parentheses.
1829 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
1830 Convert to aliases; code moved to thingatpt.el.
1831 (ffap-gnus-hook): Use setq-local.
1832
1833 2013-02-04 Glenn Morris <rgm@gnu.org>
1834
1835 * emacs-lisp/ert.el (ert--explain-format-atom):
1836 Don't try to print non-characters as characters. (Bug#13543)
1837
1838 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
1839
1840 * net/tramp.el (tramp-debug-message): Extend function exclude list.
1841 (tramp-backtrace): New defun.
1842 (tramp-handle-insert-file-contents): Use `visit' when inserting
1843 the local copy.
1844
1845 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
1846 Use `remote-file-name-inhibit-cache'.
1847
1848 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
1849
1850 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
1851 (bug#13614).
1852
1853 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
1854 current-load-list (bug#13366).
1855
1856 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
1857
1858 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1859 Identify g++ template instantiation trace. (Bug#12287)
1860 (compilation-mode-hook, compilation-start-hook)
1861 (compilation-window-height): Simplify docstrings. (Bug#13379)
1862
1863 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1864
1865 * mouse.el (mouse-drag-track): Always deactivate the mark before
1866 running the final event's command since that command is in charge of
1867 activating the mark if needed (bug#13523).
1868
1869 2013-02-02 Juri Linkov <juri@jurta.org>
1870
1871 * replace.el (perform-replace): Move let-bindings of isearch-*
1872 variables deeper to the loop that searches for the next match.
1873 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
1874 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
1875 (Bug#13579)
1876
1877 * isearch.el (isearch-search-fun-default): Check for null
1878 first element of isearch-cmds as a precaution when it's used
1879 with inactive isearch.
1880
1881 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
1882
1883 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
1884 error when buffer in question is narrowed so position 1 is out of
1885 visible part.
1886
1887 2013-02-02 Glenn Morris <rgm@gnu.org>
1888
1889 * textmodes/remember.el (remember-clipboard): Doc fix.
1890
1891 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1892
1893 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
1894 properties (bug#13179).
1895
1896 2013-02-02 Juri Linkov <juri@jurta.org>
1897
1898 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
1899 instead of hard-coded default face `match'. (Bug#9438)
1900
1901 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
1902
1903 * vc/vc-arch.el (vc-arch-registered):
1904 * vc/vc-bzr.el (vc-bzr-registered):
1905 * vc/vc-cvs.el (vc-cvs-registered):
1906 * vc/vc-git.el (vc-git-registered):
1907 * vc/vc-hg.el (vc-hg-registered):
1908 * vc/vc-mtn.el (vc-mtn-registered):
1909 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
1910 (Bug#13139)
1911
1912 * info.el (Info-next-reference, Info-prev-reference): Add numeric
1913 prefix argument. (Bug#11656)
1914
1915 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
1916
1917 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
1918
1919 2013-02-01 Glenn Morris <rgm@gnu.org>
1920
1921 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
1922 if the backend is known not to support it.
1923
1924 * imenu.el (imenu-default-create-index-function):
1925 Tweak infinite loop test to check for forward motion as well as none.
1926
1927 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
1928
1929 * net/soap-client.el (soap-invoke): Encode the string for
1930 `url-request-data' as UTF-8.
1931 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
1932
1933 2013-02-01 Glenn Morris <rgm@gnu.org>
1934
1935 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
1936
1937 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
1938
1939 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
1940
1941 * net/tramp.el (tramp-tramp-file-p): Comment check for
1942 `string-as-unibyte'. The function does not exist on XEmacs, and
1943 likely we need another approach.
1944
1945 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
1946 `tramp-gw-*' variables are bound.
1947
1948 2013-01-31 Glenn Morris <rgm@gnu.org>
1949
1950 * files.el (basic-save-buffer-2): Choose coding system for
1951 writing the file before backing it up, to reduce delay between
1952 backing up and writing the new version. (Bug#13522)
1953
1954 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
1955
1956 * simple.el (cycle-spacing): New command.
1957 (just-one-space): Use it.
1958
1959 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
1960
1961 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
1962 (opascal-newline-always-indents): Remove custom.
1963 (opascal-tab, opascal-newline): Remove commands.
1964 (opascal-new-comment-line): Insert "\n" instead of calling newline.
1965 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
1966 (opascal-save-match-data): Remove, use save-match-data instead.
1967 (opascal-save-state): Use with-silent-modifications.
1968
1969 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
1970 (bug#13585).
1971
1972 2013-01-30 Juri Linkov <juri@jurta.org>
1973
1974 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
1975 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
1976 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
1977
1978 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1979
1980 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
1981 column if we're just deleting the backslashes.
1982 (makefile-fill-paragraph): Use eolp.
1983
1984 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
1985
1986 * autorevert.el (auto-revert-use-notify): Fix docstring.
1987
1988 2013-01-30 Leo Liu <sdl.web@gmail.com>
1989
1990 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
1991
1992 2013-01-30 Glenn Morris <rgm@gnu.org>
1993
1994 * mouse.el (mouse-drag-line): Avoid pushing same event onto
1995 unread-command-events twice in some cases. This tries to implement
1996 the 2012-07-26 changes in a different way. (Bug#13560)
1997
1998 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
1999
2000 * progmodes/python.el
2001 (python-pdbtrack-comint-output-filter-function): Enhancements on
2002 stacktrace detection. (thanks @gnovak)
2003
2004 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2005
2006 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
2007 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
2008 Use defvar-local.
2009 (jit-lock-register): Use setq-local.
2010
2011 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
2012
2013 * calc-units.el (math-default-units-table): Remove initial value.
2014 (calc-convert-units): Treat expressions where all the units cancel as
2015 if they didn't have units.
2016
2017 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
2018
2019 * net/tramp.el (tramp-process-connection-type): Fix docstring.
2020 (tramp-completion-reread-directory-timeout): Fix type.
2021 (tramp-connection-min-time-diff): New defcustom.
2022
2023 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
2024
2025 2013-01-30 Glenn Morris <rgm@gnu.org>
2026
2027 * imenu.el (imenu-default-create-index-function):
2028 Put back a version of the infinite loop test removed 2013-01-23.
2029
2030 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
2031
2032 * progmodes/python.el (python-shell-parse-command):
2033 Find python-shell-interpreter with modified environment.
2034
2035 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2036
2037 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
2038
2039 2013-01-29 Alan Mackenzie <acm@muc.de>
2040
2041 Amend to fontify /regexp/s in actions correctly.
2042 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
2043 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
2044 are no longer included.
2045 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
2046 What used to be these variables without "-line" in the name.
2047 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
2048 (c-awk-non-arith-op-bra-re): Now also matches {.
2049 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
2050 "return", and "case".
2051 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
2052 by /.
2053 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
2054 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
2055
2056 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
2057
2058 * autorevert.el (auto-revert-use-notify):
2059 Use `custom-initialize-default' for initialization. (Bug#13583)
2060
2061 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
2062
2063 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2064 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
2065 in `tramp-file-name-handler'.
2066 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
2067 compatibility.
2068 (tramp-compute-multi-hops): Check, whether
2069 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
2070
2071 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2072
2073 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
2074 (bug#13297).
2075
2076 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
2077
2078 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
2079 checks made superfluous by the \_< operator.
2080 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
2081 temporarily) broken indentation.
2082 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2083 Highlight nested constants, too. \_< broke that.
2084
2085 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
2086
2087 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
2088 instead of "\\b".
2089
2090 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
2091
2092 * autorevert.el (auto-revert-handler): Notifications which result
2093 from a saved file shall not be taken into account. (Bug#13557)
2094
2095 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
2096
2097 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
2098 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
2099 (lisp-mode): Pass t for it. (Bug#13556)
2100
2101 2013-01-25 Alan Mackenzie <acm@muc.de>
2102
2103 AWK Mode: Fix indentation bug at top level. Bug #12274.
2104
2105 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
2106 just before CASE 5D.
2107
2108 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
2109
2110 * net/socks.el (socks-nslookup-host): Use string-to-number.
2111
2112 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
2113
2114 * autorevert.el (auto-revert-remote-files)
2115 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
2116 (auto-revert-notify-enabled, auto-revert-use-notify)
2117 (auto-revert-notify-watch-descriptor-hash-list)
2118 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
2119 (auto-revert-notify-event-descriptor)
2120 (auto-revert-notify-event-action)
2121 (auto-revert-notify-event-file-name): Doc fix.
2122 (global-auto-revert-mode): Reorder checks.
2123 (auto-revert-notify-rm-watch): Respect changed values of
2124 `auto-revert-notify-watch-descriptor-hash-list'.
2125 (auto-revert-notify-add-watch): Check for
2126 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
2127 `inotify-add-watch'. Watch `default-directory' instead of
2128 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
2129 has a changed meaning now. (Bug#13540)
2130 (auto-revert-notify-handler): Change implementation wrt events
2131 returning from a directory.
2132 (auto-revert-handler): Reorder implementation for checks of remote
2133 files.
2134 (auto-revert-buffers): Fix parentheses error.
2135
2136 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
2137
2138 * progmodes/python.el: Enhancements to header documentation about
2139 skeletons. (Bug#5716)
2140
2141 * imenu.el (imenu-default-create-index-function): Remove useless
2142 infinite loop check. (Bug#13438)
2143
2144 2013-01-25 Alan Mackenzie <acm@muc.de>
2145
2146 Fix a bug in the state cache mechanism. Refactor this a bit.
2147
2148 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
2149 `cache-pos' element from the return value.
2150 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
2151 buffer to enable proper searching from beyond HERE. Amend the
2152 test for detecting the sought brace pair. Amend the value written
2153 to the "brace desert cache" when the brace isn't found.
2154 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
2155 and several other variables analogously.
2156 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
2157 parameter to a locally calculated variable.
2158 (c-parse-state-1): Change the calling conventions to the two
2159 defuns involving `cache-pos'.
2160
2161 2013-01-25 Chong Yidong <cyd@gnu.org>
2162
2163 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
2164
2165 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
2166
2167 * paren.el (show-paren-function): Make sure to set 'priority and
2168 'face only if the overlay does exist.
2169
2170 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
2171
2172 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
2173
2174 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
2175 basic attributes.
2176 (tramp-sh-handle-set-file-acl): Improve error checking.
2177
2178 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
2179
2180 * doc-view.el (doc-view-display): Force mode line update until all
2181 document is converted. Suggested by Stefan Monnier (Bug#13164).
2182
2183 2013-01-23 Bastien Guerry <bzg@gnu.org>
2184
2185 * paren.el (show-paren-function): Make sure an overlay exists
2186 before trying to delete it. Also use `pos' as a position only
2187 when it is an integer.
2188
2189 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
2190
2191 * play/gametree.el (gametree-break-line-here): Use point-marker.
2192
2193 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
2194
2195 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2196 Mark descriptive parts with `display' property.
2197
2198 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2199
2200 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
2201 New variable to map standard dict names to hunspell ones.
2202 (ispell-set-spellchecker-params): Make sure specific dict names
2203 are used for standard dicts with hunspell.
2204
2205 2013-01-21 Tassilo Horn <tsdh@gnu.org>
2206
2207 * textmodes/reftex-cite.el (reftex-format-citation): Add format
2208 chars for note (%N) and url (%U).
2209 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
2210
2211 2013-01-21 Juri Linkov <juri@jurta.org>
2212
2213 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
2214 in addition to existing separate binding `meta f10' in `global-map'.
2215 (Bug#13484)
2216
2217 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
2218
2219 Improve XEmacs compatibility.
2220
2221 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
2222
2223 * net/tramp-adb.el (top): Require `time-date'.
2224 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
2225 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
2226 Use `tramp-file-name-handler'.
2227 (tramp-adb-maybe-open-connection):
2228 Use `tramp-compat-set-process-query-on-exit-flag'.
2229
2230 * net/tramp-sh.el (tramp-sh-handle-file-acl):
2231 Use `tramp-compat-funcall'.
2232
2233 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
2234 `tramp-compat-funcall'.
2235
2236 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
2237
2238 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
2239 reimplementation using "adb shell command ..." instead of running
2240 remote shell interactively.
2241
2242 2013-01-20 Glenn Morris <rgm@gnu.org>
2243
2244 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
2245 Add native profiler menu entries.
2246
2247 * profiler.el (profiler-running-p): New function.
2248 (profiler-cpu-profile): Use profiler-running-p.
2249 (profiler-report-mode-map): Add some more menu entries.
2250
2251 2013-01-19 Glenn Morris <rgm@gnu.org>
2252
2253 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
2254 fixes 2012-12-07 change. (Bug#13499)
2255
2256 2013-01-19 Leo Liu <sdl.web@gmail.com>
2257
2258 * dired.el (dired-get-marked-files): Prune erroneous values due to
2259 last change. (Bug#13152)
2260
2261 2013-01-19 Glenn Morris <rgm@gnu.org>
2262
2263 * progmodes/etags.el (tags-table-check-computed-list):
2264 Preserve point in tags buffer. (Bug#13412)
2265
2266 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
2267
2268 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
2269 Chong Yidong <cyd@gnu.org>
2270
2271 * image-mode.el (image-next-file, image-previous-file):
2272 New commands (Bug#8453).
2273 (image-mode-map): Bind them to n and p.
2274 (image-mode--images-in-directory): New helper function.
2275
2276 2013-01-19 Chong Yidong <cyd@gnu.org>
2277
2278 * image-mode.el (image-mode-fit-frame): Add a frame argument.
2279 Suggested by Drew Adams (Bug#7730). Handle window decorations;
2280 save and restore the old window configuration.
2281
2282 2013-01-18 Leo Liu <sdl.web@gmail.com>
2283
2284 * progmodes/js.el: Tweak autoload cookie for alias.
2285
2286 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
2287
2288 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
2289 buffer local, again. This was lost with the fix on 2013-01-12.
2290
2291 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
2292
2293 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
2294 order to support several eshell buffers in parallel.
2295
2296 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
2297
2298 * autorevert.el (auto-revert-use-notify): In the :set function, do
2299 not modify `kill-buffer-hook'.
2300 (auto-revert-notify-rm-watch):
2301 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
2302 (auto-revert-notify-add-watch): Do not call
2303 `auto-revert-notify-rm-watch', but add it to a buffer local
2304 `kill-buffer-hook'.
2305
2306 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2307
2308 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
2309 call to `eval' rather than a backquoted lambda.
2310
2311 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2312
2313 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
2314 to return an explicit nil.
2315 (advice--remove-function): Change accordingly.
2316
2317 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
2318 the use of nadvice.el.
2319
2320 * progmodes/which-func.el (which-function): Silence imenu errors
2321 (bug#13433).
2322
2323 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
2324
2325 * progmodes/sql.el: (sql-imenu-generic-expression):
2326 (sql-mode-font-lock-object-name): Match schema qualified names.
2327 (sql-connect): Use string keys.
2328 (sql-product-interactive): Wait for interpreter prompt.
2329 (sql-comint-oracle): Set process coding based on NLS_LANG.
2330
2331 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
2332
2333 * progmodes/sql.el (sql-output-to-send): Remove, unused.
2334 (sql-interactive-remove-continuation-prompt):
2335 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
2336
2337 2013-01-14 Leo Liu <sdl.web@gmail.com>
2338
2339 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
2340 (Bug#13420)
2341
2342 2013-01-14 Glenn Morris <rgm@gnu.org>
2343
2344 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2345 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
2346
2347 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
2348
2349 * progmodes/python.el (python-nav-end-of-statement):
2350 Fix cornercase when handling multiline strings.
2351
2352 2013-01-13 Richard Stallman <rms@gnu.org>
2353
2354 * mail/sendmail.el (mail-position-on-field): Add doc string.
2355
2356 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
2357 Get current message boundaries and pass them to
2358 message-forward-make-body-mime. Minor style changes.
2359
2360 2013-01-13 Eli Zaretskii <eliz@gnu.org>
2361
2362 * cus-start.el (all): Avoid warnings about
2363 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
2364
2365 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
2366
2367 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
2368
2369 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2370
2371 * jit-lock.el (jit-lock-debug-mode): New minor mode.
2372 (jit-lock--debug-fontifying): New var.
2373 (jit-lock--debug-fontify): New function.
2374 * subr.el (condition-case-unless-debug): Don't prevent catching the
2375 error, just let the debbugger run.
2376 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
2377 timer code and don't drop errors silently.
2378
2379 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
2380
2381 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
2382 `permanent-local' property.
2383 (auto-revert-notify-handler): Use `file-equal-p'.
2384
2385 2013-01-12 Eli Zaretskii <eliz@gnu.org>
2386
2387 * autorevert.el (auto-revert-notify-handler): Fix filtering of
2388 file notification by ACTION. For filtering by file name, compare
2389 only the non-directory part of the file name.
2390
2391 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
2392
2393 * autorevert.el: Use cl-lib instead of cl.
2394
2395 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
2396 (vc-bzr-checkin): Use it.
2397 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
2398 will preserve match-data.
2399
2400 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
2401
2402 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
2403 (js--declaration-keyword-re): New var.
2404 (js--multi-line-declaration-indentation): New function.
2405 (js--proper-indentation): Use it.
2406
2407 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
2408
2409 * calc/calc.el (calc-highlight-selections-with-faces)
2410 (calc-dispatch):
2411 * comint.el (comint-history-isearch-message):
2412 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
2413 * ffap.el (ffap-string-at-point-region, ffap-next)
2414 (ffap-string-at-point, ffap-string-around)
2415 (ffap-copy-string-as-kill, ffap-highlight-overlay)
2416 (ffap-literally):
2417 * font-lock.el (font-lock-keywords-alist)
2418 (font-lock-removed-keywords-alist):
2419 * help-mode.el (help-xref-symbol-regexp):
2420 * info.el (Info-find-emacs-command-nodes):
2421 * international/mule.el (add-to-coding-system-list):
2422 * isearch.el (isearch-message-function, isearch-fail-pos):
2423 * misearch.el (multi-isearch-next-buffer-function):
2424 * newcomment.el (comment-box):
2425 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
2426 (pr-setting-database):
2427 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
2428 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
2429 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
2430 (pike-font-lock-keywords-3):
2431 * progmodes/compile.el (compile):
2432 * progmodes/etags.el (tags-table-files)
2433 (tags-table-files-function, tags-included-tables-function):
2434 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
2435 (gdb-restore-windows):
2436 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
2437 (ps-n-up-filling-database):
2438 * server.el (server-buffer, server-log):
2439 * simple.el (newline, delete-backward-char, delete-forward-char)
2440 (minibuffer-history-isearch-message, kill-line, track-eol)
2441 (temporary-goal-column):
2442 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
2443 (flyspell-default-deplacement-commands):
2444 * textmodes/ispell.el (ispell-accept-output):
2445 * textmodes/sgml-mode.el (html-tag-help):
2446 * vc/compare-w.el (compare-ignore-whitespace)
2447 (compare-ignore-case, compare-windows-dehighlight):
2448 * vc/diff.el (diff):
2449 * whitespace.el (whitespace-point)
2450 (whitespace-font-lock-refontify, whitespace-bob-marker)
2451 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
2452
2453 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
2454
2455 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
2456 (auto-revert-notify-rm-watch): Ignore errors.
2457 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
2458 inotify, and '(size last-write-time) for w32notify.
2459 Set buffer-local `auto-revert-use-notify' to nil when adding a file
2460 watch fails - this is a fallback to the file modification check.
2461 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
2462 (auto-revert-notify-event-action)
2463 (auto-revert-notify-event-file-name): New defuns.
2464 (auto-revert-notify-handler): Use them. Implement first
2465 plausibility checks.
2466 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
2467
2468 2013-01-11 Julien Danjou <julien@danjou.info>
2469
2470 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
2471 max are almost equal. Also return the correct value for V which is
2472 already between 0 and 1.
2473
2474 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
2475
2476 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
2477
2478 2013-01-11 Eli Zaretskii <eliz@gnu.org>
2479
2480 * autorevert.el (auto-revert-notify-rm-watch)
2481 (auto-revert-notify-add-watch): Fix typos in w32notify function
2482 names.
2483
2484 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
2485
2486 * autorevert.el (auto-revert-notify-enabled): Move up.
2487 (auto-revert-use-notify): New defcustom.
2488 (auto-revert-mode, global-auto-revert-mode)
2489 (auto-revert-notify-add-watch, auto-revert-handler)
2490 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
2491 `auto-revert-notify-enabled'.
2492
2493 2013-01-10 Elias Pipping <pipping@exherbo.org>
2494
2495 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
2496 * doc-view.el (doc-view-document->bitmap):
2497 Use doc-view-single-page-converter-function instead of
2498 single-page-converter arg; adjust callers.
2499
2500 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
2501
2502 * progmodes/which-func.el (which-function): Understand Semantic's use
2503 of overlays in imenu--index-alist.
2504
2505 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
2506
2507 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
2508 (Man-man-k-use-anchor): New var.
2509 (Man-parse-man-k): New function.
2510 (Man-completion-table): Use it.
2511 (man): Flush the completion cache between uses.
2512
2513 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
2514
2515 * autorevert.el: Add file watch support.
2516 (auto-revert-notify-enabled): New defconst.
2517 (auto-revert-notify-watch-descriptor-hash-list)
2518 (auto-revert-notify-watch-descriptor)
2519 (auto-revert-notify-modified-p): New defvars.
2520 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
2521 (auto-revert-notify-handler): New defuns.
2522 (auto-revert-mode, global-auto-revert-mode): Remove file watches
2523 when mode is disabled.
2524 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
2525 (auto-revert-buffers): Add file watches for active buffers.
2526
2527 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
2528
2529 * cus-start.el (toplevel): Only allow float values for
2530 scroll-up-aggressively and scroll-down-aggressively.
2531 Allow any number for line-spacing.
2532
2533 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2534
2535 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
2536 (doc-view-pdf->png-converter-function): Use mupdf if available.
2537 (doc-view-djvu->png-converter-function)
2538 (doc-view-ps->png-converter-function): Remove.
2539 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
2540 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
2541 (doc-view-already-converted-p): Adjust accordingly.
2542 (doc-view-mode-p): Simplify.
2543 (doc-view-enlarge): Use setq-local.
2544 (doc-view-pdf->png-converter-ghostscript)
2545 (doc-view-djvu->png-converter-ddjvu)
2546 (doc-view-pdf->png-converter-mupdf): Rework to call
2547 doc-view-start-process directly.
2548 (doc-view-pdf/ps->png): Simplify accordingly.
2549 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
2550 (doc-view-document->bitmap): Rename from doc-view-document->png.
2551 (doc-view-convert-current-doc): Merge pdf and djvu cases.
2552 (doc-view-set-slice-from-bounding-box): Fix completion table.
2553 (doc-view-mode): Use add-hook for after-revert-hook.
2554
2555 2013-01-10 Glenn Morris <rgm@gnu.org>
2556
2557 * emacs-lisp/authors.el (authors-ignored-files)
2558 (authors-valid-file-names, authors-renamed-files-alist):
2559 Add some more entries.
2560
2561 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2562
2563 * image-mode.el (image-mode-winprops): Don't throw away the fallback
2564 `t' pseudo-window entry.
2565
2566 2013-01-10 Alan Mackenzie <acm@muc.de>
2567
2568 Fix bugs in the c-parse-state mechanism. Reuse some markers
2569 instead of continually generating new ones.
2570
2571 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
2572 (c-state-old-cpp-end-marker): New variables.
2573 (c-append-lower-brace-pair-to-state-cache): Start a backward
2574 search for "}" definitively outside CPP constructs.
2575 (c-remove-stale-state-cache): Inform the caller of a need to
2576 search back for a brace pair in certain circumstances.
2577 (c-state-maybe-marker): New macro.
2578 (c-parse-state): Reuse markers when appropriate.
2579
2580 2013-01-10 Glenn Morris <rgm@gnu.org>
2581
2582 * simple.el (execute-extended-command): Doc fix.
2583 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
2584
2585 2013-01-10 Chong Yidong <cyd@gnu.org>
2586
2587 * faces.el (read-face-name): Doc fix.
2588
2589 2013-01-10 Roland Winkler <winkler@gnu.org>
2590
2591 * emacs-lisp/crm.el: Allow any regexp for separators.
2592 (crm-default-separator): All spaces around the default comma separator.
2593 (crm--completion-command): New macro.
2594 (crm-completion-help, crm-complete, crm-complete-word): Use it.
2595 (crm-complete-and-exit): Handle non-single-char separators.
2596
2597 2013-01-09 Elias Pipping <pipping@lavabit.com>
2598
2599 * doc-view.el: Add support for DjVu (bug#13164).
2600 (doc-view-djvu->png-converter-function): New config var.
2601 (doc-view-single-page-converter-function, doc-view--image-type)
2602 (doc-view--image-file-extension): New vars.
2603 (doc-view-mode): Initialize them.
2604 (doc-view-goto-page): Use them.
2605 (doc-view-mode-p): Add support for ddjvu.
2606 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
2607 (doc-view-set-up-single-converter): New funs.
2608 (doc-view-pdf/ps->png): Extend for djvu.
2609 (doc-view-document->png): Rename from doc-view-pdf->png.
2610 (doc-view-convert-current-doc): Handle djvu.
2611 (doc-view-insert-image, doc-view-display)
2612 (doc-view-already-converted-p): Don't hardcode png.
2613 (doc-view-set-doc-type): Recognize djvu docs.
2614
2615 2013-01-09 Elias Pipping <pipping@lavabit.com>
2616
2617 * doc-view.el: Add support for mupdf converter (bug#13164).
2618 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
2619 (doc-view-ps->png-converter-function): New config vars.
2620 (doc-view-pdf->png-converter-ghostscript)
2621 (doc-view-ps->png-converter-ghostscript)
2622 (doc-view-pdf->png-converter-mupdf): New functions.
2623 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
2624
2625 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
2626
2627 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
2628 first in session cache: When `tramp-own-remote-path' is in
2629 `tramp-remote-path', the remote path is only set in the session
2630 cache.
2631
2632 2013-01-09 Glenn Morris <rgm@gnu.org>
2633
2634 * emacs-lisp/trace.el (trace-function-foreground)
2635 (trace-function-background): Doc fix.
2636
2637 2013-01-09 Juri Linkov <juri@jurta.org>
2638
2639 * international/mule-cmds.el (read-char-by-name): Move let-binding
2640 of completion-ignore-case around completing-read to fix regression
2641 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
2642 `string-match-p' using the nil value of `case-fold-search' and
2643 `completion-ignore-case' in `completion-pcm--all-completions'.
2644 (Bug#12615).
2645
2646 2013-01-09 Glenn Morris <rgm@gnu.org>
2647
2648 * progmodes/compile.el (compilation-parse-errors):
2649 Fix typo. (Bug#13369)
2650
2651 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
2652
2653 * comint.el (comint-send-input): Check size of buffer before
2654 waiting for process output, in case already accepted. (Bug#13290)
2655
2656 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
2657
2658 Spelling fixes.
2659 * net/tramp-adb.el (tramp-adb-get-toolbox):
2660 Fix misspelling of 'unknown'.
2661
2662 2013-01-08 Juri Linkov <juri@jurta.org>
2663
2664 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
2665 * progmodes/flymake.el (flymake-errline, flymake-warnline):
2666 Use underline style wave on terminals that support it. (Bug#13000)
2667
2668 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2669
2670 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
2671 the predicate returns nil.
2672
2673 * simple.el: Use lexical-binding.
2674 (primitive-undo): Use pcase.
2675 (minibuffer-history-isearch-push-state): Use a closure.
2676
2677 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2678
2679 * simple.el (primitive-undo): Move from undo.c.
2680
2681 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2682
2683 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
2684 (cvs-mode-remove-handled): Use it (bug#13380).
2685
2686 * emacs-lisp/nadvice.el (advice--tweak): New function.
2687 (advice--remove-function, advice--subst-main): Use it.
2688
2689 * emacs-lisp/advice.el: Update commentary.
2690
2691 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
2692
2693 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2694 Remove spurious entry.
2695
2696 2013-01-08 Glenn Morris <rgm@gnu.org>
2697
2698 * net/tramp.el (tramp-default-host-alist): Add :version.
2699
2700 2013-01-08 Juri Linkov <juri@jurta.org>
2701
2702 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
2703 single completion. (Bug#12456)
2704 (info--manual-names): Expand node completions into an explicit list
2705 before appending it to another list. Filter out internal buffers
2706 with the leading space in the buffer name. (Bug#10771)
2707
2708 2013-01-08 Juri Linkov <juri@jurta.org>
2709
2710 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
2711 that defaults to the Top node.
2712 (Info-goto-node, Info-read-node-name): Doc fix to mention that
2713 the short format (FILENAME) goes to the Top node.
2714 (Info-build-node-completions): Rename arg `file' to `filename'.
2715 (Bug#13365)
2716
2717 2013-01-07 Bastien Guerry <bzg@gnu.org>
2718
2719 * menu-bar.el (menu-bar-search-documentation-menu):
2720 Use `apropos-user-option' and fix the help message.
2721
2722 2013-01-07 Bastien Guerry <bzg@gnu.org>
2723
2724 * apropos.el (apropos-do-all): Update docstring.
2725 (apropos-user-option-button): New face.
2726 (apropos-user-option): Rename from `apropos-variable' and update
2727 docstring.
2728 (apropos-variable): Rewrite, now show all variables by default.
2729 (apropos-print): Mention "User option" instead of "Variable" when
2730 printing doc for user options. (Bug#13276)
2731
2732 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
2733
2734 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
2735 Handle filename correctly, when parsing "source -> target" symlink
2736 output.
2737 (tramp-adb-handle-set-file-times): New defun.
2738
2739 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
2740
2741 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
2742 advice list when the interactive-spec of ad-Advice-* changes.
2743
2744 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
2745
2746 * wid-edit.el (widget-default-get): Work for inlined elements.
2747 (Bug#12670)
2748
2749 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
2750
2751 * net/tramp.el (tramp-default-host-alist): New defcustom.
2752 (tramp-find-host): Use it.
2753 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
2754 `eshell-directory-change-hook'.
2755
2756 * net/tramp-adb.el (top): Add adb specific entry in
2757 `tramp-default-host-alist'.
2758 (tramp-adb-file-name-host): Remove function.
2759 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
2760 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
2761
2762 * net/tramp-sh.el: Move eshell integration code to tramp.el.
2763
2764 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
2765
2766 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
2767
2768 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
2769
2770 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
2771 consist of more than one digit.
2772 (tramp-adb-file-name-handler-alist):
2773 Use `tramp-handle-file-exists-p' consistently.
2774 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
2775 (tramp-adb-handle-file-exists-p): Remove function.
2776 (tramp-adb-file-name-host): New defun.
2777 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
2778 Use it.
2779 (tramp-adb-maybe-open-connection): Set "remote-path" property.
2780
2781 2013-01-06 Chong Yidong <cyd@gnu.org>
2782
2783 * vc/vc.el (vc-next-action): Detect buffer modifications
2784 conflicting with locking VCS operation (Bug#11490).
2785
2786 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
2787
2788 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
2789
2790 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
2791 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
2792
2793 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
2794
2795 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
2796 parsing of ls output using regular expression (handle filenames
2797 with spaces). Use virtual device number.
2798 (tramp-do-parse-file-attributes-with-ls): New defun (Code
2799 cleanup).
2800
2801 2013-01-04 Daiki Ueno <ueno@gnu.org>
2802
2803 * epg.el: Silence byte-compiler warnings.
2804 (epg--start): Use delete-char instead of delete-backward-char.
2805 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
2806
2807 2013-01-04 Daiki Ueno <ueno@gnu.org>
2808
2809 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
2810 Suggested by Eli Zaretskii <eliz@gnu.org>.
2811
2812 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
2813
2814 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
2815 non-negative integers. Otherwise, the default values are used.
2816 (tramp-convert-file-attributes): Convert uid and gid to integers.
2817
2818 2013-01-04 Glenn Morris <rgm@gnu.org>
2819
2820 * term.el (term-handle-colors-array): Ensure face attributes
2821 are fully specified, not nil. (Bug#13337)
2822
2823 * term.el (term-default-fg-color, term-default-bg-color):
2824 Fix custom type.
2825
2826 * progmodes/etags.el (tags-compression-info-list): Doc fix.
2827 (tag-find-file-of-tag-noselect): Check auto-compression-mode
2828 rather than 'jka-compr being loaded. (Bug#13338)
2829
2830 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
2831
2832 * icomplete.el (icomplete-completions):
2833 Honor icomplete-prospects-height once more following
2834 2012-11-29 changes. (Bug#13224)
2835
2836 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
2837
2838 * subr.el (internal--called-interactively-p--get-frame): Find aliases
2839 of called-interactively-p as well (bug#13237).
2840
2841 * view.el (view--enable, view--disable): Rename from view-mode-enable
2842 and view-mode-disable and assume it's called from view-mode.
2843 (view-mode-enable, view-mode-disable): Redefine as obsolete
2844 compatibility layer above view-mode.
2845 (view-mode-enter): Call `view-mode'.
2846
2847 * files.el (after-find-file): Call `view-mode'.
2848
2849 * doc-view.el (doc-view-scale-internally): New var.
2850 (doc-view-enlarge, doc-view-insert-image): Obey it.
2851
2852 2013-01-03 Daiki Ueno <ueno@gnu.org>
2853
2854 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
2855 exist. (Bug#13344)
2856
2857 2013-01-03 Glenn Morris <rgm@gnu.org>
2858
2859 * mail/rmail.el (rmail-set-header-1): Ignore case.
2860 Handle multi-line headers. (Bug#13330)
2861
2862 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
2863 Handle paragraph starting at beginning of buffer.
2864
2865 * subr.el (eval-after-load): Don't purecopy the form, so that it
2866 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
2867
2868 * emacs-lisp/byte-run.el (defun): Place cl declarations
2869 after any interactive spec. (Bug#13265)
2870
2871 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
2872
2873 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
2874 defun. Don't check for DECL if DOCSTRING isn't a string.
2875 (defun): Likewise.
2876
2877 2013-01-02 Glenn Morris <rgm@gnu.org>
2878
2879 * eshell/em-cmpl.el (eshell-pcomplete):
2880 More thoroughly imitate pcomplete. (Bug#13293)
2881
2882 * files.el (parse-colon-path): Doc fix. (Bug#12351)
2883 Return nil for empty path elements. (Bug#13296)
2884
2885 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
2886
2887 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
2888 order to improve efficiency (Based on Daniel Colascione's
2889 <dancol@dancol.org> patch). (Bug#13182)
2890
2891 2013-01-02 Glenn Morris <rgm@gnu.org>
2892
2893 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
2894
2895 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
2896
2897 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
2898 neither DOCSTRING nor DECL was given. (Bug#13316)
2899
2900 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
2901
2902 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
2903 `error' call.
2904 (tramp-do-copy-or-rename-file): Ignore errors when calling
2905 `set-file-extended-attributes'.
2906
2907 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2908 Add handler for `file-acl'.
2909 (tramp-smb-handle-file-acl): New defun.
2910
2911 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
2912
2913 * calc/README: Mention ISO 8601 week-numbering dates.
2914
2915 2013-01-01 Martin Rudalics <rudalics@gmx.at>
2916
2917 * view.el (view-mode-enable): New argument run-view-mode-hook.
2918 Run view-mode-hook only when it's non-nil (Bug#13315).
2919 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
2920 argument t.
2921
2922 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
2923
2924 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
2925 (No device connected, invalid device name). (Bug #13299)
2926
2927 2012-12-31 Martin Rudalics <rudalics@gmx.at>
2928
2929 * window.el (window-resizable--p): Rename to window-resizable-p.
2930 (window-resize-no-error): New function.
2931
2932 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
2933 broken in fix from 2012-12-28.
2934
2935 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
2936
2937 * subr.el (special-form-p): Don't signal errors on undef aliases.
2938
2939 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
2940
2941 * calc/calc-forms.el (math-parse-date): Try using
2942 `math-parse-iso-date' when it looks like it might be needed.
2943 Allow times of 24:00.
2944 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
2945 of 24:00.
2946
2947 2012-12-30 Glenn Morris <rgm@gnu.org>
2948
2949 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
2950 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
2951 (rmail-summary-displayed, rmail-summary): Declare.
2952 (mairix-rmail-display): Just require rmail.
2953
2954 2012-12-30 Chong Yidong <cyd@gnu.org>
2955
2956 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
2957 check for the tarball contents.
2958
2959 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
2960
2961 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
2962 tarfile content listings (Bug#13136).
2963
2964 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
2965
2966 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
2967 Insert the undecoded text of the message being forwarded. (Bug#9521)
2968
2969 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
2970
2971 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
2972 integers, if they are real numbers. (Bug#13282)
2973
2974 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
2975 Return `t' on success.
2976
2977 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2978 Add handler for `set-file-selinux-context'.
2979
2980 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
2981
2982 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
2983 (tramp-sh-handle-set-file-acl): Return `t' on success.
2984
2985 2012-12-29 Eli Zaretskii <eliz@gnu.org>
2986
2987 * files.el (backup-buffer-copy, basic-save-buffer-2):
2988 If set-file-extended-attributes fails, fall back on set-file-modes
2989 instead of signaling an error. (Bug#13298)
2990 (basic-save-buffer): Likewise.
2991
2992 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
2993
2994 * progmodes/python.el: Support other commands triggering
2995 python-indent-line so indentation cycling continues to work.
2996 (python-indent-trigger-commands): New defcustom.
2997 (python-indent-line): Use it.
2998
2999 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
3000
3001 * progmodes/python.el (python-shell-send-region): Add blank lines
3002 for non sent code so backtraces remain correct.
3003
3004 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
3005
3006 * progmodes/python.el: Remove cl dependency.
3007 (python-syntax-count-quotes): Replace incf call.
3008 (python-fill-string): Replace setf call.
3009
3010 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
3011
3012 * info.el (info-other-window): New arg, for consistency with info.
3013
3014 2012-12-28 Martin Rudalics <rudalics@gmx.at>
3015
3016 * mail/rmail.el (rmail-maybe-display-summary):
3017 Rewrite (Bug#13066).
3018
3019 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
3020
3021 * epg.el (epg--start): Modify process-environment locally.
3022
3023 2012-12-28 Daiki Ueno <ueno@gnu.org>
3024
3025 * epg.el: Support pinentry-curses.
3026 Suggested by Werner Koch in
3027 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
3028 (epg-agent-file, epg-agent-mtime): New variable.
3029 (epg--start): Record the modified time of gpg-agent socket file,
3030 to restore Emacs frame after pinentry-curses termination.
3031 (epg-wait-for-completion): Restore Emacs frame here.
3032
3033 2012-12-27 Juri Linkov <juri@jurta.org>
3034
3035 * info.el (Info-file-completions): New variable.
3036 (Info-read-node-name-1): Complete node names in the Info file
3037 when a file name is given. Call `Info-build-node-completions'
3038 with a file name.
3039 (Info-build-node-completions): Add new arg `file'. When it is
3040 non-nil, visit it in a temporary buffer and cache its completions in
3041 `Info-current-file-completions'. Move most of the function body to
3042 `Info-build-node-completions-1'.
3043 (Info-build-node-completions-1): New function with the body from
3044 `Info-build-node-completions'. (Bug#12456)
3045
3046 2012-12-27 Juri Linkov <juri@jurta.org>
3047
3048 * frame.el (frame-maximization-style): Remove user option.
3049 (cycle-frame-maximized): Remove function.
3050 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
3051 (toggle-frame-fullscreen): New command bound to <f11> instead of
3052 `toggle-frame-maximized'.
3053 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
3054
3055 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
3056
3057 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
3058
3059 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3060 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3061 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
3062 for `file-accessible-directory-p'. (Bug#13275)
3063
3064 2012-12-27 Sam Steingold <sds@gnu.org>
3065
3066 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
3067 continuations, see <http://stackoverflow.com/questions/3582436>.
3068
3069 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
3070
3071 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
3072 "module" and "def" to have indentation before them.
3073 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
3074
3075 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
3076
3077 2012-12-27 Alan Mackenzie <acm@muc.de>
3078
3079 Speed up fontification where there's large brace blocks.
3080 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
3081 to a call of c-beginning-of-decl-1.
3082
3083 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
3084
3085 * comint.el (comint-adjust-window-point): New function.
3086 (comint-postoutput-scroll-to-bottom):
3087 Call comint-adjust-window-point (Bug#13248).
3088
3089 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
3090
3091 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
3092 Rakefile regexp.
3093 (auto-mode-alist): Associate .gemspec files with ruby-mode
3094 (https://bugs.ruby-lang.org/issues/5453).
3095
3096 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
3097
3098 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
3099 Suppress coloring, if possible (required for BusyBox based systems like
3100 CyanogenMod).
3101 (tramp-adb-handle-file-attributes)
3102 (tramp-adb-handle-insert-directory)
3103 (tramp-adb-handle-file-name-all-completions): Use it.
3104 (tramp-adb-get-toolbox): New defun. Check for remote shell
3105 implementation (BusyBox or Toolbox).
3106
3107 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
3108
3109 * startup.el (initial-buffer-choice): Allow function as value
3110 (Bug#13251).
3111 (command-line-1): Handle case where initial-buffer-choice
3112 specifies a function.
3113 * server.el (server-execute): Handle case where
3114 initial-buffer-choice specifies a function.
3115
3116 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
3117
3118 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
3119 its own function.
3120 (smtpmail-try-auth-methods): Forget the user name/password if the
3121 login is unsuccessful (bug#12424).
3122
3123 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
3124
3125 * notifications.el (notifications-notify): Protect body with
3126 `with-demoted-errors'.
3127
3128 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3129 Check properties of remote device. Restart connection, if there is a
3130 change.
3131
3132 2012-12-21 Chong Yidong <cyd@gnu.org>
3133
3134 * sort.el (sort-subr): Doc fix (Bug#13056).
3135
3136 2012-12-21 Bastien Guerry <bzg@gnu.org>
3137
3138 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
3139
3140 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
3141
3142 * simple.el (process-file): Overwrite stderr file, if exists.
3143
3144 2012-12-21 Daiki Ueno <ueno@gnu.org>
3145
3146 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
3147 (epg-error): Set `error-message' property.
3148
3149 2012-12-21 Chong Yidong <cyd@gnu.org>
3150
3151 * international/mule-cmds.el (read-char-by-name): Signal an error
3152 if the user does not supply a valid character (Bug#13177).
3153
3154 * simple.el (transpose-subr-1): Preserve marker positions by
3155 changing the insertion sequence (Bug#13122).
3156
3157 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3158
3159 * simple.el (kill-region): Deactivate mark even for empty regions
3160 (Bug#13169).
3161
3162 2012-12-21 Chong Yidong <cyd@gnu.org>
3163
3164 * help-fns.el (describe-variable): Make sure we get the right
3165 buffer name (Bug#13105). Suggested by Kelly Dean.
3166
3167 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
3168
3169 * comint.el (comint-redirect-previous-input-string): New variable.
3170 (comint-redirect-setup, comint-redirect-cleanup)
3171 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
3172 (comint-redirect-preoutput-filter): Fix verbose message.
3173
3174 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
3175
3176 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
3177 is too long for Tramp. See discussion in
3178 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
3179
3180 * progmodes/compile.el (compilation-start): Remove line escape
3181 template.
3182
3183 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
3184
3185 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
3186 Adjust comment.
3187
3188 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
3189
3190 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
3191 following non-comment text (bug#13207).
3192 (lm-header-multiline): Continuation lines need to be indented more than
3193 the first line.
3194 (lm-homepage): New function.
3195 (lm-with-file): Don't be confused if narrowing is in effect.
3196
3197 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
3198
3199 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
3200 very beginning of a hunk (e.g. killing the first line).
3201
3202 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
3203
3204 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
3205 and text properties from returned ACL string.
3206 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
3207 for "setfacl" command.
3208
3209 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
3210
3211 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
3212 `tramp-cleanup-this-connection', when the process has died.
3213 (Bug#13151)
3214
3215 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3216
3217 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
3218
3219 2012-12-17 Kevin Ryde <user42@zip.com.au>
3220
3221 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
3222
3223 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
3224
3225 Add support for preserving ACL entries of files.
3226
3227 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
3228 `set-file-acl' handlers.
3229
3230 * net/tramp-adb.el (tramp-adb-handle-copy-file):
3231 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3232
3233 * net/tramp-compat.el (tramp-compat-copy-file):
3234 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3235
3236 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3237 Add `file-acl' and `set-file-acl' handlers.
3238 (tramp-gvfs-handle-copy-file):
3239 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3240 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
3241 New defuns.
3242
3243 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3244 Add `file-acl' and `set-file-acl' handlers.
3245 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
3246 (tramp-sh-handle-set-file-acl): New defuns.
3247 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
3248 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3249
3250 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3251 Add `file-acl' and `set-file-acl' handlers.
3252 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
3253
3254 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3255
3256 * help-macro.el (make-help-screen): Instead of switch-to-buffer
3257 use pop-to-buffer with NORECORD argument t. As buffer name, use
3258 *Metahelp* with a leading space (Bug#13190).
3259
3260 2012-12-16 Romain Francoise <romain@orebokech.com>
3261
3262 * files.el (file-extended-attributes)
3263 (set-file-extended-attributes): New functions.
3264 (backup-buffer): Use them to handle both SELinux context and ACL
3265 entries.
3266 (backup-buffer-copy): Work with an alist of extended attributes,
3267 rather than an SELinux context.
3268 (basic-save-buffer-2): Ditto.
3269
3270 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
3271
3272 * battery.el (battery-bsd-apm): New function.
3273
3274 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
3275
3276 * calc/calc.el (calc-standard-date-formats): Adjust one of the
3277 standard date formats.
3278
3279 2012-12-15 Juri Linkov <juri@jurta.org>
3280
3281 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
3282 `isearch-insert-char-by-name'.
3283 (with-isearch-suspended): New defmacro with body mostly from
3284 `isearch-edit-string' except the part that sets
3285 `isearch-new-string' and `isearch-new-message'.
3286 (isearch-edit-string): Use new macro `with-isearch-suspended' with
3287 body that sets `isearch-new-string' and `isearch-new-message'.
3288 (isearch-insert-char-by-name): New command.
3289 * international/mule-cmds.el (read-char-by-name): Let-bind
3290 `enable-recursive-minibuffers' to t.
3291 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
3292
3293 2012-12-15 Juri Linkov <juri@jurta.org>
3294
3295 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
3296 (Bug#13175)
3297
3298 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
3299
3300 * dired-x.el (dired-guess-shell-command): Put colon at the end of
3301 the prompt. (Bug#13045)
3302
3303 2012-12-14 Glenn Morris <rgm@gnu.org>
3304
3305 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
3306 Try to include filename in non-bytecomp warning. (Bug#13132)
3307
3308 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
3309
3310 Fix permissions bugs with setgid directories etc. (Bug#13125)
3311 * files.el (backup-buffer): Don't rely on 9th output of
3312 file-attributes, as it's now a placeholder. Instead, use the new
3313 optional arg of file-ownership-preserved-p.
3314 (file-ownership-preserved-p): New optional arg GROUP.
3315 Fix mishandling of setuid directories that would cause this
3316 function to return t when it should have returned nil.
3317 Document what happens if the file does not exist, and when
3318 it's not known whether the ownership will be preserved.
3319 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
3320 Likewise.
3321 (tramp-get-local-gid): Use group-gid for integer, as that's
3322 faster and more reliable.
3323
3324 2012-12-14 Julien Danjou <julien@danjou.info>
3325
3326 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
3327 Update keywords list, data type and PL/pgSQL.
3328
3329 2012-12-14 Dave Abrahams <dave@boostpro.com>
3330
3331 * vc/ediff-util.el (ediff-buffer-type): New function.
3332 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
3333 rather than taking it as as argument.
3334 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
3335
3336 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
3337
3338 * json.el: Add pretty-print option (bug#12634).
3339 (json-encoding-separator, json-encoding-default-indentation)
3340 (json--encoding-current-indentation, json-encoding-pretty-print)
3341 (json-encoding-lisp-style-closings): New vars.
3342 (json--with-indentation): New macro.
3343 (json-encode-hash-table, json-encode-alist, json-encode-plist)
3344 (json-encode-array): Use it to obey json-encoding-pretty-print.
3345 (json-pretty-print-buffer, json-pretty-print): New commands.
3346
3347 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
3348
3349 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3350 Extract `ruby-syntax-propertize-expansions'.
3351 (ruby-syntax-propertize-expansions): Only change syntax on
3352 certain string delimiters, to punctuation. This way the common
3353 functions like forward-word and thing-at-point still work.
3354 (ruby-match-expression-expansion): Improve readability.
3355 (ruby-block-contains-point): New function.
3356 (ruby-add-log-current-method): Handle several edge cases.
3357
3358 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
3359
3360 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
3361 unload-feature finishes even when aborting an ongoing edebug session.
3362 Also, do not worry about edebug-mode, unload-feature takes care of it.
3363
3364 2012-12-13 Andreas Schwab <schwab@suse.de>
3365
3366 * net/tls.el (tls-program): Update customize type.
3367
3368 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
3369
3370 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
3371 (edebug-setup-hook, cl-read-load-hooks): Use it.
3372 (edebug-unload-function): New function. (Bug#13163)
3373
3374 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
3375
3376 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
3377 Otherwise, there could be errors in autoloading. (Bug#13151)
3378
3379 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
3380
3381 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
3382 sequences.
3383
3384 2012-12-13 Alan Mackenzie <acm@muc.de>
3385
3386 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
3387 * progmodes/cc-engine.el (c-backward-comments): Add code to work
3388 around `forward-comment' not recognizing ^M as whitespace.
3389
3390 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
3391
3392 * progmodes/python.el (python-skeleton-class)
3393 (python-skeleton-def): Do not add space after defun name.
3394
3395 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3396
3397 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
3398 (cl--symbol-function): Remove (now that funbound is like nil).
3399
3400 2012-12-12 Glenn Morris <rgm@gnu.org>
3401
3402 * button.el (button--area-button-p): Fix typo.
3403
3404 2012-12-12 Sam Steingold <sds@gnu.org>
3405
3406 * frame.el (frame-maximization-style): New user option.
3407 (toggle-frame-maximized): Toggle frame maximization according to
3408 `frame-maximization-style', bound to <f11>.
3409 (cycle-frame-maximized): Cycle between all maximization styles and
3410 non-maximized frame, bound to shift-<f11>.
3411
3412 2012-12-12 David Cadé <codename68@gmail.com>
3413
3414 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
3415
3416 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
3417
3418 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
3419 (eieio-override-prin1): Don't quote kewords and booleans.
3420 (object-write) <eieio-default-superclass>: Don't put closing parens
3421 on new line, avoid needless empty lines, align values that are objects
3422 with the slot keyword (instead of beginning on the same line).
3423 (eieio-list-prin1): Align value with slot keyword; increase
3424 eieio-print-depth before printing members of the list.
3425
3426 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3427
3428 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
3429 a display text-property.
3430 (report-emacs-bug-hook): Don't bother deleting it any more.
3431
3432 * hilit-chg.el (highlight-save-buffer-state): Delete.
3433 Use with-silent-modifications instead.
3434 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
3435
3436 * button.el: Handle buttons in display text-properties.
3437 (button--area-button-p, button--area-button-string):
3438 Use (STRING . STRING-POS) representation instead of just STRING.
3439
3440 2012-12-11 Eli Zaretskii <eliz@gnu.org>
3441
3442 * makefile.w32-in (compile4-SH): Fix a typo that caused term
3443 subdirectory be skipped.
3444
3445 2012-12-11 Glenn Morris <rgm@gnu.org>
3446
3447 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
3448
3449 * progmodes/f90.el (f90-line-continued, f90-indent-region):
3450 Treat preprocessor lines embedded in continuations like comments.
3451 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
3452
3453 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
3454
3455 * calc/calc.el (calc-standard-date-formats): Add more date
3456 formats.
3457 * calc/calc-forms.el (math-parse-iso-date): New function.
3458 (math-parse-date): Use `math-parse-iso-date' when appropriate.
3459 (math-parse-iso-date-validate): Add extra error checking.
3460 (calc-date-notation): Add ability to access new date formats.
3461
3462 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3463
3464 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
3465 font-lock as well as when there's no text-property.
3466
3467 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
3468
3469 * hi-lock.el: Refine the choice of default face.
3470 (hi-lock-keyword->face): New function. Use it wherever we used
3471 cadadadr instead.
3472 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
3473 (hi-lock--last-face): Remove var.
3474 (hi-lock--unused-faces): New var to replace it.
3475 (hi-lock-read-face-name): Use/maintain it.
3476 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
3477 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
3478 if it has another face.
3479
3480 2012-12-10 Eli Zaretskii <eliz@gnu.org>
3481
3482 * subr.el (w32notify-handle-event): New function.
3483 (inotify-handle-event): Doc fix.
3484
3485 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3486
3487 * subr.el (inotify-event-p, inotify-handle-event): New functions.
3488
3489 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
3490
3491 * simple.el (just-one-space): Doc fix.
3492
3493 2012-12-10 Eli Zaretskii <eliz@gnu.org>
3494
3495 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
3496
3497 2012-12-10 Le Wang <l26wang@gmail.com>
3498
3499 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
3500 narrowed buffer (bug#12361).
3501
3502 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
3503
3504 * vc/vc-hooks.el (vc-state): Doc fix.
3505
3506 2012-12-10 Glenn Morris <rgm@gnu.org>
3507
3508 * mail/rmail.el (rmail-maybe-display-summary):
3509 Preserve buffer, in case select-window changes it. (Bug#13066)
3510
3511 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3512
3513 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
3514 cl-load-hook where they belong.
3515
3516 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3517
3518 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
3519
3520 2012-12-09 Eli Zaretskii <eliz@gnu.org>
3521
3522 Parallelize byte compilation on MS-Windows.
3523 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
3524 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
3525 (WINS_BASIC): Define as concatenation of the above.
3526 (compile): Subdivide into 4 separate and independent jobs that can
3527 be run in parallel.
3528 (compile0-CMD, compile0-SH): New targets for compiling
3529 COMPILE_FIRST files, which are prerequisites for the rest of the
3530 byte-compilation.
3531 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
3532 New targets for parallel compilation with cmd.exe.
3533 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
3534 compiling under a Unixy shell.
3535
3536 2012-12-09 Chong Yidong <cyd@gnu.org>
3537
3538 * simple.el (set-mark-default-inactive): Delete this
3539 accidentally-introduced option.
3540 (set-mark-command, exchange-point-and-mark): Remove calls.
3541
3542 2012-12-09 Glenn Morris <rgm@gnu.org>
3543
3544 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
3545 Respect a defcustom's :set function, if appropriate. (Bug#109)
3546 (eval-defun): Doc fix.
3547
3548 2012-12-08 Juri Linkov <juri@jurta.org>
3549
3550 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
3551 (Info-fontify-node, Info-bookmark-make-record): Remove the
3552 file extension from Info-current-file (Bug#13016).
3553
3554 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3555
3556 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
3557 point, still provide some default.
3558 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
3559 names, since we don't use it right now. Actually return the list.
3560 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
3561
3562 2012-12-07 Chong Yidong <cyd@gnu.org>
3563
3564 * novice.el (disabled-command-function): Remove a spurious help
3565 xref (Bug#13043). Suggested by Kelly Dean.
3566
3567 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
3568 syntax is specified (Bug#13025).
3569
3570 * info.el (Info-set-mode-line): Remove the file extension from
3571 Info-current-file if there is one (Bug#13016).
3572
3573 2012-12-07 Glenn Morris <rgm@gnu.org>
3574
3575 * mail/rmail.el (rmail-mime-decoded): New permanent local.
3576 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
3577 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
3578 and rmail-mime-decoded. (Bug#9841)
3579
3580 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
3581 (batch-unrmail, unrmail): Doc fixes.
3582 (unrmail): Respect unrmail-mbox-format.
3583 * mail/rmail.el (rmail-mbox-format): New option.
3584 (rmail-show-message-1): Respect rmail-mbox-format.
3585
3586 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3587
3588 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
3589
3590 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3591
3592 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
3593 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
3594 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
3595 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
3596 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
3597 (cl-progv): Don't rely on dynamic scoping to find the body.
3598 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
3599 (cl--proclaims-deferred): Rename from the "cl-" prefix.
3600 (cl-declaim): Use backquotes.
3601 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
3602 Use "cl--" prefix for the object's tag.
3603
3604 * ses.el: Use advice-add/remove.
3605 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
3606 (copy-region-as-kill, yank): Use advice-add.
3607 (ses-unload-function): Use advice-remove.
3608
3609 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
3610
3611 * button.el: Make them work in header-lines (bug#12817).
3612 (button-map): Add bindings for header-line and mode-line use.
3613 (button-get, button-put, button-label): `button' may now be a string.
3614 (button-activate): Don't make it a defsubst.
3615 (button--area-button-p, button--area-button-string): New functions.
3616 (make-text-button): Fix the return value when `beg' was a string.
3617 (push-button): Handle the mode-line case.
3618
3619 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3620
3621 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
3622 (sql-signum): Remove. Use `cl-signum' instead.
3623 (sql-read-passwd): Remove; use read-passwd instread.
3624 (sql-get-login-ext): Use read-string.
3625 (sql-get-login): Use dolist and pcase.
3626 (sql--completion-table): Rename from sql-try-completion.
3627 Use complete-with-action.
3628 (sql-mode): Don't change abbrev-all-caps globally.
3629 (sql-connect): Don't rely on dynamic scoping for `new-name'.
3630 (sql-postgres-completion-object): Initialize vars in their `let'.
3631 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
3632 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
3633 (sql-comint-interbase): Use a single append, without setq.
3634 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
3635
3636 * hi-lock.el: Rework the default face and the serialize regexp code.
3637 (hi-lock--auto-select-face-defaults): Remove.
3638 (hi-lock-string-serialize-serial): Remove.
3639 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
3640 make weak.
3641 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
3642 equal string.
3643 (hi-lock-set-pattern): Adjust accordingly.
3644 (hi-lock--regexps-at-point): Simplify accordingly.
3645 (hi-lock--auto-select-face-defaults): Remove.
3646 (hi-lock--last-face): New var to replace it.
3647 (hi-lock-read-face-name): Rewrite (bug#11095).
3648 (hi-lock-unface-buffer): Arrange for the face to be the next default.
3649
3650 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
3651
3652 * net/tramp.el (tramp-replace-environment-variables):
3653 Hide compiler warning.
3654 (tramp-file-name-for-operation): Remove `executable-find',
3655 `start-process', `call-process' and `call-process-region'.
3656
3657 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
3658
3659 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
3660 compatibility.
3661
3662 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
3663
3664 2012-12-06 Chong Yidong <cyd@gnu.org>
3665
3666 * ffap.el (ffap-replace-file-component): Fix typo.
3667
3668 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3669
3670 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
3671 fix open-paren-like token test (bug#12785).
3672
3673 2012-12-06 Glenn Morris <rgm@gnu.org>
3674
3675 * mail/rmailsum.el (rmail-new-summary): Tweak for
3676 rmail-maybe-display-summary changing buffer. (Bug#13066)
3677
3678 2012-12-06 Juri Linkov <juri@jurta.org>
3679
3680 * info.el (Info-fontify-node): Don't hide the last newline.
3681 (Bug#12272)
3682
3683 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
3684
3685 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
3686 so as to enable message-read-from-minibuffer to expand mail aliases.
3687
3688 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3689
3690 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
3691 the `intangible' property.
3692 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
3693
3694 2012-12-05 Deniz Dogan <deniz@dogan.se>
3695
3696 * net/rcirc.el (rcirc-urls): Update documentation.
3697 (rcirc-condition-filter): New function.
3698 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
3699 and exclude consecutive duplicate URLs (Bug#6082).
3700
3701 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
3702
3703 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3704 Check return code of copy command.
3705
3706 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
3707 Use group `tramp'. Add version.
3708
3709 2012-12-05 Chong Yidong <cyd@gnu.org>
3710
3711 * ffap.el (ffap-url-regexp): Don't require matching at front of
3712 string (Bug#4952).
3713 (ffap-url-p): If only a substring matches, return that.
3714 (ffap-url-at-point): Use the return value of ffap-url-p.
3715 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
3716 (find-file-at-point, dired-at-point, dired-at-point-prompter)
3717 (ffap-guess-file-name-at-point): Likewise.
3718 (ffap-replace-file-component): Fix typo.
3719
3720 * info.el (info-display-manual): Add existing Info buffers, whose
3721 files may not be in Info-directory-list, to the completion.
3722 (info--manual-names): New helper function.
3723
3724 2012-12-05 Glenn Morris <rgm@gnu.org>
3725
3726 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
3727 New functions, for detecting and resolving conflicts. (Bug#10709)
3728
3729 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
3730
3731 * hi-lock.el (hi-lock-auto-select-face): New user variable.
3732 (hi-lock-auto-select-face-defaults): New buffer local variable.
3733 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
3734 (hi-lock-unface-buffer): Prompt user with useful defaults.
3735 With prefix arg, unhighlight all hi-lock patterns in buffer.
3736
3737 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3738
3739 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
3740
3741 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
3742
3743 * Makefile.in (TRAMP_SRC):
3744 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
3745
3746 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
3747
3748 * net/tramp-adb.el: New package.
3749
3750 2012-12-04 Chong Yidong <cyd@gnu.org>
3751
3752 * terminal.el: Move to obsolete/.
3753
3754 * longlines.el: Move to obsolete/.
3755
3756 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
3757 Remove code referring to longlines mode.
3758
3759 2012-12-03 Juri Linkov <juri@jurta.org>
3760
3761 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
3762
3763 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3764
3765 * textmodes/ispell.el (ispell-init-process)
3766 (ispell-start-process, ispell-internal-change-dictionary):
3767 Make sure personal dictionary name is expanded after initial
3768 `default-directory' value. Use expanded strings for
3769 keep/restart checks and for value (Bug#13019).
3770
3771 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
3772
3773 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
3774
3775 2012-12-03 Leo Liu <sdl.web@gmail.com>
3776
3777 * files.el (dir-locals-read-from-file): Check file non-empty
3778 before reading. (Bug#13038)
3779
3780 2012-12-03 Glenn Morris <rgm@gnu.org>
3781
3782 * jka-cmpr-hook.el (jka-compr-get-compression-info):
3783 Remove any version extension before checking filename. (Bug#13006)
3784 (jka-compr-compression-info-list): Belated :version bump.
3785
3786 2012-12-03 Chong Yidong <cyd@gnu.org>
3787
3788 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
3789
3790 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
3791 (buffer-menu): Doc fix (Bug#12294).
3792
3793 2012-12-03 Roland Winkler <winkler@gnu.org>
3794
3795 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
3796 of diary-show-all-entries in the diary buffer (Bug#12994).
3797
3798 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
3799
3800 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
3801 "<STDIN>". This is binary safe.
3802
3803 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
3804
3805 * calc/calc-forms.el (math-absolute-from-iso-dt)
3806 (math-date-to-iso-dt, math-parse-iso-date-validate)
3807 (math-iso-dt-to-date): New functions.
3808 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
3809 (math-fd-isoweekday): New variables.
3810 (calc-date-notation, math-parse-standard-date, math-format-date)
3811 (math-format-date-part): Add support for more formatting codes.
3812
3813 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
3814
3815 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
3816 current buffer's file name when called interactively (Bug#12488).
3817
3818 2012-12-02 Juri Linkov <juri@jurta.org>
3819
3820 * info.el (info-display-manual): Don't clobber an existing Info
3821 buffer (Bug#10770). Add completion (Bug#10771).
3822
3823 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
3824
3825 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
3826 before using it for comparison (Bug#5297).
3827
3828 2012-12-01 Jari Aalto <jari.aalto@cante.net>
3829
3830 * textmodes/css-mode.el (css-current-defun-name): New function.
3831 (css-mode): Use it.
3832
3833 * textmodes/sgml-mode.el (html-current-defun-name): New function.
3834 (html-mode): Use it.
3835
3836 2012-12-01 Chong Yidong <cyd@gnu.org>
3837
3838 Modularize add-log-current-defun (Bug#2224).
3839 Suggested by Jari Aalto.
3840
3841 * vc/add-log.el (add-log-current-defun-function): Doc fix.
3842 (add-log-current-defun): Move mode-specific code to other files.
3843 (add-log-lisp-like-modes, add-log-c-like-modes)
3844 (add-log-tex-like-modes): Variables deleted.
3845
3846 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
3847 (lisp-mode-variables): Use it.
3848
3849 * progmodes/cc-mode.el (c-common-init):
3850 * progmodes/cperl-mode.el (cperl-mode): Set a value for
3851 add-log-current-defun-function.
3852
3853 * progmodes/m4-mode.el (m4-current-defun-name): New function.
3854 (m4-mode): Use it.
3855
3856 * progmodes/perl-mode.el (perl-current-defun-name): New.
3857 (perl-mode): Use it.
3858
3859 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
3860 Use lisp-current-defun-name.
3861
3862 * textmodes/tex-mode.el (tex-current-defun-name): New.
3863 (tex-common-initialization): Use it.
3864
3865 * textmodes/texinfo.el (texinfo-current-defun-name): New.
3866 (texinfo-mode): Use it.
3867
3868 2012-12-01 Chong Yidong <cyd@gnu.org>
3869
3870 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
3871 * progmodes/autoconf.el (autoconf-mode):
3872 * progmodes/js.el (js-mode):
3873 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
3874 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
3875 * progmodes/perl-mode.el (perl-mode):
3876 * progmodes/sh-script.el (sh-mode, sh-set-shell):
3877 * textmodes/css-mode.el (css-mode):
3878 * textmodes/sgml-mode.el (html-mode, sgml-mode)
3879 (sgml-tags-invisible, sgml-guess-indent):
3880 * textmodes/tex-mode.el (tex-common-initialization)
3881 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
3882 (doctex-mode, plain-tex-mode, latex-mode):
3883 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
3884
3885 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
3886
3887 * vc/vc-hg.el (vc-hg-next-revision):
3888 Ensure use of default "tip" output format. (Bug#6968)
3889
3890 2012-12-01 Kim F. Storm <storm@cua.dk>
3891
3892 * startup.el (fancy-startup-tail): Add a clickable link
3893 (Bug#2176).
3894
3895 2012-12-01 Chong Yidong <cyd@gnu.org>
3896
3897 * startup.el (fancy-startup-tail): Improve the message about
3898 auto-save files (Bug#2176).
3899
3900 * files.el (recover-session): Improve the descriptive message, and
3901 use substitute-command-keys.
3902
3903 2012-12-01 Glenn Morris <rgm@gnu.org>
3904
3905 * ido.el (ido-file-internal):
3906 Handle other-window, other-frame for dired. (Bug#13036)
3907
3908 2012-11-30 Glenn Morris <rgm@gnu.org>
3909
3910 * icomplete.el (icomplete-separator): Fix :version.
3911
3912 2012-11-30 Chong Yidong <cyd@gnu.org>
3913
3914 * shell.el (shell): For C-u M-x shell, use an inactive shell
3915 buffer as the default (Bug#1975).
3916 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
3917 (shell-mode): Use them to reapply ansi colorization if Shell mode
3918 is re-enabled.
3919
3920 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
3921
3922 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
3923
3924 2012-11-30 Samuel Bronson <naesten@gmail.com>
3925
3926 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
3927 flag to xargs, for compatibility with BSD xargs (Bug#11703).
3928
3929 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
3930
3931 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
3932 by move-to-column (Bug#3234).
3933
3934 2012-11-30 Chong Yidong <cyd@gnu.org>
3935
3936 * longlines.el (longlines-wrap-line, longlines-encode-region):
3937 Preserve text properties (Bug#1425).
3938
3939 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
3940
3941 * vc/vc.el (vc-register): Allow registering a file which is
3942 already registered with a different backend (Bug#10589).
3943
3944 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
3945 Stefan Monnier <monnier@iro.umontreal.ca>
3946
3947 * icomplete.el: Change separator; add ido-style commands.
3948 (icomplete-show-key-bindings): Remove custom var.
3949 (icomplete-get-keys): Remove function.
3950 (icomplete-forward-completions, icomplete-backward-completions):
3951 New commands.
3952 (icomplete-minibuffer-map): New var.
3953 (icomplete-minibuffer-setup): Use it.
3954 (icomplete-exhibit): Don't delay if the list of completions is known.
3955 (icomplete-separator): New custom.
3956 (icomplete-completions): Use it.
3957 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
3958 (minibuffer-force-complete-and-exit): New command.
3959 (minibuffer--complete-and-exit): New function extracted from
3960 minibuffer-complete-and-exit.
3961 (minibuffer-complete-and-exit): Use it.
3962
3963 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
3964 error message when the file doesn't exist (bug#12974).
3965
3966 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3967
3968 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
3969
3970 2012-11-29 Glenn Morris <rgm@gnu.org>
3971
3972 * files.el (hack-dir-local-variables): Warn if try to set
3973 coding via dir-locals, since it doesn't work. (Bug#7169)
3974
3975 Add desktop support for restoring vc-dir buffers. (Bug#10606)
3976 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
3977 Set buffer-local value of desktop-save-buffer.
3978 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
3979 New functions.
3980 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
3981 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
3982
3983 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
3984 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
3985 Doc fix.
3986 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
3987 Doc fixes.
3988
3989 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
3990
3991 * calc/calc-forms.el (calc-date-notation): Fix regexp
3992 used to find time codes. Fix symbol for seconds.
3993
3994 2012-11-27 Glenn Morris <rgm@gnu.org>
3995
3996 * emacs-lisp/derived.el (derived-mode-make-docstring):
3997 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
3998
3999 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4000
4001 * textmodes/table.el (table-insert): Don't use `symbol-name' on
4002 lexically scoped variables (bug#13005).
4003
4004 2012-11-27 Glenn Morris <rgm@gnu.org>
4005
4006 * vc/vc-hooks.el (vc-mistrust-permissions):
4007 Default to t, to avoid data-loss. (Bug#11490)
4008
4009 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
4010
4011 * progmodes/python.el (python-indent-guess-indent-offset):
4012 If indentation is guessed make python-indent-offset buffer-local.
4013
4014 Fix Imenu regression.
4015 * progmodes/python.el (python-nav-beginning-of-defun):
4016 Fix forward movement when statement(s) separates point from defun.
4017 (python-imenu-prev-index-position): New function.
4018
4019 2012-11-27 Eli Zaretskii <eliz@gnu.org>
4020
4021 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
4022
4023 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
4024 Don't set buffer-file-type. Return nil. (Bug#12989)
4025
4026 2012-11-27 Glenn Morris <rgm@gnu.org>
4027
4028 * hippie-exp.el (hippie-expand-try-functions-list):
4029 Re-autoload it. (Bug#12982)
4030
4031 2012-11-27 Eli Zaretskii <eliz@gnu.org>
4032
4033 * descr-text.el (describe-char-padded-string):
4034 Call internal-char-font only on GUI frames. (Bug#11964)
4035
4036 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
4037
4038 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
4039 and obsoletion message.
4040
4041 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4042
4043 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
4044 the constructs to keep outside of the `cl-block' (bug#12977).
4045
4046 2012-11-27 Chong Yidong <cyd@gnu.org>
4047
4048 * mouse.el (mouse-drag-line): Even if the line is not draggable,
4049 keep reading until we get the up-event anyway, in order to process
4050 the up-event for mouse-1-click-follows-link (Bug#12971).
4051
4052 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
4053
4054 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
4055 base function is not yet defined (bug#12965).
4056 (ad-activate-advised-definition): Use ad-compile-function.
4057 (ad-activate): Use cond.
4058
4059 2012-11-25 Leo Liu <sdl.web@gmail.com>
4060
4061 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
4062 (Bug#12979)
4063
4064 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
4065
4066 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
4067 reftex-section-info-function in order to be compatible with
4068 Texinfo integration.
4069
4070 * textmodes/reftex.el (reftex-section-pre-regexp)
4071 (reftex-section-post-regexp, reftex-section-info-function):
4072 New variable.
4073 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
4074 reftex-section-post-regexp, and reftex-section-info-function in order
4075 to be compatible with Texinfo integration.
4076
4077 * textmodes/reftex-toc.el (reftex-toc-promote-action):
4078 use reftex-section-pre-regexp variable in order to be compatible with
4079 Texinfo integration.
4080
4081 2012-11-25 Chong Yidong <cyd@gnu.org>
4082
4083 * faces.el: Make face-spec-set more analogous to setq.
4084 (face-spec-set): Change the third arg to specify whether this
4085 function is being called via defface, customize, or a third party.
4086 Set the appropriate symbol properties. Clear the override spec if
4087 setting via Custom. Initialize face if necessary. (Bug#4988)
4088 (face-spec-recalc): Allow theme faces to completely replace the
4089 defface spec, in the same way as custom faces (Bug#8454).
4090
4091 * cus-face.el (custom-declare-face): Move face initialization to
4092 face-spec-set.
4093 (custom-theme-set-faces): Don't initialize the face name here, as
4094 that is now done in face-spec-set.
4095
4096 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
4097 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
4098 Simplify by using the new arg to face-spec-set.
4099
4100 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
4101 reset face-override-spec too, and use custom-declare-face.
4102
4103 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
4104
4105 * term/ns-win.el (ns-initialize-window-system): Move creation of
4106 fontsets here (Bug#11964).
4107
4108 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
4109
4110 * ses.el (ses-rename-cell): Correct bug on mode-line update after
4111 cell renaming.
4112
4113 2012-11-24 Chong Yidong <cyd@gnu.org>
4114
4115 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
4116 obsolete.
4117
4118 * custom.el (custom-theme-set-variables): Use a topological sort
4119 for ordering by custom dependencies (Bug#12952).
4120 (custom--sort-vars, custom--sort-vars-1): New functions.
4121
4122 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
4123
4124 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
4125 lexical-binding (bug#12938).
4126
4127 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
4128
4129 * image-mode.el (image-transform-check-size): Use assertions only
4130 for images of type imagemagick.
4131
4132 Otherwise no error, image-transform-fit-to-{width,height} is
4133 silently ignored, as before. Doc fix.
4134
4135 2012-11-24 Chong Yidong <cyd@gnu.org>
4136
4137 * faces.el (color-defined-p): Doc fix (Bug#12853).
4138
4139 2012-11-24 Juri Linkov <juri@jurta.org>
4140
4141 * dired.el (dired-mark): Add optional arg `interactive'.
4142 Check for `use-region-p' if `interactive' is non-nil.
4143 (dired-unmark, dired-flag-file-deletion): Add optional arg
4144 `interactive'. Call `dired-mark' with the arg `interactive'.
4145 (Bug#10624)
4146
4147 * wdired.el: Revert 2012-10-17 change partly and replace it with
4148 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
4149 (wdired-finish-edit): Add marks for new file names to
4150 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
4151 after `revert-buffer'.
4152 (wdired-do-renames): Remove calls to `dired-remove-file',
4153 `dired-add-file', `dired-add-entry'. (Bug#11795)
4154
4155 2012-11-24 Alan Mackenzie <acm@muc.de>
4156
4157 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
4158
4159 Fix bugs in the state cache. Enhance a debugging mechanism.
4160 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
4161 "brace at column zero" strategy for C++.
4162 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
4163 (c-parse-state-point): New variable.
4164 (c-record-parse-state-state): Record old parse state with
4165 `copy-tree'. Record previous value of point.
4166 (c-debug-parse-state-double-cons): New debugging function.
4167 (c-debug-parse-state): Call the above new function.
4168 (c-toggle-parse-state-debug): Output a confirmatory message.
4169
4170 * progmodes/cc-mode.el (c-before-change, c-after-change):
4171 Call c-invalidate-state-cache from `c-before-change' instead of
4172 `c-after-change'.
4173
4174 2012-11-23 Chong Yidong <cyd@gnu.org>
4175
4176 * find-cmd.el (find-constituents): Add executable, ipath,
4177 readable, samefile, writable, daystart, regextype (Bug#12856).
4178
4179 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
4180
4181 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
4182
4183 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
4184
4185 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
4186 definition. This fixes a bootstrap failure.
4187 (calc-gregorian-switch): In menu, put dates before regions.
4188 This is easier to follow, lines up better in the menu, and lets us
4189 coalesce regions that switch at the same time. Give country
4190 names, not "Vatican", as that's better for non-expert users.
4191 Use names that are stable between the date of switch and now, e.g.,
4192 Bohemia and Moravia (which existed then and now) and not
4193 Czechoslovakia (which didn't exist then and doesn't exist now).
4194 What is now the U.S. mostly did not switch at the same time as
4195 Britain, so omit the U.S. Correct spelling of "Britain".
4196 Catholic Switzerland was too much of a mess, so omit it.
4197
4198 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
4199
4200 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
4201 after the variable is changed.
4202
4203 2012-11-21 Daniel Colascione <dancol@dancol.org>
4204
4205 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
4206 in SQL declarations for font-lock.
4207 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
4208
4209 2012-11-21 Glenn Morris <rgm@gnu.org>
4210
4211 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
4212 (face-italic-p): Add optional argument "inherit".
4213
4214 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
4215 Remove -p suffix from names, for consistency with other set-face-*.
4216 (set-face-inverse-video): Fix interactive spec.
4217 * play/gamegrid.el (gamegrid-make-mono-tty-face):
4218 * textmodes/table.el (table--update-cell-face):
4219 Use set-face-inverse-video rather than now obsolete alias.
4220
4221 2012-11-21 Eli Zaretskii <eliz@gnu.org>
4222
4223 * simple.el (line-move): Don't call line-move-partial if
4224 scroll-conservatively is in effect. (Bug#12927)
4225
4226 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4227
4228 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
4229 Fallback on completion-at-point rather than
4230 pcomplete-expand-and-complete, and only if pcomplete actually failed.
4231 (eshell-cmpl-initialize): Setup completion-at-point.
4232
4233 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
4234
4235 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
4236
4237 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
4238
4239 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
4240 are remote, check out-of-band property for both.
4241
4242 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4243
4244 * window.el (switch-to-buffer): Re-add the warning that was lost in the
4245 code rewrite.
4246
4247 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
4248
4249 More minor time fixes.
4250 * calendar/time-date.el: Commentary fix.
4251 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
4252 too much other code depends on (0 0) time stamps.
4253 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
4254 Add a couple of FIXME comments.
4255
4256 Minor cleanup for times as lists of four integers.
4257 * files.el (dir-locals-directory-cache):
4258 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
4259 Doc fixes.
4260 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
4261 * ps-bdf.el (bdf-file-newer-than-time):
4262 Process four-integers time stamps, not two. Doc fixes.
4263
4264 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4265
4266 * uniquify.el (uniquify-managed): Use defvar-local.
4267 (rename-buffer, create-file-buffer): Advise with advice-add.
4268 (uniquify-unload-function): Unadvise accordingly.
4269
4270 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
4271 (trace-buffer): Don't purecopy.
4272 (trace-entry-message, trace-exit-message): Add `context' arg.
4273 (trace--timer): New var.
4274 (trace-make-advice): Adjust for use in nadvice.
4275 Add `context' argument. Delay `display-buffer' via a timer.
4276 (trace-function-internal): Use advice-add.
4277 (trace--read-args): New function.
4278 (trace-function-foreground, trace-function-background): Use it.
4279 (trace-function): Rename to trace-function-foreground and redefine as
4280 an alias to that new name.
4281 (untrace-function, untrace-all): Adjust to the use of nadvice.
4282
4283 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
4284
4285 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
4286
4287 * subr.el (called-interactively-p-functions): New var.
4288 (internal--called-interactively-p--get-frame): New macro.
4289 (called-interactively-p, interactive-p): Rewrite in Lisp.
4290 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
4291 (called-interactively-p-functions): Use it.
4292 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
4293 (called-interactively-p-functions): Use it.
4294 * allout.el (allout-called-interactively-p): Don't assume
4295 called-interactively-p is a subr.
4296
4297 2012-11-20 Glenn Morris <rgm@gnu.org>
4298
4299 * profiler.el (profiler-report-mode-map): Add a menu.
4300 No need to bind `q' because we derive from special-mode.
4301 (profiler-report-find-entry): Handle calls from the menu-bar.
4302
4303 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
4304
4305 * emacs-lisp/byte-run.el (defun-declarations-alist):
4306 Allow a compiler-macro to be a lambda expression.
4307
4308 * progmodes/python.el: Use cl-lib. Move var declarations outside of
4309 eval-when-compile.
4310 (python-syntax-context): Add compiler-macro.
4311 (python-font-lock-keywords): Simplify with De Morgan.
4312
4313 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
4314
4315 * files.el (load-file): Require match in minibuffer selection, as was
4316 the case in Emacs-20 before we changed the spec to allow .elc files
4317 (bug#12935).
4318
4319 * json.el: Don't require cl since we don't use it.
4320 * color.el: Don't require cl.
4321 (color-complement): `caddr' -> `nth 2'.
4322
4323 * calendar/time-date.el (time-to-seconds): De-obsolete.
4324
4325 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
4326
4327 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
4328 year numbers.
4329 (math-date-to-julian-dt): Adjust the initial approximation for the
4330 year to deal with the new definition of the DATE.
4331
4332 2012-11-19 Daniel Colascione <dancol@dancol.org>
4333
4334 * term/w32-win.el (cygwin-convert-path-from-windows):
4335 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
4336
4337 2012-11-18 Chong Yidong <cyd@gnu.org>
4338
4339 * filecache.el (file-cache--read-list): New function.
4340 (file-cache-add-directory-list, file-cache-add-file-list)
4341 (file-cache-delete-file-list, file-cache-delete-directory-list):
4342 Use it to read a list of files or directories (Bug#12846).
4343 (file-cache-add-file, file-cache-add-directory)
4344 (file-cache-delete-file-list, file-cache-delete-file-regexp)
4345 (file-cache-delete-directory): Print an message.
4346
4347 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
4348
4349 * calc/calc-forms.el (math-date-to-dt): Use integer date when
4350 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
4351
4352 2012-11-18 Glenn Morris <rgm@gnu.org>
4353
4354 * image.el (insert-image, insert-sliced-image): Doc fix.
4355
4356 2012-11-18 Chong Yidong <cyd@gnu.org>
4357
4358 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
4359 (Bug#12810).
4360
4361 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
4362
4363 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
4364 response when the target file is in a subdirectory (Bug#12757).
4365
4366 2012-11-18 Chong Yidong <cyd@gnu.org>
4367
4368 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
4369
4370 2012-11-18 Glenn Morris <rgm@gnu.org>
4371
4372 * emacs-lisp/cl-lib.el (face-underline-p):
4373 Use set-face-underline rather than the alias set-face-underline-p.
4374
4375 * window.el (with-temp-buffer-window): Doc fix.
4376 * subr.el (with-output-to-temp-buffer):
4377 Add doc xref to with-temp-buffer-window.
4378
4379 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
4380
4381 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
4382 * calc/calc.el (math-format-date-cache): Declare.
4383
4384 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
4385
4386 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
4387 It also uses January 1, 1 AD as its day number 1.
4388 * calc/calc-forms.el (math-julian-date-beginning)
4389 (math-julian-date-beginning-int): Implement this.
4390
4391 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
4392
4393 * descr-text.el (quail-find-key):
4394 * dired.el (desktop-file-name):
4395 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
4396 * generic-x.el (comint-mode, comint-exec):
4397 * image-dired.el (widget-forward):
4398 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
4399 (speedbar-change-expand-button-char)
4400 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
4401 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
4402 * printing.el (easy-menu-add-item, easy-menu-remove-item)
4403 (widget-field-action, widget-value-set):
4404 * speedbar.el (imenu--make-index-alist):
4405 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
4406 (ring-length, ring-insert):
4407 * vcursor.el (compare-windows-skip-whitespace):
4408 * woman.el (dired-get-filename):
4409 Declare functions.
4410
4411 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
4412
4413 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
4414
4415 * calc/calc.el (calc-gregorian-switch): New variable.
4416
4417 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
4418 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
4419 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
4420 (math-leap-year-p): Add option to distinguish between Julian
4421 and Gregorian calendars.
4422 (math-day-number): Use `math-day-in-year' to do the computations.
4423 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
4424 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
4425 to do the computations.
4426 (math-date-to-dt): Use `math-date-to-julian-dt' and
4427 `math-date-to-gregorian-dt' to do the computations.
4428 (calcFunc-weekday, math-format-date-part): Use the new version of
4429 the DATE to determine the weekday.
4430 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
4431 when necessary.
4432
4433 2012-11-17 Eli Zaretskii <eliz@gnu.org>
4434
4435 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
4436 Cygwin; otherwise use 'file:'. (Bug#12914)
4437 (cygwin-convert-path-from-windows): Declare, to avoid
4438 byte-compiler warnings.
4439
4440 2012-11-17 Andreas Politz <politza@fh-trier.de>
4441
4442 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
4443 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
4444 prefix and negative numeric prefix args (Bug#12795).
4445
4446 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
4447
4448 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
4449 Don't signal an error with a score that is too low to add to the
4450 list of top scores. (Bug#12779)
4451
4452 2012-11-17 Chong Yidong <cyd@gnu.org>
4453
4454 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
4455
4456 * filecache.el (file-cache-add-file): Handle relative file name in
4457 the argument (Bug#12694).
4458
4459 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
4460
4461 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
4462
4463 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4464
4465 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
4466
4467 * emacs-lisp/cl-lib.el: Set more meaningful version number.
4468
4469 2012-11-16 Martin Rudalics <rudalics@gmx.at>
4470
4471 * window.el (enlarge-window, shrink-window): Don't mention return
4472 value in doc-string (Bug#12896).
4473 (window--display-buffer): Don't resize frames - it won't work
4474 with all window managers and defeat pop-up-frame-alist.
4475 (display-buffer-alist): In doc-string explain that CONDITION can
4476 be a function and which arguments are passed to it (Bug#12854).
4477 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
4478 expressions (Bug#12854).
4479 (display-buffer): Pass ACTION argument to
4480 display-buffer-assq-regexp.
4481
4482 2012-11-16 Glenn Morris <rgm@gnu.org>
4483
4484 * window.el (fit-frame-to-buffer-bottom-margin)
4485 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
4486
4487 * faces.el (face-underline-p): Use face-attribute-specified-or.
4488
4489 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
4490
4491 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
4492
4493 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4494
4495 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
4496
4497 2012-11-16 Glenn Morris <rgm@gnu.org>
4498
4499 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
4500 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
4501
4502 * faces.el (face-underline-p): Doc fix. Handle :underline being
4503 things other than `t' (a string, a list).
4504 (face-inverse-video-p): Doc fix.
4505 (set-face-underline): Rename it back from set-face-underline-p.
4506 Doc fix. Allow interactive input of values other than t.
4507 (read-face-attribute): Apply formatting to :underline,
4508 since like :box and :stipple it can take list values.
4509
4510 * term.el (ansi-term): Don't let C-x escape-char binding
4511 clobber the more standard C-c binding. (Bug#12842)
4512
4513 * subr.el (set-temporary-overlay-map): Doc fix.
4514
4515 2012-11-16 Martin Rudalics <rudalics@gmx.at>
4516
4517 * window.el (record-window-buffer)
4518 (display-buffer-record-window): When copying the markers to
4519 window-point preserve window-point-insertion-type. (Bug#12588)
4520
4521 2012-11-16 Glenn Morris <rgm@gnu.org>
4522
4523 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
4524 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
4525 Use new names for hooks rather than obsolete aliases.
4526
4527 2012-11-15 Daniel Colascione <dancol@dancol.org>
4528
4529 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
4530 prefix instead of "file:" so that when FILE-NAME begins with "//",
4531 as it does when the target file is on a network share, url-handler
4532 isn't confused.
4533
4534 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4535
4536 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
4537 a preactivated advice from an old advice.el; they're not compatible!
4538
4539 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
4540
4541 * emacs-lisp/nadvice.el (advice--make-interactive-form):
4542 Fix string-spec case.
4543
4544 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
4545
4546 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4547
4548 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
4549 (advice--buffer-local-function-sample): New var.
4550 (advice--set-buffer-local, advice--buffer-local): New functions.
4551 (add-function, remove-function): Use them.
4552
4553 2012-11-15 Drew Adams <drew.adams@oracle.com>
4554
4555 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
4556
4557 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4558
4559 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
4560 potential binding of print-gensym to t, and prettify (back)quotes in
4561 case they appear in args's default values (bug#12884).
4562
4563 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4564
4565 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
4566 (advice-eval-interactive-spec): New function.
4567 (advice--make-interactive-form): Support around advice (bug#12844).
4568
4569 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
4570
4571 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
4572 more strict. Add docstring.
4573 (ruby-expression-expansion-re): Extract from
4574 `ruby-match-expression-expansion'.
4575 (ruby-syntax-propertize-function): After everything else, search
4576 for expansions in string literals, mark their insides as
4577 whitespace syntax and save match data for font-lock.
4578 (ruby-font-lock-keywords): Use the 2nd group from expression
4579 expansion matches.
4580 (ruby-match-expression-expansion): Use the match data saved to the
4581 text property in ruby-syntax-propertize-function.
4582
4583 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4584
4585 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
4586 (bug#12879).
4587
4588 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4589
4590 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
4591 start/end keyword a bit harder. Works with different values of N.
4592 Add more comments.
4593 (ruby-end-of-block): Update accordingly.
4594
4595 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4596
4597 * woman.el (woman-file-name): Don't mess with unread-command-events
4598 (bug#12861).
4599
4600 * emacs-lisp/advice.el: Layer on top of nadvice.el.
4601 Remove out of date self-require hack.
4602 (ad-do-advised-functions): Use simple `dolist'.
4603 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
4604 (ad-advice-definition): Redefine as functions.
4605 (ad-advice-classes): Move before first use.
4606 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
4607 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
4608 (ad--defalias-fset): Remove functions.
4609 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
4610 (ad-get-orig-definition): Rewrite.
4611 (ad-make-advised-definition-docstring): Change base docstring.
4612 (ad-real-orig-definition): Rewrite.
4613 (ad-map-arglists): Change name of called function.
4614 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
4615 (ad-make-advised-definition): Simplify.
4616 (ad-assemble-advised-definition): Tweak for new calling context.
4617 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
4618 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
4619 function and call ad-activate if needed.
4620 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
4621 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
4622 (ad-compile-function): Compile ad-Advice-*.
4623 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
4624 (ad-start-advice, ad-stop-advice): Remove.
4625
4626 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4627
4628 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
4629 period before class method names, not after. Remove handling of
4630 one impossible case. Add comments.
4631
4632 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4633
4634 * emacs-lisp/advice.el: Remove support for freezing.
4635 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
4636 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
4637 Remove support for `freeze'.
4638
4639 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
4640 override the default.
4641 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
4642 cl--dotimes/dolist.
4643 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
4644 `cl' is loaded.
4645
4646 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
4647 from add-advice.
4648 (advice--strip-macro): New function.
4649 (advice--defalias-fset): Use them to handle macros.
4650 (advice-add): Use them.
4651 (advice-member-p): Correctly handle macros.
4652
4653 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4654
4655 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4656 Never font-lock the beginning of singleton class as heredoc.
4657
4658 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4659
4660 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
4661
4662 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
4663
4664 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
4665 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
4666 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
4667
4668 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
4669
4670 Fix end-of-defun misbehavior.
4671 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
4672 python-beginning-of-defun-function. Handle nested defuns
4673 correctly.
4674 (python-nav-end-of-defun): Rename from
4675 python-end-of-defun-function. Ensure forward movement.
4676 (python-info-current-defun): Reimplement to work as intended
4677 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
4678 parent defuns as soon as possible.
4679
4680 2012-11-13 Glenn Morris <rgm@gnu.org>
4681
4682 * progmodes/flymake.el (flymake-error-bitmap)
4683 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
4684 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
4685
4686 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4687
4688 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
4689 backward, always stop at indentation. Reverts the change from
4690 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
4691
4692 2012-11-13 Glenn Morris <rgm@gnu.org>
4693
4694 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
4695 Add ibuffer-filter-by-derived-mode.
4696
4697 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
4698 the same name shadowing each other.
4699
4700 * window.el (with-temp-buffer-window): Doc tweak.
4701
4702 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
4703
4704 * help.el (temp-buffer-max-height):
4705 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
4706 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
4707
4708 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
4709
4710 * emacs-lisp/nadvice.el: New package.
4711 * subr.el (special-form-p): New function.
4712 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
4713 (elp-all-instrumented-list): Remove var.
4714 (elp-not-profilable): Remove elp-wrapper.
4715 (elp-profilable-p): Use autoloadp and special-form-p.
4716 (elp--advice-name): New const.
4717 (elp-instrument-function): Use advice-add.
4718 (elp--instrumented-p): New predicate.
4719 (elp-restore-function): Use advice-remove.
4720 (elp-restore-all, elp-reset-all): Use mapatoms.
4721 (elp-set-master): Use elp--instrumented-p.
4722 (elp--make-wrapper): Rename from elp-wrapper, return a function
4723 suitable for advice-add. Use cl-inf.
4724 (elp-results): Use mapatoms+elp--instrumented-p.
4725 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
4726 (debug-function-list): Remove var.
4727 (debug): Rename arg, and then let-bind it explicitly inside.
4728 (debugger-setup-buffer): Rename arg.
4729 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
4730 (debugger-frame-number): Adjust to new debug-on-entry setup.
4731 (debug--implement-debug-on-entry): Rename from
4732 implement-debug-on-entry, add argument.
4733 (debugger-special-form-p): Remove, use special-form-p instead.
4734 (debug-on-entry): Use advice-add.
4735 (debug--function-list): New function.
4736 (cancel-debug-on-entry): Use it, along with advice-remove.
4737 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
4738 (debugger-list-functions): Use debug--function-list instead of
4739 debug-function-list.
4740 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
4741 (ad-special-form-p): Remove, use special-form-p instead.
4742 (ad-set-advice-info): Use add-function and remove-function.
4743 (ad--defalias-fset): Adjust accordingly.
4744
4745 2012-11-10 Glenn Morris <rgm@gnu.org>
4746
4747 * mail/emacsbug.el (report-emacs-bug-tracker-url)
4748 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
4749 (report-emacs-bug-create-existing-bugs-buffer)
4750 (report-emacs-bug-parse-query-results)
4751 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
4752
4753 * term.el (term-default-fg-color, term-default-bg-color):
4754 Make obsolete, rather than just saying "deprecated" in the doc.
4755
4756 * term.el (term): Rename from `term-face'.
4757 (term-current-face, ansi-term-color-vector)
4758 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
4759 Update all users.
4760
4761 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
4762
4763 * server.el (server-create-window-system-frame): Handle Nextstep
4764 specially (Bug#12780).
4765
4766 2012-11-10 Glenn Morris <rgm@gnu.org>
4767
4768 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
4769 Unautoload, and make obsolete. (Bug#7449)
4770
4771 2012-11-10 Chong Yidong <cyd@gnu.org>
4772
4773 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
4774 rename from diff-remove-trailing-whitespace (Bug#12831).
4775
4776 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4777
4778 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
4779 miscompilation of trace.el.
4780
4781 2012-11-10 Glenn Morris <rgm@gnu.org>
4782
4783 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
4784
4785 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4786
4787 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
4788 (bug#12812).
4789
4790 2012-11-10 Chong Yidong <cyd@gnu.org>
4791
4792 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
4793 a defcustom with an appropriate :set function.
4794 (minibuffer-default--in-prompt-regexps): New function.
4795
4796 2012-11-10 Glenn Morris <rgm@gnu.org>
4797
4798 * emacs-lisp/cl.el (define-setf-expander, defsetf)
4799 (define-modify-macro): Doc fixes.
4800
4801 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
4802 (gv-define-simple-setter): Update doc of `fix-return'.
4803
4804 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4805
4806 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
4807 twice when `fix-return' is set (bug#12813).
4808
4809 * emacs-lisp/cl.el (defsetf): Pass the third arg to
4810 gv-define-simple-setter (bug#12812).
4811
4812 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
4813 (bug#12756).
4814
4815 2012-11-10 Glenn Morris <rgm@gnu.org>
4816
4817 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
4818
4819 * emacs-lisp/cl-extra.el (cl-prettyexpand):
4820 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
4821 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
4822 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
4823
4824 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
4825
4826 2012-11-10 Leo Liu <sdl.web@gmail.com>
4827
4828 * ido.el (ido-set-matches-1): Improve flex matching performance by
4829 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
4830
4831 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4832
4833 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
4834 (ad--defalias-fset): New function.
4835 (ad-safe-fset): Remove.
4836 (ad-make-freeze-definition): Use cl-letf*.
4837
4838 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4839
4840 * subr.el (dolist): Don't bind VAR in RESULT.
4841
4842 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
4843 (fset, documentation): Don't save real def since we don't advise.
4844 (ad-do-advised-functions): Remove problematic `result-form'.
4845 (ad-safe-fset): `ad-real-fset' => `fset'.
4846 (ad-read-advised-function): Don't assume that ad-do-advised-functions
4847 uses CL's dolist internally.
4848 (ad-arglist): Remove unused arg `name'.
4849 (ad-docstring, ad-make-advised-docstring):
4850 `ad-real-documentation' => `documentation'.
4851 (warning-suppress-types): Declare.
4852 (ad-set-arguments): Simple CSE.
4853 (ad-recover-normality): Sanity check.
4854
4855 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
4856 (funcall '(lambda ..) ..) into ((lambda ..) ..).
4857
4858 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
4859
4860 * ses.el: symbol to coordinate mapping is made by symbol property
4861 `ses-cell'. This means that the same mapping is done for all SES
4862 sheets. That is good enough for cells with standard A1 names, but
4863 not for named cell. So a hash map is added for the latter.
4864 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
4865 (ses-sym-rowcol): Use hashmap for named cell.
4866 (ses-is-cell-sym-p): New defun.
4867 (ses-decode-cell-symbol): New defun.
4868 (ses-create-cell-variable): Add cell to hashmap when name is not
4869 A1-like.
4870 (ses-rename-cell): Check that cell new name is not already in
4871 spreadsheet with the use of ses-is-cell-sym-p
4872 (ses-rename-cell): Use hash map for named cells, but accept also
4873 renaming back to A1-like.
4874
4875 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4876
4877 * emacs-lisp/advice.el: Use new dynamic docstrings.
4878 (ad-make-advised-definition-docstring, ad-advised-definition-p):
4879 Use dynamic-docstring-function instead of ad-advice-info.
4880 (ad--make-advised-docstring): New function extracted from
4881 ad-make-advised-docstring.
4882 (ad-make-advised-docstring): Use it.
4883 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
4884 from sql-help.
4885 (sql-help): Use it with dynamic-docstring-function.
4886
4887 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
4888
4889 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4890
4891 * files.el (hack-one-local-variable--obsolete): New function.
4892 (hack-one-local-variable): Use it for obsolete settings.
4893
4894 * subr.el (locate-user-emacs-file): If both old and new name exist, use
4895 the new name.
4896
4897 * progmodes/js.el (js--filling-paragraph): New var.
4898 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
4899 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
4900 less sneaky.
4901
4902 2012-11-08 Julien Danjou <julien@danjou.info>
4903
4904 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
4905 `auto-mode-alist' (Bug#12835).
4906
4907 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4908
4909 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
4910 (perl--prettify-symbols-alist): New const.
4911 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
4912 New functions.
4913 (perl-font-lock-keywords-2): Use them.
4914 (perl-electric-noindent-p): New function.
4915 (perl-mode): Use it to set up electric-indent-mode.
4916 (perl-electric-terminator, perl-indent-command): Mark obsolete.
4917 (perl-mode-map): Remove bindings for them.
4918 (perl-imenu-generic-expression, perl-outline-level):
4919 Match functions&packages in column>0.
4920
4921 * env.el (env--substitute-vars-regexp): New const.
4922 (substitute-env-vars): Use it. Add `only-defined' arg.
4923 * net/tramp.el (tramp-replace-environment-variables): Use it.
4924
4925 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
4926 Byte-compile *before* eval in eval-and-compile.
4927 (byte-compile-log-warning): Remove redundant inhibit-read-only.
4928 (byte-compile-file-form-autoload): Don't hide actual definition.
4929 (byte-compile-maybe-guarded): Accept `functionp' as well.
4930
4931 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
4932
4933 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
4934
4935 * notifications.el (notifications-get-server-information-method):
4936 New defconst.
4937 (notifications-get-capabilities): Fix docstring.
4938 (notifications-get-server-information): New defun.
4939
4940 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4941
4942 * textmodes/ispell.el (ispell-region): Standard re-indent for better
4943 readability.
4944
4945 * textmodes/ispell.el: Experimental support for support debugging.
4946 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
4947 buffer for ispell.
4948 (ispell-print-if-debug): New function to print stuff to
4949 `ispell-debug-buffer' if debugging is enabled.
4950 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
4951 show some debugging info.
4952 (ispell-buffer-with-debug): New function that creates a debugging
4953 buffer and calls `ispell-buffer' with debugging enabled.
4954
4955 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
4956 comment in autoconf mode. (Bug#12768)
4957
4958 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
4959
4960 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
4961 frame-first-window, frame-root-window, frame-selected-window,
4962 minibuffer-selected-window, minibuffer-window,
4963 window-absolute-pixel-edges, window-at, window-body-height,
4964 window-body-width, window-display-table, window-combination-limit,
4965 window-frame, window-fringes, window-inside-absolute-pixel-edges,
4966 window-inside-edges, window-inside-pixel-edges, window-left-child,
4967 window-left-column, window-margins, window-next-buffers,
4968 window-next-sibling, window-new-normal, window-new-total,
4969 window-normal-size, window-parameter, window-parameters, window-parent,
4970 window-pixel-edges, window-point, window-prev-buffers,
4971 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
4972 window-start, window-text-height, window-top-child, window-top-line,
4973 window-total-height, window-total-width and window-use-time to the list
4974 of functions without side-effects.
4975 (toplevel): Add window-valid-p to the list of error-free functions
4976 without side-effects.
4977
4978 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4979
4980 * textmodes/ispell.el (ispell-program-name):
4981 Update spellchecker parameters when customized.
4982
4983 2012-11-04 Glenn Morris <rgm@gnu.org>
4984
4985 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
4986
4987 2012-11-04 Chong Yidong <cyd@gnu.org>
4988
4989 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
4990 same-window-* variables.
4991
4992 2012-11-04 Juri Linkov <juri@jurta.org>
4993
4994 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
4995 (isearch-describe-key, isearch-describe-mode): Use a display
4996 action instead of binding same-window-* variables (Bug#10040).
4997
4998 2012-11-03 Glenn Morris <rgm@gnu.org>
4999
5000 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
5001 Rename handler properties back from cl-- to cl-. (Bug#12788)
5002
5003 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
5004
5005 2012-11-03 Eli Zaretskii <eliz@gnu.org>
5006
5007 * term/pc-win.el: Don't load term/internal from here.
5008
5009 * loadup.el: Load term/internal from here.
5010
5011 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
5012
5013 * progmodes/python.el (inferior-python-mode): Fix hang in
5014 jit-lock (Bug#12645).
5015
5016 2012-11-03 Martin Rudalics <rudalics@gmx.at>
5017
5018 * window.el (switch-to-visible-buffer)
5019 (switch-to-buffer-preserve-window-point): Fix doc-strings.
5020
5021 2012-11-03 Glenn Morris <rgm@gnu.org>
5022
5023 * emacs-lisp/cl-lib.el (cl--random-time):
5024 Rename from cl-random-time. (Bug#12773)
5025 (cl--gensym-counter, cl--random-state): Update callers.
5026 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
5027
5028 2012-11-03 Chong Yidong <cyd@gnu.org>
5029
5030 * cus-start.el: Make cursor-type customizable (Bug#11633).
5031
5032 2012-11-02 Glenn Morris <rgm@gnu.org>
5033
5034 * filecache.el: No need to load find-lisp when compiling.
5035 (find-lisp-find-files): Autoload it.
5036 (file-cache-add-directory-recursively): Don't require find-lisp.
5037
5038 * image.el (image-type-from-file-name): Trivial simplification.
5039
5040 * emacs-lisp/bytecomp.el (byte-compile-eval):
5041 Decouple "noruntime" and "cl-functions" warnings.
5042
5043 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
5044
5045 * play/gomoku.el (gomoku-display-statistics): Update mode line
5046 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
5047
5048 2012-10-31 Martin Rudalics <rudalics@gmx.at>
5049
5050 * window.el (quit-restore-window): If the window has been
5051 created on an existing frame and ended up as the sole window on
5052 that frame, do not delete it (Bug#12764).
5053
5054 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
5055
5056 * progmodes/sh-script.el (sh--inside-noncommand-expression):
5057 Rename from sh--inside-arithmetic-expression, handle more cases
5058 (bug#11263).
5059
5060 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
5061 (sh-font-lock-open-heredoc): Use it (bug#12770).
5062
5063 2012-10-30 Glenn Morris <rgm@gnu.org>
5064
5065 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
5066
5067 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
5068
5069 2012-10-29 Chong Yidong <cyd@gnu.org>
5070
5071 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
5072 function key is stored in a keyboard macro (Bug#4894).
5073
5074 * thingatpt.el (number-at-point): Apply a thing-at-point property.
5075
5076 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5077
5078 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
5079 header comments".
5080 (diff-unified->context, diff-context->unified)
5081 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
5082
5083 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
5084
5085 * files.el (find-alternate-file): Only ask one question (bug#12487).
5086
5087 2012-10-29 Chong Yidong <cyd@gnu.org>
5088
5089 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
5090 Suggested by Dan Nicolaescu (Bug#6326).
5091
5092 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
5093
5094 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5095
5096 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
5097
5098 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
5099
5100 * face-remap.el (face-remap-add-relative): Handle the case where a
5101 face-remapping-alist entry is a cons cell (Bug#12762).
5102
5103 2012-10-29 Kevin Ryde <user42@zip.com.au>
5104
5105 * woman.el (woman-parse-numeric-value): Handle picas correctly
5106 (Bug#12639).
5107
5108 2012-10-29 Glenn Morris <rgm@gnu.org>
5109
5110 * emacs-lisp/cl.el (defsetf): Doc fix.
5111
5112 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5113
5114 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
5115 syntax to the matching opener, if any (bug#12547).
5116 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
5117 matching open as a "case-(".
5118 (sh-smie-rc-grammar): Add a corresponding rule for it.
5119
5120 2012-10-28 Daniel Hackney <dan@haxney.org>
5121
5122 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
5123 "PKGNAME-autoloads.el" in case we created it.
5124
5125 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5126
5127 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
5128 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
5129 (completion--twq-all): Disable too-strict assertions.
5130
5131 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
5132
5133 2012-10-27 Eli Zaretskii <eliz@gnu.org>
5134
5135 * profiler.el (profiler-report-make-entry-part): Fix help-echo
5136 text to match the real keybindings.
5137
5138 2012-10-27 Juri Linkov <juri@jurta.org>
5139
5140 * wdired.el (wdired-keep-marker-rename): New defcustom.
5141 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
5142 (Bug#11795)
5143
5144 * dired.el (dired-keep-marker-rename): Add reference to
5145 `wdired-keep-marker-rename' in the docstring.
5146 Add default character value ?R to display initially in
5147 Customization UI instead of ?@.
5148
5149 2012-10-27 Martin Rudalics <rudalics@gmx.at>
5150
5151 * window.el (display-buffer): In doc-string describe
5152 window-height and window-width alist entries.
5153
5154 * time.el (display-time-world): Restore fit-window-to-buffer
5155 behavior.
5156
5157 2012-10-27 Chong Yidong <cyd@gnu.org>
5158
5159 * subr.el (insert-buffer-substring-as-yank): Doc fix.
5160
5161 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
5162
5163 * minibuffer.el (completion-category-overrides): New completion
5164 category `bookmark' (bug#11131).
5165
5166 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5167
5168 * emacs-lisp/advice.el (ad-assemble-advised-definition):
5169 Silence bogus compiler warnings for ad-do-it.
5170
5171 * bookmark.el (bookmark-completing-read): Set the completion category
5172 to `bookmark' (bug#11131).
5173
5174 2012-10-26 Bastien <bzg@altern.org>
5175 Stefan Monnier <monnier@iro.umontreal.ca>
5176
5177 * face-remap.el: Use lexical-binding.
5178 (text-scale-adjust): Improve docstring. Use itself for the temporary
5179 overlay-map bindings, so as to repeat the "Use..." message each time.
5180
5181 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5182
5183 * emacs-lisp/macroexp.el (macroexp--expand-all):
5184 Obey byte-compile-warning-enabled-p (bug#12486).
5185
5186 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
5187 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
5188
5189 2012-10-26 Martin Rudalics <rudalics@gmx.at>
5190
5191 * mouse.el (mouse-drag-line): Move last form into preceding when
5192 clause (Bug#12731).
5193
5194 * help.el (resize-temp-buffer-window): Fix doc-string.
5195
5196 2012-10-25 David Engster <deng@randomsample.de>
5197
5198 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
5199 Remove. This feature is already integrated in imenu.
5200
5201 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
5202 always loaded. Require `speedbar' unconditionally.
5203
5204 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5205
5206 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
5207
5208 * minibuffer.el (minibuffer-force-complete): Fix thinko.
5209
5210 * net/ldap.el (ldap-search-internal): The official ldif format starts
5211 with a "version: 1" header (bug#12724).
5212
5213 * emacs-lisp/package.el (package-installed-p): Warn if not ready
5214 (bug#12721).
5215
5216 2012-10-25 Glenn Morris <rgm@gnu.org>
5217
5218 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
5219
5220 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5221
5222 * minibuffer.el (minibuffer-force-complete): Use one more marker
5223 for the temporary-overlay-map command (bug#12619).
5224
5225 2012-10-24 Chong Yidong <cyd@gnu.org>
5226
5227 * time.el (display-time-world-mode): Derive from special-mode.
5228 (display-time-world): Use display-buffer (Bug#12708).
5229 (display-time-world-mode-map): Variable deleted.
5230 (display-time-world-display): Wrap the final delete-char inside
5231 inhibit-read-only.
5232
5233 2012-10-24 Chong Yidong <cyd@gnu.org>
5234
5235 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
5236 Doc fix.
5237
5238 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
5239
5240 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5241
5242 * minibuffer.el (completion--all-sorted-completions-location): New var.
5243 (completion--cache-all-sorted-completions)
5244 (completion--flush-all-sorted-completions): Use it.
5245 (completion-in-region, completion-in-region--postch)
5246 (completion-at-point, completion-help-at-point): Use markers in
5247 completion-in-region--data (bug#12619).
5248
5249 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5250
5251 * progmodes/compile.el (compilation-start): Try to handle common
5252 quoting of `cd' argument (bug#12640).
5253
5254 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
5255 (bug#12671).
5256
5257 2012-10-23 Glenn Morris <rgm@gnu.org>
5258
5259 * progmodes/gud.el (gud-menu-map):
5260 Check gdb-active-process is bound. (Bug#12358)
5261
5262 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5263
5264 * repeat.el (repeat): Set real-this-command (bug#12232).
5265
5266 * htmlfontify.el (hfy-post-html-hook):
5267 * filesets.el (filesets-cache-fill-content-hook):
5268 * arc-mode.el (archive-extract-hook):
5269 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
5270 * net/rcirc.el (rcirc-sentinel-functions)
5271 (rcirc-receive-message-functions, rcirc-activity-functions)
5272 (rcirc-print-functions):
5273 * net/dbus.el (dbus-event-error-functions):
5274 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
5275 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
5276 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
5277 * term/sun.el (sun-raw-prefix-hooks):
5278 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
5279
5280 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
5281
5282 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5283 Set `tramp-chunksize' to 1. This improves the performance.
5284 (tramp-smb-wait-for-output): Add timeout to
5285 `tramp-accept-process-output' calls.
5286
5287 2012-10-23 Chong Yidong <cyd@gnu.org>
5288
5289 * faces.el (font-list-limit): Define as an obsolete variable.
5290
5291 * startup.el (command-line):
5292 * cus-start.el: Don't refer to font-list-limit.
5293
5294 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
5295
5296 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5297
5298 * subr.el (internal-temp-output-buffer-show): Rename from
5299 temp-output-buffer-show, since previously compiled files expect this name.
5300
5301 2012-10-23 Glenn Morris <rgm@gnu.org>
5302
5303 * image.el (image-type-from-file-name): If multiple types match,
5304 return the first one that is supported. (Bug#9045)
5305
5306 2012-10-22 Glenn Morris <rgm@gnu.org>
5307
5308 * image.el (imagemagick-enabled-types): Doc fix.
5309
5310 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
5311
5312 * progmodes/which-func.el (which-func-current): The hash-table may have
5313 an explicit nil (bug#12338).
5314
5315 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5316
5317 * electric.el (electric-pair-delete-selection-self-insert-function):
5318 Rename to electric-pair-will-use-region, return a boolean.
5319 (electric-pair-mode): Adjust accordingly. Don't require delsel.
5320
5321 * delsel.el (delete-selection-helper): Use a function instead of a hook.
5322 (delete-selection-pre-hook): Use use-region-p.
5323 (delete-selection-self-insert-function): Remove.
5324 (self-insert-command): Obey self-insert-uses-region-functions.
5325 (self-insert-iso): Revert to previous setting, since we don't actually
5326 know what that command does.
5327 (delete-selection-self-insert-hooks): Remove.
5328
5329 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
5330
5331 * delsel.el (delete-selection-helper): New function, extracted from
5332 delete-selection-pre-hook.
5333 (delete-selection-pre-hook): Use it.
5334 (delete-selection-self-insert-function): New function.
5335 (delete-selection-self-insert-hooks): New hook.
5336 (self-insert-command, self-insert-iso): Use it.
5337 * electric.el (electric-pair-syntax): New function, extracted from
5338 electric-pair-post-self-insert-function.
5339 (electric-pair-post-self-insert-function): Use it.
5340 (electric-pair-delete-selection-self-insert-function): New function.
5341 (electric-pair-mode): Require delsel and setup
5342 delete-selection-self-insert-hooks (bug#11520).
5343
5344 2012-10-20 Chong Yidong <cyd@gnu.org>
5345
5346 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
5347 no changes to show (Bug#12586).
5348
5349 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
5350 list explicitly (Bug#12571).
5351
5352 2012-10-20 Arne Jørgensen <arne@arnested.dk>
5353
5354 * progmodes/flymake.el (flymake-create-temp-inplace):
5355 Use file-truename.
5356
5357 2012-10-20 Eli Zaretskii <eliz@gnu.org>
5358
5359 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
5360
5361 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
5362
5363 * calc/calc-units.el (math-extract-units): Properly extract powers
5364 of units.
5365
5366 2012-10-20 Daniel Colascione <dancol@dancol.org>
5367
5368 * frame.el (make-frame): Set x-display-name as we used to in order
5369 to unbreak creating an X11 frame from an Emacs daemon started
5370 without a display.
5371
5372 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5373
5374 * minibuffer.el (minibuffer-force-complete): Make the next completion use
5375 the same completion-field (bug#12221).
5376
5377 2012-10-19 Martin Rudalics <rudalics@gmx.at>
5378
5379 * emacs-lisp/debug.el (debug): Record height of debugger window
5380 also when debugger will be back (Bug#8789).
5381
5382 2012-10-18 Chong Yidong <cyd@gnu.org>
5383
5384 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
5385 Convert to defcustom.
5386 (gdb-get-source-file): Don't bind pop-up-windows.
5387
5388 * progmodes/gud.el (gud-display-line): Don't specially re-use
5389 other frames for the gdb-mi case (Bug#12648).
5390
5391 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5392
5393 * emacs-lisp/advice.el: Clean up commentary a bit.
5394 (ad-do-advised-functions, ad-with-originals): Use `declare'.
5395 (byte-code-function-p): Never redefine.
5396
5397 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
5398
5399 2012-10-18 Glenn Morris <rgm@gnu.org>
5400
5401 * dired.el (dired-sort-toggle): Some ls implementations only allow
5402 a single option string. (Bug#12666)
5403
5404 * minibuffer.el (completion-cycle-threshold): Doc fix.
5405
5406 2012-10-17 Kenichi Handa <handa@gnu.org>
5407
5408 * international/mule.el (set-keyboard-coding-system):
5409 Recover input meta mode when the new coding system doesn not use 8-bit.
5410 Supply TERMINAL arg to set-input-meta-mode.
5411
5412 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
5413
5414 * wdired.el (wdired-old-marks): New variable.
5415 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
5416 (wdired-do-renames): Move point with renamed file and don't lose
5417 mark status (Bug#11795).
5418
5419 2012-10-16 Juri Linkov <juri@jurta.org>
5420
5421 * replace.el (query-replace-help): Mention multi-buffer replacement
5422 keys in the Help message. (Bug#12655)
5423
5424 2012-10-15 Chong Yidong <cyd@gnu.org>
5425
5426 * emacs-lisp/byte-run.el (defsubst): Doc fix.
5427
5428 2012-10-14 Eli Zaretskii <eliz@gnu.org>
5429
5430 * window.el (display-buffer): Doc fix.
5431
5432 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5433 Adjust the msft regexp to the output of Studio 2010, and move msft
5434 before edg-1. See the discussion on emacs-devel,
5435 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
5436 for the details.
5437
5438 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
5439
5440 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
5441 (oset): Move uses of object-class-fast macro after its definition.
5442
5443 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
5444
5445 2012-10-13 Chong Yidong <cyd@gnu.org>
5446
5447 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
5448 enabled, re-enable it (Bug#11963).
5449
5450 2012-10-13 Martin Rudalics <rudalics@gmx.at>
5451
5452 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
5453 non-nil, restore window configuration (Bug#12623).
5454
5455 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5456
5457 * help-fns.el (describe-variable, describe-function-1):
5458 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
5459
5460 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
5461
5462 2012-10-12 Glenn Morris <rgm@gnu.org>
5463
5464 * mail/rmailsum.el (rmail-header-summary):
5465 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
5466
5467 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
5468
5469 * progmodes/python.el (python-mode-map):
5470 Replace subtitute-key-definition with proper command remapping.
5471 (python-nav--up-list): Fix behavior for blocks on the same level.
5472
5473 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5474
5475 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
5476
5477 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
5478 changes to the format of load-history.
5479
5480 * international/mule-cmds.el (read-char-by-name): Move let-binding of
5481 completion-ignore-case in case that var is buffer-local (bug#12615).
5482
5483 2012-10-11 Kenichi Handa <handa@gnu.org>
5484
5485 * international/eucjp-ms.el: Re-generated.
5486
5487 2012-10-10 Kenichi Handa <handa@gnu.org>
5488
5489 * select.el (xselect--encode-string): If a coding is specified for
5490 selection, and that is compatible with COMPOUND_TEXT, use it.
5491
5492 2012-10-10 Martin Rudalics <rudalics@gmx.at>
5493
5494 * window.el (switch-to-buffer-preserve-window-point): New option.
5495 (switch-to-buffer):
5496 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
5497
5498 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5499
5500 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
5501 Don't document nil as a useful value (bug#12583).
5502
5503 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
5504
5505 * net/tramp.el (tramp-debug-message):
5506 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
5507 (with-tramp-progress-reporter): Rename from
5508 `tramp-with-progress-reporter'.
5509 (with-tramp-file-property, with-tramp-connection-property):
5510 Move from tramp-cache.el, rename from `with-file-property' and
5511 `with-connection-property', respectively.
5512
5513 * net/tramp-cache.el: Remove `with-file-property' and
5514 `with-connection-property'.
5515
5516 * net/tramp.el:
5517 * net/tramp-gvfs.el:
5518 * net/tramp-sh.el:
5519 * net/tramp-smb.el: Adapt callees.
5520
5521 * net/trampver.el: Update release number.
5522
5523 2012-10-09 Glenn Morris <rgm@gnu.org>
5524
5525 * w32-fns.el (set-message-beep):
5526 * term/w32-win.el (set-message-beep): Update declarations.
5527
5528 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5529
5530 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
5531 (mode-line-widen, mode-line-input-method-map)
5532 (mode-line-coding-system-map, mode-line-remote)
5533 (mode-line-unbury-buffer, mode-line-bury-buffer)
5534 (mode-line-next-buffer, mode-line-previous-buffer):
5535 Replace save-selected-window+select-window => with-selected-window.
5536
5537 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
5538 * progmodes/cc-vars.el (bq-process): Remove, unused.
5539
5540 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
5541
5542 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
5543
5544 Implemented `backward-up-list'-like navigation.
5545 * progmodes/python.el (python-nav-up-list)
5546 (python-nav-backward-up-list): New functions.
5547 (python-mode-map): Define substitute key for backward-up-list to
5548 python-nav-backward-up-list.
5549
5550 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5551
5552 * progmodes/python.el (python-fill-paragraph): Rename from
5553 python-fill-paragraph-function. Fixed fill-paragraph for
5554 decorators (Bug#12605).
5555
5556 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5557
5558 * progmodes/python.el (python-shell-output-filter): Handle extra
5559 carriage return in OSX (Bug#12409).
5560
5561 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5562
5563 Fix shell handling of unbalanced quotes and parens in output.
5564 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
5565 (python-syntax-propertize-function): Use it.
5566 (python-shell-output-syntax-table): New var.
5567 (inferior-python-mode): Prevent unbalanced parens/quotes from
5568 previous output mess with current input context.
5569
5570 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
5571
5572 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
5573 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
5574
5575 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
5576
5577 * ffap.el (ffap-replace-file-component): Support Tramp file name
5578 syntax, not only ange-ftp's one.
5579
5580 2012-10-08 Glenn Morris <rgm@gnu.org>
5581
5582 * cus-start.el (message-log-max): Set :version.
5583
5584 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
5585
5586 2012-10-08 Martin Rudalics <rudalics@gmx.at>
5587
5588 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
5589 the minibuffer window (Bug#10851).
5590
5591 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5592
5593 Enhancements on forward-sexp movement.
5594 * progmodes/python.el (python-nav-beginning-of-statement)
5595 (python-nav-end-of-statement): Return point-marker.
5596 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
5597 (python-info-current-symbol)
5598 (python-info-statement-starts-block-p): Rename from
5599 python-info-beginning-of-block-p.
5600 (python-info-statement-ends-block-p): Rename from
5601 python-info-end-of-block-p.
5602 (python-info-beginning-of-statement-p)
5603 (python-info-end-of-statement-p)
5604 (python-info-beginning-of-block-p, python-info-end-of-block-p):
5605 New functions.
5606
5607 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5608
5609 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
5610 frame-selected-windows.
5611
5612 2012-10-08 Daniel Colascione <dancol@dancol.org>
5613
5614 * battery.el (battery-status-function): Check for
5615 w32-battery-status itself, not system-time windows-nt.
5616
5617 * frame.el: Require cl-lib.
5618 (display-format-alist): New variable mapping frame types to
5619 functions that initialize them.
5620 (window-system-for-display): New function: interprets
5621 display-format-alist.
5622 (make-frame-on-display): Remove existing display-selection logic
5623 and just forward to make-frame, which will now DTRT.
5624 (make-frame): Restructure to use window-system-for-display to
5625 figure out how to create a frame on a given display.
5626 (display-mouse-p): Look for frame-type w32, not a particular
5627 system-type.
5628
5629 * loadup.el: Load w32 lisp code when we have the w32 feature.
5630
5631 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
5632 system-type windows-nt.
5633
5634 * server.el (server-create-window-system-frame): Look for window
5635 type.
5636 (server-proces-filter): Only force a window system when windows-nt
5637 _and_ w32. Explain why.
5638
5639 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
5640 of window systems we configure for the mode.
5641
5642 * startup.el (command-line): Mark window system is initialized
5643 after we've done it.
5644
5645 * common-win.el (x-select-text): Look for w32, not windows-nt.
5646
5647 * ns-win.el: Require cl-lib. Add ourselves to
5648 display-format-alist.
5649 (ns-initialize-window-system): Assert we're not initialized twice.
5650
5651 * w32-win.el: Enable lexical binding; require cl-lib; add
5652 ourselves to display-format-alist.
5653 (w32-handle-dropped-file): Convert incoming dropped files from
5654 Windows paths to Cygwin ones before passing them on to the rest of
5655 Emacs.
5656 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
5657 (w32-initialize-window-system): Assert we're not initialized twice.
5658
5659 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
5660 (x-initialize-window-system): Assert we're not initialized twice.
5661
5662 * w32-common-fns.el: New File.
5663 (w32-version, w32-using-nt, w32-get-clipboard-data)
5664 (w32-set-clipboard-data, x-set-selection, x-get-selection)
5665 (w32-charset-info-alist, x-last-selected, text)
5666 (x-get-selection-value, x-selection-value): Move here.
5667
5668 * w32-fns.el: Require w32-common-fns.
5669 (w32-version, w32-using-nt, w32-get-clipboard-data)
5670 (w32-set-clipboard-data, x-set-selection, x-get-selection)
5671 (w32-charset-info-alist, x-last-selected, text)
5672 (x-get-selection-value, x-selection-value): Move to
5673 w32-common-fns.
5674
5675 * w32-vars.el:
5676 (w32-allow-system-shell, w32-system-shells): Define only in
5677 non-cygwin case.
5678
5679 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5680
5681 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
5682 (read-passwd): Remove a few more potential sources of leaks.
5683
5684 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5685
5686 * progmodes/python.el (inferior-python-mode)
5687 (python-shell-make-comint): Fix initialization of local
5688 variables copied from parent buffer.
5689
5690 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
5691
5692 * term/ns-win.el (ns-read-file-name): Update declaration to match
5693 nsfns.m.
5694 (ns-respond-to-change-font): Change fontsize separately so we are sure
5695 it is set when font is acted upon.
5696
5697 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5698
5699 Enhancements to indentation.
5700 * progmodes/python.el (python-indent-context): Give priority to
5701 inside-string context. Make comments indentation markers.
5702 (python-indent-region): Do not mess with strings, unless it's the
5703 enclosing set of quotes.
5704
5705 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5706
5707 * window.el (internal--before-save-selected-window)
5708 (internal--after-save-selected-window): New functions extracted from
5709 save-selected-window. Make sure we return the `alist' we construct.
5710 (save-selected-window): Use them.
5711
5712 * textmodes/tex-mode.el (tex-recenter-output-buffer):
5713 Use with-selected-window.
5714
5715 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
5716 forms that define macros (bug#12593).
5717
5718 2012-10-07 Kenichi Handa <handa@gnu.org>
5719
5720 * international/mule-conf.el (compound-text-with-extensions):
5721 Add :mime-charset property as x-ctext.
5722
5723 2012-10-07 Stefan Merten <smerten@oekonux.de>
5724
5725 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
5726 (rst-indent-literal-normal, rst-indent-literal-minimized)
5727 (rst-indent-comment): Correct :version tag.
5728 (rst-official-cvs-rev): Correct version string.
5729
5730 2012-10-07 Glenn Morris <rgm@gnu.org>
5731
5732 * mail/rmailmm.el (rmail-mime-process-multipart):
5733 Do not confuse a multipart message with an epilogue
5734 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
5735
5736 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5737
5738 Fix shell output retrieval and comint-prompt-regexp init.
5739 * progmodes/python.el (inferior-python-mode):
5740 (python-shell-make-comint): Fix initialization of
5741 comint-prompt-regexp from copied file local variables.
5742 (python-shell-fetched-lines): Remove var.
5743 (python-shell-output-filter-in-progress): Rename from
5744 python-shell-fetch-lines-in-progress.
5745 (python-shell-output-filter-buffer): Rename from
5746 python-shell-fetch-lines-string.
5747 (python-shell-fetch-lines-filter): Delete function.
5748 (python-shell-output-filter): New function.
5749 (python-shell-send-string-no-output): Use them.
5750
5751 2012-10-07 Glenn Morris <rgm@gnu.org>
5752
5753 * hi-lock.el (hi-lock-process-phrase):
5754 Try to make it less fragile. (Bug#7161)
5755
5756 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
5757
5758 2012-10-06 Glenn Morris <rgm@gnu.org>
5759
5760 * ehelp.el (electric-help-mode): Use help-mode rather than
5761 non-existent mode `help'.
5762 (electric-help-map): Use button-buffer-map. (Bug#10917)
5763
5764 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
5765 (reftex-create-bibtex-footer): Fix custom types.
5766
5767 * progmodes/sh-script.el (sh-indent-after-continuation):
5768 Add explicit :group.
5769
5770 * textmodes/rst.el (rst-preferred-decorations)
5771 (rst-shift-basic-offset): Clarify obsolescence versions.
5772
5773 * profiler.el (profiler): Add missing group :version tag.
5774 * avoid.el (mouse-avoidance-banish-position):
5775 * proced.el (proced-renice-command):
5776 * calc/calc.el (calc-ensure-consistent-units):
5777 * calendar/icalendar.el (icalendar-import-format-uid):
5778 * net/tramp.el (tramp-save-ad-hoc-proxies):
5779 * progmodes/bug-reference.el (bug-reference-bug-regexp):
5780 * progmodes/flymake.el (flymake-error-bitmap)
5781 (flymake-warning-bitmap, flymake-fringe-indicator-position):
5782 * progmodes/sh-script.el (sh-indent-after-continuation):
5783 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
5784 (verilog-before-save-font-hook, verilog-after-save-font-hook):
5785 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
5786 (vhdl-array-index-record-field-in-sensitivity-list)
5787 (vhdl-indent-comment-like-next-code-line):
5788 * textmodes/reftex-vars.el (reftex-ref-style-alist)
5789 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
5790 (reftex-cite-key-separator, reftex-create-bibtex-header)
5791 (reftex-create-bibtex-footer):
5792 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
5793 (rst-indent-literal-normal, rst-indent-literal-minimized)
5794 (rst-indent-comment): Add missing custom :version tags.
5795
5796 * calendar/timeclock.el (timeclock-modeline-display):
5797 Add missing obsolete alias for renamed user option.
5798
5799 * strokes.el (strokes-modeline-string):
5800 * emulation/crisp.el (crisp-mode-modeline-string):
5801 * eshell/esh-mode.el (eshell-status-in-modeline):
5802 Aliases to defcustoms must come before the defcustom.
5803
5804 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
5805 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
5806 (cal-tex-cursor-week-monday): Doc fixes.
5807 (cal-tex-cursor-week2-summary): Doc fix.
5808 Rename from cal-tex-cursor-week-at-a-glance.
5809
5810 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
5811 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
5812
5813 * calendar/calendar.el (calendar-mode-map):
5814 Add cal-tex-cursor-week2-summary.
5815
5816 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
5817
5818 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
5819
5820 * subr.el (read-passwd-map): New var.
5821 (read-passwd): Use `read-string' again.
5822 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
5823
5824 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
5825
5826 * register.el (append-to-register, prepend-to-register):
5827 Deactivate mark, as does `copy-to-register' (bug#12389).
5828
5829 2012-10-06 Chong Yidong <cyd@gnu.org>
5830
5831 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
5832
5833 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
5834
5835 * international/characters.el: Fix simple mistake ((car chars) ->
5836 elt), delete duplicated code.
5837
5838 2012-10-06 Glenn Morris <rgm@gnu.org>
5839
5840 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
5841
5842 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
5843
5844 * color.el (color-hsl-to-rgb): Fix incorrect results for
5845 small and large hue values. (Bug#12559)
5846
5847 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
5848
5849 Enhancements to docstring formatting when filling paragraphs.
5850 * progmodes/python.el (python-fill-docstring-style): Rename from
5851 python-fill-string-style. Added new style.
5852 (python-fill-string): Use new style. Better checks for
5853 docstrings.
5854
5855 2012-10-05 Glenn Morris <rgm@gnu.org>
5856
5857 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
5858
5859 * color.el (color-name-to-rgb, color-rgb-to-hex)
5860 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
5861 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
5862 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
5863 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
5864
5865 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
5866
5867 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
5868
5869 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
5870 to get the correct size across symlinks.
5871
5872 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
5873
5874 2012-10-04 Juri Linkov <juri@jurta.org>
5875
5876 * replace.el (query-replace-interactive): Declare obsolete.
5877 (query-replace-read-from): Add the last incremental search string
5878 to the list of default values accessible via M-n.
5879 (map-query-replace-regexp): Use `read-regexp'.
5880 (query-replace, query-replace-regexp, query-replace-regexp-eval)
5881 (map-query-replace-regexp, replace-string, replace-regexp):
5882 Fix docstrings to replace mentions of `query-replace-interactive'
5883 with alternatives. (Bug#12526)
5884
5885 2012-10-04 Juri Linkov <juri@jurta.org>
5886
5887 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
5888 (dired-pop-to-buffer): Declare obsolete.
5889 (dired-mark-pop-up): Doc fix.
5890
5891 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
5892
5893 Allow user to set docstring style for fill-paragraph.
5894 * progmodes/python.el
5895 (python-fill-comment-function, python-fill-string-function)
5896 (python-fill-decorator-function, python-fill-paren-function):
5897 Remove :safe for defcustoms.
5898 (python-fill-string-style): New defcustom
5899 (python-fill-paragraph-function): Enhance context detection.
5900 (python-fill-string): Honor python-fill-string-style settings.
5901
5902 2012-10-04 Martin Rudalics <rudalics@gmx.at>
5903
5904 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
5905 after setting its buffer (Bug#10805).
5906
5907 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
5908
5909 Fix cornercase for string syntax.
5910 * progmodes/python.el (python-syntax-propertize-function):
5911 Simplify and enhance the regexp for unescaped quotes. Now it also
5912 matches quotes in weird situations like the single quote in
5913 "something\"'".
5914 (python-syntax-stringify): Simplify num-quotes detecting code.
5915
5916 2012-10-03 Glenn Morris <rgm@gnu.org>
5917
5918 * help-macro.el (three-step-help):
5919 Revert 2012-09-29 change. (Bug#12567)
5920
5921 2012-10-03 Martin Rudalics <rudalics@gmx.at>
5922
5923 * menu-bar.el (kill-this-buffer): Don't do anything when
5924 `menu-frame' is not alive or visible (Bug#8184).
5925
5926 * emacs-lisp/debug.el (debug): When quitting the debugger window
5927 restore current buffer (Bug#12502).
5928
5929 2012-10-02 Chong Yidong <cyd@gnu.org>
5930
5931 * progmodes/hideif.el (hif-lookup, hif-defined):
5932 Handle semantic-c-takeover-hideif.
5933
5934 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
5935
5936 Change sampling interval units from ms to ns.
5937 * profiler.el (profiler-sampling-interval): Change units
5938 from ms to ns, multiplying the default by 1000000 so that
5939 it remains 1 ms.
5940 (profiler-report-cpu-line-format): Give enough room for
5941 the maximum counters on 64-bit hosts.
5942 (profiler-report-render-calltree-1): Call them "CPU samples",
5943 not "Time (ms)", since they are not milliseconds now (and
5944 never really were).
5945
5946 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5947
5948 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
5949 Fix querying BBDB for entries without a last name (Bug#11580).
5950
5951 2012-10-02 Chong Yidong <cyd@gnu.org>
5952
5953 * emacs-lisp/eieio.el: Restore Version header.
5954
5955 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5956
5957 * vc/diff-mode.el (diff--auto-refine-data): New var.
5958 (diff-hunk): Use it to delay refinement.
5959 (diff-mode): Remove overlays when we turn off font-lock.
5960
5961 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
5962 (table-initialize-table-fixed-width-mode)
5963 (table-set-table-fixed-width-mode): Remove functions.
5964 (table-command-list): Move initialization into declaration.
5965 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
5966 (table-with-cache-buffer): Use `declare'.
5967 (table-span-cell): Simplify via CSE.
5968 (table-fixed-width-mode): Use define-minor-mode.
5969 (table-call-interactively, table-funcall, table-apply): Remove.
5970 (table-function): New function, to replace them.
5971
5972 * bookmark.el (bookmark-search-pattern): Remove var.
5973 (bookmark-read-search-input): Remove function.
5974 (bookmark-bmenu-search): Reimplement using a minibuffer.
5975
5976 * faces.el (modeline): Remove obsolete face name.
5977
5978 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
5979 and give a non-nil default value.
5980 (add-change-log-entry): Simplify accordingly.
5981
5982 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
5983
5984 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
5985 (vc-git-log-edit-toggle-amend): New function.
5986 (vc-git-log-edit-toggle-signoff): New function.
5987 (vc-git-log-edit-mode): New major mode.
5988 (vc-git-log-edit-mode-map): Keymap for it.
5989 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
5990
5991 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
5992 header names.
5993 (log-edit-toggle-header): New function.
5994 (log-edit-extract-headers): Accept function values in HEADERS alist.
5995
5996 2012-10-01 David Engster <deng@randomsample.de>
5997
5998 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
5999 from symbol property and change message to be more consistent with
6000 Emacs proper.
6001 (eieio-describe-generic): Add filename for each implementation.
6002 Fix indices for generic and normal methods.
6003 (eieio-method-def, eieio-class-def): New buttons.
6004 (eieio-help-find-method-definition)
6005 (eieio-help-find-class-definition): New functions.
6006 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
6007 class, constructor and method definitions.
6008
6009 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
6010 information in symbol property.
6011 (scoped-class): Remove.
6012 (eieio-slot-name-index, call-next-method): Check if it is bound.
6013
6014 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
6015
6016 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
6017 (eieio-custom-mode): New major mode.
6018 (eieio-customize-object): Use it.
6019
6020 2012-10-01 Eric Ludlam <zappo@gnu.org>
6021
6022 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
6023 specifying the expected class, and whether subclassing is allowed.
6024 (eieio-persistent-convert-list-to-object):
6025 (eieio-persistent-validate/fix-slot-value)
6026 (eieio-persistent-slot-type-is-class-p): New functions.
6027 (eieio-named::slot-missing): Doc fix.
6028
6029 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
6030 Stop using unused publd variable.
6031
6032 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
6033 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
6034 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
6035 (eieio-speedbar-handle-click): Do not specify a class for the
6036 method. Fixes method invocation order problems with EDE.
6037
6038 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6039
6040 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
6041 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
6042
6043 2012-10-01 Karl Fogel <kfogel@red-bean.com>
6044
6045 * bookmark.el (bookmark-version-control): Give tags in the
6046 :type choices (Bug#12309), and improve doc string.
6047 (bookmark-write-file): Bind `print-circle' to `t' to allow
6048 circular custom bookmark types. (Bug#12503)
6049
6050 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
6051
6052 Revert the FOLLOW-SYMLINKS change for file-attributes.
6053 * files.el (remote-file-name-inhibit-cache, after-find-file):
6054 * time.el (display-time-file-nonempty-p): Undo last change.
6055
6056 * profiler.el (profiler-sampling-interval): Change default back to 1.
6057 See Stefan Monnier in
6058 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
6059
6060 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
6061
6062 Shell output catching a la gud-gdb.
6063 * progmodes/python.el (python-shell-fetch-lines-in-progress)
6064 (python-shell-fetch-lines-string, python-shell-fetched-lines):
6065 New Vars.
6066 (python-shell-fetch-lines-filter): New function.
6067 (python-shell-send-string-no-output): Use them.
6068
6069 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
6070
6071 * profiler.el (profiler-sampling-interval): Rename from
6072 profiler-sample-interval.
6073 (profiler-sampling-interval): Default to 10.
6074 (profiler-find-profile): New command (was profiler-find-log).
6075 (profiler-find-profile-other-window): New command.
6076 (profiler-find-profile-other-frame): New command.
6077 (profiler-profile): Introduce API-level data structure.
6078
6079 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
6080
6081 file-attributes has a new optional arg FOLLOW-SYMLINKS.
6082 * files.el (remote-file-name-inhibit-cache):
6083 * time.el (display-time-file-nonempty-p): Use it.
6084 * files.el (after-find-file): Don't chase links before calling
6085 file-exists-p, as file-exists-p already does the right thing.
6086
6087 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
6088
6089 Merge from standalone RefTeX repository.
6090
6091 The following ChangeLog entries are shortened versions of the
6092 original ones with file paths adapted. A not so strongly edited
6093 version of the original ChangeLog can be found in the commit log.
6094
6095 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
6096 (reftex-arg-cite): Use `reftex-cite-key-separator'.
6097 Correctly handle new value type returned by `reftex-citation'.
6098
6099 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
6100 that entries with whitespace at various places are found.
6101 Doc fix. Include entries that are cross-referenced from cited entries.
6102 Include @String definitions in the resulting bib file. Add header
6103 and footer defined in `reftex-create-bibtex-header' and
6104 `reftex-create-bibtex-footer'.
6105 (reftex-do-citation): Make it possible again to insert
6106 non-existent entries. Save match data when asking for optional
6107 arguments. Return all keys, not just the first one.
6108 (reftex-all-used-citation-keys): Fix regexp to correctly extract
6109 all citations in the same line.
6110 (reftex-parse-bibtex-entry): Accept additional optional argument
6111 `raw' and keep quotes or braces if it is non-nil. Match fields
6112 containing hyphens besides word constituents.
6113 (reftex-get-string-refs): New function.
6114 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
6115 and ask if it should be reread in case it did.
6116 (reftex-pop-to-bibtex-entry)
6117 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
6118 entries with spaces or tabs in front of arguments.
6119 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6120 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
6121 Match entries containing numbers and symbol constituents.
6122 (reftex-do-citation, reftex-figure-out-cite-format):
6123 Use `reftex-cite-key-separator'.
6124
6125 * textmodes/reftex-dcr.el: Move provide statement to end of file.
6126 (reftex-mouse-view-crossref): Explain why point is set.
6127
6128 * textmodes/reftex-global.el: Whitespace changes.
6129
6130 * textmodes/reftex-index.el: Move provide statement to end of
6131 file.
6132 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
6133 (reftex-index-visit-phrases-buffer): Set marker when visiting
6134 buffer. This allows for returning from the phrases file to the
6135 file one was just editing instead of the file where the last
6136 phrases was added from.
6137 (reftex-index-phrases-syntax-table): New variable. Give ?\"
6138 punctuation syntax as it usually is not used as string quote in
6139 TeX-related modes and may occur unmatched. The change also
6140 prevents fontification of quoted content.
6141 (reftex-index-phrases-mode): Use it.
6142
6143 * textmodes/reftex-parse.el (reftex-parse-from-file):
6144 Move backward one char if a `\' was matched after a section macro.
6145 (reftex-parse-from-file): Use beginning of match instead of end as
6146 bound.
6147
6148 * textmodes/reftex-ref.el: Adapt creation of
6149 `reftex-<package>-<macro>' functions to new structure of
6150 `reftex-ref-style-alist'.
6151 (reftex-reference): Use `reftex-ref-style-list' function.
6152 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
6153 reference macro if `reftex-ref-macro-prompt' is non-nil.
6154 (reftex-reference): Pass refstyle to `reftex-format-special'.
6155 Determine reference macro by looking at
6156 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
6157 Use only one special format function.
6158 (reftex-varioref-vref, reftex-fancyref-fref)
6159 (reftex-fancyref-Fref): Remove definitions. The functions are now
6160 generated from `reftex-ref-style-alist'.
6161 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
6162 Remove.
6163 (reftex-format-special): New function.
6164
6165 * textmodes/reftex-sel.el
6166 (reftex-select-cycle-ref-style-internal): Adapt to new structure
6167 of `reftex-ref-style-alist'. Remove code for testing macro type.
6168 (reftex-select-toggle-varioref)
6169 (reftex-select-toggle-fancyref): Remove.
6170 (reftex-select-cycle-ref-style-internal)
6171 (reftex-select-cycle-ref-style-forward)
6172 (reftex-select-cycle-ref-style-backward): New functions.
6173 (reftex-select-label-map): Use `v' and `V' for general cycling
6174 through reference styles. Add `p' for switching between number
6175 and page reference types.
6176
6177 * textmodes/reftex-toc.el (reftex-re-enlarge):
6178 Call `enlarge-window' only if there is something to do because in Emacs
6179 the horizontal version throws an error even if the parameter is 0.
6180
6181 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
6182 (reftex-plug-into-AUCTeX): Doc fix.
6183 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
6184 string. Adapt to new name.
6185 (reftex-ref-style-alist): Change structure so that it is not
6186 possible to use multiple different package names within a style.
6187 Remove the symbols for symbols for macro type distinction.
6188 Add characters for macro selection.
6189 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
6190 (reftex-create-bibtex-footer): New variables.
6191 (reftex-format-ref-function): Mention third argument of special
6192 format function.
6193 (reftex-ref-style-alist, reftex-ref-style-default-list):
6194 New variables.
6195 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
6196 to new implementation. Mark as obsolete. Add compatibility code
6197 for honoring the variable values in case they are set.
6198 (reftex-cite-format-builtin, reftex-bibliography-commands):
6199 Add support for ConTeXt.
6200 (reftex-format-ref-function, reftex-format-cite-function):
6201 Fix custom type.
6202 (reftex-cite-key-separator): New variable.
6203
6204 * textmodes/reftex.el (reftex-syntax-table-for-bib)
6205 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
6206 `reftex-syntax-table' because parens have to retain their paren
6207 syntax in order for parsing of BibTeX entries like @book(...) to
6208 work.
6209 (reftex-in-comment): Do not error out if `comment-start-skip' is
6210 not set. Deal correctly with escaped comment characters.
6211 (reftex-tie-multifile-symbols): Add doc string.
6212 Initialize `reftex-ref-style-list'.
6213 (reftex-untie-multifile-symbols): Add doc string.
6214 (reftex-add-index-macros): Doc fix.
6215 (reftex-ref-style-activate, reftex-ref-style-toggle)
6216 (reftex-ref-style-list): New functions.
6217 (reftex-mode-menu): Use them. Adapt to new structure of
6218 `reftex-ref-style-alist'.
6219 (reftex-select-with-char): Kill the RefTeX Select buffer when
6220 done.
6221 (reftex-remove-if): New function.
6222 (reftex-erase-all-selection-and-index-buffers)
6223 (reftex-mode-menu): Reference styles are now computed from
6224 `reftex-ref-style-alist'. Fix typo.
6225 (reftex-report-bug): New function.
6226 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
6227 algorithms with O(n log n). Introduce optional argument SORT (not
6228 yet used).
6229
6230 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
6231
6232 Enhancements for triple-quote string syntax.
6233 * progmodes/python.el (python-syntax-propertize-function):
6234 Match both quote cases in one regexp.
6235 (python-syntax-stringify): Handle matches properly.
6236
6237 2012-09-30 Juri Linkov <juri@jurta.org>
6238
6239 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
6240 to nil around the call to `insert' to prevent
6241 directory time modification by lock_file. (Bug#2295)
6242 * tar-mode.el (tar-summarize-buffer): Idem.
6243
6244 2012-09-30 Juri Linkov <juri@jurta.org>
6245
6246 * facemenu.el (list-colors-sort): Add option "Luminance".
6247 (list-colors-sort-key): Implement it.
6248
6249 * vc/diff-mode.el (diff-refine-removed):
6250 * vc/ediff-init.el (ediff-fine-diff-A):
6251 * vc/smerge-mode.el (smerge-refined-removed):
6252 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
6253
6254 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
6255
6256 * term/ns-win.el (x-file-dialog): New function.
6257
6258 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
6259
6260 * ido.el (ido-max-directory-size): Default to nil; the current
6261 default is small for POSIX systems, and impractical on Windows 7
6262 now that lstat returns directory sizes for NTFS.
6263
6264 2012-09-30 Martin Rudalics <rudalics@gmx.at>
6265
6266 In buffer display functions handle window-height/window-width
6267 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
6268 * window.el (window--display-buffer): New argument ALIST.
6269 Obey window-height and window-width alist entries.
6270 (window--try-to-split-window): New argument ALIST.
6271 Bind window-combination-limit to t when the window's size shall be
6272 changed and window-combination-limit equals `window-size'.
6273 (display-buffer-in-atom-window)
6274 (display-buffer-in-major-side-window)
6275 (display-buffer-in-side-window, display-buffer-same-window)
6276 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6277 (display-buffer-pop-up-window, display-buffer-below-selected)
6278 (display-buffer-at-bottom, display-buffer-in-previous-window)
6279 (display-buffer-use-some-window): Adjust all callers of
6280 window--display-buffer and window--try-to-split-window.
6281 (fit-frame-to-buffer): New option.
6282 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
6283 is non-nil.
6284 (display-buffer-in-major-side-window): Evaluate window-height /
6285 window-width alist entries.
6286
6287 * help.el (temp-buffer-resize-frames)
6288 (temp-buffer-resize-regexps): Remove options.
6289 (temp-buffer-resize-mode): Adjust doc-string.
6290 (resize-temp-buffer-window): Don't consult
6291 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
6292 temp-buffer-resize-frames.
6293
6294 * dired.el (dired-mark-pop-up):
6295 Call display-buffer-below-selected with a fit-window-to-buffer alist
6296 entry.
6297
6298 2012-09-30 Chong Yidong <cyd@gnu.org>
6299
6300 * server.el (server-host): Document the security implications.
6301 (server-auth-key): Doc fix.
6302
6303 * startup.el (initial-buffer-choice): Doc fix.
6304
6305 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
6306
6307 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
6308 restriction change.
6309
6310 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
6311
6312 * help-fns.el (help-fns--obsolete): Fix last change.
6313
6314 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
6315
6316 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
6317 (minor-mode-map-alist): Remove redundant code.
6318
6319 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
6320 visited in a buffer.
6321 (cvs-insert-visited-file): New function.
6322 (find-file-hook): Use it.
6323
6324 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
6325
6326 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
6327 chose face.
6328 (log-edit-empty-buffer-p): Don't require a space after a header.
6329
6330 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
6331
6332 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
6333
6334 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
6335 a proper minor-mode.
6336
6337 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
6338
6339 2012-09-29 Glenn Morris <rgm@gnu.org>
6340
6341 * winner.el (winner-mode): Remove variable (let define-minor-mode
6342 handle it).
6343 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
6344 Doc fixes.
6345 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
6346 (winner-mode): Use define-minor-mode.
6347
6348 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
6349 the full definition in loaddefs, rather than duplicating it.
6350
6351 * help-macro.el (three-step-help): No need to autoload defcustom.
6352
6353 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
6354 (inferior-lisp-program, inferior-lisp-load-command)
6355 (inferior-lisp-prompt, inferior-lisp-mode-hook):
6356 No need to autoload defcustoms.
6357
6358 * hippie-exp.el (hippie-expand-try-functions-list)
6359 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
6360 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
6361 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
6362 (hippie-expand-only-buffers): No need to autoload defcustoms.
6363 * progmodes/vhdl-mode.el (vhdl-line-expand):
6364 Explicitly load hippie-exp, so it does not get autoloaded
6365 while hippie-expand-try-functions-list is let-bound.
6366
6367 2012-09-28 Glenn Morris <rgm@gnu.org>
6368
6369 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
6370
6371 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
6372 Only "cl.el" counts as cl these days.
6373
6374 2012-09-28 Juri Linkov <juri@jurta.org>
6375
6376 Display archive errors in the echo area instead of inserting
6377 to the file buffer.
6378
6379 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
6380 to STDERR-TEST that can be a regexp matching a successful output.
6381 Create a temporary file and redirect stderr to it. Search for
6382 STDERR-TEST in the stderr output and display it in the echo area
6383 if no match is found.
6384 (archive-extract-by-file): New function like
6385 `archive-extract-by-stdout' but extracting archives to files
6386 and looking for successful matches in stdout. Function body is
6387 mostly copied from `archive-rar-extract'.
6388 (archive-rar-extract): Use `archive-extract-by-file'.
6389 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
6390
6391 2012-09-28 Leo Liu <sdl.web@gmail.com>
6392
6393 * pcomplete.el (pcomplete-show-completions):
6394 Use minibuffer-message to make pcomplete usable in minibuffer.
6395
6396 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
6397
6398 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6399
6400 * type-break.el: Use lexical-binding.
6401 (type-break-mode): Use define-minor-mode.
6402
6403 * emacs-lisp/pcase.el (pcase--mark-used): New.
6404 (pcase--u1): Use it (bug#12512).
6405
6406 * custom.el (load-theme): Set buffer-file-name so the load is recorded
6407 in load-history with the right file name.
6408
6409 2012-09-28 Tassilo Horn <tsdh@gnu.org>
6410
6411 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
6412 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
6413 (doc-view-get-bounding-box): Make bounding box slicing work for
6414 ODF and DVI documents.
6415
6416 2012-09-28 Glenn Morris <rgm@gnu.org>
6417
6418 * type-break.el (type-break-mode, type-break-interval)
6419 (type-break-good-rest-interval, type-break-keystroke-threshold):
6420 No need to autoload.
6421 (type-break-good-rest-interval, type-break-keystroke-threshold):
6422 Add :set-after.
6423
6424 2012-09-28 Chong Yidong <cyd@gnu.org>
6425
6426 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
6427 Add :version tag.
6428
6429 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6430
6431 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
6432
6433 2012-09-27 Glenn Morris <rgm@gnu.org>
6434
6435 * faces.el (x-display-name): Declare (for without-x builds).
6436
6437 * linum.el (linum-format): Don't autoload it. Improve :type.
6438
6439 * progmodes/tcl.el: Don't require outline when compiling.
6440 (outline-regexp, outline-level): Declare.
6441 * textmodes/sgml-mode.el: Don't require outline when compiling.
6442 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
6443
6444 * term.el (term-ansi-reset):
6445 Try setting term-ansi-face-already-done to nil. (Bug#11785)
6446
6447 * vc/vc.el (vc-next-action): Only gripe about committing read-only
6448 files for RCS and SCCS. (Bug#9781)
6449
6450 2012-09-27 Chong Yidong <cyd@gnu.org>
6451
6452 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
6453 change; value should be t.
6454
6455 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6456
6457 * image-mode.el: Use lexical-binding.
6458 (image-mode-winprops): Use t to stand for the window of
6459 a buffer that's not displayed.
6460 * doc-view.el (doc-view-new-window-function): Handle the new
6461 t in winprops.
6462 (doc-view-enlarge): Make it a real nop if the size is not changed.
6463 (doc-view-display): Handle the case where the buffer is not (yet?)
6464 displayed in any window.
6465 (doc-view-saved-settings): New var.
6466 (doc-view-mode): Use it.
6467 (doc-view-fallback-mode): Set it.
6468
6469 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
6470 Set lexical-binding.
6471 (minibuffer-eldef-shorten-default): New var.
6472 (minibuffer-default-in-prompt-regexps): Use it for new default.
6473 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
6474
6475 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
6476
6477 * international/uni-bidi.el:
6478 * international/uni-category.el:
6479 * international/uni-name.el:
6480 * international/uni-numeric.el: Regenerate.
6481
6482 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
6483 Stefan Monnier <monnier@iro.umontreal.ca>
6484
6485 * profiler.el: New file.
6486
6487 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
6488
6489 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
6490 (testcover-reinstrument): Simplify with CSE.
6491
6492 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
6493
6494 * window.el (temp-buffer-window-setup): Fix typo in docstring.
6495
6496 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
6497
6498 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
6499 (verilog-auto-input, verilog-auto-insert-lisp)
6500 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
6501 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
6502 (verilog-auto-unused, verilog-auto-wire)
6503 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
6504 newline. Reported by Andrew Jones.
6505 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
6506 Reported by Brad Dobbie.
6507 (verilog-batch-delete-trailing-whitespace):
6508 Create verilog-batch-delete-trailing-whitespace.
6509 Reported by Brad Dobbie.
6510 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
6511 parameters from another module. Reported by Dan Katz.
6512 (verilog-auto, verilog-auto-assign-modport)
6513 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
6514 AUTOINOUTMODPORT for UVM interface module shell generation.
6515 Reported by Brad Dobbie.
6516 (verilog-auto-inst-interfaced-ports): Make default nil, as more
6517 standard behavior.
6518 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
6519 Reported by Matt Martin.
6520
6521 2012-09-25 Martin Rudalics <rudalics@gmx.at>
6522
6523 * window.el (window--resize-child-windows): When resizing child
6524 windows proportionally, process them in reverse order to
6525 preserve the "when splitting a window the new one gets the odd
6526 line" behavior.
6527 (window--resize-root-window-vertically): When resizing the
6528 minibuffer window try to affect only windows at the bottom of the
6529 frame. (Bug#12419)
6530
6531 2012-09-25 Chong Yidong <cyd@gnu.org>
6532
6533 * subr.el (declare): Doc fix.
6534
6535 * help-fns.el (help-fns--obsolete): Handle macros properly.
6536
6537 2012-09-25 Chong Yidong <cyd@gnu.org>
6538
6539 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
6540 this function obsolete.
6541
6542 * calendar/cal-x.el (calendar-two-frame-setup)
6543 (calendar-only-one-frame-setup, calendar-one-frame-setup):
6544 * calendar/calendar.el (american-calendar, european-calendar)
6545 (calendar-for-loop):
6546 * comint.el (comint-dynamic-simple-complete)
6547 (comint-dynamic-complete-as-filename, comint-unquote-filename):
6548 * desktop.el (desktop-load-default):
6549 * dired-x.el (dired-omit-here-always)
6550 (dired-hack-local-variables, dired-default-directory):
6551 * emacs-lisp/derived.el (derived-mode-class):
6552 * emacs-lisp/timer.el (timer-set-time-with-usecs):
6553 * emacs-lock.el (toggle-emacs-lock):
6554 * epa.el (epa-display-verify-result):
6555 * epg.el (epg-sign-keys, epg-start-sign-keys)
6556 (epg-passphrase-callback-function):
6557 * eshell/esh-util.el (eshell-for):
6558 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
6559 (eshell-add-to-window-buffer-names):
6560 * files.el (locate-file-completion):
6561 * imenu.el (imenu-example--create-c-index)
6562 (imenu-example--create-lisp-index)
6563 (imenu-example--lisp-extract-index-name)
6564 (imenu-example--name-and-position):
6565 * international/mule-cmds.el (princ-list):
6566 * international/mule-diag.el (decode-codepage-char):
6567 * international/mule-util.el (detect-coding-with-priority):
6568 * iswitchb.el (iswitchb-read-buffer):
6569 * mail/mailalias.el (mail-complete):
6570 * mail/sendmail.el (mail-sent-via):
6571 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
6572 (mouse-major-mode-menu):
6573 * password-cache.el (password-read-and-add):
6574 * pcomplete.el (pcomplete-parse-comint-arguments):
6575 * progmodes/sh-script.el (sh-maybe-here-document):
6576 * replace.el (query-replace-regexp-eval):
6577 * savehist.el (savehist-load):
6578 * simple.el (choose-completion-delete-max-match):
6579 * term.el (term-dynamic-simple-complete):
6580 * vc/ediff-init.el (ediff-check-version):
6581 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
6582 * vc/vc.el (vc-diff-switches-list):
6583 * view.el (view-return-to-alist-update): Likewise.
6584
6585 * subr.el (eval-next-after-load, makehash, insert-string)
6586 (assoc-ignore-representation, assoc-ignore-case): Use declare to
6587 mark obsolete.
6588 (mode-line-inverse-video): Variable deleted.
6589
6590 * international/mule-util.el (string-to-sequence): Remove.
6591
6592 * calendar/calendar.el (calendar-version):
6593 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
6594 (icalendar-convert-diary-to-ical):
6595 * cus-edit.el (custom-mode):
6596 * ansi-color.el (ansi-color-unfontify-region):
6597 * international/latin1-disp.el (latin1-char-displayable-p):
6598 * progmodes/cwarn.el (turn-on-cwarn-mode):
6599 * progmodes/which-func.el (which-func-update-1):
6600 Use define-obsolete-function-alias.
6601
6602 * net/newst-backend.el (newsticker-cache-filename):
6603 * net/newst-treeview.el (newsticker-groups-filename):
6604 Fix incorrect obsolescence declaration.
6605
6606 * allout.el (allout-passphrase-hint-string): Likewise.
6607 (allout-init): Use a declare form to mark obsolete.
6608
6609 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
6610 this applies to functions.
6611
6612 * iswitchb.el (iswitchb-read-buffer): Move code of
6613 iswitchb-define-mode-map here, and delete that obsolete function.
6614
6615 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
6616 font-lock-reference-face.
6617
6618 2012-09-25 Glenn Morris <rgm@gnu.org>
6619
6620 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
6621 Doc fixes.
6622
6623 * eshell/em-term.el (eshell-term-name):
6624 Default to term-term-name. (Bug#12485)
6625
6626 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
6627
6628 * progmodes/python.el (python-shell-send-buffer): Better handling
6629 of "if __name__ == '__main__':" conditionals when sending the buffer.
6630
6631 2012-09-24 Glenn Morris <rgm@gnu.org>
6632
6633 * eshell/esh-cmd.el (eshell-find-alias-function):
6634 Tighten up file-name regexp. (Bug#12499)
6635
6636 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
6637
6638 Enhancements for triple-quote string syntax.
6639 * progmodes/python.el (python-quote-syntax): Remove.
6640 (python-syntax-propertize-function): New value.
6641 (python-syntax-count-quotes, python-syntax-stringify):
6642 New functions.
6643
6644 2012-09-24 Chong Yidong <cyd@gnu.org>
6645
6646 * mail/supercite.el (sc-version): Remove obsolete function.
6647 (sc-describe): Don't mark as obsolete, since it is bound.
6648 (sc-submit-bug-report): Remove.
6649
6650 * vc/log-edit.el (cvs-changelog-full-paragraphs)
6651 (cvs-commit-buffer-require-final-newline): Remove.
6652 (log-edit-require-final-newline)
6653 (log-edit-changelog-full-paragraphs): Default to t.
6654
6655 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
6656 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
6657 * vc/vc.el (vc-checkout-carefully): Likewise.
6658
6659 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
6660 (emerge-version): Remove.
6661
6662 * progmodes/compile.el (compile-internal): Remove.
6663 (compilation-parse-errors-function): Fix typo.
6664
6665 * international/mule.el (set-char-table-default): Remove.
6666 (set-coding-priority, make-coding-system, generic-char-p)
6667 (charset-list, charset-bytes, charset-id): Use declare to mark
6668 functions as obsolete.
6669
6670 * vc/pcvs-defs.el (cvs-buffer-name-alist)
6671 (cvs-invert-ignore-marks): Remove references to obsolete vars.
6672 * vc/vc-hooks.el (vc-default-registered): Don't use
6673 vc-master-templates.
6674
6675 * font-lock.el (font-lock-reference-face):
6676 Use define-obsolete-variable-alias.
6677
6678 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
6679 * calendar/calendar.el (calendar-font-lock-keywords):
6680 * calendar/diary-lib.el (diary-font-lock-keywords)
6681 (diary-fancy-font-lock-keywords):
6682 * textmodes/reftex-sel.el (reftex-insert-docstruct):
6683 * textmodes/reftex-index.el (reftex-insert-index):
6684 * textmodes/reftex-cite.el (reftex-format-bib-entry):
6685 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6686 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
6687 * progmodes/prolog.el (prolog-font-lock-keywords):
6688 * progmodes/idlwave.el (idlwave-idl-keywords):
6689 * progmodes/ada-mode.el (ada-font-lock-keywords):
6690 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
6691
6692 2012-09-24 Glenn Morris <rgm@gnu.org>
6693
6694 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
6695
6696 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
6697
6698 * progmodes/python.el (python-indent-line): More consistent cursor
6699 movement behavior.
6700
6701 2012-09-23 Stefan Merten <smerten@oekonux.de>
6702
6703 * textmodes/rst.el: Fix compiler warning.
6704
6705 2012-09-23 Roland Winkler <winkler@gnu.org>
6706
6707 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
6708 Transcribe also LaTeX hyphenation.
6709 (bibtex-reformat): Bug fix. Do not quote twice the elements of
6710 bibtex-reformat-previous-options.
6711
6712 2012-09-23 Roland Winkler <winkler@gnu.org>
6713
6714 * proced.el (proced-renice-command): New variable.
6715 (proced-marked-processes): New function.
6716 (proced-with-processes-buffer): New macro.
6717 (proced-send-signal): Use them.
6718 (proced-renice): New command bound to r.
6719
6720 2012-09-23 Roland Winkler <winkler@gnu.org>
6721
6722 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
6723 ibuffer-saved-filter-groups has one element, shortcut the call of
6724 completing-read. (Bug#12331)
6725
6726 2012-09-23 Chong Yidong <cyd@gnu.org>
6727
6728 * bindings.el (mode-line-toggle-read-only):
6729 * bs.el (bs-toggle-readonly):
6730 * buff-menu.el (Buffer-menu-toggle-read-only):
6731 * dired.el (dired-toggle-read-only):
6732 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
6733
6734 2012-09-23 Chong Yidong <cyd@gnu.org>
6735
6736 * image.el (image-type-available-p): Adapt to init-image-library
6737 argument changes.
6738
6739 2012-09-22 Juri Linkov <juri@jurta.org>
6740
6741 * dired.el (dired-mode-map): Add [remap read-only-mode] for
6742 `dired-toggle-read-only'. (Bug#12462)
6743
6744 2012-09-22 Martin Rudalics <rudalics@gmx.at>
6745
6746 * subr.el (temp-output-buffer-show): New function.
6747 (with-output-to-temp-buffer): Call temp-output-buffer-show
6748 instead of internal-temp-output-buffer-show.
6749
6750 2012-09-22 Chong Yidong <cyd@gnu.org>
6751
6752 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
6753 (Bug#12462).
6754
6755 * repeat.el (repeat): Doc fix (Bug#12348).
6756
6757 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
6758 (Bug#10909).
6759
6760 * simple.el (shell-command-on-region): Doc fix.
6761 (read-only-mode): Doc fix.
6762
6763 2012-09-22 Eli Zaretskii <eliz@gnu.org>
6764
6765 * emacs-lisp/timer.el (run-with-idle-timer)
6766 (timer-activate-when-idle): Warn against reinvoking an idle timer
6767 from within its own timer action. (Bug#12447)
6768
6769 2012-09-22 Martin Rudalics <rudalics@gmx.at>
6770
6771 * cus-start.el (window-combination-limit): Add new optional
6772 values.
6773 * window.el (temp-buffer-window-show)
6774 (window--try-to-split-window): Handle new values of
6775 window-combination-limit (Bug#1806).
6776 (split-window): Test window-combination-limit for t instead of
6777 non-nil.
6778 (display-buffer-at-bottom): New buffer display action function.
6779 * help.el (temp-buffer-resize-regexps): New option.
6780 (temp-buffer-resize-mode): Rewrite doc-string.
6781 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
6782 Don't resize reused window. Suggested by Glenn Morris.
6783
6784 2012-09-22 Stefan Merten <smerten@oekonux.de>
6785
6786 * textmodes/rst.el: Revamp section title faces.
6787 (rst-official-version)
6788 (rst-package-emacs-version-alist): Sync with official version
6789 V1.4.0.
6790 (rst-faces-defaults, rst-set-level-default)
6791 (rst-level-face-max, rst-level-face-base-color)
6792 (rst-level-face-base-light, rst-level-face-format-light)
6793 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
6794 (rst-adornment-faces-alist): Match new setup.
6795 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
6796 (rst-level-5, rst-level-6): New faces.
6797
6798 2012-09-22 Chong Yidong <cyd@gnu.org>
6799
6800 * simple.el (undo): Handle indirect buffers (Bug#8207).
6801
6802 2012-09-21 Leo Liu <sdl.web@gmail.com>
6803
6804 IDO: Disable match re-ordering for buffer switching.
6805 * ido.el (ido-buffer-disable-smart-matches): New variable.
6806 (ido-set-matches-1): Use it. (Bug#2042)
6807
6808 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
6809
6810 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
6811 Fix 2011-05-17 change. (Bug#12418)
6812
6813 2012-09-21 Leo Liu <sdl.web@gmail.com>
6814
6815 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
6816
6817 2012-09-21 Glenn Morris <rgm@gnu.org>
6818
6819 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
6820 Be more robust about locating simple.el.
6821
6822 2012-09-21 Glenn Morris <rgm@gnu.org>
6823
6824 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
6825
6826 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
6827
6828 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
6829
6830 2012-09-20 Juri Linkov <juri@jurta.org>
6831
6832 * replace.el (query-replace-read-from): Use `read-regexp' instead
6833 of `read-from-minibuffer' when `regexp-flag' is non-nil.
6834 (occur-read-primary-args): Use `read-regexp' instead of
6835 `read-string'.
6836 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
6837 `read-from-minibuffer'.
6838 * isearch.el (isearch-occur): Use `read-regexp' instead of
6839 `read-string'.
6840 * dired.el (dired-read-regexp): Use `read-regexp' instead of
6841 `read-from-minibuffer'.
6842 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
6843 of `read-string'. (Bug#7567)
6844
6845 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
6846 and allow accepting a list of strings prepended to a list of
6847 standard default values. Doc fix. (Bug#12321)
6848
6849 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
6850
6851 * replace.el (read-regexp): Don't add ": " when PROMPT already
6852 ends with a colon and space. (Bug#12321)
6853
6854 2012-09-20 Tassilo Horn <tsdh@gnu.org>
6855
6856 * doc-view.el (doc-view-display): Better fix for the cl-assertion
6857 error.
6858
6859 2012-09-20 Stefan Merten <smerten@oekonux.de>
6860
6861 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
6862 Fixes feature request bug#11711.
6863 (rst-mode): Create `imenu-create-index-function'.
6864 (rst-get-stripped-line): Delete after refactoring.
6865 (rst-section-tree, rst-section-tree-rec)
6866 (rst-section-tree-point): Refactor and document properly.
6867 (rst-imenu-find-adornments-for-position)
6868 (rst-imenu-convert-cell, rst-imenu-create-index):
6869 New function.
6870
6871 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6872
6873 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
6874 (macroexp--expand-all): Use it.
6875 (macroexp--funcall-and-return): Remove by folding it into its sole
6876 caller (macroexp--warn-and-return).
6877 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
6878 Use macroexp--obsolete-warning.
6879
6880 * calc/calc.el: Fix last change by removing the whole chunk, since it
6881 was only needed back when Calc was not bundled.
6882
6883 2012-09-20 Martin Rudalics <rudalics@gmx.at>
6884
6885 * emacs-lisp/debug.el (debug): Restore assignment to
6886 debugger-old-buffer removed on 2012-09-08.
6887
6888 2012-09-20 Juri Linkov <juri@jurta.org>
6889
6890 * dired-aux.el (dired-diff): Remove (require 'diff) since
6891 `diff-latest-backup-file' is now autoloaded.
6892
6893 2012-09-20 Chong Yidong <cyd@gnu.org>
6894
6895 * vc/diff.el (diff-latest-backup-file): Autoload.
6896
6897 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6898
6899 * calc/calc.el: Remove redundant autoload shape check.
6900 (sel-mode): Don't defvar.
6901 (calc-get-stack-element): Add `sel-mode' arg instead.
6902 (calc-top, calc-top-list): Pass it this additional argument.
6903 * calc/calc-store.el (calc-store-map):
6904 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
6905 (calc-map-equation, calc-outer-product, calc-inner-product):
6906 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
6907
6908 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
6909
6910 2012-09-19 Juri Linkov <juri@jurta.org>
6911
6912 * dired-aux.el (dired-diff): Add (require 'diff) because
6913 `diff-latest-backup-file' is not autoloaded.
6914 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
6915 of `dired-get-filename' to t to not report error when there is
6916 no default file on the current line.
6917
6918 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6919
6920 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
6921 macroexp--eval-if-compile.
6922 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
6923 (macroexp--expand-all): Use them (bug#12371).
6924
6925 * doc-view.el (doc-view-guess-paper-size)
6926 (doc-view-scale-bounding-box): Fix unbound `caddr'.
6927
6928 2012-09-19 Tassilo Horn <tsdh@gnu.org>
6929
6930 New feature: set optimal slice from BoundingBox information.
6931 * doc-view.el (doc-view-mode-map): Add keybinding.
6932 (doc-view-menu): Add menu entry.
6933 (doc-view-set-slice): Adapt docstring.
6934 (doc-view-get-bounding-box, doc-view-guess-paper-size)
6935 (doc-view-scale-bounding-box)
6936 (doc-view-set-slice-from-bounding-box): New functions.
6937 (doc-view-paper-sizes): New defvar.
6938
6939 2012-09-19 Glenn Morris <rgm@gnu.org>
6940
6941 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
6942 (byte-compile-log-warning): Autoload. (Bug#12371)
6943
6944 * calendar/calendar.el (calendar-american-month-header)
6945 (calendar-european-month-header, calendar-iso-month-header)
6946 (calendar-month-header): New options.
6947 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
6948 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
6949
6950 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
6951
6952 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
6953
6954 2012-09-18 Juri Linkov <juri@jurta.org>
6955
6956 * dired-aux.el (dired-diff): Restore original functionality of
6957 getting the default value, but keep new feature of using the
6958 latest existing backup file (`diff-latest-backup-file').
6959
6960 2012-09-18 Juri Linkov <juri@jurta.org>
6961
6962 * dired.el (dired-mark): If the region is active in Transient Mark
6963 mode, mark all files in the active region. Doc fix.
6964 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
6965 Doc fix. (Bug#10624)
6966
6967 2012-09-18 Juri Linkov <juri@jurta.org>
6968
6969 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
6970 attributes for M-n are pulled from the file at point.
6971 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
6972 Suggested by Drew Adams. (Bug#10624)
6973
6974 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
6975
6976 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
6977 whitespace after "end".
6978 (ruby-do-end-to-brace): Collapse block to one line if it fits
6979 within fill-column.
6980
6981 2012-09-18 Martin Rudalics <rudalics@gmx.at>
6982
6983 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
6984 value.
6985 (debug): Don't remove debugger window when debugger is expected
6986 to be back.
6987
6988 2012-09-18 Chong Yidong <cyd@gnu.org>
6989
6990 * custom.el (defface): Doc fix.
6991
6992 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
6993
6994 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
6995
6996 * progmodes/compile.el (compilation-start): Use compilation-always-kill
6997 to initialize query-on-exit; then test that instead (bug#12288).
6998
6999 2012-09-17 Stefan Merten <smerten@oekonux.de>
7000
7001 * textmodes/rst.el: Add support for `testcover'.
7002 (rst-defcustom-testcover, rst-testcover-add-compose)
7003 (rst-testcover-add-1value): New functions.
7004 (rst-portable-mark-active-p): Replace by `use-region-p'.
7005 (rst-update-section, rst-classify-adornment)
7006 (rst-find-title-line): Mark `1value' forms.
7007 (rst-classify-adornment): Remove superfluous form.
7008 (rst-update-section, rst-get-adornments-around)
7009 (rst-adornment-complete-p, rst-get-next-adornment)
7010 (rst-adjust, rst-promote-region)
7011 (rst-display-adornments-hierarchy, rst-straighten-adornments)
7012 (rst-find-pfx-in-region, rst-section-tree-rec)
7013 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
7014 (rst-toc-node, rst-toc, rst-forward-section)
7015 (rst-iterate-leftmost-paragraphs)
7016 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
7017 (rst-bullet-list-region)
7018 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
7019 (rst-compile-find-conf, rst-compile)
7020 (rst-repeat-last-character): Fix style.
7021
7022 2012-09-17 Chong Yidong <cyd@gnu.org>
7023
7024 * comint.el (comint--complete-file-name-data): Don't add a space
7025 if the status is `sole'; that adds a gratuitous space in the
7026 completion-cycling case (Bug#12092).
7027
7028 * pcomplete.el (pcomplete-completions-at-point): Likewise.
7029
7030 2012-09-17 Richard Stallman <rms@gnu.org>
7031
7032 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
7033 only in the mime-shown mode, not in raw mode.
7034 (rmail-mime): Toggle off mime by displaying the message without
7035 mime processing. (Bug#12305)
7036
7037 * mail/rmail.el (rmail-retry-failure):
7038 Turn off mime processing first. (Bug#12037)
7039
7040 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
7041
7042 2012-09-17 Chong Yidong <cyd@gnu.org>
7043
7044 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
7045 (shell-dynamic-complete-functions): Convert to defcustom.
7046 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
7047
7048 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
7049 * comint.el (comint-prompt-read-only):
7050 * custom.el (defcustom):
7051 * hi-lock.el (hi-lock-mode):
7052 * ibuffer.el (ibuffer-formats):
7053 * ielm.el (ielm-prompt-read-only):
7054 * novice.el (disable-command):
7055 * saveplace.el (toggle-save-place):
7056 * speedbar.el (speedbar-supported-extension-expressions):
7057 * startup.el (auto-save-list-file-prefix, init-file-user)
7058 (after-init-hook, inhibit-startup-echo-area-message):
7059 * strokes.el (strokes-help):
7060 * time-stamp.el (time-stamp):
7061 * calendar/calendar.el (calendar, diary-file):
7062 * calendar/diary-lib.el (diary-mail-entries, diary)
7063 (diary-list-entries-hook):
7064 * calendar/holidays.el (holidays, calendar-holidays):
7065 * calendar/lunar.el (lunar-phases):
7066 * calendar/solar.el (sunrise-sunset):
7067 * emulation/edt.el (edt-load-keys):
7068 * emulation/viper.el (viper-mode):
7069 * eshell/em-alias.el (eshell-command-aliases-list):
7070 * eshell/esh-util.el (eshell-convert-numeric-arguments):
7071 * international/ogonek.el (ogonek-information):
7072 * net/tramp-cmds.el (tramp-bug):
7073 * net/quickurl.el (quickurl-reread-hook-postfix):
7074 * play/decipher.el (decipher-font-lock-keywords):
7075 * progmodes/cc-styles.el (c-set-style):
7076 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
7077 * progmodes/inf-lisp.el (inferior-lisp-prompt):
7078 * progmodes/octave-mod.el (octave-mode):
7079 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
7080 * progmodes/verilog-mode.el (verilog-read-defines):
7081 * textmodes/two-column.el (2C-mode): Likewise.
7082
7083 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
7084
7085 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
7086 that holds many addresses.
7087
7088 2012-09-16 Chong Yidong <cyd@gnu.org>
7089
7090 * align.el (align-areas): Call the indication function with
7091 positions instead of markers for arguments (Bug#12343).
7092
7093 * files.el (parse-colon-path): Use split-string (Bug#12351).
7094
7095 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
7096 (display-buffer-function): Mark as obsolete.
7097
7098 * progmodes/compile.el (compilation-parse-errors): Accept list
7099 values similar to font-lock-keywords (Bug#12136).
7100 Suggested by Oleksandr Manzyuk.
7101 (compilation-error-regexp-alist): Doc fix.
7102
7103 2012-09-15 Glenn Morris <rgm@gnu.org>
7104
7105 * version.el (emacs-bzr-version-bzr): New function.
7106 (emacs-bzr-get-version): Add optional EXTERNAL argument.
7107
7108 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
7109 checkouts, check the parent dirstate matches the branch.
7110 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
7111 empty string.
7112
7113 * version.el (emacs-bzr-version): Doc fix.
7114 (emacs-bzr-version-dirstate): New function.
7115 (emacs-bzr-get-version): For lightweight checkouts, if the parent
7116 is local try and check that it matches the branch. If not, just
7117 use dirstate information. (Bug#12441)
7118
7119 2012-09-14 Juri Linkov <juri@jurta.org>
7120
7121 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
7122 (Bug#12399)
7123
7124 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7125
7126 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
7127
7128 * emacs-lisp/edebug.el: Miscellaneous cleanup.
7129 Remove obsolete byte-compiler hack that tried to silence some warnings.
7130 (edebug-submit-bug-report): Remove.
7131 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
7132 Remove aliases, use the un-prefixed name instead.
7133 (edebug-pop-to-buffer): Consider other frames.
7134 (edebug-original-read):: Make it more obvious that it's always defined.
7135 (edebug--make-form-data-entry, edebug--form-data-name)
7136 (edebug--form-data-begin, edebug--form-data-end): Rename from the
7137 single-dashed name, and implement with cl-defstruct.
7138 (edebug-set-form-data-entry): Use the standard accessors.
7139 (edebug-make-top-form-data-entry): Use push.
7140 (edebug-no-match): Drop useless `funcall'.
7141 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
7142 to functions.
7143 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
7144 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
7145 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
7146 (easy-menu-define, with-custom-print): Remove redundant specs.
7147 (edebug-outside-overriding-local-map)
7148 (edebug-outside-overriding-terminal-local-map): Remove, unused.
7149 (edebug--display): Bind unread-command-events directly to nil rather
7150 than binding it to unread-command-events and later setting it to nil.
7151 (edebug--display): Kill edebug-eval-buffer here...
7152 (edebug--recursive-edit): ...rather than here.
7153 Bind standard-output and standard-input.
7154 (edebug-eval): Check cl-macroexpand-all is fboundp.
7155 (edebug-temp-display-freq-count): Fix last change.
7156
7157 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
7158 * subr.el (noreturn, 1value): Add `debug' spec.
7159 * emacs-lisp/advice.el: Require cl-lib.
7160 (ad-copy-tree): Remove, use copy-tree instead.
7161 (ad-dolist): Remove use dolist or cl-dolist instead.
7162 (ad-do-return): Remove, use cl-return instead.
7163 (defadvice): Add `debug' spec.
7164
7165 2012-09-13 Juri Linkov <juri@jurta.org>
7166
7167 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
7168 (Bug#12399)
7169
7170 2012-09-13 Glenn Morris <rgm@gnu.org>
7171
7172 * calc/calc.el (math-compose-expr):
7173 * calc/calc-ext.el (math-compose-expr):
7174 * progmodes/cc-defs.el (cl-macroexpand-all):
7175 * progmodes/cc-langs.el (delete-duplicates, mapcan)
7176 (cl-macroexpand-all): Update declarations.
7177
7178 * vc/vc.el: No need to require ediff.
7179 (ediff-load-version-control): Declare.
7180 (ediff-vc-internal): Fix declaration.
7181 (vc-version-ediff): Require ediff.
7182
7183 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
7184
7185 Use a more backwards-compatible timer format (Bug#12430).
7186 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
7187 being right after USECS, as that better supports old code that
7188 inadvisedly looked directly at the timer vector.
7189
7190 2012-09-13 Kenichi Handa <handa@gnu.org>
7191
7192 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
7193 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
7194 `coding-priority' property of these language environment.
7195
7196 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
7197
7198 Fix glitches caused by addition of psec to timers (Bug#12430).
7199 * image.el (image-animate-timer):
7200 * time.el (display-time-world-timer):
7201 Use timer--function and timer--args rather than raw access to
7202 timer vector.
7203
7204 2012-09-13 Glenn Morris <rgm@gnu.org>
7205
7206 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
7207 If not compiling a file, try using load-file-name.
7208
7209 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
7210
7211 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
7212 Fix last change.
7213 (edebug-update-eval-list): Use `push'.
7214
7215 * emacs-lisp/edebug.el: Use lexical-binding.
7216 Remove the "edebug-" prefix from non-dynamically-scoped variables.
7217 Mark unused args with underscore.
7218 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
7219 (edebug-form-data): Use defvar-local.
7220 (edebug-make-before-and-after-form, edebug-make-after-form):
7221 Use backquote.
7222 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
7223 Not dynamically scoped any more.
7224 (edebug--enter-trace): Add arguments `function' and `args'.
7225 Rename from edebug-enter-trace.
7226 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
7227 (edebug--update-coverage): Add `after-index' and `value' args.
7228 Rename from edebug-update-coverage.
7229 (edebug-slow-after): Call it accordingly.
7230 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
7231 edebug-recursive-edit.
7232 (edebug--display): Call it accordingly. Add args `value',
7233 `offset-index', and `arg-mode'. Rename from edebug-display.
7234 (edebug-debugger, edebug): Call it accordingly.
7235 (edebug-eval-display-list): Use dolist.
7236
7237 2012-09-12 Juri Linkov <juri@jurta.org>
7238
7239 * info.el (Info-search): Don't check for isearch-mode and
7240 isearch-regexp before let-binding search-spaces-regexp to
7241 Info-search-whitespace-regexp.
7242 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
7243 search-whitespace-regexp if isearch-lax-whitespace or
7244 isearch-regexp-lax-whitespace is non-nil.
7245 (Info-mode): Don't set local variable search-whitespace-regexp.
7246 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
7247
7248 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7249
7250 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
7251 (debugger-env-macro): Remove support for unread-command-char.
7252
7253 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
7254 the temporary map re-appearing on emulation-mode-map-alists.
7255
7256 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
7257 since 22.1.
7258
7259 * ehelp.el (with-electric-help): Accept functions in
7260 electric-help-form-to-execute.
7261 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
7262 And replace unread-command-char -> unread-command-events.
7263
7264 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
7265
7266 Sync with Tramp 2.2.6.
7267
7268 * net/tramp.el (tramp-accept-process-output): Don't use
7269 JUST-THIS-ONE in the XEmacs case.
7270
7271 * net/trampver.el: Update release number.
7272
7273 2012-09-12 Martin Rudalics <rudalics@gmx.at>
7274
7275 * emacs-lisp/debug.el (debugger-previous-window-height):
7276 New variable.
7277 (debug): When debugger-jumping-flag is non-nil try to restore
7278 height of debugger window. (Bug#8789)
7279
7280 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7281
7282 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
7283 overriding-local-map and pre/post-command-hook here.
7284 (edebug-recursive-edit): Do it here instead (bug#12345).
7285 (edebug-outside-unread-command-char): Remove all uses of
7286 unread-command-char.
7287
7288 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
7289 inhibit-debugger is bound instead.
7290
7291 2012-09-11 Bastien Guerry <bzg@gnu.org>
7292
7293 * subr.el (set-temporary-overlay-map): Add a docstring.
7294 (Bug#12346)
7295
7296 2012-09-11 Bastien Guerry <bzg@gnu.org>
7297
7298 * minibuffer.el (completion-table-subvert): Fix docstring.
7299 (Bug#12347)
7300
7301 2012-09-11 Bastien Guerry <bzg@gnu.org>
7302
7303 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
7304
7305 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
7306
7307 * progmodes/sql.el: Version 3.1
7308 (sql-db2-escape-newlines): New variable.
7309 (sql-escape-newlines-filter): Use it.
7310
7311 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
7312
7313 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
7314
7315 2012-09-10 Dan Nicolaescu <dann@gnu.org>
7316
7317 * vc/diff-mode.el (diff-mode-menu):
7318 Bind diff-remove-trailing-whitespace.
7319
7320 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7321
7322 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
7323 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
7324 (emacs-lisp-byte-code-mode): New functions.
7325 (eval-sexp-add-defvars): Don't skip defvars in column >0.
7326 (eval-defun-2): Remove bogus interactive spec.
7327 (lisp-indent-line): Remove redundant whole-exp code, now done in
7328 indent-according-to-mode.
7329 (save-match-data): Remove redundant indent data.
7330
7331 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
7332 Use `declare'.
7333
7334 2012-09-09 Juri Linkov <juri@jurta.org>
7335
7336 * replace.el (replace-regexp-lax-whitespace): New defcustom.
7337 (replace-lax-whitespace, query-replace-regexp)
7338 (query-replace-regexp-eval, replace-regexp): Doc fix.
7339 (perform-replace, replace-highlight): Let-bind
7340 isearch-lax-whitespace to replace-lax-whitespace and
7341 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
7342
7343 * isearch.el (isearch-query-replace): Let-bind
7344 replace-lax-whitespace to isearch-lax-whitespace and
7345 replace-regexp-lax-whitespace to
7346 isearch-regexp-lax-whitespace. (Bug#10885)
7347
7348 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
7349
7350 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
7351
7352 2012-09-09 Alan Mackenzie <acm@muc.de>
7353
7354 * progmodes/cc-engine.el (c-state-cache-init):
7355 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
7356 (c-record-parse-state-state):
7357 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
7358
7359 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
7360
7361 * register.el (register-separator): Rename from
7362 separator-register. All uses changed. Doc fix.
7363 (register): Fix version.
7364
7365 2012-09-09 Chong Yidong <cyd@gnu.org>
7366
7367 * replace.el (query-replace-map): Bind four new symbols for
7368 requesting window scrolling.
7369
7370 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
7371 query-replace-map (Bug#8948).
7372
7373 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
7374
7375 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
7376 since they are now in query-replace-map.
7377
7378 * window.el (scroll-other-window-down): Make the arg optional.
7379
7380 2012-09-09 Chong Yidong <cyd@gnu.org>
7381
7382 * files.el (hack-local-variables-confirm): Use quit-window to kill
7383 the *Local Variables* buffer.
7384
7385 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
7386
7387 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
7388 not just expect to be at its beginning. Adjust callees.
7389 Succeed when do-end block has no space before the pipe character.
7390 (ruby-brace-to-do-end): When the original block is one-liner,
7391 convert to multiline. Reindent the result.
7392
7393 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
7394
7395 * register.el (register): New group.
7396 (separator-register): New user option.
7397 (increment-register): Route it to `append-to-register', if
7398 register contains text. Implication is that `C-x r +' can now be
7399 used for appending to a text register (bug#12217).
7400 (append-to-register, prepend-to-register): Add separator based on
7401 `separator-register'.
7402
7403 2012-09-08 Alan Mackenzie <acm@muc.de>
7404
7405 AWK Mode: make auto-newline work when there's "==" in the pattern.
7406 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
7407 correctly.
7408 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
7409 Test more rigorously for "=" token.
7410
7411 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
7412
7413 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
7414 Only fail when reached LIMIT.
7415
7416 2012-09-08 Chong Yidong <cyd@gnu.org>
7417
7418 * dired.el (dired-mode-map): Don't bind M-=.
7419
7420 * dired-aux.el (dired-diff): Use backup file as default.
7421
7422 2012-09-08 Drew Adams <drew.adams@oracle.com>
7423
7424 * subr.el (add-to-history): Fix delete usage (Bug#12314).
7425
7426 2012-09-08 Chong Yidong <cyd@gnu.org>
7427
7428 * subr.el (syntax-after, syntax-class): Doc fix.
7429
7430 2012-09-08 Martin Rudalics <rudalics@gmx.at>
7431
7432 * window.el (display-buffer-in-previous-window): New buffer
7433 display action function.
7434
7435 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
7436 (debugger-previous-window): New variable.
7437 (debug): Rewrite using display-buffer-in-previous-window,
7438 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
7439
7440 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
7441
7442 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
7443
7444 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
7445
7446 * progmodes/python.el (python-shell-send-string):
7447 When default-directory is remote, create temp file on remote
7448 filesystem.
7449 (python-shell-send-file): When file is remote, pass local view of
7450 file paths to remote Python interpreter. (Bug#12340)
7451
7452 2012-09-07 Chong Yidong <cyd@gnu.org>
7453
7454 * window.el (switch-to-buffer): Doc fix (Bug#12181).
7455
7456 * files.el (after-find-file): Don't fail on a read-only buffer if
7457 require-final-newline is `visit' or `visit-save' (Bug#11156).
7458
7459 * subr.el (read-char-choice): Allow quitting via ESC ESC.
7460
7461 * userlock.el (ask-user-about-supersession-threat):
7462 Use read-char-choice (Bug#12093).
7463
7464 2012-09-07 Chong Yidong <cyd@gnu.org>
7465
7466 * subr.el (buffer-narrowed-p): New function.
7467
7468 * ses.el (ses-widen):
7469 * simple.el (count-words--buffer-message):
7470 * net/browse-url.el (browse-url-of-buffer): Use it.
7471
7472 * simple.el (count-words-region): Don't signal an error if there
7473 is a non-nil prefix arg and the mark is not set.
7474
7475 * help.el (describe-key-briefly): Allow the message to be seen
7476 when invoked from the minibuffer (Bug#7014).
7477
7478 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
7479
7480 * progmodes/ruby-mode.el (ruby-end-of-defun)
7481 (ruby-beginning-of-defun): Simplify, allow indentation before
7482 block beginning and end keywords.
7483 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
7484 (ruby-end-of-defun): Expect that the point is at the beginning of
7485 the defun.
7486
7487 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7488
7489 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
7490 (bug#12367).
7491 (cl--make-usage-args): Strip _ from argument names.
7492
7493 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7494
7495 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
7496 obsolete alias speedbar-key-map.
7497 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
7498 (vhdl-index-menu-init): Don't use obsolete variable
7499 font-lock-maximum-size.
7500
7501 2012-09-06 Chong Yidong <cyd@gnu.org>
7502
7503 * frame.el (window-system-version): Mark as obsolete.
7504
7505 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
7506 of obsolete variable speedbar-key-map.
7507
7508 2012-09-06 Juri Linkov <juri@jurta.org>
7509
7510 * replace.el (replace-lax-whitespace): New defcustom.
7511 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7512 (replace-string, replace-regexp): Mention it in docstrings.
7513 (perform-replace, replace-highlight): Let-bind
7514 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
7515 to the values of replace-lax-whitespace and regexp-flag.
7516 Don't let-bind search-whitespace-regexp. (Bug#10885)
7517
7518 * isearch.el (isearch-query-replace): Let-bind
7519 replace-lax-whitespace instead of let-binding
7520 replace-search-function and replace-re-search-function.
7521 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
7522 and isearch-regexp-lax-whitespace to lazy-highlight variables.
7523 (isearch-toggle-symbol): Set isearch-regexp to nil
7524 in isearch-word mode (like in isearch-toggle-word).
7525
7526 2012-09-06 Juri Linkov <juri@jurta.org>
7527
7528 * replace.el (replace-search-function)
7529 (replace-re-search-function): Set default values to nil.
7530 (perform-replace): Let-bind isearch-related variables based on
7531 replace-related values, call `isearch-search-fun' and let-bind
7532 the result to `search-function'. Remove code that sets
7533 `search-function' and `search-string' separately for
7534 `delimited-flag'.
7535 (replace-highlight): Add new argument `delimited-flag' and
7536 rename other arguments to the names used in `perform-replace'.
7537 Let-bind `isearch-word' to the argument `delimited-flag'.
7538 (Bug#10885, bug#10887)
7539
7540 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
7541
7542 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
7543 ruby-beginning-of-indent, simplify, allow all keywords to have
7544 indentation before them.
7545 (ruby-beginning-of-indent): Adjust for above. Search until the
7546 found point is not inside a string or comment.
7547 (ruby-font-lock-keywords): Allow symbols to start with "@"
7548 character, give them higher priority than variables.
7549 (ruby-syntax-propertize-function)
7550 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
7551 matchers. Expression expansions are not comments when inside a
7552 string, and there comment syntax status is irrelevant.
7553 (ruby-match-expression-expansion): New function. Check that
7554 expression expansion is inside a string, and it's not escaped.
7555 (ruby-font-lock-keywords): Use it.
7556
7557 2012-09-05 Martin Rudalics <rudalics@gmx.at>
7558
7559 * help.el (temp-buffer-max-height): New default value.
7560 (temp-buffer-resize-frames): New option.
7561 (resize-temp-buffer-window): Optionally resize frame.
7562
7563 * window.el (fit-frame-to-buffer-bottom-margin): New option.
7564 (fit-frame-to-buffer): New function.
7565
7566 2012-09-05 Glenn Morris <rgm@gnu.org>
7567
7568 * emulation/cua-rect.el (cua--init-rectangles):
7569 * textmodes/picture.el (picture-mode-map):
7570 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
7571 like forward-char and backward-char. (Bug#12317)
7572
7573 2012-09-05 Leo Liu <sdl.web@gmail.com>
7574
7575 * progmodes/flymake.el (flymake-warning-re): New variable.
7576 (flymake-parse-line): Use it.
7577
7578 2012-09-05 Glenn Morris <rgm@gnu.org>
7579
7580 * calendar/holidays.el (holiday-christian-holidays):
7581 Rename an entry. (Bug#12289)
7582
7583 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7584
7585 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
7586 (bug#12222).
7587
7588 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7589
7590 * loadup.el: Load macroexp. Remove hack.
7591 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
7592 (macroexp--expand-all): Use it to get better warnings.
7593 (macroexp--backtrace, macroexp--trim-backtrace-frame)
7594 (internal-macroexpand-for-load): New functions.
7595 (macroexp--pending-eager-loads): New var.
7596 (emacs-startup-hook): New hack to replace one in loadup.el.
7597 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
7598 (cl--compiler-macro-cXXr): Move to top, before they can be used.
7599 (cl-psetf): Simplify.
7600 (cl-defstruct): Add indent rule.
7601
7602 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
7603
7604 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
7605 over `user-mail-address' for the SMTP MAIL FROM envelope.
7606 (smtpmail-via-smtp): Ditto.
7607
7608 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
7609
7610 * progmodes/ruby-mode.el: Clean up keybindings.
7611 (ruby-mode-map): Don't bind ruby-electric-brace,
7612 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
7613 backward-kill-word, reindent-then-newline-and-indent.
7614 (ruby-mark-defun): Remove.
7615 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
7616 (ruby-mode): Set local beginning-of-defun-function and
7617 end-of-defun-function values.
7618
7619 2012-09-03 Martin Rudalics <rudalics@gmx.at>
7620
7621 * window.el (temp-buffer-window-setup-hook)
7622 (temp-buffer-window-show-hook): New hooks.
7623 (temp-buffer-window-setup, temp-buffer-window-show)
7624 (with-temp-buffer-window): New functions.
7625 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
7626 (special-display-popup-frame): Make sure the window used shows BUFFER.
7627
7628 * help.el (temp-buffer-resize-mode): Fix doc-string.
7629 (resize-temp-buffer-window): New optional argument WINDOW.
7630
7631 * files.el (recover-file, save-buffers-kill-emacs):
7632 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
7633
7634 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
7635
7636 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
7637 remote definition of `default-directory', ensure we can connect.
7638
7639 2012-09-02 Juri Linkov <juri@jurta.org>
7640
7641 Toggle whitespace matching mode with M-s SPC.
7642 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
7643
7644 * isearch.el (search-whitespace-regexp): Doc fix.
7645 Remove cons cell customization.
7646 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
7647 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
7648 New variables.
7649 (isearch-forward, isearch-forward-regexp): Doc fix.
7650 (isearch-toggle-lax-whitespace): New command.
7651 (search-forward-lax-whitespace, search-backward-lax-whitespace)
7652 (re-search-forward-lax-whitespace)
7653 (re-search-backward-lax-whitespace): New functions.
7654 (isearch-whitespace-regexp): Remove function.
7655 (isearch-query-replace): Let-bind replace-search-function and
7656 replace-re-search-function.
7657 (isearch-occur): Let-bind search-spaces-regexp according to the
7658 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
7659 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
7660 condition for C-q SPC.
7661 (isearch-search-fun-default): Use new functions mentioned above.
7662 (isearch-search-forward, isearch-search-backward): Remove functions.
7663 (isearch-search): Don't let-bind search-spaces-regexp.
7664 (isearch-lazy-highlight-space-regexp): Remove variable.
7665 (isearch-lazy-highlight-lax-whitespace)
7666 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
7667 (isearch-lazy-highlight-new-loop): Use them.
7668 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
7669
7670 2012-09-02 Chong Yidong <cyd@gnu.org>
7671
7672 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
7673
7674 2012-09-02 Glenn Morris <rgm@gnu.org>
7675
7676 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
7677
7678 2012-09-01 Glenn Morris <rgm@gnu.org>
7679
7680 * term.el: Tidy up menu definitions.
7681 (term-mode-map): Use easymenu for In/Out, Complete menus.
7682 (term-pager-break-map): Initialize in the defvar.
7683 (term-terminal-menu, term-signals-menu): Define with easymenu.
7684 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
7685 (term-pager-menu): New, extracted from term-process-pager.
7686 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
7687 (term-update-mode-line): Propertize line/char and page items.
7688 (term-process-pager): Move keymap initialization elsewhere.
7689
7690 2012-09-01 Martin Rudalics <rudalics@gmx.at>
7691
7692 * window.el (switch-to-prev-buffer): Handle additional values of
7693 BURY-OR-KILL argument. Don't switch in minibuffer window.
7694 (switch-to-next-buffer): Don't switch in minibuffer window.
7695 (quit-restore-window): New function based on quit-window.
7696 Handle additional values of former KILL argument.
7697 (quit-window): Call quit-restore-window with appropriate
7698 interpretation of KILL argument.
7699 (display-buffer-below-selected): New buffer display action
7700 function.
7701
7702 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
7703
7704 * minibuffer.el (completion-at-point-functions): Complete docstring
7705 (bug#12254).
7706
7707 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
7708
7709 Better seed support for (random).
7710 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
7711 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
7712 * play/mpuz.el, play/tetris.el, play/zone.el:
7713 * calc/calc-comb.el (math-init-random-base):
7714 * play/blackbox.el (bb-init-board):
7715 * play/life.el (life):
7716 * server.el (server-use-tcp):
7717 * type-break.el (type-break):
7718 Remove unnecessary call to (random t).
7719 * net/sasl.el (sasl-unique-id-function):
7720 Change (random t) to (random), now that the latter is more random.
7721 * play/life.el (life-initialized): Remove no-longer-needed var.
7722
7723 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
7724
7725 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
7726 Consider frame's buffer predicate when choosing the buffer.
7727 (Bug#12081)
7728
7729 2012-08-30 Richard Stallman <rms@gnu.org>
7730
7731 * simple.el (special-mode-map): Delete binding for `z'.
7732
7733 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
7734
7735 * progmodes/compile.el (compilation-always-kill): Doc fix.
7736
7737 2012-08-30 Chong Yidong <cyd@gnu.org>
7738
7739 * window.el (display-buffer-reuse-frames): Make the obsolescence
7740 message more informative.
7741
7742 2012-08-30 Glenn Morris <rgm@gnu.org>
7743
7744 * paren.el (show-paren-delay):
7745 Add a :set function. Doc fix. (Bug#12297)
7746
7747 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
7748
7749 * progmodes/compile.el (compilation-always-kill): New var.
7750 (compilation-start): Use it.
7751
7752 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7753
7754 * simple.el (read-only-mode): Move from files.el for bootstrapping.
7755 * files.el (read-only-mode): Move to simple.el.
7756
7757 * files.el (read-only-mode): New minor mode.
7758 (toggle-read-only): Use it and mark obsolete.
7759 (find-file--read-only):
7760 * vc/vc.el (vc-next-action, vc-checkout):
7761 * vc/vc-cvs.el (vc-cvs-checkout):
7762 * obsolete/vc-mcvs.el (vc-mcvs-update):
7763 * ffap.el (ffap--toggle-read-only): Update callers.
7764
7765 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
7766
7767 * eshell/esh-ext.el (eshell-external-command): Do not examine
7768 remote shell scripts.
7769 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
7770
7771 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
7772 "/usr/local/sbin".
7773
7774 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7775
7776 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
7777
7778 2012-08-28 Leo Liu <sdl.web@gmail.com>
7779
7780 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
7781 completion-at-point. (Bug#12220)
7782
7783 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
7784
7785 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
7786
7787 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7788
7789 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
7790 be buffer-local; add delete-trailing-whitespace (bug#12259).
7791
7792 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
7793
7794 * progmodes/hideif.el (hif-compress-define-list):
7795 Fix typo. (Bug#11951)
7796
7797 2012-08-28 Dan Nicolaescu <dann@gnu.org>
7798
7799 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
7800 buffer local setting.
7801
7802 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
7803 rcirc-encode-coding-system.
7804
7805 2012-08-28 Leo Liu <sdl.web@gmail.com>
7806
7807 * net/rcirc.el (rcirc-split-message): New function.
7808 (rcirc-send-message): Use it. (Bug#12051)
7809
7810 2012-08-28 Juri Linkov <juri@jurta.org>
7811
7812 * info.el (Info-fontify-node): Hide empty lines at the end of
7813 the node. (Bug#12272)
7814
7815 2012-08-27 Drew Adams <drew.adams@oracle.com>
7816
7817 * dired.el (dired-pop-to-buffer): Make window start at beginning
7818 of buffer (Bug#12281).
7819
7820 2012-08-26 Chong Yidong <cyd@gnu.org>
7821
7822 * window.el (special-display-regexps, special-display-frame-alist)
7823 (special-display-buffer-names, special-display-function)
7824 (display-buffer-reuse-frames): Mark as obsolete.
7825
7826 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
7827
7828 * help.el (help-print-return-message): Don't treat
7829 display-buffer-reuse-frames specially.
7830
7831 2012-08-26 Chong Yidong <cyd@gnu.org>
7832
7833 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
7834 New variable, replacing gdb-frame-parameters.
7835 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
7836 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
7837 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
7838 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
7839 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
7840 the functions directly with gdb-display-buffer-other-frame-action.
7841 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
7842 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
7843 (gdb-display-stack-buffer, gdb-display-locals-buffer)
7844 (gdb-display-registers-buffer): Define directly.
7845 (def-gdb-display-buffer): Macro deleted.
7846 (gdb-display-buffer): Remove second and third args, callers don't
7847 use them. Defer to the default display-buffer behavior, apart
7848 from making windows dedicated.
7849 (gdb-setup-windows): Don't call display-buffer unnecessarily.
7850
7851 * progmodes/gud.el (gud-display-line): Just use display-buffer.
7852
7853 * window.el (display-buffer-pop-up-frame): Handle a
7854 pop-up-frame-parameters alist entry.
7855 (display-buffer): Document it.
7856
7857 2012-08-26 Chong Yidong <cyd@gnu.org>
7858
7859 * isearch.el (search-whitespace-regexp): Make string and nil
7860 values apply to both ordinary and regexp search. Allow a cons
7861 cell value to distinguish between the two.
7862 (isearch-whitespace-regexp, isearch-search-forward)
7863 (isearch-search-backward): New functions.
7864 (isearch-occur, isearch-search-fun-default, isearch-search)
7865 (isearch-lazy-highlight-new-loop): Use them.
7866 (isearch-forward, isearch-forward-regexp): Doc fix.
7867
7868 2012-08-26 Chong Yidong <cyd@gnu.org>
7869
7870 * faces.el (help-argument-name): Always inherit from italic
7871 (Bug#12213).
7872
7873 2012-08-25 Martin Rudalics <rudalics@gmx.at>
7874
7875 * window.el (window--even-window-heights): Even heights when
7876 WINDOW and the selected window form a vertical combination.
7877 (display-buffer-use-some-window): Provide that window used gets
7878 sized back by quit-window. (Bug#11880) and (Bug#12091)
7879
7880 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
7881
7882 Fix file time stamp problem with bzr and CVS (Bug#12001).
7883 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
7884 in the file's time stamp, since the version control system loses
7885 that information.
7886
7887 2012-08-22 Juri Linkov <juri@jurta.org>
7888
7889 * info.el (Info-fontify-node): Hide the suffix of the
7890 Info file name in the header line. (Bug#12187)
7891
7892 2012-08-22 Glenn Morris <rgm@gnu.org>
7893
7894 * calendar/cal-tex.el (cal-tex-weekly-common):
7895 Restore leading blank page.
7896
7897 2012-08-22 Le Wang <l26wang@gmail.com>
7898
7899 * misc.el (forward-to-word, backward-to-word): Activate or extend
7900 the region under `shift-select-mode'. (Bug#12231)
7901
7902 2012-08-22 Bastien Guerry <bzg@gnu.org>
7903
7904 * progmodes/executable.el (executable-prefix): Set to "#!" instead
7905 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
7906 gives details on why the space is never needed.
7907
7908 2012-08-22 Martin Rudalics <rudalics@gmx.at>
7909
7910 * window.el (walk-window-tree, window-with-parameter):
7911 New optional argument MINIBUF to control whether these functions
7912 should run on the minibuffer window.
7913 (window-at-side-list): Don't operate on minibuffer window.
7914 (window-in-direction): Simplify and rewrite doc-string.
7915 (window--size-ignore): Rename to window--size-ignore-p.
7916 Update callers.
7917 (display-buffer-in-atom-window, window--major-non-side-window)
7918 (window--major-side-window, display-buffer-in-major-side-window)
7919 (delete-side-window, display-buffer-in-side-window):
7920 New functions.
7921 (window--side-check, window-deletable-p, delete-window)
7922 (delete-other-windows, split-window): Handle side windows and
7923 atomic windows appropriately.
7924 (window--display-buffer): Call display-buffer-record-window also
7925 when the window buffer did not change.
7926
7927 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
7928
7929 * help-fns.el (help-fns--key-bindings):
7930 Abbreviate non-symbol remap targets. (Bug#12174)
7931
7932 2012-08-22 Martin Rudalics <rudalics@gmx.at>
7933
7934 * dired.el (dired-mark-remembered): Don't clobber point.
7935 (Bug#11795)
7936
7937 2012-08-22 Glenn Morris <rgm@gnu.org>
7938
7939 * progmodes/bug-reference.el (bug-reference): New custom group.
7940 (bug-reference-bug-regexp): Make it a defcustom.
7941
7942 2012-08-22 Daiki Ueno <ueno@unixuser.org>
7943
7944 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
7945 (js-paren-indent-offset, js-square-indent-offset)
7946 (js-curly-indent-offset): Add :safe (Bug#12257).
7947
7948 2012-08-22 Edward O'Connor <hober0@gmail.com>
7949
7950 * json.el (json-key-format): Add error properties.
7951 (json-encode-key): New function.
7952 (json-encode-hash-table, json-encode-alist, json-encode-plist):
7953 Use json-encode-key.
7954
7955 2012-08-22 Glenn Morris <rgm@gnu.org>
7956
7957 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
7958 (cal-tex-leftday, cal-tex-rightday): Remove functions.
7959 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
7960 Update for above change.
7961
7962 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
7963
7964 * cus-face.el (custom-face-attributes): Fix customize type for the
7965 :underline attribute. (Bug#11805)
7966
7967 2012-08-21 Martin Rudalics <rudalics@gmx.at>
7968
7969 * window.el (window-point-1, set-window-point-1): Remove.
7970 (window-in-direction, record-window-buffer)
7971 (set-window-buffer-start-and-point, split-window-below)
7972 (window--state-get-1, display-buffer-record-window):
7973 Replace calls to window-point-1 and set-window-point-1 by calls to
7974 window-point and set-window-point respectively.
7975
7976 2012-08-21 Glenn Morris <rgm@gnu.org>
7977
7978 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
7979 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
7980 Use it.
7981
7982 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
7983 (cal-tex-shortday): New function.
7984 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
7985 (cal-tex-cursor-filofax-daily): Use the above.
7986
7987 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
7988 New functions.
7989 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
7990 (cal-tex-cursor-filofax-week): Use them.
7991
7992 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
7993 New constants.
7994 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
7995 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
7996
7997 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
7998 (cal-tex-end-document): Don't rely on buffer name.
7999
8000 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
8001 Use cal-tex-vspace.
8002 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
8003 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
8004 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
8005 Use cal-tex-arg.
8006
8007 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
8008 (cal-tex-cursor-week, cal-tex-cursor-week2)
8009 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
8010 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
8011 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
8012 (cal-tex-insert-preamble, cal-tex-b-document)
8013 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
8014 Improve cal-tex-cmd usage.
8015
8016 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
8017 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
8018 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
8019 (cal-tex-weekly-paper): New function.
8020 (cal-tex-cursor-week, cal-tex-cursor-week2)
8021 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
8022 (cal-tex-cursor-day): Use it.
8023
8024 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
8025 (cal-tex-cursor-filofax-week): Remove leading blank page.
8026
8027 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
8028 Add autoload cookie. For now at least, don't use color, since
8029 no other cal-tex function does.
8030
8031 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
8032 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
8033 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
8034
8035 2012-08-21 Juri Linkov <juri@jurta.org>
8036
8037 * info.el (Info-file-attributes): New variable.
8038 (info-insert-file-contents): Add file attributes to
8039 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
8040 `Info-toc-nodes' when previous modtime of the Info file is less
8041 than new modtime.
8042 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
8043 of info.el. (Bug#12230)
8044
8045 2012-08-20 Glenn Morris <rgm@gnu.org>
8046
8047 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
8048 * calendar/holidays.el (calendar-holiday-list):
8049 Report errors with display-warning rather than beep'n'sleep.
8050
8051 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
8052
8053 * net/tramp.el (tramp-accept-process-output): Accept only output
8054 from PROC. Otherwise, process filters and sentinels might be
8055 confused. (Bug#12145)
8056
8057 2012-08-20 Chong Yidong <cyd@gnu.org>
8058
8059 * descr-text.el (describe-text-properties-1): Use overlays-in to
8060 report on empty overlays (Bug#3322).
8061
8062 2012-08-20 Glenn Morris <rgm@gnu.org>
8063
8064 * mail/rmailout.el (rmail-output-read-file-name):
8065 Trap and report errors in rmail-output-file-alist elements.
8066
8067 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
8068 since most non-font-lock faces are not also variables).
8069
8070 2012-08-20 Edward Reingold <reingold@iit.edu>
8071
8072 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
8073 New function. (Bug12160)
8074
8075 2012-08-19 Glenn Morris <rgm@gnu.org>
8076
8077 * mail/rmailout.el (rmail-output-read-file-name):
8078 Fix previous change (when the alist is nil or does not match).
8079
8080 2012-08-19 Chong Yidong <cyd@gnu.org>
8081
8082 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
8083 (Bug#12228).
8084
8085 2012-08-18 Chong Yidong <cyd@gnu.org>
8086
8087 * simple.el (yank-handled-properties): New defcustom.
8088 (yank-excluded-properties): Add font-lock-face and category.
8089 (yank): Doc fix.
8090
8091 * subr.el (remove-yank-excluded-properties):
8092 Obey yank-handled-properties. The special handling of font-lock-face
8093 and category is now done this way, instead of being hard-coded.
8094 (insert-for-yank-1): Remove font-lock-face handling.
8095 (yank-handle-font-lock-face-property)
8096 (yank-handle-category-property): New function.
8097
8098 2012-08-17 Glenn Morris <rgm@gnu.org>
8099
8100 * mail/rmailout.el (rmail-output-read-file-name):
8101 Check rmail-output-file-alist against the full message body
8102 in the correct rmail buffer. (Bug#12214)
8103
8104 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
8105
8106 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
8107 Eliminate superfluous prompt. (Bug#12203)
8108
8109 2012-08-17 Chong Yidong <cyd@gnu.org>
8110
8111 * mouse.el (mouse-appearance-menu): If x-select-font returns a
8112 font spec, set the font directly (Bug#3228).
8113
8114 2012-08-17 Martin Rudalics <rudalics@gmx.at>
8115
8116 * window.el (delete-window): Fix last fix.
8117
8118 2012-08-16 Martin Rudalics <rudalics@gmx.at>
8119
8120 * window.el (window-valid-p): Move to window.c.
8121 (window-child, window-child-count, window-last-child)
8122 (window-normalize-window, window-combined-p)
8123 (window-combinations, window-atom-root, window-min-size)
8124 (window-sizable, window-sizable-p, window-size-fixed-p)
8125 (window-min-delta, window-max-delta, window--resizable)
8126 (window--resizable-p, window-resizable, window-total-size)
8127 (window-full-height-p, window-full-width-p, window-body-size)
8128 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
8129 (minimize-window, window-deletable-p, delete-window)
8130 (delete-other-windows, set-window-buffer-start-and-point)
8131 (next-buffer, previous-buffer, split-window, balance-windows-2)
8132 (set-window-text-height, window-buffer-height)
8133 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
8134 (truncated-partial-width-window-p): Minor code adjustments.
8135 In doc-strings state whether the argument window has to denote a
8136 live, valid or any window.
8137
8138 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
8139
8140 * progmodes/subword.el (subword-forward-function)
8141 (subword-backward-function, subword-forward-regexp)
8142 (subword-backward-regexp): New variables.
8143 (subword-forward, subword-forward-internal, subword-backward-internal):
8144 Use new variables, eg so that different "word" definitions
8145 can be easily used. (Bug#11411)
8146
8147 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8148
8149 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
8150 for composite selectors.
8151 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
8152 operation just because we can't find a previous revision.
8153
8154 2012-08-15 Chong Yidong <cyd@gnu.org>
8155
8156 * frame.el (set-frame-font): Accept font objects.
8157
8158 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8159
8160 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
8161
8162 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
8163
8164 * man.el (Man-overstrike-face, Man-underline-face)
8165 (Man-reverse-face): Remove variables.
8166 (Man-overstrike, Man-underline, Man-reverse): New faces.
8167 (Man-fontify-manpage): Use them instead of the variables.
8168 (Man-cleanup-manpage): Comment change.
8169 (Man-ansi-color-map): New variable.
8170 (Man-fontify-manpage): Use it.
8171 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
8172
8173 Implement ANSI SGR parameters 22-27 (bug#12146).
8174 * ansi-color.el (ansi-colors): Doc fix.
8175 (ansi-color-context, ansi-color-context-region): Doc fix.
8176 (ansi-color--find-face): New function.
8177 (ansi-color-apply, ansi-color-apply-on-region): Use it.
8178 Rename the local variable `face' to `codes' since it is now a list of
8179 ansi codes. Doc fix.
8180 (ansi-color-get-face): Remove.
8181 (ansi-color-parse-sequence): New function, derived from
8182 ansi-color-get-face.
8183 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
8184 codes 22-27.
8185
8186 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
8187
8188 * subr.el (read-passwd): Allow use from a minibuffer.
8189
8190 2012-08-14 Eli Zaretskii <eliz@gnu.org>
8191
8192 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
8193 inside comments and strings as identifiers.
8194
8195 * progmodes/gud.el (gud-tooltip-print-command): Quote the
8196 expression to evaluate. This allows to evaluate expressions with
8197 embedded whitespace.
8198 (gud-tooltip-tips): Add a blank before the newline in the
8199 message-box text, for the benefit of message-box emulation on
8200 MS-Windows.
8201
8202 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
8203 messages from GDB, pop them up in a tooltip to give feedback to
8204 user.
8205 (gdb-tooltip-print-1): Quote the expression to evaluate.
8206 This allows to evaluate expressions with embedded whitespace.
8207 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
8208 if the TTY name is nil or empty (which happens when communicating
8209 with the inferior via pipes, e.g. on MS-Windows).
8210 (gdb-internals): If GDB sends a "&\n" empty debugging message,
8211 don't send that to the GUD buffer.
8212
8213 2012-08-14 Glenn Morris <rgm@gnu.org>
8214
8215 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
8216 Optimize away setq-default with no args, as for setq. (Bug#12195)
8217
8218 2012-08-14 Chong Yidong <cyd@gnu.org>
8219
8220 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
8221
8222 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
8223 (Bug#12085).
8224
8225 2012-08-14 Glenn Morris <rgm@gnu.org>
8226
8227 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
8228
8229 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
8230
8231 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
8232 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8233 Use cached shell name.
8234
8235 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
8236
8237 * progmodes/python.el (python-shell-send-string):
8238 (python-shell-send-setup-code): Do not use `format' with `message'.
8239
8240 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
8241
8242 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
8243 (ruby-percent-literal-beg-re): New constant.
8244 (ruby-syntax-general-delimiters-goto-beg): Rename to
8245 `ruby-syntax-enclosing-percent-literal', improve literal type check.
8246 (ruby-syntax-propertize-general-delimiters): Rename to
8247 `ruby-syntax-propertize-percent-literal', it's a shorter and more
8248 popular term. Adjust comments everywhere.
8249 (ruby-syntax-propertize-percent-literal): Only propertize when not
8250 inside a simple string or comment. When the literal is unclosed,
8251 leave the text after it unpropertized.
8252 (ruby-syntax-methods-before-regexp): New constant.
8253 (ruby-syntax-propertize-function): Use it to recognize regexps.
8254 Don't look at the text after regexp, just use the whitelist.
8255
8256 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
8257
8258 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
8259 non-nil always load the compiled file if it exists. (Bug#12197)
8260
8261 2012-08-14 Chong Yidong <cyd@gnu.org>
8262
8263 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
8264 (hi-lock-set-pattern): When deciding whether to use font lock or
8265 overlays, look at font-lock-mode instead of font-lock-fontified
8266 (Bug#12168).
8267 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
8268 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
8269
8270 2012-08-14 Daiki Ueno <ueno@unixuser.org>
8271
8272 * subr.el (internal--after-with-selected-window): Fix typo
8273 (Bug#12193).
8274
8275 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
8276
8277 Use `completion-table-dynamic' for completion functions.
8278 * progmodes/python.el
8279 (python-shell-completion--do-completion-at-point)
8280 (python-shell-completion--get-completions):
8281 Remove functions.
8282 (python-shell-completion-complete-at-point): New function.
8283 (python-completion-complete-at-point): Use it.
8284
8285 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
8286
8287 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
8288 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
8289
8290 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
8291
8292 * subr.el (function-get): Refine `autoload' arg so it can also
8293 autoload functions for gv.el (bug#12191).
8294 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
8295 autoloads macros.
8296
8297 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
8298 Prefer pcase-let over destructuring-bind.
8299 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
8300 Also, remove whitespace as we go, rather than after accumulating the
8301 various places.
8302
8303 * subr.el (internal--before-with-selected-window)
8304 (internal--after-with-selected-window): Fix typo seleted->selected.
8305 (with-selected-window): Adjust callers.
8306 Reported by Dmitry Gutov <dgutov@yandex.ru>.
8307
8308 2012-08-13 Bastien Guerry <bzg@gnu.org>
8309
8310 * window.el (special-display-popup-frame): Minor docstring
8311 enhancement. (Bug#12172)
8312
8313 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
8314
8315 * tar-mode.el (tar-header-data-end): Only ignore size for files of
8316 type 1-6.
8317 (tar-header-block-summarize, tar-get-descriptor): Handle pax
8318 extended headers.
8319
8320 * files.el (hack-local-variables-filter): Remove useless eval.
8321
8322 2012-08-13 Martin Rudalics <rudalics@gmx.at>
8323
8324 * subr.el (with-selected-window): Fix last change.
8325
8326 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8327
8328 * subr.el (internal--before-with-seleted-window)
8329 (internal--after-with-seleted-window): New functions.
8330 (with-selected-window): Use them, to replace dependency on
8331 tty-top-frame.
8332
8333 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
8334
8335 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
8336 binding for `newline'.
8337 (ruby-move-to-block): When moving backward, stop at block opening,
8338 not indentation.
8339 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
8340 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
8341 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
8342 `ruby-toggle-block'.
8343
8344 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8345
8346 * ibuffer.el (ibuffer-do-toggle-read-only):
8347 * dired.el (dired-toggle-read-only):
8348 * buff-menu.el (Buffer-menu-toggle-read-only):
8349 * bindings.el (mode-line-toggle-read-only):
8350 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
8351
8352 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
8353
8354 * descr-text.el (describe-char): Put the overlays over the
8355 "displayed as" character.
8356
8357 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
8358
8359 * calc/calc-units.el (math-default-units-table): Give an
8360 initial value.
8361 (math-put-default-units): Add options to put composite units and
8362 unit systems in the default units table.
8363 (calc-convert-units): Send composite units to
8364 `math-put-default-units' when appropriate.
8365
8366 2012-08-11 Glenn Morris <rgm@gnu.org>
8367
8368 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
8369
8370 * tutorial.el (help-with-tutorial):
8371 * emacs-lisp/copyright.el (copyright-update-directory):
8372 * emacs-lisp/autoload.el (autoload-find-generated-file)
8373 (autoload-find-file): Disable local eval: (for insurance).
8374
8375 * files.el (hack-local-variables-filter): If an eval: form is not
8376 known to be safe, and enable-local-variables is :safe, then ignore
8377 the form totally, as is done for non-eval forms. (Bug#12155)
8378 This is CVE-2012-3479.
8379
8380 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8381
8382 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
8383 (rx-form): Simplify.
8384
8385 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
8386
8387 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
8388 ?, _, and : are symbol constituents, ! is not (but kinda should be).
8389 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
8390 (ruby-syntax-propertize-function): Adjust for changes in
8391 `ruby-syntax-propertize-heredoc'.
8392
8393 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
8394
8395 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
8396 binding (use `M-;' instead).
8397 (ruby-singleton-class-p): New function.
8398 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
8399
8400 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8401
8402 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
8403
8404 2012-08-10 Chong Yidong <cyd@gnu.org>
8405
8406 * progmodes/python.el (python-shell-get-process-name): Don't mess
8407 with same-window-buffer-names.
8408
8409 * eshell/eshell.el (eshell-add-to-window-buffer-names)
8410 (eshell-remove-from-window-buffer-names): Make obsolete.
8411 (eshell-buffer-name, eshell-unload-hook): Don't use them.
8412 (eshell): Just use pop-to-buffer-same-window instead.
8413
8414 2012-08-10 Chong Yidong <cyd@gnu.org>
8415
8416 * bindings.el: Bind M-= back to count-words-region.
8417
8418 * simple.el (count-words-region): Accept a prefix arg for acting
8419 on the entire buffer.
8420 (count-words--buffer-message): New helper function.
8421
8422 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8423
8424 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
8425 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
8426 (event-start, event-end): Use posn-at-point to return a more
8427 informative posn.
8428 (posnp): New function.
8429 * mouse.el (popup-menu-normalize-position): Use it.
8430
8431 2012-08-10 Masatake YAMATO <yamato@redhat.com>
8432
8433 * mouse.el (popup-menu-normalize-position): New function.
8434 (popup-menu): Use `popup-menu-normalize-position' to normalize
8435 the form for POSITION argument.
8436
8437 * term/x-win.el (x-menu-bar-open):
8438 Use the value returend from (posn-at-point) as position
8439 passed to `popup-menu'.
8440
8441 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
8442
8443 * calc/calccomp.el (math-compose-expr): Add extra argument
8444 indicating that parentheses should be put around products in
8445 denominators. Give multiplication precedence over division during
8446 composition.
8447
8448 2012-08-09 Chong Yidong <cyd@gnu.org>
8449
8450 * man.el (Man-switches, Man-sed-command, Man-awk-command)
8451 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
8452 (Man-untabify-command, manual-program): Convert to defcustom
8453 (Bug#10429).
8454
8455 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
8456
8457 * descr-text.el (describe-char): Don't insert extra newlines
8458 (Bug#10127).
8459
8460 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
8461 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
8462
8463 * align.el (align-region): Delete temporary markers (Bug#10047).
8464 Plus some code cleanups.
8465
8466 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
8467
8468 * progmodes/python.el (python-pdbtrack-tracked-buffer)
8469 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
8470 (python-shell-internal-last-output): Use make-local-variable
8471 instead of make-variable-buffer-local.
8472
8473 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
8474
8475 * progmodes/python.el: Enhancements to forward-sexp.
8476 (python-nav-forward-sexp): Rename from
8477 python-nav-forward-sexp-function.
8478 (python-nav--forward-sexp, python-nav--backward-sexp):
8479 New functions.
8480
8481 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
8482
8483 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
8484 modes and simplification modes.
8485
8486 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
8487
8488 * delsel.el (delete-selection-pre-hook): Don't propagate the
8489 file-supersession signals (bug#12161).
8490
8491 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8492
8493 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
8494 (cl-map-extents): Add compatibility aliases (bug#12135).
8495
8496 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
8497
8498 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
8499 tests by `ignore-error'.
8500 (tramp-find-shell): Open also a new shell, when cache is already
8501 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
8502
8503 2012-08-08 Juri Linkov <juri@jurta.org>
8504
8505 * bookmark.el: Add `defaults' property to the bookmark record.
8506 (bookmark-current-buffer): Doc fix.
8507 (bookmark-make-record): Add `defaults' property with default values
8508 to the bookmark record.
8509 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
8510 with `bookmark-insert-current-bookmark'.
8511 (bookmark-set): Get `defaults' property from the bookmark record
8512 and use it in `read-from-minibuffer'.
8513 (bookmark-insert-current-bookmark): Remove function.
8514
8515 * info.el (Info-bookmark-make-record): Add `defaults' property
8516 with values of canonical Info node name, the current Info file
8517 name and the current Info node name. (Bug#12107)
8518
8519 2012-08-08 Juri Linkov <juri@jurta.org>
8520
8521 * files.el (basic-save-buffer): Use `buffer-name' as the default
8522 of `read-file-name' when buffer is not visiting a file (bug#12128).
8523
8524 2012-08-08 Juri Linkov <juri@jurta.org>
8525
8526 * info.el (Info-isearch-search): Doc fix.
8527 (Info-search): Change search-failed message from "initial node" to
8528 "end of node" (bug#12078).
8529 (Info-isearch-search): Change `isearch-string-state' to
8530 `isearch--state-string'.
8531
8532 2012-08-08 Glenn Morris <rgm@gnu.org>
8533
8534 * language/persian.el: Remove file.
8535 * language/misc-lang.el: Move unique part of persian.el here.
8536 * loadup.el: Remove language/persian.
8537
8538 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
8539
8540 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
8541
8542 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
8543
8544 * progmodes/python.el: Fix defsubst warning.
8545 (python-syntax-context) Rename from python-info-ppss-context.
8546 (python-syntax-context-type): Rename from
8547 python-info-ppss-context-type.
8548 (python-syntax-comment-or-string-p): Rename from
8549 python-info-ppss-comment-or-string-p.
8550
8551 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
8552
8553 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
8554
8555 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
8556
8557 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
8558 a defcustom that is quoted with backquote.
8559
8560 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
8561 Fix handling of interactive spec when the body uses return.
8562 (math-do-arg-check, math-define-function-body): Use backquote forms.
8563 * calc/calc-ext.el (math-defcache): Likewise.
8564 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
8565 * allout.el (allout-new-exposure): Likewise.
8566 * calc/calcalg2.el (math-tracing-integral): Likewise.
8567 * info.el (Info-last-menu-item): Likewise.
8568 * emulation/vip.el (vip-loop): Likewise.
8569 * textmodes/artist.el (artist-funcall): Likewise.
8570 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
8571 Construct menu-item directly.
8572
8573 * progmodes/autoconf.el (font-lock-syntactic-keywords):
8574 Don't declare.
8575
8576 2012-08-07 Chong Yidong <cyd@gnu.org>
8577
8578 * simple.el (deactivate-mark): Preserve text properties when
8579 saving the primary selection (Bug#8384).
8580
8581 2012-08-07 Kevin Ryde <user42@zip.com.au>
8582
8583 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
8584 (woman-parse-numeric-value): On a bad .IP line, issue a warning
8585 and continue processing (Bug#12110).
8586
8587 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
8588
8589 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
8590 syntax-propertize-function (bug#10095).
8591
8592 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
8593
8594 * help-fns.el (help-fns--key-bindings, help-fns--signature)
8595 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
8596 describe-function-1.
8597 (describe-function-1): Use them. Move compiler macro after sig.
8598 (help-fns--compiler-macro): Use function-get. Assume we're already in
8599 standard-output. Adjust layout to new call order.
8600
8601 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
8602 re-binding a symbol that has a symbol-macro (bug#12119).
8603
8604 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
8605
8606 * language/persian.el: New file. (Bug#11812)
8607 * loadup.el: Add language/persian.el.
8608
8609 2012-08-06 Chong Yidong <cyd@gnu.org>
8610
8611 * window.el (window--maybe-raise-frame): New function.
8612 (window--display-buffer): Split off from here.
8613 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8614 (display-buffer-pop-up-window, display-buffer-use-some-window):
8615 Obey an inhibit-switch-frame action alist entry.
8616 (display-buffer): Update doc.
8617
8618 * replace.el (occur-after-change-function): Avoid losing focus by
8619 using the inhibit-switch-frame display parameter (Bug#12139).
8620
8621 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
8622
8623 Make internal shell process buffer names start with space.
8624 * progmodes/python.el (python-shell-make-comint): Add optional
8625 argument INTERNAL.
8626 (run-python-internal): Use it.
8627 (python-shell-internal-get-or-create-process): Check for new
8628 internal buffer names.
8629
8630 2012-08-06 Glenn Morris <rgm@gnu.org>
8631
8632 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
8633 Do less getting and setting of environment variables.
8634
8635 2012-08-05 Chong Yidong <cyd@gnu.org>
8636
8637 * proced.el (proced): Add substitution string to docstring to
8638 trigger autoloading of the proced library on C-h f (Bug#1768).
8639
8640 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
8641 Don't show defvars which have no second argument (Bug#8638).
8642
8643 * imenu.el (imenu-generic-expression): Move documentation here
8644 from imenu--generic-function.
8645 (imenu--generic-function): Refer to imenu-generic-expression.
8646
8647 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
8648
8649 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
8650 indentation declaration.
8651 (viper-loop): Add indentation declaration (Bug#7025).
8652
8653 2012-08-05 Chong Yidong <cyd@gnu.org>
8654
8655 * help-fns.el (describe-variable): Add hyperlink for
8656 directory-local variables files. Improve buffer-local and
8657 permanent-local reporting; suggested by MON KEY (Bug#6644).
8658
8659 * help-mode.el (help-dir-local-var-def): New button type.
8660
8661 * files.el (kill-buffer-hook): Provide a defvar.
8662
8663 2012-08-05 Glenn Morris <rgm@gnu.org>
8664
8665 * eshell/esh-ext.el (eshell/addpath):
8666 Also update eshell-path-env. (Bug#12013)
8667
8668 2012-08-05 Chong Yidong <cyd@gnu.org>
8669
8670 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
8671
8672 * fringe.el (fringe-styles): Add docstring.
8673 (fringe--check-mode): New function.
8674 (set-fringe-mode, set-fringe-style): Use it.
8675 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
8676
8677 * files.el (set-auto-mode): Fix invalid setq call.
8678
8679 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8680
8681 * isearch.el: Misc simplification; use defstruct.
8682 (isearch-mode-map): Dense maps now work like sparse ones.
8683 (isearch--state): New defstruct.
8684 (isearch-string-state, isearch-message-state, isearch-point-state)
8685 (isearch-success-state, isearch-forward-state)
8686 (isearch-other-end-state, isearch-word-state, isearch-error-state)
8687 (isearch-wrapped-state, isearch-barrier-state)
8688 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
8689 replaced by defstruct's accessors.
8690 (isearch--set-state): Rename from isearch-top-state and change
8691 calling convention.
8692 (isearch-push-state): Use new isearch--get-state.
8693 (isearch-toggle-word): Disable regexp when enabling word.
8694 (isearch-message-prefix): Remove unused arg _c-q-hack.
8695 (isearch-message-suffix): Remove unused arg _ellipsis.
8696
8697 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
8698
8699 * simple.el (list-processes--refresh): For a server use :host or
8700 :local as the address.
8701 (list-processes): Doc fix.
8702
8703 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
8704
8705 * lisp/mpc.el: Support password in host argument.
8706 (mpc--proc-connect): Parse and use new password element.
8707 Set mpc-proc variable instead of returning process.
8708 (mpc-proc): Adjust accordingly.
8709
8710 2012-08-03 Eli Zaretskii <eliz@gnu.org>
8711
8712 * whitespace.el (whitespace-display-mappings): Use Unicode
8713 codepoints, instead of emacs-mule codepoints. See
8714 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
8715 for the details.
8716
8717 * files.el (file-truename): Don't skip symlink-chasing part on
8718 windows-nt. Incorporate the resolution of 8+3 short aliases on
8719 Windows into the loop that recursively chases symlinks.
8720 Compare directory and its parent case-insensitively on MS-Windows and
8721 MS-DOS.
8722
8723 2012-08-03 Chong Yidong <cyd@gnu.org>
8724
8725 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
8726
8727 * sort.el (sort-regexp-fields): Doc fix.
8728
8729 2012-08-03 Tassilo Horn <tsdh@gnu.org>
8730
8731 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
8732 labels regex position point at the expected place.
8733
8734 2012-08-03 MON KEY <monkey@sandpframing.com>
8735
8736 * net/imap.el (imap-interactive-login, imap-authenticate)
8737 (imap-mailbox-lsub, imap-mailbox-list)
8738 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
8739 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
8740 (imap-parse-response): Doc fix.
8741
8742 2012-08-03 João Távora <joaotavora@gmail.com>
8743
8744 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
8745 if sexp scanning does not move point (Bug#5734).
8746
8747 2012-08-02 Tassilo Horn <tsdh@gnu.org>
8748
8749 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
8750 Add listings, minted, and ctable packages.
8751 (reftex-label-alist-builtin): Move listings, minted, and ctable
8752 entries before LaTeX.
8753 (reftex-label-alist): Docfix.
8754
8755 2012-08-02 Bastien Guerry <bzg@gnu.org>
8756
8757 * replace.el (occur): Fix docstring (bug#12122).
8758
8759 2012-08-02 Glenn Morris <rgm@gnu.org>
8760
8761 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
8762
8763 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
8764
8765 Obsolete alias inactivate-current-input-method-function (Bug#10150).
8766 * international/mule-cmds.el: Create
8767 inactivate-current-input-method-function as an obsolete alias for
8768 deactivate-current-input-method-function. See Katsumi Yamaoka in
8769 <http://bugs.gnu.org/10150#46>.
8770
8771 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
8772
8773 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
8774 of nested `if's.
8775
8776 2012-08-01 Glenn Morris <rgm@gnu.org>
8777
8778 * progmodes/autoconf.el (autoconf-definition-regexp):
8779 Add AH_TEMPLATE, adjust submatch numbering.
8780 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
8781 (autoconf-current-defun-function): Update for above change.
8782 (autoconf-current-defun-function): First skip to end of current word.
8783
8784 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
8785
8786 * calendar/cal-html.el (cal-html-insert-agenda-days):
8787 Fix typo. (Bug#12018)
8788
8789 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
8790
8791 Shell processes: enhancements to startup and CEDET compatibility.
8792 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
8793 (python-shell-make-comint): accept-process-output at startup.
8794 (run-python-internal): Set inferior-python-mode-hook to nil.
8795 (python-shell-internal-get-or-create-process): call sit-for.
8796 (python-preoutput-result): Add obsolete alias.
8797 (python-shell-internal-send-string): Use it.
8798 (python-shell-send-setup-code): Remove call to
8799 accept-process-output.
8800
8801 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
8802
8803 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
8804 (Bug#12108)
8805
8806 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
8807
8808 * calc-mode.el (calc-basic-simplification-mode): Rename from
8809 `calc-limited-simplification-mode'.
8810 (calc-alg-simplification-mode): New function.
8811 (calc-set-simplify-mode): Adjust message.
8812
8813 * calc.el (calc-set-mode-line): Adjust mode line display for
8814 basic simplification mode.
8815
8816 * calc-help.el (calc-m-prefix-help): Update help message.
8817
8818 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
8819 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
8820
8821 2012-07-31 Bastien Guerry <bzg@gnu.org>
8822
8823 * man.el (man): Fix comment. (bug#12101)
8824
8825 2012-07-31 Martin Rudalics <rudalics@gmx.at>
8826
8827 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
8828 Don't return a non-nil value when no suitable buffer was found.
8829
8830 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
8831
8832 * progmodes/python.el (run-python-internal): Disable font lock for
8833 internal shells.
8834
8835 2012-07-30 Stefan Merten <smerten@oekonux.de>
8836
8837 * textmodes/rst.el: Silence `checkdoc-ispell'.
8838 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
8839 (rst-official-version, rst-official-cvs-rev)
8840 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
8841 (rst-mode-map): New key binding.
8842
8843 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
8844
8845 Update .PHONY listings in makefiles.
8846 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
8847 autoloads, update-subdirs, updates, bzr-update, update-authors,
8848 compile-onefile, compile-calc, backup-compiled-files,
8849 compile-after-backup, compile-one-process, mh-autoloads,
8850 bootstrap-clean, distclean, maintainer-clean.
8851
8852 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
8853
8854 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
8855 (calc-set-mode-line): Don't display "AlgSimp ".
8856
8857 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
8858 (calc-lim-simplify-mode): New function.
8859 (calc-set-simplify-mode): Default to 'alg.
8860 (calc-default-simplify-mode): Make algebraic simplifications
8861 the default.
8862
8863 * calc/calc-ext.el (calc-init-extensions): Remove binding for
8864 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
8865
8866 * calc/calc-help.el (calc-m-prefix-help): Change messages to
8867 indicate new simplification modes.
8868
8869 * calc/README: Mention new default simplification mode.
8870
8871 * calc/calc.el (math-normalize-error): New variable.
8872 (math-normalize): Set `math-normalize-error' to t
8873 when there's an error.
8874
8875 * calc/calc-alg.el (math-simplify): Don't simplify when
8876 `math-normalize' returns an error.
8877
8878 2012-07-29 Eli Zaretskii <eliz@gnu.org>
8879
8880 * international/mule-cmds.el (set-locale-environment): Revert last
8881 change, since display-graphic-p returns nil when this function is
8882 called during startup. Instead...
8883
8884 * term/w32console.el (terminal-init-w32console): ...setup the
8885 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
8886
8887 2012-07-29 Juri Linkov <juri@jurta.org>
8888
8889 * simple.el (goto-line): Don't display default line number in the
8890 prompt because it should be displayed by `read-number' (bug#9952).
8891 Add the current line number to the defaults of `goto-line' to
8892 allow its easier modification by users with `M-n' (bug#9201).
8893
8894 * subr.el (read-number): Support multiple default values like in
8895 other minibuffer reading functions. Replace `read' with
8896 `string-to-number' for consistency with `number-to-string'.
8897
8898 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
8899
8900 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
8901 * emulation/viper-init.el (viper-deactivate-input-method-action):
8902 Rename from viper-inactivate-input-method-action.
8903 (viper-deactivate-input-method):
8904 Rename from viper-inactivate-input-method.
8905 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
8906 * international/mule-cmds.el (deactivate-input-method):
8907 Rename from inactivate-input-method.
8908 Also run input-method-deactivate-hook.
8909 (deactivate-current-input-method-function):
8910 Rename from inactivate-current-input-method-function.
8911 (input-method-deactivate-hook): New hook.
8912 (input-method-inactivate-hook): Mark obsolete.
8913 (inactivate-input-method): Mark obsolete.
8914
8915 * international/quail.el (quail-activate):
8916 Also run quail-deactivate-hook.
8917 (quail-deactivate): Rename from quail-inactivate.
8918 * international/robin.el (robin-activate):
8919 Also run robin-deactivate-hook.
8920 (robin-deactivate): Rename from robin-inactivate.
8921
8922 2012-07-29 Chong Yidong <cyd@gnu.org>
8923
8924 * simple.el (indicate-copied-region): New function.
8925 (kill-ring-save): Split off from here.
8926
8927 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
8928 (kill-rectangle): Set deactivate-mark to t on read-only error.
8929
8930 * register.el (copy-to-register, copy-rectangle-to-register):
8931 Deactivate the mark, and use indicate-copied-region (Bug#10056).
8932 (append-to-register, prepend-to-register): Call indicate-copied-region.
8933
8934 2012-07-29 Juri Linkov <juri@jurta.org>
8935
8936 * simple.el (async-shell-command-buffer): New defcustom.
8937 (shell-command): Use it. (Bug#4719)
8938
8939 2012-07-28 Eli Zaretskii <eliz@gnu.org>
8940
8941 * international/mule-cmds.el (set-locale-environment): In a
8942 console session on MS-Windows, set up keyboard and terminal
8943 encoding from the OEM codepage, not the ANSI codepage.
8944 (Bug#12055)
8945
8946 2012-07-28 Chong Yidong <cyd@gnu.org>
8947
8948 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
8949 gdb-get-location.
8950
8951 2012-07-28 Leo Liu <sdl.web@gmail.com>
8952
8953 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
8954 the alist (bug#12029).
8955
8956 2012-07-28 Eli Zaretskii <eliz@gnu.org>
8957
8958 * makefile.w32-in (custom-deps, finder-data, updates, compile)
8959 (compile-always, compile-first)
8960 ($(lisp)/calendar/cal-loaddefs.el)
8961 ($(lisp)/calendar/diary-loaddefs.el)
8962 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
8963 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
8964 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
8965 instead of on update-subdirs.
8966 (bootstrap-clean): Delete $(lisp)/subdirs.el.
8967
8968 2012-07-28 Chong Yidong <cyd@gnu.org>
8969
8970 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
8971 directory if vc-deduce-backend returns nil (Bug#7350).
8972
8973 * simple.el (delete-trailing-lines): New option.
8974 (delete-trailing-whitespace): Obey it (Bug#11879).
8975
8976 2012-07-28 David Engster <deng@randomsample.de>
8977
8978 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
8979 Explanation of new 'symbol-qnames feature in doc-strings.
8980 (xml-maybe-do-ns): Return expanded names as plain symbols if
8981 'symbol-qnames was provided in XML-NS argument (Bug#11916).
8982 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
8983
8984 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
8985
8986 Consistent completion in inferior python with emacs -nw.
8987 * progmodes/python.el (inferior-python-mode): replace "<tab>"
8988 binding in inferior-python-mode-map with "\t".
8989 (python-shell-completion-complete-at-point)
8990 (python-completion-complete-at-point): Remove interactive spec.
8991
8992 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
8993
8994 * calc/calccomp.el (math-compose-expr): Undo previous change.
8995
8996 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
8997
8998 * progmodes/python.el (python-mode-map): Add keybinding for
8999 run-python.
9000 (python-shell-make-comint): Fix pop-to-buffer call.
9001 (run-python): Autoload. New arg SHOW.
9002 (python-shell-get-or-create-process): Do not pop python process
9003 buffer.
9004
9005 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
9006
9007 * notifications.el (notifications-on-action-signal)
9008 (notifications-on-closed-signal): Use also the bus address for the map.
9009 (notifications-notify, notifications-close-notification)
9010 (notifications-get-capabilities): Add optional argument BUS.
9011
9012 2012-07-27 Tassilo Horn <tsdh@gnu.org>
9013
9014 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
9015 Add support for the lstlisting and minted environments, and for the
9016 ctable macro.
9017 * textmodes/reftex.el (reftex-compile-variables): Also recognize
9018 labels written in keyvals syntax.
9019
9020 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
9021
9022 * calc/calccomp.el (math-compose-expr): Use parentheses when
9023 there is a product in the denominator of a fraction.
9024
9025 2012-07-26 Eli Zaretskii <eliz@gnu.org>
9026
9027 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
9028 ($(lisp)/calendar/diary-loaddefs.el)
9029 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
9030 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
9031 Fixes failures in parallel bootstrap because subdirs.el is being
9032 rewritten while the autoload files are built at the same time,
9033 which needs to load subdirs.el.
9034
9035 2012-07-26 Martin Rudalics <rudalics@gmx.at>
9036
9037 * mouse.el (popup-menu): Fix doc-string and re-indent code.
9038 (mouse-drag-line): Don't exit tracking when a switch-frame or
9039 switch-window event occurs (Bug#12006).
9040
9041 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9042
9043 * mouse.el (popup-menu): Fix last change.
9044
9045 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9046
9047 Autoload from Lisp with more care. Follow aliases when looking for
9048 function properties.
9049 * subr.el (autoloadp): New function.
9050 (symbol-file): Use it.
9051 (function-get): New function.
9052 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
9053 autoload-do-load.
9054 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
9055 (lisp-indent-function):
9056 * emacs-lisp/gv.el (gv-get):
9057 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
9058 * emacs-lisp/byte-opt.el (byte-optimize-form):
9059 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
9060 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
9061 Use function-get.
9062 * emacs-lisp/cl.el: Don't propagate function properties any more.
9063
9064 * speedbar.el (speedbar-add-localized-speedbar-support):
9065 * emacs-lisp/disass.el (disassemble-internal):
9066 * desktop.el (desktop-load-file):
9067 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
9068 (describe-function-1):
9069 * emacs-lisp/find-func.el (find-function-noselect):
9070 * emacs-lisp/elp.el (elp-instrument-function):
9071 * emacs-lisp/advice.el (ad-has-proper-definition):
9072 * apropos.el (apropos-safe-documentation, apropos-macrop):
9073 * emacs-lisp/debug.el (debug-on-entry):
9074 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
9075 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
9076 * calc/calc.el (name): Use autoloadp & autoload-do-load.
9077
9078 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
9079
9080 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
9081 function, not an obsolete variable (Bug#12046).
9082
9083 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
9084
9085 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
9086
9087 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
9088
9089 * emacs-lisp/pp.el (pp-display-expression): Select old selected
9090 window only if it is still live (Bug#12034).
9091
9092 2012-07-25 Martin Rudalics <rudalics@gmx.at>
9093
9094 * subr.el (redirect-frame-focus): Add advertised calling
9095 convention (Bug#12030).
9096
9097 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
9098
9099 Prefer typical American spelling for "acknowledgment".
9100 * vc/add-log.el (change-log-acknowledgment): Rename from
9101 change-log-acknowledgement, with an alias for the old name.
9102
9103 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
9104
9105 * calc-alg.el (math-simplify-divide): Don't cross multiply
9106 in an equation when the lhs is a variable.
9107
9108 2012-07-24 Julien Danjou <julien@danjou.info>
9109
9110 * net/netrc.el (netrc-find-service-number, netrc-store-data):
9111 Remove, unused.
9112
9113 2012-07-23 Eli Zaretskii <eliz@gnu.org>
9114
9115 * startup.el (command-line): Don't display an empty user name in
9116 the error message about non-existent home directory, when
9117 init-file-user was set to an empty string. See
9118 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
9119 for the details and context.
9120
9121 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
9122
9123 * ses.el (ses-cell-formula-aset): New macro.
9124 (ses-cell-references-aset): New macro.
9125 (ses-cell-p): New function.
9126 (ses-rename-cell): Do no longer rely on complex operations like
9127 ses-cell-set-formula or ses-set-cell to change the cell and handle
9128 the undo at the same time, but rather use lower level new macros
9129 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
9130 the undo directly. Refresh the mode line.
9131
9132 2012-07-21 Leo Liu <sdl.web@gmail.com>
9133
9134 * progmodes/cc-cmds.el (c-defun-name):
9135 Use match-string-no-properties instead for consistency.
9136
9137 2012-07-20 Leo Liu <sdl.web@gmail.com>
9138
9139 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
9140 (Bug#7879)
9141
9142 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
9143
9144 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
9145
9146 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
9147 * progmodes/bug-reference.el, misearch.el: Provide themselves
9148 (bug#11915).
9149
9150 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
9151 of narrowed buffer (bug#11966).
9152
9153 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
9154
9155 * ses.el (ses-rename-cell): Set new name also in reference list of
9156 cells of which the renamed cell depends.
9157
9158 2012-07-20 Masatake YAMATO <yamato@redhat.com>
9159
9160 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
9161 to check whether menu-bar is shown or not. If not shown,
9162 show the menu-bar as a popup menu instead of using tmm.
9163 * mouse.el (popup-menu): Accept `point' as `position' argument.
9164
9165 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
9166
9167 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
9168 up inside string symbol literal (bug#11923).
9169
9170 2012-07-20 Eli Zaretskii <eliz@gnu.org>
9171
9172 * startup.el (fancy-startup-text): Read the whole tutorial, not
9173 just its first 256 bytes. Prevents gibberish in display of the
9174 tutorial title.
9175
9176 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
9177
9178 Drop idle buffer compaction due to an absence of the
9179 proved efficiency.
9180 * compact.el: Remove.
9181
9182 2012-07-19 Sam Steingold <sds@gnu.org>
9183
9184 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
9185 vc-bzr-pull & vc-bzr-merge-branch.
9186 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
9187 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
9188 for consistency with compilation-error-regexp-alist.
9189 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
9190 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
9191 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
9192 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
9193
9194 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
9195
9196 * emacs-lisp/chart.el: Use lexical-binding.
9197 (chart-emacs-storage): Don't hardcode the list of entries.
9198
9199 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
9200
9201 Next round of tweaks caused by Fgarbage_collect changes.
9202 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
9203
9204 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
9205
9206 Compact buffers when idle.
9207 * compact.el: New file.
9208
9209 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
9210
9211 * subr.el (eventp): Presume that if it looks vaguely like an event,
9212 it's an event (bug#10190).
9213
9214 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
9215
9216 Enhancements to ppss related code (thanks Stefan).
9217 * progmodes/python.el (python-indent-context)
9218 (python-indent-calculate-indentation, python-indent-dedent-line)
9219 (python-indent-electric-colon, python-nav-forward-block)
9220 (python-mode-abbrev-table)
9221 (python-info-assignment-continuation-line-p): Simplify checks
9222 for ppss context.
9223 (python-info-continuation-line-p): Cleanup.
9224 (python-info-ppss-context): Do not catch 'quote.
9225 (python-info-ppss-context-type)
9226 (python-info-ppss-comment-or-string-p): Simplify.
9227
9228 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
9229
9230 * progmodes/python.el: Enhancements to eldoc support.
9231 (python-info-current-symbol): New function.
9232 (python-eldoc-at-point): Use python-info-current-symbol.
9233 (python-info-current-defun): Fix cornercase on first defun scan.
9234 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
9235 and signal error when no inferior python process is available.
9236
9237 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
9238
9239 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
9240 assume it's always t.
9241 (vc-git-registered): Remove caching, the function is only called
9242 once.
9243 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
9244
9245 2012-07-18 Chong Yidong <cyd@gnu.org>
9246
9247 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
9248
9249 * simple.el (count-words): Report on narrowing (Bug#9959).
9250
9251 * bindings.el: Bind M-= to count-words.
9252
9253 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
9254
9255 2012-07-18 Masatake YAMATO <yamato@redhat.com>
9256
9257 * progmodes/sh-script.el (sh-imenu-generic-expression):
9258 Capture a function with `function' keyword and without parentheses
9259 like "function FOO" (bug#11856).
9260
9261 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
9262
9263 * window.el (split-window-sensibly): Make WINDOW argument
9264 optional.
9265
9266 2012-07-18 Chong Yidong <cyd@gnu.org>
9267
9268 * subr.el (keyboard-translate): Doc fix (Bug#7261).
9269
9270 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
9271 and make C-x 8 RET exit isearch (Bug#11439).
9272
9273 * international/iso-transl.el: Move isearch-mode-map key
9274 definitions to isearch.el.
9275
9276 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
9277
9278 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
9279 (eieio-defclass): Use gv-define-setter when possible.
9280
9281 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
9282
9283 Reflect recent changes in Fgarbage_collect.
9284 * emacs-lisp/chart.el (chart-emacs-storage): Change to
9285 reflect new format of data returned by Fgarbage_collect.
9286
9287 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9288
9289 New utility functions + python-info-ppss-context fix (Bug#11910).
9290 * progmodes/python.el (python-info-beginning-of-block-statement-p)
9291 (python-info-ppss-comment-or-string-p): New functions.
9292 (python-info-ppss-context): Small fix for string check.
9293
9294 2012-07-17 Juri Linkov <juri@jurta.org>
9295
9296 * dired-aux.el (dired-do-async-shell-command): Doc fix.
9297 (dired-do-async-shell-command): Don't add `*' at the end of the
9298 command (Bug#11815).
9299 (dired-do-shell-command): Doc fix.
9300 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
9301 Join the individual commands using either "&" or ";" as the
9302 separator depending on the values of these trailing characters.
9303 At the end re-add the trailing "&". (Bug#10598)
9304
9305 * simple.el (async-shell-command): Sync the interactive spec with
9306 `shell-command'. Doc fix.
9307 (shell-command): Doc fix.
9308
9309 2012-07-17 Juri Linkov <juri@jurta.org>
9310
9311 * descr-text.el (describe-char): Fix format args. (Bug#10129)
9312
9313 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9314
9315 Final renames and doc fixes for movement commands (bug#11899).
9316 * progmodes/python.el (python-nav-beginning-of-statement):
9317 Rename from python-nav-statement-start.
9318 (python-nav-end-of-statement): Rename from
9319 python-nav-statement-end.
9320 (python-nav-beginning-of-block): Rename from
9321 python-nav-block-start.
9322 (python-nav-end-of-block): Rename from python-nav-block-end.
9323
9324 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9325
9326 * progmodes/python.el (python-shell-send-string-no-output):
9327 Allow accept-process-output to quit, keeping shell process ready for
9328 future interactions (Bug#11868).
9329
9330 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
9331
9332 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
9333
9334 * emacs-lisp/elint.el (elint-find-args-in-code):
9335 Use help-function-arglist, so as to handle lexical byte-code.
9336
9337 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
9338 change (bug#11826).
9339
9340 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
9341
9342 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
9343 Avoid spuriously marking the buffer as modified because of c-is-sws.
9344
9345 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
9346 as not-a-comment (bug#11946).
9347
9348 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
9349 for uninterned vars.
9350
9351 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
9352 Use read-event since we don't really want to read chars but bytes.
9353
9354 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
9355 $$..$$ but also $..$ using regexps (bug#11953).
9356 Use tex-verbatim for \url and \path.
9357 (tex-font-lock-keywords): Define as defconst like the others.
9358 (tex-common-initialization): Don't use font-lock-syntax-table any more.
9359
9360 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
9361
9362 * international/mule-cmds.el (ucs-insert): Make it an obsolete
9363 alias for insert-char.
9364
9365 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
9366
9367 * progmodes/python.el: Simplified imenu implementation.
9368 (python-nav-jump-to-defun): Remove command.
9369 (python-mode-map): Use `imenu' instead.
9370 (python-nav-list-defun-positions-cache)
9371 (python-imenu-include-defun-type, python-imenu-make-tree)
9372 (python-imenu-subtree-root-label, python-imenu-index-alist):
9373 Remove vars.
9374 (python-nav-list-defun-positions, python-nav-read-defun)
9375 (python-imenu-tree-assoc, python-imenu-make-element-tree)
9376 (python-imenu-make-tree, python-imenu-create-index):
9377 Remove functions.
9378 (python-mode): Update to interact with imenu by setting
9379 `imenu-extract-index-name-function' only.
9380
9381 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
9382
9383 * progmodes/python.el: Enhancements to navigation commands.
9384 (python-nav-backward-sentence)
9385 (python-nav-forward-sentence): Remove.
9386 (python-nav-backward-statement, python-nav-forward-statement)
9387 (python-nav-statement-start, python-nav-statement-end)
9388 (python-nav-backward-block, python-nav-forward-block)
9389 (python-nav-block-start, python-nav-block-end)
9390 (python-nav-forward-sexp-function)
9391 (python-info-current-line-comment-p)
9392 (python-info-current-line-empty-p): New functions.
9393 (python-indent-context): Use `python-nav-statement-start'.
9394
9395 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
9396
9397 * eshell/em-ls.el (eshell/ls): Use `apply'.
9398
9399 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
9400 multi-hops, instead of Tramp internals.
9401
9402 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
9403
9404 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
9405 when F1 and F2 are located on different hosts.
9406
9407 2012-07-14 Chong Yidong <cyd@gnu.org>
9408
9409 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
9410 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
9411 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
9412 (xterm-mouse--read-event-sequence-1000)
9413 (xterm-mouse--read-event-sequence-1006): New functions. For old
9414 mouse protocol, handle M-mouse-X events correctly.
9415 (xterm-mouse-event): New arg specifying mouse protocol.
9416 (turn-on-xterm-mouse-tracking-on-terminal)
9417 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
9418 sequence to toggle extended coordinates on newer XTerms.
9419 This appears to be harmless on terminals which do not support this.
9420
9421 2012-07-14 Leo Liu <sdl.web@gmail.com>
9422
9423 Add fringe bitmap indicators for flymake. (Bug#11253)
9424 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
9425 (flymake-make-overlay): New arg BITMAP.
9426 (flymake-error-bitmap, flymake-warning-bitmap)
9427 (flymake-fringe-indicator-position): New user variables.
9428
9429 * fringe.el: New bitmap exclamation-mark.
9430
9431 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
9432
9433 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
9434 also (Bug#7879).
9435
9436 2012-07-14 Chong Yidong <cyd@gnu.org>
9437
9438 * electric.el (electric-pair-post-self-insert-function): Fix pair
9439 insertion in empty-region case (Bug#11520).
9440
9441 2012-07-14 Chong Yidong <cyd@gnu.org>
9442
9443 * bindings.el: Consolidate ctl-x-r-map bindings.
9444 Bind copy-rectangle-as-kill to C-x r w.
9445
9446 * rect.el, register.el: Move bindings to bindings.el.
9447
9448 2012-07-14 Reuben Thomas <rrt@sc3d.org>
9449
9450 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
9451
9452 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
9453
9454 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
9455
9456 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
9457
9458 * bindings.el (top): Use `mapc' instead of `mapcar'.
9459
9460 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
9461
9462 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
9463
9464 * progmodes/sql.el (sql-comint): Suppress the check for program on
9465 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
9466 (Bug#11908)
9467
9468 2012-07-13 Chong Yidong <cyd@gnu.org>
9469
9470 * bindings.el: Assign a non-nil permanent-local property to
9471 per-buffer variables which lack a default value (Bug#11930).
9472
9473 * help-fns.el (describe-variable): In the "automatically becomes
9474 local" notice, take note of permanent-local variables.
9475
9476 2012-07-13 Chong Yidong <cyd@gnu.org>
9477
9478 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
9479 to allow printing the message when called from Lisp.
9480
9481 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9482 Remove toggle-read-only.
9483
9484 * bs.el (bs-toggle-readonly):
9485 * buff-menu.el (Buffer-menu-toggle-read-only):
9486 Remove with-no-warnings around toggle-read-only.
9487
9488 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
9489 Remove with-no-warnings around toggle-read-only.
9490 (ffap-read-only, ffap-read-only-other-window)
9491 (ffap-read-only-other-frame): Callers changed.
9492
9493 * help-mode.el: Don't require view package.
9494 (help-mode-finish): Set buffer-read-only instead of calling
9495 toggle-read-only.
9496
9497 * bindings.el (mode-line-toggle-read-only):
9498 * dired.el (dired-toggle-read-only):
9499 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
9500 with non-nil second arg.
9501
9502 * emacs-lisp/eieio-custom.el (eieio-customize-object):
9503 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
9504 directly.
9505
9506 2012-07-12 Eli Zaretskii <eliz@gnu.org>
9507
9508 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
9509 not incf.
9510
9511 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
9512
9513 More CL cleanups and reduction of use of cl.el.
9514 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
9515 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
9516 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
9517 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
9518 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
9519 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
9520 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
9521 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
9522 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
9523 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
9524 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
9525 * eshell/em-cmpl.el, eshell/em-banner.el:
9526 * calendar/parse-time.el: Use cl-lib.
9527 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
9528 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
9529 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
9530 * term/ns-win.el, term.el, shell.el, ps-samp.el:
9531 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
9532 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
9533 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
9534 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
9535 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
9536 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
9537 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
9538 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
9539 `lambda' rather than with `quote'.
9540 (eshell-do-opt): Adjust accordingly.
9541 (eshell-process-option): Simplify.
9542 * eshell/esh-var.el:
9543 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
9544 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
9545 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
9546 to `pcase--dontcare'.
9547 * emacs-lisp/cl.el (labels): Mark obsolete.
9548 (cl--letf, letf): Move to cl-lib.
9549 (cl--letf*, letf*): Remove.
9550 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
9551 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
9552 (cl-progv): Rewrite.
9553 (cl--letf, cl-letf): Move from cl.el.
9554 (cl-letf*): New macro.
9555 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
9556
9557 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
9558
9559 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
9560
9561 2012-07-11 Chong Yidong <cyd@gnu.org>
9562
9563 * vc/log-edit.el (log-edit-vc-backend): New variable.
9564 (log-edit): Doc fix.
9565
9566 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
9567 argument of log-edit to set up all local variables.
9568 (vc-start-logentry): New optional arg specifying VC backend.
9569
9570 * vc/vc.el (vc-checkin): Use it.
9571 (vc-deduce-fileset): Handle Log Edit buffers.
9572 (vc-diff): Make first argument optional too.
9573
9574 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
9575
9576 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
9577
9578 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
9579 command, just in case. The function is not needed anymore.
9580 (eshell-external-command): Do not call `eshell-remote-command'.
9581
9582 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
9583
9584 Reduce use of (require 'cl).
9585 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
9586 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
9587 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
9588 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
9589 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
9590 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
9591 * battery.el, avoid.el, abbrev.el: Use cl-lib.
9592 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
9593 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
9594 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
9595 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
9596 * calculator.el, autorevert.el, apropos.el: Don't require CL.
9597 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
9598 (byte-compile-unfold-bcf, byte-compile-check-variable):
9599 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
9600 (byte-compile-nilconstp):
9601 * emacs-lisp/autoload.el (make-autoload): Use pcase.
9602 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
9603
9604 * emacs-lisp/gv.el (cond): Make it a valid place.
9605 (if): Simplify slightly.
9606
9607 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
9608 (pcase--self-quoting-p): New function.
9609 (pcase--u1): Use it.
9610
9611 2012-07-10 Glenn Morris <rgm@gnu.org>
9612
9613 * emacs-lisp/authors.el (authors-fixed-entries):
9614 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
9615
9616 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
9617
9618 Rename configure.in to configure.ac (Bug#11603).
9619 * emacs-lisp/authors.el (authors-canonical-file-name):
9620 * progmodes/autoconf.el (autoconf-mode):
9621 Prefer configure.ac to configure.in.
9622
9623 2012-07-08 Chong Yidong <cyd@gnu.org>
9624
9625 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
9626 Implement the mouse-1-click-follows-link handling properly.
9627
9628 * info.el (Info-link-keymap): Use follow-link mechanism for
9629 header-line links (Bug#374).
9630
9631 * simple.el (deactivate-mark): Do not set the primary selection
9632 if another program has acquired it (Bug#11772).
9633
9634 2012-07-07 Kevin Ryde <user42@zip.com.au>
9635
9636 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
9637 (woman-decode-region): Replace escaped-escapes without destroying
9638 bold or underline (Bug#11552).
9639 (woman2-process-escapes): Handle nofill regions (Bug#11591).
9640
9641 2012-07-07 Chong Yidong <cyd@gnu.org>
9642
9643 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
9644 (interprogram-cut-function, interprogram-paste-function):
9645 Mention that we typically mean the clipboard.
9646
9647 2012-07-06 Glenn Morris <rgm@gnu.org>
9648
9649 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
9650
9651 * files.el (toggle-read-only): Restrict message to interactive use.
9652
9653 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
9654
9655 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
9656
9657 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
9658
9659 2012-07-06 Glenn Morris <rgm@gnu.org>
9660
9661 * Makefile.in (compile-one-process): Rename from "recompile".
9662
9663 * Makefile.in (bzr-update): "compile" is the same as "recompile
9664 autoloads", but parallelizable, so use that instead.
9665
9666 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
9667
9668 * window.el (quit-window): Always restore window height when
9669 it's saved in quit-restore parameter (Bug#11810).
9670
9671 2012-07-06 Glenn Morris <rgm@gnu.org>
9672
9673 * simple.el (kill-whole-line): Doc tweak.
9674
9675 2012-07-06 Eli Zaretskii <eliz@gnu.org>
9676
9677 * files.el (file-relative-name): Compare file names
9678 case-insensitively if on MS-Windows or MS-DOS, or if
9679 read-file-name-completion-ignore-case is non-nil. Don't use
9680 case-fold-search for this purpose. (Bug#11827)
9681
9682 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
9683
9684 * calendar/cal-dst.el (calendar-current-time-zone):
9685 Return calendar-current-time-zone-cache if non-nil.
9686
9687 2012-07-17 Masatake YAMATO <yamato@redhat.com>
9688 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
9689
9690 * calendar/cal-dst.el (calendar-current-time-zone):
9691 Return calendar-current-time-zone-cache if non-nil.
9692
9693 2012-07-06 Glenn Morris <rgm@gnu.org>
9694
9695 * Makefile.in (cvs-update): Remove old alias.
9696
9697 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
9698
9699 Sync with Tramp 2.2.6-pre.
9700
9701 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
9702 compatible declaration.
9703
9704 * net/tramp-cmds.el (tramp-append-tramp-buffers):
9705 Protect `list-load-path-shadows' call.
9706
9707 * net/tramp-compat.el (top): Require packages, which aren't
9708 autoloaded anymore for XEmacs. Protect call of
9709 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
9710 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
9711 it hurts at least for SXEmacs.
9712 (tramp-compat-temporary-file-directory): In XEmacs, there is no
9713 standard-value for `temporary-file-directory'.
9714
9715 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
9716 Redirect stderr to /dev/null.
9717 (tramp-sh-handle-write-region): uid and gid can be floats.
9718 Reported by Russell Sim <russell.sim@gmail.com>.
9719 (tramp-sh-handle-vc-registered): Hide errors.
9720 (tramp-vc-file-name-handler): Use dummy results for `process-file'
9721 and `start-file-process'.
9722 (tramp-maybe-open-connection): Check also whether `non-essential'
9723 is bound.
9724
9725 2012-07-04 Chong Yidong <cyd@gnu.org>
9726
9727 * xml.el (xml--parse-buffer): Use xml-syntax-table.
9728 (xml-parse-tag): Likewise, and avoid changing entity tables.
9729 (xml-syntax-table): Define from scratch, making sure not to give
9730 x2000 and other Unicode spaces whitespace syntax, since those are
9731 not spaces in XML.
9732 (xml-parse-fragment): Delete unused function.
9733 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
9734 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
9735 (xml-entity-ref, xml-pe-reference-re)
9736 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
9737 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
9738 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
9739 (xml-entity-value-re): Use syntax references in regexps where
9740 possible; no need to define inside a let-binding.
9741 (xml-parse-dtd): Use xml-pe-reference-re.
9742 (xml-entity-or-char-ref-re): New defconst.
9743 (xml-parse-string, xml-substitute-special): Use it.
9744
9745 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9746
9747 * files.el (locate-dominating-file): Allow `name' to be a predicate.
9748 (find-file--read-only): New function.
9749 (find-file-read-only, find-file-read-only-other-window)
9750 (find-file-read-only-other-frame): Use it.
9751 (insert-file-contents-literally): Don't `fset'.
9752 (get-free-disk-space): Use locate-dominating-file.
9753
9754 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
9755 function is already compiled.
9756
9757 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
9758
9759 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
9760
9761 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
9762 files on the same host.
9763
9764 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
9765
9766 * help-fns.el (describe-function-1): Only call
9767 help-fns--autoloaded-p when we have a file name. (Bug#11848)
9768
9769 2012-07-03 Chong Yidong <cyd@gnu.org>
9770
9771 * xml.el: Protect parser against XML bombs.
9772 (xml-entity-expansion-limit): New variable.
9773 (xml-parse-string, xml-substitute-special): Use it.
9774 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
9775
9776 2012-07-03 Glenn Morris <rgm@gnu.org>
9777
9778 * progmodes/bug-reference.el (bug-reference-bug-regexp):
9779 Allow linking to specific messages in debbugs reports (eg 123#5).
9780
9781 2012-07-02 Chong Yidong <cyd@gnu.org>
9782
9783 * xml.el: Fix entity and character reference expansion, allowing
9784 them to expand into markup as per XML spec.
9785 (xml-default-ns): New variable.
9786 (xml-entity-alist): Use XML spec definitions for lt and amp.
9787 (xml-parse-region): Make first two arguments optional.
9788 Discard text properties.
9789 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
9790 All callers changed.
9791 (xml-parse-tag): Call xml-parse-tag-1. For backward
9792 compatibility, this function should not modify buffer contents.
9793 (xml-parse-tag-1): Fix opening-tag regexp.
9794 (xml-parse-string): Rewrite, handling entity and character
9795 references properly.
9796 (xml--entity-replacement-text): Signal an error if a parameter
9797 entity is undefined.
9798
9799 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
9800
9801 * comint.el (comint-output-filter): Filter out repeated prompts.
9802
9803 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
9804 and file-name-absolute-p.
9805 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
9806 internal calls.
9807
9808 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
9809
9810 Spelling fixes.
9811 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
9812 Rename from byte-compile--refiy-function. All uses changed.
9813
9814 2012-07-01 Chong Yidong <cyd@gnu.org>
9815
9816 * xml.el (xml--parse-buffer): New function. Move most of
9817 xml-parse-region here.
9818 (xml-parse-region): Copy region into a temporary buffer, since
9819 parameter entity substitution requires changing buffer contents.
9820 Use xml--parse-buffer.
9821 (xml-parse-file): Use xml--parse-buffer.
9822 (xml-parse-dtd): Make parameter entity substitution work right.
9823 Use proper regexps for ELEMENT declarations (Bug#7172).
9824
9825 2012-06-30 Glenn Morris <rgm@gnu.org>
9826
9827 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
9828
9829 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
9830 Remove outdated and unnecessary dbus declarations.
9831
9832 2012-06-30 Eli Zaretskii <eliz@gnu.org>
9833
9834 * emacs-lisp/timer.el (timer-until): Subtract results of
9835 float-time, instead of taking float-time of the result of
9836 time-subtract, since float-time signals an error for negative time
9837 arguments.
9838
9839 2012-06-30 Chong Yidong <cyd@gnu.org>
9840
9841 * xml.el (xml-*-re): Convert defvars into defconsts, and
9842 eval-and-compile them so eval-and-compile works on derivatives.
9843 (xml--entity-replacement-text): Use eval-and-comple.
9844
9845 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
9846
9847 * vc/vc-git.el (vc-git-registered): Use cache property
9848 `git-registered'.
9849 (vc-git-mode-line-string): Call `vc-working-revision' instead of
9850 `vc-git-working-revision' in order to benefit from the cache.
9851 (vc-git-root): Use cache property `git-root'. (Bug#11757)
9852
9853 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
9854
9855 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
9856 removed (likely outside Emacs). (Bug#11757)
9857
9858 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
9859
9860 * emacs-lisp/cl-lib.el: Require macroexp.
9861
9862 2012-06-30 Chong Yidong <cyd@gnu.org>
9863
9864 * xml.el: Implement XML parameter entities.
9865 (xml-parameter-entity-alist): New variable.
9866 (xml-parse-region, xml-parse-fragment): Preserve previous values
9867 of xml-entity-alist and xml-parameter-entity-alist, so that
9868 repeated calls on different documents do not change them.
9869 (xml-parse-tag): Fix doctype regexp.
9870 (xml--entity-replacement-text): New function.
9871 (xml-parse-dtd): Use it. Don't handle system entities; doing that
9872 properly requires url retrieval which is unimplemented.
9873 (xml-escape-string): Doc fix.
9874
9875 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
9876
9877 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
9878
9879 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
9880
9881 * fringe.el (fringe-mode): Doc fix.
9882
9883 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
9884
9885 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
9886 is non-nil.
9887 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
9888 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
9889
9890 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
9891
9892 * calendar/cal-dst.el (calendar-current-time-zone):
9893 Return calendar-current-time-zone-cache if non-nil.
9894
9895 2012-06-29 Masatake YAMATO <yamato@redhat.com>
9896
9897 * progmodes/which-func.el (which-func-format):
9898 Add mouse-face. (Bug#11698)
9899
9900 2012-06-29 Leo Liu <sdl.web@gmail.com>
9901
9902 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
9903
9904 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
9905
9906 * minibuffer.el (minibuffer-confirm-exit-commands):
9907 Add completion-at-point (bug#11725).
9908
9909 2012-06-29 Glenn Morris <rgm@gnu.org>
9910
9911 * progmodes/f90.el (f90-font-lock-keywords-2):
9912 Add some preprocessor elements. (Bug#10499)
9913
9914 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
9915
9916 * progmodes/cperl-mode.el (cperl-update-syntaxification):
9917 Use syntax-propertize (bug#11739).
9918
9919 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
9920
9921 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
9922
9923 2012-06-28 Julien Danjou <julien@danjou.info>
9924
9925 * term.el (term-handle-colors-array): Use a set of new faces to
9926 color the terminal. Also uses :inverse-video property.
9927 (term-default-fg-color): Set to nil by default, deprecate in favor
9928 of `term-face'.
9929 (term-default-bg-color): Set to nil by default, deprecate in favor
9930 of `term-face'.
9931 (term-current-face): Use `term-face' by default.
9932 (term-bold-attribute): Variable deleted.
9933
9934 2012-06-28 Glenn Morris <rgm@gnu.org>
9935
9936 * simple.el (completion-list-mode-finish):
9937 Don't use toggle-read-only. (Since completion-list-mode has
9938 a special mode-class, it wasn't doing anything extra anyway.)
9939
9940 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
9941
9942 Make inlining of other-mode interpreted functions work (bug#11799).
9943 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
9944 (byte-compile): Use it to fix compilation of lexical-binding closures.
9945 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
9946 function, if needed.
9947
9948 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9949
9950 * help-mode.el (help-make-xrefs): Don't just withstand
9951 cyclic-variable-indirection but any error in documentation-property.
9952
9953 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
9954 memory use.
9955 * bindings.el (bindings--define-key): New function.
9956 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
9957 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
9958 * bindings.el: Use it to purecopy define-key bindings.
9959
9960 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
9961
9962 * emacs-lisp/cl.el (flet): Mark obsolete.
9963 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
9964 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
9965 * progmodes/js.el (js-c-fill-paragraph):
9966 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
9967 (ebrowse-switch-member-buffer-to-derived-class):
9968 * play/5x5.el (5x5-solver): Use cl-flet.
9969
9970 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
9971 (cl--symbol-function): New macro.
9972 (cl--letf, cl--letf*): Use it.
9973
9974 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
9975 Strip "toggle-" if any.
9976
9977 2012-06-27 Glenn Morris <rgm@gnu.org>
9978
9979 * info.el (Info-default-directory-list): Move here from paths.el.
9980 * paths.el: Remove file, which is now empty.
9981 * loadup.el: No longer load "paths".
9982
9983 * custom.el (custom-initialize-delay): Doc fix.
9984
9985 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9986 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
9987 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
9988 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
9989 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
9990 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
9991 * eshell/eshell.el (eshell-defgroup): Remove alias.
9992
9993 2012-06-27 Chong Yidong <cyd@gnu.org>
9994
9995 * help.el (help-enable-auto-load): New variable.
9996
9997 * help-fns.el (help-fns--autoloaded-p): New function.
9998 (describe-function-1): Refer to a function as "autoloaded" if it
9999 was autoloaded at any time in the past. Perform autoloading if
10000 help-enable-auto-load is non-nil.
10001
10002 2012-06-26 Eli Zaretskii <eliz@gnu.org>
10003
10004 * makefile.w32-in (compile, compile-always): Depend on
10005 update-subdirs, not on subdirs.el. Otherwise, several different
10006 sub-targets of 'bootstrap' running in parallel could
10007 simultaneously write to subdirs.el, producing a garbled file.
10008
10009 2012-06-26 Sam Steingold <sds@gnu.org>
10010
10011 * files.el (file-name-base): New convenience function.
10012 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
10013 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
10014 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
10015 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
10016 * textmodes/ispell.el, textmodes/reftex-ref.el:
10017 * textmodes/tex-mode.el: Use it.
10018 Did not touch cedet and org because they are maintained elsewhere.
10019
10020 2012-06-26 Martin Rudalics <rudalics@gmx.at>
10021
10022 * calendar/calendar.el (calendar-exit): Don't try to delete or
10023 iconify last frame. See:
10024 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
10025
10026 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
10027
10028 * server.el (server-process-filter): Remember dir in the
10029 process's `server-client-directory' properties.
10030
10031 2012-06-24 Chong Yidong <cyd@gnu.org>
10032
10033 * xml.el (xml-parse-tag): Correctly handle comment embedded in
10034 non-tag text.
10035
10036 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
10037
10038 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
10039
10040 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10041
10042 * help-fns.el (describe-variable): Don't croak when doc is not found.
10043 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
10044 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
10045 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
10046 * emacs-lisp/smie.el (smie-next-sexp): CSE.
10047 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
10048 ((lambda ..) ..).
10049 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
10050
10051 2012-06-23 Chong Yidong <cyd@gnu.org>
10052
10053 * info.el (Info-mouse-follow-link): Accept symbol values of
10054 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
10055 (Info-fontify-node): Use Info-link-keymap for all navigation
10056 buttons, with link-args property to perform the desired action.
10057 (Info-link-keymap): Doc fix.
10058 (Info-next-link-keymap, Info-prev-link-keymap)
10059 (Info-up-link-keymap): Delete now-unused keymaps.
10060
10061 2012-06-23 Chong Yidong <cyd@gnu.org>
10062
10063 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
10064
10065 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
10066 system abbrevs.
10067
10068 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
10069
10070 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10071
10072 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
10073 (bug#11719).
10074
10075 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
10076 the requote function doesn't work properly (bug#11714).
10077
10078 2012-06-23 Glenn Morris <rgm@gnu.org>
10079
10080 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
10081
10082 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10083
10084 Further GV/CL cleanups.
10085 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
10086 gv-expander.
10087 (gv--defun-declaration): New function.
10088 (defun-declarations-alist): Use it.
10089 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
10090 (gv-place): Autoload.
10091 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
10092 original definition of dotimes and dolist.
10093 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
10094 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
10095 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
10096 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
10097 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
10098 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
10099 to the function's definition.
10100 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
10101 * window.el:
10102 * files.el:
10103 * faces.el:
10104 * env.el: Don't use CL.
10105
10106 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
10107
10108 Support higher-resolution time stamps (Bug#9000).
10109
10110 * calendar/time-date.el (with-decoded-time-value): New arg
10111 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
10112 (encode-time-value): New optional arg PICO. New type 3.
10113 (time-to-seconds) [!float-time]: Support the new picoseconds
10114 component if it's used.
10115 (seconds-to-time, time-subtract, time-add):
10116 Support ps-resolution time stamps as well.
10117
10118 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
10119 (timerp): Timer vectors now have length 9, not 8.
10120 (timer--time): Support new-style (4-part) time stamps.
10121 (timer-next-integral-multiple-of-time): Time stamps now have
10122 picosecond resolution, so take a bit more care about rounding.
10123 (timer-relative-time, timer-inc-time): New optional arg psecs.
10124 (timer-set-time-with-usecs): Set psecs to 0.
10125 (timer--activate): Check psecs component, too.
10126
10127 * proced.el (proced-time-lessp): Support ps-resolution stamps.
10128
10129 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10130
10131 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
10132 Move the non-essential binding to the post/pre-command-hook where it is
10133 more obviously correct.
10134
10135 * subr.el (read-passwd): Don't use a history at all.
10136 * savehist.el (savehist-save): Remove password saved accidentally
10137 because of the above bug.
10138
10139 2012-06-22 Bastien Guerry <bzg@gnu.org>
10140
10141 * files.el (toggle-read-only): Display a message telling whether
10142 the buffer is read-only or not (bug#11726).
10143
10144 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10145
10146 * emacs-lisp/gv.el: New file.
10147 * subr.el (push, pop): Extend to generalized variables.
10148 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
10149 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
10150 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
10151 gv-define-simple-setter, and gv-define-expander.
10152 Remove setf-methods defined in gv. Rename cl-setf -> setf.
10153 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
10154 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
10155 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
10156 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
10157 gv-letplace.
10158 (cl-defstruct): Don't define setf-method any more.
10159 * emacs-lisp/cl.el (flet): Don't autoload.
10160 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
10161 (define-setf-expander, defsetf, define-modify-macro)
10162 (cl-struct-setf-expander): Move from cl-lib.el.
10163 * emacs-lisp/syntax.el:
10164 * emacs-lisp/ewoc.el:
10165 * emacs-lisp/smie.el:
10166 * emacs-lisp/cconv.el:
10167 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
10168 (timer--time): Use gv-define-simple-setter.
10169 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
10170 to avoid coding-system problems in subr.el. Adjust all users.
10171 (macroexp--maxsize, macroexp-small-p): New functions.
10172 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
10173 * scroll-bar.el (scroll-bar-mode):
10174 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
10175 (normal-erase-is-backspace-mode): Don't use the `eq' place.
10176 * winner.el (winner-configuration, winner-make-point-alist)
10177 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
10178 * files.el (locate-file-completion-table): Avoid list*.
10179
10180 2012-06-22 Chong Yidong <cyd@gnu.org>
10181
10182 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
10183 (dired-create-files): Doc fix (Bug#11329).
10184 (dired-do-copy): Doc fix (Bug#11334).
10185 (dired-mark-read-string): Doc fix (Bug#11553).
10186
10187 * dired.el (dired-recursive-copies, dired-recursive-deletes):
10188 Doc fix (Bug#11326).
10189 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
10190 (dired-dwim-target): Doc fix.
10191
10192 * wdired.el (wdired-mode): Doc fix.
10193
10194 2012-06-22 Glenn Morris <rgm@gnu.org>
10195
10196 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
10197 (pcmpl-rpm-cache-stamp-file): New constant.
10198 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
10199 (pcmpl-rpm-packages): Optionally cache list of packages.
10200
10201 * pcmpl-rpm.el (pcmpl-rpm): New group.
10202 (pcmpl-rpm-query-options): New option.
10203 (pcmpl-rpm-packages): No need to inline it.
10204 Use pcmpl-rpm-query-options.
10205
10206 * calendar/calendar.el (calendar-in-read-only-buffer):
10207 Avoid some needless mode changes.
10208
10209 2012-06-21 Chong Yidong <cyd@gnu.org>
10210
10211 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
10212 (desktop-path): Remove . from the default value (Bug#10977).
10213 (desktop-read): Use user-emacs-directory if desktop-path is nil.
10214
10215 2012-06-20 Chong Yidong <cyd@gnu.org>
10216
10217 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
10218
10219 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
10220
10221 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
10222 (bug#11201).
10223
10224 2012-06-20 Chong Yidong <cyd@gnu.org>
10225
10226 * term.el (term-window-width): Handle the case of a missing right
10227 fringe (Bug#8837).
10228 (term-check-size): Use window-text-height (Bug#5445).
10229 (term-mode): Use define-derived-mode. Minor cleanups.
10230 Set font-lock-defaults (Bug#7692).
10231 (term-move-columns, term-insert-char, term-emulate-terminal)
10232 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
10233
10234 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
10235
10236 * net/ange-ftp.el (ange-ftp-get-passwd):
10237 Bind `enable-recursive-minibuffers'.
10238 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
10239
10240 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
10241
10242 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
10243
10244 2012-06-19 Glenn Morris <rgm@gnu.org>
10245
10246 * progmodes/python.el (python-mode): Derive from prog-mode.
10247
10248 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
10249
10250 * emulation/edt.el (edt-default-menu-bar-update-buffers)
10251 (edt-user-menu-bar-update-buffers): New functions.
10252 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
10253
10254 2012-06-19 Chong Yidong <cyd@gnu.org>
10255
10256 * subr.el (with-selected-window): Preserve the selected window's
10257 terminal's top-frame (Bug#4702).
10258
10259 * window.el (save-selected-window): Likewise.
10260
10261 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10262
10263 * progmodes/python.el (python-rx-constituents): Move backquote.
10264 (python-skeleton-define, python-define-auxiliary-skeleton):
10265 Use `declare'.
10266
10267 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
10268
10269 * minibuffer.el (read-file-name-default): Revert the patch from
10270 2012-06-17.
10271
10272 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10273
10274 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
10275 (pcase--u1, pcase--q1): Don't use apply-partially.
10276
10277 2012-06-18 Glenn Morris <rgm@gnu.org>
10278
10279 * progmodes/python.el (python-proc, python-buffer)
10280 (python-send-receive, python-send-string): Fix obsolete versions.
10281
10282 2012-06-18 Martin Rudalics <rudalics@gmx.at>
10283
10284 * window.el (special-display-p): Completely remove stringp
10285 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
10286
10287 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
10288
10289 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
10290
10291 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
10292
10293 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
10294 * net/tramp-sh.el (tramp-maybe-open-connection):
10295 Throw if `non-essential' is non-nil.
10296
10297 2012-06-17 Martin Rudalics <rudalics@gmx.at>
10298
10299 * window.el (special-display-p): Signal an error if BUFFER-NAME
10300 is not a string (Bug#11713).
10301
10302 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
10303
10304 * progmodes/python.el (python-info-beginning-of-backslash):
10305 Rename from python-info-beginning-of-backlash, as a spelling fix.
10306
10307 2012-06-17 Chong Yidong <cyd@gnu.org>
10308
10309 * term.el (term-emulate-terminal): If term-check-size is called,
10310 move point to the process mark without resetting point (Bug#4635).
10311
10312 2012-06-17 Glenn Morris <rgm@gnu.org>
10313
10314 * international/mule-cmds.el (mule-menu-keymap)
10315 (set-language-environment, set-locale-environment): Doc tweaks.
10316
10317 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
10318
10319 * cus-face.el (custom-face-attributes): Add wave-style underline
10320 attribute.
10321 * faces.el (set-face-attribute): Update docstring to describe
10322 wave-style underline attribute.
10323
10324 2012-06-16 Chong Yidong <cyd@gnu.org>
10325
10326 * term/xterm.el (terminal-init-xterm): Discard input before
10327 querying background mode (Bug#10959).
10328
10329 2012-06-16 Stefan Merten <smerten@oekonux.de>
10330
10331 * textmodes/rst.el: Added and corrected some comments.
10332 (rst-re-alist-def): Improve symbol syntax.
10333 (rst-mode-syntax-table): Correct syntax entries.
10334 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
10335 (rst-official-version, rst-official-cvs-rev): Update version
10336 information.
10337
10338 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
10339
10340 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
10341 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
10342
10343 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
10344
10345 * progmodes/python.el: New python.el merge.
10346 (python-guess-indent): Obsolete var.
10347 (python-indent-guess-indent-offset): New defcustom.
10348 (python-indent): Obsolete var.
10349 (python-indent-offset): New defcustom.
10350 (python-python-command, python-jython-command): Delete var.
10351 (python-shell-interpreter): New defcustom.
10352 (python-pdbtrack-do-tracking-p): Delete var.
10353 (python-pdbtrack-activate): New defcustom.
10354 (python-use-skeletons): Obsolete var.
10355 (python-skeleton-autoinsert): New defcustom.
10356 (inferior-python-filter-regexp, python-continuation-offset)
10357 (python-honour-comment-indentation, python-indent-string-contents)
10358 (python-jython-packages, python-mode-hook)
10359 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
10360 (python-shell-prompt-alist)
10361 (python-source-modes): Delete defcustoms.
10362 (python-check-buffer-name, python-eldoc-setup-code)
10363 (python-eldoc-string-code, python-ffap-setup-code)
10364 (python-ffap-string-code, python-fill-comment-function)
10365 (python-fill-decorator-function, python-fill-paren-function)
10366 (python-fill-string-function, python-imenu-include-defun-type)
10367 (python-imenu-make-tree, python-imenu-subtree-root-label)
10368 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
10369 (python-shell-compilation-regexp-alist)
10370 (python-shell-completion-module-string-code)
10371 (python-shell-completion-pdb-string-code)
10372 (python-shell-completion-setup-code)
10373 (python-shell-completion-string-code)
10374 (python-shell-enable-font-lock, python-shell-exec-path)
10375 (python-shell-extra-pythonpaths)
10376 (python-shell-internal-buffer-name, python-shell-interpreter-args)
10377 (python-shell-process-environment)
10378 (python-shell-prompt-block-regexp)
10379 (python-shell-prompt-output-regexp)
10380 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
10381 (python-shell-send-setup-max-wait, python-shell-setup-codes)
10382 (python-shell-virtualenv-path): New defcustoms.
10383 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
10384 (inferior-python-mode-syntax-table, python--prompt-regexp)
10385 (python-buffer, python-command python-python-command)
10386 (python-default-template, python-imports, python-indent-index)
10387 (python-indent-list, python-indent-list-length)
10388 (python-mode-running, python-pdbtrack-is-tracking-p)
10389 (python-preoutput-continuation, python-preoutput-leftover)
10390 (python-preoutput-result, python-preoutput-skip-next-prompt)
10391 (python-prev-dir/file, python-recursing)
10392 (python-saved-check-command, python-version-checked)
10393 (python-which-func-length-limit)
10394 (view-return-to-alist): Delete vars.
10395 (python-check-custom-command, python-dotty-syntax-table)
10396 (python-imenu-index-alist, python-indent-current-level)
10397 (python-indent-dedenters, python-indent-levels)
10398 (python-nav-beginning-of-defun-regexp)
10399 (python-nav-list-defun-positions-cache)
10400 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
10401 (python-shell-internal-buffer)
10402 (python-skeleton-available): New vars.
10403 (def-python-skeleton): Delete macro.
10404 (python-skeleton-define): New macro.
10405 (python-define-auxiliary-skeleton, python-rx): New macros.
10406 (python-insert-class): Delete command.
10407 (python-skeleton-class): New command.
10408 (python-insert-def): Delete command.
10409 (python-skeleton-def): New command.
10410 (python-insert-for): Delete command.
10411 (python-skeleton-for): New command.
10412 (python-insert-if): Delete command.
10413 (python-skeleton-if): New command.
10414 (python-insert-try/except, python-insert-try/finally): Delete commands.
10415 (python-skeleton-try): New command.
10416 (python-insert-while): Delete command.
10417 (python-skeleton-while): New command.
10418 (python-backspace): Delete command.
10419 (python-indent-dedent-line-backspace): New command.
10420 (python-electric-colon): Delete command.
10421 (python-indent-electric-colon): New command.
10422 (python-guess-indent): Delete command.
10423 (python-indent-guess-indent-offset): New command.
10424 (python-shift-left): Delete command.
10425 (python-indent-shift-left): New command.
10426 (python-shift-right): Delete command.
10427 (python-indent-shift-right): New command.
10428 (python-find-function): Delete command.
10429 (python-nav-jump-to-defun): New command.
10430 (python-next-statement): Delete command.
10431 (python-nav-forward-sentence): New command.
10432 (python-previous-statement): Delete command.
10433 (python-nav-backward-sentence): New command.
10434 (python-fill-paragraph): Delete command.
10435 (python-fill-paragraph-function): New command.
10436 (python-send-buffer): Delete command.
10437 (python-shell-send-buffer): New command.
10438 (python-send-defun): Delete command.
10439 (python-shell-send-defun): New command.
10440 (python-send-region, python-send-region-and-go): Delete commands.
10441 (python-shell-send-region)
10442 (python-shell-switch-to-shell): New commands.
10443 (python-send-string): Delete command.
10444 (python-shell-send-string): New command.
10445 (python-switch-to-python): Delete command.
10446 (python-shell-switch-to-shell): New command.
10447 (python-describe-symbol): Delete command.
10448 (python-eldoc-at-point): New command.
10449 (python--set-prompt-regexp, python-args-to-list)
10450 (python-after-info-look, python-check-version)
10451 (python-check-comint-prompt, python-find-imports)
10452 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
10453 (python-unload-function, python-expand-template)
10454 (python-maybe-jython, python-preoutput-filter)
10455 (python-pdbtrack-get-source-buffer)
10456 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
10457 (python-pdbtrack-toggle-stack-tracking)
10458 (python-pdbtrack-track-stack-file, python-initial-text)
10459 (python-first-word, python-comment-line-p, python-send-command)
10460 (python-setup-brm, python-sentinel, python-set-proc)
10461 (python-skip-out, python-input-filter, python-outdent-p)
10462 (python-outline-level, python-backslash-continuation-line-p)
10463 (python-end-of-block, python-end-of-statement, python-mark-block)
10464 (python-beginning-of-block, python-beginning-of-statement)
10465 (python-blank-line-p, python-beginning-of-string)
10466 (python-open-block-statement-p): Delete functions.
10467 (python-indent-line, python-indent-line-1): Delete functions.
10468 (python-indent-line): New function.
10469 (python-indentation-levels): Delete function.
10470 (python-indent-calculate-levels): New function.
10471 (python-proc): Delete function.
10472 (python-shell-get-process): New function.
10473 (python-send-receive): Delete function.
10474 (python-shell-send-string-no-output): New function.
10475 (python-module-path): Delete function.
10476 (python-ffap-module-path): New function.
10477 (python-completion-at-point)
10478 (python-symbol-completions): Delete functions.
10479 (python-completion-complete-at-point): New function.
10480 (python-load-file): Delete function.
10481 (python-shell-send-file): New function.
10482 (python-calculate-indentation): Delete function.
10483 (python-indent-calculate-indentation): New function.
10484 (python-skip-comments/blanks): Delete function.
10485 (python-util-forward-comment): New function.
10486 (python-continuation-line-p): Delete function.
10487 (python-info-continuation-line-p): New function.
10488 (python-which-func, python-current-defun): Delete function.
10489 (python-info-current-defun): New function.
10490 (python-beginning-of-defun): Delete function.
10491 (python-nav-beginning-of-defun): New function.
10492 (python-close-block-statement-p)
10493 (python-block-end-p): Delete function.
10494 (python-info-closing-block): New function.
10495 (python-comint-output-filter-function)
10496 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
10497 (python-fill-comment, python-fill-decorator, python-fill-paren)
10498 (python-fill-string, python-imenu-make-element-tree)
10499 (python-imenu-make-tree, python-imenu-tree-assoc)
10500 (python-indent-context, python-indent-dedent-line)
10501 (python-indent-line-function)
10502 (python-indent-post-self-insert-function)
10503 (python-indent-toggle-levels)
10504 (python-info-assignment-continuation-line-p)
10505 (python-info-beginning-of-backlash)
10506 (python-info-block-continuation-line-p)
10507 (python-info-closing-block-message)
10508 (python-info-line-ends-backslash-p)
10509 (python-info-looking-at-beginning-of-defun)
10510 (python-info-ppss-context, python-info-ppss-context-type)
10511 (python-nav-list-defun-positions, python-nav-read-defun)
10512 (python-nav-sentence-end, python-nav-sentence-start)
10513 (python-pdbtrack-comint-output-filter-function)
10514 (python-pdbtrack-set-tracked-buffer)
10515 (python-shell-calculate-exec-path)
10516 (python-shell-calculate-process-environment)
10517 (python-shell-completion--do-completion-at-point)
10518 (python-shell-completion--get-completions)
10519 (python-shell-completion-complete-at-point)
10520 (python-shell-completion-complete-or-indent)
10521 (python-shell-get-or-create-process)
10522 (python-shell-get-process-name)
10523 (python-shell-internal-get-or-create-process)
10524 (python-shell-internal-get-process-name)
10525 (python-shell-internal-send-string, python-shell-make-comint)
10526 (python-shell-parse-command, python-shell-send-setup-code)
10527 (python-skeleton-add-menu-items)
10528 (python-util-clone-local-variables, python-util-position)
10529 (run-python-internal, python-indentation-levels)
10530 (python-nav-beginning-of-defun)
10531 (python-completion-complete-at-point): New functions.
10532 (run-python): Change arguments. New API requirements.
10533
10534 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10535
10536 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
10537 (bug#11649).
10538
10539 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
10540 (macroexp--expand-all): Use it.
10541
10542 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
10543 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
10544 Use `cl-function' instead.
10545
10546 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
10547
10548 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
10549 Suggested by Stefan Monnier while discussing bug#11657.
10550
10551 2012-06-14 Sam Steingold <sds@gnu.org>
10552
10553 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
10554
10555 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
10556
10557 * play/doctor.el (doctor-doc): Remove parameter and use
10558 doctor-sent instead of sent.
10559 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
10560
10561 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10562
10563 * files.el: Require cl-lib.
10564 (file-name-non-special): Replace case -> cl-case.
10565
10566 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
10567
10568 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
10569 mapping from #' to function*.
10570
10571 2012-06-13 Chong Yidong <cyd@gnu.org>
10572
10573 * mouse.el (mouse-drag-track): Do not set the mark if the user
10574 releases the mouse without selecting anything (Bug#11588).
10575
10576 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10577
10578 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
10579 as well (bug#11646).
10580
10581 * loadup.el: Count byte-code functions as well.
10582
10583 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
10584 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
10585
10586 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
10587 (bug#11649). Add cl-defun and cl-defmacro.
10588
10589 2012-06-13 Drew Adams <drew.adams@oracle.com>
10590
10591 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
10592 Fix last change.
10593
10594 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
10595
10596 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
10597 Otherwise, it blocks in batch mode.
10598
10599 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
10600
10601 * help-mode.el (bookmark-make-record-default): Declare.
10602
10603 2012-06-13 Chong Yidong <cyd@gnu.org>
10604
10605 * emacs-lisp/package.el (list-packages): Compute a list of
10606 packages that are newly-available since the last list-packages
10607 invocation.
10608 (package-menu--new-package-list): New var.
10609 (package-menu--generate, package-menu--print-info)
10610 (package-menu--status-predicate, package-menu-mark-install):
10611 Handle new status label "new".
10612
10613 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10614
10615 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
10616 conversion to backquotes.
10617
10618 2012-06-12 Chong Yidong <cyd@gnu.org>
10619
10620 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
10621 Rename from gud-inhibit-global-bindings.
10622
10623 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
10624
10625 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
10626 hook from nxml-glyph-set-hook.
10627
10628 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
10629 declaration.
10630
10631 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
10632
10633 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
10634 Convert to defcustom.
10635
10636 2012-06-12 Drew Adams <drew.adams@oracle.com>
10637
10638 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
10639 New functions.
10640 (help-mode): Use them.
10641
10642 2012-06-11 Glenn Morris <rgm@gnu.org>
10643
10644 * progmodes/fortran.el (fortran-font-lock-keywords-3):
10645 Use preprocessor face for directives.
10646 (fortran-directive-re): Doc fix.
10647
10648 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10649
10650 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
10651 conversion to backquotes (bug#11652).
10652
10653 Fix compiler-expansion of CL's cXXr functions (bug#11673).
10654 * emacs-lisp/cl-lib.el (cl--defalias): New function.
10655 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
10656 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
10657 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
10658 (cl-ninth, cl-tenth): Mark them as inlinable.
10659 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
10660 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
10661 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
10662 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
10663 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
10664 (cl-list*, cl-adjoin): Don't put an autoload manually.
10665 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
10666 (cl--compiler-macro-list*): Add autoload cookie.
10667 (cl--compiler-macro-cXXr): New function.
10668
10669 * help-fns.el (help-fns--compiler-macro): New function extracted from
10670 describe-function-1; follow aliases and use `compiler-macro' property.
10671 (describe-function-1): Use it.
10672
10673 2012-06-11 Chong Yidong <cyd@gnu.org>
10674
10675 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
10676 is uninstalled, if imagemagick is installed.
10677
10678 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10679
10680 * emacs-lisp/cl-lib.el: Use lexical-binding.
10681 (cl-map-extents, cl-maclisp-member): Remove.
10682 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
10683 (cl--set-substring, cl--block-wrapper, cl--block-throw)
10684 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
10685 * emacs-lisp/cl-extra.el: Use lexical-binding.
10686 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
10687 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
10688 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
10689 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
10690 * emacs-lisp/cl-seq.el: Use lexical-binding.
10691 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
10692 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
10693 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
10694 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
10695 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
10696 CL's internals.
10697
10698 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
10699
10700 Sync with Tramp 2.2.6-pre.
10701
10702 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
10703 `print-length' and `print-level' to nil, in order to avoid
10704 truncation. Reported by Christopher Schmidt
10705 <christopher@ristopher.com>.
10706
10707 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
10708
10709 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
10710 New defmacro.
10711 (tramp-compat-copy-directory): Add optional argument
10712 COPY-CONTENTS. It is not handled yet.
10713
10714 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
10715 (tramp-ftp-file-name-p): Simplify.
10716
10717 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
10718 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
10719 connection vector.
10720
10721 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
10722 (tramp-methods): Do not use `tramp-password-end-of-line'.
10723 (tramp-completion-function-alist-putty): Handle UNIX case.
10724 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
10725 (tramp-do-file-attributes-with-stat)
10726 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
10727 gid as real numbers. They could run out of integer range on cygwin.
10728 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
10729 (tramp-sh-handle-expand-file-name): Handle hops.
10730 (tramp-open-connection-setup-interactive-shell):
10731 Use `tramp-cleanup'. Move check for busyboxes ...
10732 (tramp-find-shell): ... here. Simplify implementation.
10733 Set "remote-shell" property also for alternative shells.
10734 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
10735 If failing, a regular file would be written otherwise.
10736 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
10737 (tramp-find-inline-encoding): Cache the coding commands in the
10738 process cache. Apply test command on the remote side, if defined.
10739 (tramp-find-inline-compress): Cache the compress commands in the
10740 process cache.
10741 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
10742 when requested. Handle hops.
10743 (tramp-current-connection): New defvar.
10744 (tramp-maybe-open-connection): Use `tramp-cleanup'.
10745 Throw `suppress', if there was a failed connection shortly before.
10746 Handle user interrupt. (Bug#10187)
10747 (tramp-get-inline-compress, tramp-get-inline-coding):
10748 Read connection properties from the process cache.
10749
10750 * net/tramp-smb.el (tramp-smb-server-version)
10751 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
10752 New defconsts.
10753 (tramp-smb-prompt): Extend for powershell prompt.
10754 (tramp-smb-file-name-handler-alist): Add handlers for
10755 `process-file', `shell-command' and `start-file-process'.
10756 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
10757 (tramp-smb-winexe-shell-command-switch): New defcustoms.
10758 (tramp-smb-file-name-p): Simplify.
10759 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
10760 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
10761 (tramp-smb-shell-quote-argument): New defuns.
10762 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
10763 Implement using "tar". By this, time-stamps are preserved.
10764 (tramp-smb-handle-copy-file): Handle also the case of directories.
10765 (tramp-smb-do-file-attributes-with-stat)
10766 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
10767 Use `tramp-get-connection-buffer').
10768 (tramp-smb-handle-rename-file): Use "rename", when source and
10769 target are on the same share.
10770 (tramp-smb-maybe-open-connection): Handle wrong passwords.
10771 Use `tramp-smb-server-version'.
10772 (tramp-smb-wait-for-output): Remove prompt.
10773
10774 * net/tramp.el (top): Require 'cl.
10775 (tramp-methods, tramp-rsh-end-of-line):
10776 Remove `tramp-password-end-of-line' from docstring.
10777 (tramp-save-ad-hoc-proxies): New defcustom.
10778 (tramp-completion-function-alist): Adapt docstring.
10779 (tramp-default-password-end-of-line): Remove defcustom.
10780 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
10781 (tramp-user-regexp, tramp-file-name-regexp-unified)
10782 (tramp-file-name-regexp-url): Extend regexp by hop separator.
10783 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
10784 (tramp-remote-file-name-spec-regexp): New defconst.
10785 (tramp-file-name-structure): Extend structure for hops.
10786 (tramp-get-method-parameter): Move up.
10787 (tramp-file-name-p, tramp-dissect-file-name)
10788 (with-parsed-tramp-file-name): Handle hops.
10789 (tramp-file-name-hop): New defun.
10790 (tramp-make-tramp-file-name): New optional arg HOP.
10791 (tramp-message-show-progress-reporter-message): New defvar.
10792 (tramp-with-progress-reporter): Use it. We cannot use
10793 `tramp-message-show-message' here, because this suppresses also
10794 error buffers.
10795 (tramp-error-with-buffer): Suppress buffer view, if
10796 `tramp-message-show-message' is nil.
10797 Use `tramp-get-connection-buffer'.
10798 (tramp-cleanup): New defun.
10799 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
10800 (tramp-file-name-handler): If `debug-on-error' is set, propagate
10801 an error unchanged.
10802 (tramp-completion-handle-file-name-all-completions): Handle hops.
10803 Fix an error when called from ido.
10804 (tramp-completion-dissect-file-name): Use better local variable
10805 name. Add hop to the vector.
10806 (tramp-handle-insert-file-contents): Use progress-reporter for the
10807 whole scenario.
10808 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
10809 to `t'.
10810 (tramp-check-for-regexp): Simplify search.
10811 (tramp-enter-password): Remove it. Move implementation ...
10812 (tramp-action-password): ... here.
10813 (tramp-mode-string-to-int, tramp-local-host-p)
10814 (tramp-make-tramp-temp-file, tramp-read-passwd)
10815 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
10816 Set tramp-autoload cookie.
10817
10818 * net/trampver.el: Update release number.
10819
10820 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10821 Michael Albinus <michael.albinus@gmx.de>
10822
10823 * net/tramp.el (tramp-set-completion-function): Fix docstring.
10824 (tramp-parse-group, tramp-parse-file)
10825 (tramp-parse-shostkeys-sknownhosts): New defuns.
10826 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
10827 (tramp-parse-shosts-group, tramp-parse-sconfig)
10828 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
10829 (tramp-parse-sknownhosts, tramp-parse-hosts)
10830 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
10831 Use them.
10832 (tramp-parse-passwd-group, tramp-parse-netrc-group)
10833 (tramp-parse-putty-group): Don't narrow.
10834 (tramp-parse-putty): Make a loop.
10835 (tramp-file-name-handler): Catch the `suppress' signal.
10836
10837 2012-06-11 Chong Yidong <cyd@gnu.org>
10838
10839 * image.el (imagemagick-register-types): Put the ImageMagick entry
10840 at the end of image-type-file-name-regexps.
10841
10842 2012-06-11 Johan Bockgård <bojohan@gnu.org>
10843
10844 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
10845 (pcase, pcase-let*, pcase-dolist): Use them.
10846
10847 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10848
10849 * emacs-lisp/pcase.el (pcase--let*): New function.
10850 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
10851 (pcase--expand): Use macroexp-let².
10852
10853 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
10854
10855 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
10856 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
10857 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
10858 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
10859 * emacs-lisp/derived.el: Use pcase instead of `cl'.
10860 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
10861
10862 2012-06-10 Glenn Morris <rgm@gnu.org>
10863
10864 * mail/rmail.el (rmail-yank-current-message): Leave point at
10865 correct position. (Bug#11660)
10866
10867 2012-06-10 Chong Yidong <cyd@gnu.org>
10868
10869 * allout-widgets.el: Fix code header.
10870
10871 2012-06-10 Chong Yidong <cyd@gnu.org>
10872
10873 * cus-edit.el (customize-changed-options-previous-release):
10874 Bump to 24.1.
10875
10876 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
10877
10878 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
10879
10880 2012-06-09 Chong Yidong <cyd@gnu.org>
10881
10882 * ebuff-menu.el (electric-buffer-list): Preserve header line.
10883
10884 2012-06-09 Martin Rudalics <rudalics@gmx.at>
10885
10886 * window.el (special-display-popup-frame): Don't use
10887 window--display-buffer (Bug#11651).
10888
10889 2012-06-09 Eli Zaretskii <eliz@gnu.org>
10890
10891 Fix parallel builds: make sure loaddefs.el is not being written
10892 while Lisp files are compiled.
10893 (compile): Don't depend on 'mh-autoloads'.
10894 (compile-CMD, compile-SH): Depend on 'autoloads'.
10895 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
10896
10897 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
10898
10899 2012-06-09 Chong Yidong <cyd@gnu.org>
10900
10901 * face-remap.el (face-remap-add-relative, face-remap-set-base)
10902 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
10903 Doc fixes (Bug#11225).
10904
10905 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
10906
10907 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
10908 a function if there's a clear indication that it has a compiler-macro.
10909 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
10910 (macro-declarations-alist): Add arglist to declaration functions.
10911 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
10912 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
10913 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
10914 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
10915 Also add autoload to find the compiler macro.
10916 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
10917 (cl--compiler-macro-member, cl--compiler-macro-assoc)
10918 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
10919 (cl--compiler-macro-get): New functions, replacing calls to
10920 cl-define-compiler-macro.
10921 (cl-typep) [compiler-macro]: Use macroexp-let².
10922
10923 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
10924
10925 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
10926 string properly, fixes Bug#11473.
10927
10928 2012-06-08 Chong Yidong <cyd@gnu.org>
10929
10930 * faces.el (set-face-attribute): Doc fix.
10931 (modify-face): Don't use :bold and :italic.
10932 (error, warning, success): Tweak definitions.
10933
10934 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
10935 (custom-modified, custom-set, custom-changed, custom-themed)
10936 (custom-saved, custom-button, custom-button-mouse)
10937 (custom-button-pressed, custom-state, custom-comment-tag)
10938 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
10939 (custom-group-subtitle): Use new-style face specs.
10940 (custom-invalid-face, custom-rogue-face, custom-modified-face)
10941 (custom-set-face, custom-changed-face, custom-saved-face)
10942 (custom-button-face, custom-button-pressed-face)
10943 (custom-documentation-face, custom-state-face)
10944 (custom-comment-face, custom-comment-tag-face)
10945 (custom-variable-tag-face, custom-variable-button-face)
10946 (custom-face-tag-face, custom-group-tag-face-1)
10947 (custom-group-tag-face): Remove obsolete face alias.
10948
10949 * epa.el (epa-validity-high, epa-validity-medium)
10950 (epa-validity-low, epa-mark, epa-field-name, epa-string)
10951 (epa-field-name, epa-field-body):
10952 * font-lock.el (font-lock-comment-face, font-lock-string-face)
10953 (font-lock-keyword-face, font-lock-builtin-face)
10954 (font-lock-function-name-face, font-lock-variable-name-face)
10955 (font-lock-type-face, font-lock-constant-face):
10956 * ido.el (ido-first-match, ido-only-match, ido-subdir)
10957 (ido-virtual, ido-indicator, ido-incomplete-regexp):
10958 * speedbar.el (speedbar-button-face, speedbar-file-face)
10959 (speedbar-directory-face, speedbar-tag-face)
10960 (speedbar-selected-face, speedbar-highlight-face)
10961 (speedbar-separator-face):
10962 * whitespace.el (whitespace-newline, whitespace-space)
10963 (whitespace-hspace, whitespace-tab, whitespace-trailing)
10964 (whitespace-line, whitespace-space-before-tab)
10965 (whitespace-space-after-tab, whitespace-indentation)
10966 (whitespace-empty):
10967 * emulation/cua-base.el (cua-global-mark):
10968 * eshell/em-prompt.el (eshell-prompt):
10969 * net/newst-plainview.el (newsticker-new-item-face)
10970 (newsticker-old-item-face, newsticker-immortal-item-face)
10971 (newsticker-obsolete-item-face, newsticker-date-face)
10972 (newsticker-statistics-face, newsticker-default-face):
10973 * net/newst-reader.el (newsticker-feed-face)
10974 (newsticker-extra-face, newsticker-enclosure-face):
10975 * net/newst-treeview.el (newsticker-treeview-face)
10976 (newsticker-treeview-new-face, newsticker-treeview-old-face)
10977 (newsticker-treeview-immortal-face)
10978 (newsticker-treeview-obsolete-face)
10979 (newsticker-treeview-selection-face):
10980 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
10981 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
10982 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
10983 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
10984 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
10985 (nxml-outline-active-indicator, nxml-outline-ellipsis):
10986 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
10987 (mpuz-text):
10988 * progmodes/vera-mode.el (vera-font-lock-number)
10989 (vera-font-lock-function, vera-font-lock-interface):
10990 * textmodes/table.el (table-cell): Use new-style face specs, and
10991 don't use the old :bold and :italic attributes.
10992
10993 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
10994 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
10995 (ebrowse-member-class, ebrowse-progress): Likewise.
10996 (ebrowse-tree-mark-face, ebrowse-root-class-face)
10997 (ebrowse-file-name-face, ebrowse-default-face)
10998 (ebrowse-member-attribute-face, ebrowse-member-class-face)
10999 (ebrowse-progress-face): Remove obsolete faces.
11000
11001 * progmodes/flymake.el (flymake-errline, flymake-warnline):
11002 Inherit from error and warning faces respectively.
11003
11004 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
11005 Likewise.
11006 (flyspell-incorrect-face, flyspell-duplicate-face):
11007 Remove obsolete aliases.
11008
11009 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
11010
11011 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
11012 Avoid infloop.
11013
11014 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
11015
11016 * startup.el (argv, argi): Make lexically scoped.
11017 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
11018 * emacs-lisp/cl-macs.el: Use lexical-binding.
11019 Rename cl-bind-* to cl--bind-*.
11020 * files.el: Don't require `cl' since it doesn't use it.
11021 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
11022
11023 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
11024
11025 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
11026 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
11027 instead of calling external sort utility.
11028 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
11029
11030 2012-06-08 Eli Zaretskii <eliz@gnu.org>
11031
11032 * descr-text.el (describe-char): Mention how to insert the
11033 character, if the current input method doesn't support it.
11034 See the discussion in this thread for the details:
11035 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
11036
11037 2012-06-08 Sam Steingold <sds@gnu.org>
11038
11039 * bindings.el (global-map): Bind XF86Forward to next-buffer and
11040 XF86Back to previous-buffer.
11041 (minibuffer-local-map): Bind them to next-history-element and
11042 previous-history-element respectively.
11043 * help-mode.el (help-mode-map): Bind them to help-go-forward and
11044 help-go-back respectively.
11045 * info.el (Info-mode-map): Bind them to Info-history-forward and
11046 Info-history-back respectively.
11047 These are the keys next to Up on the ThinkPad keyboard.
11048
11049 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
11050
11051 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
11052 * emacs-lisp/cl-macs.el: Provide itself.
11053 (cl--labels-convert-cache): New var.
11054 (cl--labels-convert): New function.
11055 (cl-flet, cl-labels): New implementation with new semantics, relying on
11056 lexical-binding.
11057 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
11058 (cl-closure-vars, cl--function-convert-cache)
11059 (cl--function-convert): Move from cl-macs.el.
11060 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
11061 rename by removing the "cl-" prefix.
11062 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
11063
11064 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11065
11066 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
11067 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
11068 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
11069 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
11070 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
11071 (cl-hash-table-count): Add old compatibility aliases.
11072
11073 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
11074 Use macroexpand-all-environment instead.
11075 (cl--old-macroexpand): New var.
11076 (cl--sm-macroexpand): New function.
11077 (cl-symbol-macrolet): Use it during macro expansion.
11078 (cl--function-convert-cache): New var.
11079 (cl--function-convert): New function, extracted from
11080 cl-macroexpand-all.
11081 (cl-lexical-let): Use it.
11082
11083 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
11084 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
11085 (cl-member): Remove old alias.
11086
11087 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
11088 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
11089 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
11090 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
11091 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
11092 (cl-macroexpand-cmacs): Remove var.
11093 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
11094 Use macroexpand-all instead.
11095
11096 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11097
11098 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
11099 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
11100 (macroexp-copyable-p): New functions and macros.
11101 * emacs-lisp/edebug.el (edebug-unwrap):
11102 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
11103 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
11104 (pcase--let*): Remove.
11105 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
11106 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
11107 macroexp-const-p instead.
11108 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
11109
11110 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
11111 instead of "cl-" for internal definitions. Use macroexp-const-p.
11112 (cl-old-bc-file-form): Remove var.
11113 (cl-const-exprs-p): Remove fun.
11114 (cl-labels, cl-macrolet): Use backquote.
11115 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
11116 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
11117 (cl-define-setf-expander): Rename from cl-define-setf-method.
11118 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
11119
11120 * international/mule-cmds.el: Don't require CL.
11121 (view-hello-file): Don't use `letf'.
11122
11123 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11124
11125 * tmm.el (tmm-prompt): Use string-prefix-p.
11126 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
11127 (tmm-add-prompt): Use minibuffer-completion-help.
11128 (tmm-delete-map): Remove.
11129
11130 * subr.el (kbd): Make it its own function.
11131
11132 2012-06-07 Stefan Merten <smerten@oekonux.de>
11133
11134 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
11135 Silence compiler warnings. Fix versions.
11136 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
11137 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
11138 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
11139 (rst-package-emacs-version-alist): Correct Emacs version to
11140 represent major merge with upstream.
11141 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
11142
11143 2012-06-06 Glenn Morris <rgm@gnu.org>
11144
11145 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
11146 Only print environment variables if set.
11147
11148 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
11149
11150 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
11151 (macroexp--cons): Rename from maybe-cons.
11152 (macroexp--accumulate): Rename from macroexp-accumulate.
11153 (macroexp--all-forms): Rename from macroexpand-all-forms.
11154 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
11155 (macroexp--expand-all): Rename from macroexpand-all-1.
11156
11157 2012-06-06 Sam Steingold <sds@gnu.org>
11158
11159 * calendar/calendar.el (calendar-in-read-only-buffer):
11160 Call `special-mode' to enable the standard read-only keybindings.
11161
11162 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
11163
11164 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
11165 with "loading" messages (bug#11635).
11166
11167 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
11168
11169 * files.el (enable-remote-dir-locals): New option.
11170 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
11171
11172 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
11173 Ensure, that the temp directory is local.
11174
11175 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
11176 `temporary-file-directory'.
11177
11178 * progmodes/python.el (python-send-region): Ensure, that the
11179 temporary file is created also in the remote case.
11180
11181 2012-06-06 Glenn Morris <rgm@gnu.org>
11182
11183 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
11184 (vc-rcs-update-changelog): Use it.
11185
11186 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
11187
11188 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
11189 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
11190 (vc-sccs-diff): Replace use of the external vcdiff script.
11191
11192 2012-06-05 Glenn Morris <rgm@gnu.org>
11193
11194 * ledit.el: Move to obsolete/.
11195
11196 2012-06-05 Sam Steingold <sds@gnu.org>
11197
11198 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
11199 patch (Bug#11140).
11200
11201 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11202
11203 * emacs-lisp/cust-print.el: Move to obsolete.
11204
11205 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
11206 compiler-macro expansion.
11207
11208 Add native compiler-macro support.
11209 * emacs-lisp/macroexp.el (macroexpand-all-1):
11210 Support compiler-macros directly. Properly follow aliases and apply
11211 the compiler macros more thoroughly.
11212 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
11213 macroexpand now properly follows aliases.
11214 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
11215 (cl-compiler-macroexpand): Use new prop.
11216 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
11217
11218 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
11219
11220 2012-06-05 Martin Rudalics <rudalics@gmx.at>
11221
11222 * window.el (get-lru-window, get-mru-window, get-largest-window):
11223 New argument NOT-SELECTED to avoid picking the selected window.
11224 (window--display-buffer-1, window--display-buffer-2): Replace by
11225 new function window--display-buffer
11226 (display-buffer-same-window, display-buffer-reuse-window)
11227 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11228 Use window--display-buffer.
11229 (display-buffer-use-some-window): Remove temporary dedication
11230 hack by calling get-lru-window and get-largest-window with
11231 NOT-SELECTED argument non-nil. Call window--display-buffer.
11232
11233 2012-06-05 Glenn Morris <rgm@gnu.org>
11234
11235 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
11236 Replace external vcdiff script.
11237
11238 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11239
11240 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
11241
11242 2012-06-04 Chong Yidong <cyd@gnu.org>
11243
11244 * image.el (imagemagick-types-inhibit): Revert last change.
11245 Add INFO and M.
11246 (imagemagick-enabled-types): Remove CIN and EPS*.
11247
11248 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11249
11250 * emacs-lisp/cl-lib.el: Rename from cl.el.
11251 * emacs-lisp/cl.el: New compatibility file.
11252 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
11253 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
11254 to obey the "cl-" prefix.
11255 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
11256
11257 2012-06-03 Glenn Morris <rgm@gnu.org>
11258
11259 * emacs-lisp/authors.el (authors-aliases): Addition.
11260
11261 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
11262 Fix :version.
11263
11264 2012-06-03 Stefan Merten <smerten@oekonux.de>
11265
11266 * textmodes/rst.el: Add comments.
11267 (rst-transition, rst-adornment): New faces.
11268 (rst-adornment-faces-alist): Make default safe to reevaluate.
11269 Fixes
11270 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
11271 Improve customization tags.
11272 (rst-define-level-faces): Clarify meaning.
11273
11274 2012-06-03 Chong Yidong <cyd@gnu.org>
11275
11276 * progmodes/compile.el (compilation-mode-line-fail)
11277 (compilation-mode-line-run, compilation-mode-line-exit):
11278 New faces.
11279 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
11280
11281 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
11282
11283 * progmodes/which-func.el (which-func-update-ediff-windows):
11284 New function. Use it in ediff-select-hook (Bug#11478).
11285
11286 2012-06-03 Chong Yidong <cyd@gnu.org>
11287
11288 * bindings.el: Remove explicit help text from format-mode-line.
11289 It is now supplied by mode-line-default-help-echo.
11290 (mode-line-front-space, mode-line-end-spaces)
11291 (mode-line-misc-info): New variables.
11292 (mode-line-modes, mode-line-position): Move the default value to
11293 the variable definition.
11294 (mode-line-default-help-echo): New defcustom.
11295 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
11296 (mode-line-modified-help-echo): New functions.
11297 (mode-line-mule-info, mode-line-modified): Use them.
11298 (mode-line-eol-desc, propertized-buffer-identification):
11299 Consistency fixes for help text.
11300 (mode-line-coding-system-map): Allow using mouse-3 to invoke
11301 set-buffer-file-coding-system (Bug#289).
11302 (mode-line-mule-info-help-echo): Update help text.
11303
11304 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11305
11306 * simple.el (execute-extended-command): Set real-this-command
11307 (bug#11506).
11308
11309 2012-06-02 Chong Yidong <cyd@gnu.org>
11310
11311 Remove incorrect uses of "modeline" in comments, docstrings, and
11312 function/variable names (Bug#10329).
11313
11314 * cus-edit.el (mode-line):
11315 * dframe.el (dframe-mouse-hscroll):
11316 * emacs-lisp/re-builder.el:
11317 * emacs-lisp/easy-mmode.el (define-minor-mode):
11318 * frame.el (set-frame-name):
11319 * help.el (lookup-minor-mode-from-indicator):
11320 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
11321 * progmodes/cc-cmds.el (c-toggle-auto-newline)
11322 (c-toggle-hungry-state):
11323 * progmodes/antlr-mode.el (antlr-language-alist):
11324 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
11325 * progmodes/vhdl-mode.el (vhdl-mode):
11326 * progmodes/which-func.el (which-func, which-func-cleanup-function):
11327 * term/ns-win.el (ns-face-at-pos):
11328 * term/sup-mouse.el (sup-mouse-report):
11329 * textmodes/flyspell.el (flyspell-mode-line-string):
11330 * textmodes/ispell.el (ispell-highlight-face):
11331 * textmodes/reftex-global.el:
11332 * vc/vc-arch.el (vc-arch-mode-line-string):
11333 * vc/vc-cvs.el (vc-cvs-mode-line-string):
11334 * vc/vc-git.el (vc-git-mode-line-string):
11335 * vc/vc-hooks.el (vc-display-status)
11336 (vc-default-mode-line-string):
11337 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
11338
11339 * ansi-color.el (ansi-color-faces-vector): Change default faces.
11340
11341 * dired.el (dired-sort-set-mode-line): Rename from
11342 dired-sort-set-modeline. All callers changed.
11343
11344 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
11345 eshell-status-in-modeline.
11346
11347 * foldout.el (foldout-mode-line-string): Rename from
11348 foldout-modeline-string. All callers changed.
11349 (foldout-update-mode-line): Rename from foldout-update-modeline.
11350
11351 * subr.el (redraw-modeline): Make into obsolete alias.
11352
11353 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
11354 timeclock-modeline-display. Make old name an alias.
11355 (timeclock-update-mode-line): Likewise. All callers changed.
11356 (timeclock-mode-line-display): No need to check before using
11357 add-hook.
11358 (timeclock-relative, timeclock-day-over-hook)
11359 (timeclock-use-elapsed, timeclock-mode-string)
11360 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
11361
11362 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
11363 crisp-mode-modeline-string.
11364
11365 * play/solitaire.el (solitaire-build-mode-line): Rename from
11366 solitaire-build-modeline. All callers changed.
11367
11368 * play/zone.el (zone-hiding-mode-line): Rename from
11369 zone-hiding-modeline. All callers changed.
11370 (zone): Remove unusued `modeline-hidden-level' property.
11371
11372 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
11373 xscheme-modeline-initialize. All callers changed.
11374
11375 * strokes.el (strokes-lighter): Rename from
11376 strokes-modeline-string.
11377
11378 * textmodes/sgml-mode.el (html-face-tag-alist)
11379 (html-tag-face-alist): Use mode-line face instead of obsolete
11380 alias modeline.
11381
11382 2012-06-02 Stefan Merten <smerten@oekonux.de>
11383
11384 * textmodes/rst.el: Always require `cl'.
11385 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
11386
11387 2012-06-02 Chong Yidong <cyd@gnu.org>
11388
11389 * image.el (imagemagick-enabled-types): Rename from
11390 imagemagick-types-enable. Add many more types.
11391 (imagemagick-types-inhibit): Change default to nil.
11392 (imagemagick-filter-types): Caller changed.
11393
11394 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11395
11396 * emacs-lisp/cl-macs.el: Use backquotes.
11397 (cl-transform-function-property): Use eval-and-compile rather than
11398 abusing `require'.
11399 (defstruct): Use declare-function instead of with-no-warnings.
11400
11401 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
11402 (byte-compile-output-docform): Re-add the print-circle bindings.
11403 (byte-compile-fix-header): Use #$ just because it's shorter.
11404 (byte-compile-output-file-form): Remove defun/defmacro.
11405
11406 2012-06-01 Martin Rudalics <rudalics@gmx.at>
11407
11408 * simple.el (choose-completion): Remove now obsolete binding for
11409 owindow.
11410
11411 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
11412
11413 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
11414 in order to avoid "Stack overflow in regexp matcher".
11415
11416 2012-05-31 Glenn Morris <rgm@gnu.org>
11417
11418 * image.el: For clarity, call imagemagick-register-types at
11419 top-level, rather than relying on a custom :initialize.
11420 (imagemagick-types-enable): New option. (Bug#11557)
11421 (imagemagick-filter-types): New function. (Bug#7406)
11422 (imagemagick-register-types): Use imagemagick-filter-types.
11423 If disabling support, remove elements altogether rather
11424 than using an impossible regexp.
11425 (imagemagick-types-inhibit): Give it the default init function.
11426
11427 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11428
11429 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
11430 Handle arbitrary file name lengths (Bug#11585).
11431
11432 2012-05-31 Martin Rudalics <rudalics@gmx.at>
11433
11434 * desktop.el (desktop-read): Clear previous and next buffers for
11435 all windows and bury *Messages* buffer (bug#11556).
11436
11437 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11438
11439 Add `declare' for `defun'. Align `defmacro's with it.
11440 * emacs-lisp/easy-mmode.el (define-minor-mode)
11441 (define-globalized-minor-mode): Don't autoload the var definitions.
11442 * emacs-lisp/byte-run.el: Use lexical-binding.
11443 (defun-declarations-alist, macro-declarations-alist): New vars.
11444 (defmacro, defun): Use them.
11445 (make-obsolete, define-obsolete-function-alias)
11446 (make-obsolete-variable, define-obsolete-variable-alias):
11447 Use `declare'.
11448 (macro-declaration-function): Mark obsolete.
11449 * emacs-lisp/autoload.el: Use lexical-binding.
11450 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
11451
11452 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11453
11454 * textmodes/ispell.el (ispell-with-no-warnings):
11455 Define as a macro.
11456 (ispell-kill-ispell, ispell-change-dictionary):
11457 Use `called-interactively-p' for Emacs instead of obsolete
11458 `interactive-p'.
11459
11460 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11461
11462 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
11463 (macro-declaration-function): Move var from C code.
11464 (macro-declaration-function): Define function with defalias.
11465 * emacs-lisp/macroexp.el (macroexpand-all-1):
11466 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
11467 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
11468 defun/defmacro any more.
11469 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
11470 Provide fallback for unknown arglist.
11471 (byte-compile-arglist-warn): Change calling convention.
11472 (byte-compile-output-file-form): Move print-vars binding.
11473 (byte-compile-output-docform): Simplify accordingly.
11474 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
11475 (byte-compile-defmacro-declaration): Remove.
11476 (byte-compile-file-form-defmumble): Generalize to defalias.
11477 (byte-compile-output-as-comment): Return byte-positions.
11478 Simplify callers accordingly.
11479 (byte-compile-lambda): Use `assert'.
11480 (byte-compile-defun, byte-compile-defmacro): Remove.
11481 (byte-compile-file-form-defalias):
11482 Use byte-compile-file-form-defmumble.
11483 (byte-compile-defalias-warn): Remove.
11484
11485 2012-05-29 Stefan Merten <smerten@oekonux.de>
11486
11487 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
11488 possible. Fix authors. Improve comments. Improve loading of `cl'.
11489
11490 (rst-mode-abbrev-table): Merge definition.
11491 (rst-mode): Make sure `font-lock-defaults' is buffer local.
11492 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
11493
11494 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
11495
11496 * calendar/icalendar.el
11497 (icalendar-export-region): Export UID properly.
11498
11499 2012-05-29 Leo Liu <sdl.web@gmail.com>
11500 * calendar/icalendar.el (icalendar-import-format):
11501 Add `icalendar-import-format-uid' (Bug#11525).
11502 (icalendar-import-format-uid): New.
11503 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
11504 Export UID.
11505
11506 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
11507
11508 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
11509 different alternative patterns.
11510 (pcase-codegen): Be more careful to preserve identity.
11511 (pcase--u1): Don't forget to mark vars as used.
11512
11513 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
11514 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
11515 (byte-compile-from-buffer): ...rather than here.
11516
11517 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
11518 functions from byte-compile-function-environment.
11519
11520 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
11521
11522 * window.el (window-deletable-p): Avoid deleting the root window
11523 of a frame with an active minibuffer.
11524
11525 2012-05-29 Martin Rudalics <rudalics@gmx.at>
11526
11527 * simple.el (choose-completion): Use quit-window (Bug#11567).
11528
11529 2012-05-29 Chong Yidong <cyd@gnu.org>
11530
11531 * whitespace.el (whitespace-cleanup): Fix usage of
11532 whitespace-empty-at-bob-regexp (Bug#11492).
11533
11534 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11535
11536 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
11537 revert (Bug#11488).
11538
11539 2012-05-29 Juri Linkov <juri@jurta.org>
11540
11541 * isearch.el (isearch-mode-map): Bind `M-s _' to
11542 `isearch-toggle-symbol'. Bind `M-s c' to
11543 `isearch-toggle-case-fold'.
11544 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
11545 (isearch-forward): Add `M-s _' to the docstring.
11546 (isearch-forward-symbol, isearch-toggle-case-fold)
11547 (isearch-symbol-regexp): New functions. (Bug#11381)
11548
11549 2012-05-29 Juri Linkov <juri@jurta.org>
11550
11551 * isearch.el (isearch-word): Add docstring. (Bug#11381)
11552 (isearch-occur, isearch-search-and-update): If `isearch-word' is
11553 a function, call it to get the regexp.
11554 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
11555 property `isearch-message-prefix' instead of the string "word ".
11556 (isearch-search-fun-default): For the case of `isearch-word',
11557 return a lambda that calls re-search-forward/re-search-backward
11558 with a regexp returned by `word-search-regexp' or by the function
11559 in `isearch-word'.
11560
11561 2012-05-29 Juri Linkov <juri@jurta.org>
11562
11563 * isearch.el (isearch-search-fun-default): New function.
11564 (isearch-search-fun): Move default part to the new function
11565 `isearch-search-fun-default'.
11566 (isearch-search-fun-function): Set the default value to
11567 `isearch-search-fun-default'. (Bug#11381)
11568
11569 * comint.el (comint-history-isearch-end):
11570 Use `isearch-search-fun-default'.
11571 (comint-history-isearch-search): Use `isearch-search-fun-default'
11572 and remove spacial case for `isearch-word'.
11573 (comint-history-isearch-wrap): Remove spacial case for
11574 `isearch-word'.
11575
11576 * hexl.el (hexl-isearch-search-function):
11577 Use `isearch-search-fun-default'.
11578
11579 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
11580 Use `word-search-regexp' for `isearch-word'.
11581
11582 * misearch.el (multi-isearch-search-fun):
11583 Use `isearch-search-fun-default'.
11584
11585 * simple.el (minibuffer-history-isearch-search):
11586 Use `isearch-search-fun-default' and remove spacial case for
11587 `isearch-word'.
11588 (minibuffer-history-isearch-wrap): Remove spacial case for
11589 `isearch-word'.
11590
11591 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
11592 Remove spacial case for `isearch-word'.
11593 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
11594
11595 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11596
11597 Decrease XEmacs incompatibilities.
11598 * textmodes/flyspell.el (flyspell-check-pre-word-p):
11599 Use `string-match'.
11600 (flyspell-delete-region-overlays): Use alternative definition for
11601 XEmacs.
11602 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
11603 (flyspell-word): Use `process-kill-without-query' if XEmacs.
11604 (flyspell-mode-on): Use `interactive-p' if XEmacs.
11605 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
11606 `define-obsolete-face-alias' under XEmacs, but old method.
11607
11608 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
11609 `with-no-warnings' definition or Emacs alias.
11610 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
11611 (ispell-word): Do not use `region-p' if XEmacs.
11612
11613 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11614
11615 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
11616 Check for `ispell-dictionary-base-alist' instead of full
11617 `ispell-dictionary-alist'.
11618 (ispell-init-process): Show spellchecker when starting new Ispell
11619 process.
11620
11621 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
11622
11623 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
11624 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
11625
11626 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
11627
11628 * version.el (motif-version-string, gtk-version-string)
11629 (ns-version-string): Declare.
11630
11631 2012-05-27 Juri Linkov <juri@jurta.org>
11632
11633 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
11634 after the `eval-defun-1' specialcaseing
11635 like in `edebug-eval-defun' (bug#10181).
11636
11637 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
11638 like in `eval-defun-1'.
11639
11640 2012-05-27 Eli Zaretskii <eliz@gnu.org>
11641
11642 * mail/sendmail.el (mail-yank-region):
11643 Recognize rmail-yank-current-message in addition to insert-buffer.
11644 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
11645 a *mail* buffer created through rmail-start-mail with sendmail as
11646 mail-user-agent.
11647
11648 2012-05-27 Chong Yidong <cyd@gnu.org>
11649
11650 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
11651 Default to 256 (Bug#11267).
11652
11653 * help.el (describe-mode): Doc fix.
11654
11655 2012-05-26 Glenn Morris <rgm@gnu.org>
11656
11657 * w32-fns.el (w32-init-info): Remove.
11658 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
11659
11660 * info.el (info-initialize): For self-contained NS builds, put the
11661 included info/ directory at the front. (Bug#2791)
11662
11663 * paths.el (Info-default-directory-list): Make it a defcustom,
11664 mainly so that we can use custom-initialize-delay.
11665
11666 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
11667
11668 * subr.el (buffer-has-markers-at): Mark obsolete.
11669
11670 * subr.el (lambda): Use declare.
11671
11672 * emacs-lisp/lisp-mode.el (lambda):
11673 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
11674
11675 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11676
11677 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
11678
11679 2012-05-26 Glenn Morris <rgm@gnu.org>
11680
11681 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
11682
11683 2012-05-25 Glenn Morris <rgm@gnu.org>
11684
11685 * paths.el: Remove no-byte-compile.
11686 * loadup.el: No need to load paths.el uncompiled.
11687
11688 * image.el (imagemagick-types-inhibit): Doc fix.
11689
11690 * version.el: Remove no-byte-compile and associated formatting.
11691 * loadup.el: No need to load version.el uncompiled. AFAICS, this
11692 is ancient code from when there was an "inc-vers.el".
11693
11694 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11695
11696 * progmodes/gdb-mi.el: Minor style changes.
11697 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
11698 Turn into minor modes.
11699 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
11700 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
11701 (gdb-shell): Remove unneeded let-binding.
11702 (gdb-get-many-fields): Eliminate O(n²) behavior.
11703
11704 2012-05-25 Eli Zaretskii <eliz@gnu.org>
11705
11706 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
11707 platforms that don't link in fontset.c.
11708
11709 2012-05-25 Juri Linkov <juri@jurta.org>
11710
11711 Use the same diff color scheme as in modern VCSes (bug#10181).
11712
11713 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
11714 to avoid confusion with `diff-added' that now uses green colors.
11715 (diff-removed): Use shades of red.
11716 (diff-added): Use shades of green.
11717 (diff-changed): Leave just the yellow color.
11718 (diff-use-changed-face): New variable.
11719 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
11720 how to highlight context diff changes.
11721 (diff-refine-change): Use shades of yellow.
11722 (diff-refine-removed): New face that uses shades of red.
11723 (diff-refine-added): New face that uses shades of green.
11724 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
11725 `diff-refine-removed' in the call to `smerge-refine-subst'
11726 depending on the value of `diff-use-changed-face'.
11727
11728 * vc/smerge-mode.el (smerge-mine): Use shades of red.
11729 (smerge-other): Use shades of green.
11730 (smerge-base): Use shades of yellow.
11731 (smerge-refined-change): Empty face.
11732 (smerge-refined-removed): New face that uses shades of red.
11733 (smerge-refined-added): New face that uses shades of green.
11734 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
11735 args `props-r' and `props-a', and use them. Doc fix.
11736 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
11737 on its value use different faces `smerge-refined-change',
11738 `smerge-refined-removed', `smerge-refined-added' in the call to
11739 `smerge-refine-subst'.
11740
11741 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
11742 Add face condition `min-colors 88' with shades of red.
11743 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
11744 `min-colors 88' with shades of green.
11745 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
11746 `min-colors 88' with shades of yellow.
11747
11748 2012-05-24 Glenn Morris <rgm@gnu.org>
11749
11750 * paths.el (prune-directory-list, remote-shell-program): Move to...
11751 * files.el (prune-directory-list, remote-shell-program): ...here.
11752 For the latter, delay initialization, prefer ssh, just search PATH.
11753
11754 * paths.el (term-file-prefix): Move to faces.el (the only user).
11755 * faces.el (term-file-prefix): Move here, make it a defcustom.
11756
11757 * paths.el (news-directory, news-path, news-inews-program):
11758 Move to gnus/nnspool.el.
11759
11760 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
11761
11762 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
11763 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
11764 Make the latter a defcustom, with a delayed initialization.
11765
11766 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
11767 These were deleted from Gnus itself late 2010.
11768
11769 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
11770
11771 * progmodes/which-func.el (which-func-ff-hook):
11772 Check against user-error, not error.
11773
11774 * emacs-lisp/edebug.el (top): Do not load or set up loading of
11775 cl-specs.el, which no longer exists.
11776
11777 2012-05-22 Glenn Morris <rgm@gnu.org>
11778
11779 * info.el (info-emacs-bug): New command.
11780 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
11781 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
11782
11783 2012-05-21 Glenn Morris <rgm@gnu.org>
11784
11785 * makefile.w32-in (update-subdirs-SH):
11786 * Makefile.in (update-subdirs): Update for moved update-subdirs.
11787
11788 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
11789
11790 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
11791
11792 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11793 Simplify Maven regexp, and make sure the file can't start with a space
11794 (bug#11517).
11795
11796 2012-05-21 Glenn Morris <rgm@gnu.org>
11797
11798 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
11799 Scrap superfluous subshells.
11800
11801 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
11802
11803 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
11804 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
11805
11806 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
11807
11808 * calc/calc.el (calc-ensure-consistent-units): New variable.
11809
11810 * calc/calc-units.el (math-consistent-units-p)
11811 (math-check-unit-consistency): New functions.
11812 (calc-quick-units, calc-convert-units):
11813 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
11814 is non-nil.
11815 (calc-extract-units): Fix typo.
11816
11817 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11818
11819 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
11820
11821 * textmodes/flyspell.el: Commenting style, plus code simplifications.
11822 (flyspell-default-deplacement-commands): Don't spell check after
11823 repeated window/frame switches (e.g. triggered by mouse-movement).
11824 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
11825 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
11826 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
11827 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
11828 Remove unused vars.
11829 (flyspell-get-casechars, flyspell-get-not-casechars):
11830 Simplify; Don't bother removing a ] just to add it back.
11831 * textmodes/ispell.el (ispell-program-name): Use executable-find.
11832
11833 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11834
11835 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
11836 New functions.
11837 (math-function-table): Add support for more C functions.
11838
11839 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11840
11841 * textmodes/flyspell.el (flyspell-check-pre-word-p)
11842 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
11843 Protect delay handling for otherchars against empty otherchars.
11844
11845 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11846
11847 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
11848 their respective macro declarations.
11849 * skeleton.el (define-skeleton):
11850 * progmodes/compile.el (define-compilation-mode):
11851 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
11852 (define-ibuffer-filter):
11853 * emacs-lisp/generic.el (define-generic-mode):
11854 * emacs-lisp/easy-mmode.el (define-minor-mode)
11855 (define-globalized-minor-mode):
11856 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
11857 * emacs-lisp/byte-run.el (defsubst):
11858 * custom.el (deftheme): Add doc-string metadata.
11859
11860 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11861
11862 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
11863
11864 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11865
11866 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
11867
11868 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
11869 * emacs-lisp/cl-macs.el: Idem.
11870 * emacs-lisp/cl-specs.el: Remove.
11871
11872 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11873
11874 Minor renaming of internal CL functions and variables.
11875 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
11876 (cl--position): Rename from cl-position.
11877 (cl--delete-duplicates): Rename from cl-delete-duplicates.
11878 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
11879 (cl--random-state): Rename from *random-state*.
11880
11881 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11882
11883 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
11884 parens around the arg list (bug#11499).
11885
11886 2012-05-17 Juri Linkov <juri@jurta.org>
11887
11888 * isearch.el (word-search-regexp, word-search-backward)
11889 (word-search-forward, word-search-backward-lax)
11890 (word-search-forward-lax): Move functions from search.c
11891 (bug#10145, bug#11381).
11892
11893 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11894
11895 * textmodes/flyspell.el (flyspell-check-pre-word-p)
11896 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
11897 Delay for otherchars as for normal word components.
11898
11899 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
11900
11901 * minibuffer.el (completion--sifn-requote): Fix last change.
11902 (minibuffer-local-must-match-filename-map):
11903 Move define-obsolete-variable-alias before its var.
11904
11905 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11906
11907 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
11908
11909 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
11910 behavior.
11911 (completion--string-equal-p): New function.
11912 (completion--twq-all): Use it to get better assertion failure data.
11913
11914 Only handle ".." and '..' quoting in shell-mode (bug#11466).
11915 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
11916 (shell--requote-argument): New functions.
11917 (shell-completion-vars): Use them.
11918 (shell--parse-pcomplete-arguments): Rename from
11919 shell-parse-pcomplete-arguments.
11920 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
11921 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
11922 Obey comint-file-name-quote-list.
11923
11924 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
11925 (smie-indent-keyword): Use it.
11926
11927 2012-05-14 Stefan Merten <smerten@oekonux.de>
11928
11929 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
11930
11931 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
11932
11933 * net/rlogin.el (rlogin-mode-map): Fix last change.
11934
11935 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
11936
11937 * mail/smtpmail.el (smtpmail-send-command): Send the command and
11938 the following \r\n using a single `process-send-string', since the
11939 Lotus SMTP server refuses to accept any commands if they are sent
11940 with two `process-send-string's (Bug#11444).
11941
11942 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
11943
11944 * shell.el (shell-parse-pcomplete-arguments):
11945 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
11946
11947 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
11948
11949 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
11950 (image-transform-scale, image-transform-right-angle-fudge): New vars.
11951 (image-transform-width, image-transform-fit-width): New functions.
11952 (image-transform-properties): Use them.
11953 (image-transform-check-size): New function.
11954 (image-toggle-display-image): Use it (for testing).
11955 (image-transform-set-rotation): Reduce angle mod 360.
11956 Delete obsolete comment.
11957
11958 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
11959
11960 * image-mode.el: Fix scaling (bug#11399).
11961 (image-transform-resize): Doc fix.
11962 (image-transform-properties): Default scale is 1 and height should
11963 be an integer.
11964
11965 2012-05-13 Johan Bockgård <bojohan@gnu.org>
11966
11967 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
11968 than hard-coding `car', to fix misbehavior when moving forward.
11969
11970 2012-05-13 Chong Yidong <cyd@gnu.org>
11971
11972 * emacs-lisp/tabulated-list.el (tabulated-list-format)
11973 (tabulated-list-entries, tabulated-list-padding)
11974 (tabulated-list-sort-key): Make permanent-local.
11975
11976 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
11977 (electric-buffer-list): Put electric buffer menu
11978 command descriptions in this docstring, instead of the docstring
11979 of electric-buffer-menu-mode. Code cleanups.
11980 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
11981 Electric-buffer-menu-mode.
11982 (electric-buffer-update-highlight): Minor code cleanup.
11983
11984 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
11985
11986 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
11987 (Bug#11447)
11988
11989 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11990
11991 Move define-obsolete-variable-alias before the var's definition.
11992 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
11993 * tooltip.el (tooltip-hook):
11994 * textmodes/reftex-toc.el (reftex-toc-map):
11995 * textmodes/reftex-sel.el (reftex-select-label-map)
11996 (reftex-select-bib-map):
11997 * textmodes/reftex-index.el (reftex-index-map)
11998 (reftex-index-phrases-map):
11999 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
12000 * progmodes/meta-mode.el (meta-mode-map):
12001 * novice.el (disabled-command-hook):
12002 * loadhist.el (unload-hook-features-list):
12003 * frame.el (blink-cursor):
12004 * files.el (find-file-not-found-hooks, write-file-hooks)
12005 (write-contents-hooks):
12006 * emulation/tpu-edt.el (GOLD-map):
12007 * emacs-lock.el (emacs-lock-from-exiting):
12008 * emacs-lisp/generic.el (generic-font-lock-defaults):
12009 * emacs-lisp/chart.el (chart-map):
12010 * dos-fns.el (register-name-alist):
12011 * dired-x.el (dired-omit-files-p):
12012 * desktop.el (desktop-enable):
12013 * cus-edit.el (custom-mode-hook):
12014 * buff-menu.el (buffer-menu-mode-hook):
12015 * bookmark.el (bookmark-read-annotation-text-func)
12016 (bookmark-exit-hooks):
12017 * allout.el (allout-mode-deactivate-hook)
12018 (allout-exposure-change-hook, allout-structure-added-hook)
12019 (allout-structure-deleted-hook, allout-structure-shifted-hook):
12020 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
12021 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
12022 comes before the corresponding variable's definition.
12023
12024 2012-05-12 Chong Yidong <cyd@gnu.org>
12025
12026 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
12027 (Buffer-menu-mouse-select): Restore function (Bug#11459).
12028 (Buffer-menu-mode-map): Bind it.
12029 (Buffer-menu--pretty-name): Add a mouse-face property.
12030
12031 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
12032
12033 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
12034 (prolog-upper-case-string, prolog-lower-case-string)
12035 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
12036 (prolog-use-smie, prolog-smie-grammar): New vars.
12037 (prolog-smie-forward-token, prolog-smie-backward-token)
12038 (prolog-smie-rules): New funs.
12039 (prolog-comment-indent): Remove.
12040 (prolog-mode-variables): Use default comment indentation instead.
12041 Setup SMIE.
12042 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
12043 (prolog-mode): Don't call them any more.
12044 (prolog-electric-colon, prolog-electric-dash)
12045 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
12046
12047 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
12048
12049 * minibuffer.el (completion--twq-all): Again, allow case differences.
12050
12051 * term.el: Move keymap initialization code to be more idiomatic.
12052 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
12053 (term-terminal-menu): Move initialization into declaration.
12054 (term-escape-char): Let the user set it in her .emacs.
12055
12056 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
12057 Provide SMIE-based indentation (not enabled by default yet).
12058 (sh-mode-map): Don't bind electric keys.
12059 Use electric-pair-mode instead of skeleton-pair.
12060 (sh-assignment-regexp): Fit within 80 columns.
12061 (sh-indent-supported): Specify actual shell name instead of boolean.
12062 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
12063 (sh-maybe-here-document): Use it. Make obsolete.
12064 (sh-electric-here-document-mode) New minor mode.
12065 (sh-mode): Use it. Don't set sh-indent-supported-here here.
12066 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
12067 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
12068 (sh-smie-rc-grammar, sh-use-smie): New vars.
12069 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
12070 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
12071 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
12072 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
12073 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
12074 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
12075 (sh-set-shell): Use smie-setup if requested.
12076
12077 * term.el (term-set-escape-char): Properly set term-escape-char.
12078 See http://stackoverflow.com/questions/10524656.
12079
12080 2012-05-10 Chong Yidong <cyd@gnu.org>
12081
12082 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
12083 Use url-generic-parse-url, and handle host names and Windows
12084 filenames properly.
12085 (ffap-url-unwrap-remote): Use url-generic-parse-url.
12086 (ffap-url-unwrap-remote): Accept list values, specifying a list of
12087 URL schemes to work on.
12088 (ffap--toggle-read-only): New function.
12089 (ffap-read-only, ffap-read-only-other-window)
12090 (ffap-read-only-other-frame): Use it.
12091 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
12092 necessary for ffap-url-unwrap-remote.
12093
12094 2012-05-10 Dave Abrahams <dave@boostpro.com>
12095
12096 * cus-start.el (create-lockfiles): Add it.
12097
12098 2012-05-09 Chong Yidong <cyd@gnu.org>
12099
12100 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
12101 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
12102
12103 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12104
12105 * shell.el (shell-completion-vars): Fix last change (bug#11348).
12106
12107 2012-05-09 Chong Yidong <cyd@gnu.org>
12108
12109 * ansi-color.el (ansi-color-process-output): Check for validity of
12110 comint-last-output-start before using it. This avoids a bad
12111 interaction with gdb-mi's input/output buffer.
12112
12113 2012-05-09 Glenn Morris <rgm@gnu.org>
12114
12115 * files.el (dir-locals-read-from-file):
12116 Mention dir-locals in any error message.
12117
12118 2012-05-09 Chong Yidong <cyd@gnu.org>
12119
12120 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
12121 package (Bug#11410).
12122
12123 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
12124 variables into description.
12125
12126 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12127
12128 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
12129 shell-delimiter-argument-list (bug#11348).
12130 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
12131
12132 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
12133
12134 * textmodes/rst.el: Silence byte-compiler warnings.
12135 (rst-re-alist, rst-reset-section-caches): Move around.
12136 (rst-re): Use `characterp', not `char-valid-p'.
12137 (font-lock-beg, font-lock-end): Declare.
12138
12139 * progmodes/idlw-shell.el (specs): Remove reference to deleted
12140 variable `idlwave-shell-activate-alt-keybindings' and simplify.
12141
12142 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
12143
12144 2012-05-08 Glenn Morris <rgm@gnu.org>
12145
12146 * files.el (auto-mode-alist): Treat ".make" like ".mk".
12147
12148 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12149
12150 * vc/log-edit.el: Add GNU coding standards highlighting.
12151 (log-edit-font-lock-gnu-style)
12152 (log-edit-font-lock-gnu-keywords): New vars.
12153 (log-edit-font-lock-keywords): New fun.
12154 (log-edit-mode): Don't fold case in font-lock.
12155 (log-edit-font-lock-keywords): Do not assume case-folding.
12156
12157 * imenu.el: Misc cleanup. Make docstrings out of comments.
12158 Use lexical-binding.
12159 (imenu--index-alist, imenu--last-menubar-index-alist)
12160 (imenu-menubar-modified-tick): Use defvar-local.
12161 (imenu--split-menu): Remove unused var.
12162 (imenu--cleanup-seen): Declare as global.
12163 (imenu--cleanup): Use dolist.
12164
12165 * subr.el (defvar-local): Add debug spec and doc-string position.
12166
12167 2012-05-08 Glenn Morris <rgm@gnu.org>
12168
12169 * language/burmese.el, language/cham.el, language/czech.el:
12170 * language/english.el, language/georgian.el, language/greek.el:
12171 * language/japanese.el, language/khmer.el, language/korean.el:
12172 * language/lao.el, language/misc-lang.el, language/romanian.el:
12173 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
12174 * language/thai.el, language/utf-8-lang.el:
12175 Remove no-byte-compile setting.
12176
12177 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
12178
12179 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12180
12181 * progmodes/make-mode.el (makefile-browse):
12182 Remove unnecessary interactive. (Bug#11324)
12183
12184 2012-05-07 Glenn Morris <rgm@gnu.org>
12185
12186 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
12187
12188 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
12189
12190 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12191
12192 * loadup.el: Preload newcomment.el.
12193 * newcomment.el: Move autoload-only code to toplevel.
12194
12195 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
12196 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12197 Handle new :right-align column property.
12198 (tabulated-list-print-col): Idem, plus use `display' text-property to
12199 try and preserve alignment for variable pitch fonts.
12200
12201 2012-05-07 Chong Yidong <cyd@gnu.org>
12202
12203 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
12204 (tabulated-list-use-header-line): New var.
12205 (tabulated-list-init-header): Use it.
12206 (tabulated-list-print-fake-header): New function.
12207 (tabulated-list-print): Use it.
12208 (tabulated-list-sort-button-map): Add non-header-line commands.
12209 (tabulated-list-init-header): Add column name property to basic
12210 labels as well.
12211 (tabulated-list-col-sort): Handle non-header-line button case.
12212 (tabulated-list--sort-by-column-name): Fix a corner case.
12213
12214 * buff-menu.el (list-buffers--refresh):
12215 Handle Buffer-menu-use-header-line.
12216
12217 2012-05-06 Chong Yidong <cyd@gnu.org>
12218
12219 * buff-menu.el: Convert to Tabulated List mode.
12220 (Buffer-menu-buffer+size-width): Make obsolete.
12221 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
12222 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
12223 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
12224 documentation into docstring of buffer-menu.
12225 (Buffer-menu-toggle-files-only): Add an informative message.
12226 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
12227 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
12228 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
12229 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
12230 (Buffer-menu-execute, Buffer-menu-select)
12231 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
12232 (Buffer-menu-bury): Use Tabulated List machinery.
12233 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
12234 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
12235 Delete.
12236 (list-buffers--refresh): New function.
12237 (list-buffers-noselect): Use it.
12238 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
12239 (Buffer-menu--pretty-file-name): New helper functions.
12240
12241 * loadup.el: Preload tabulated-list.
12242
12243 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
12244 tabulated-list-sort-column.
12245 (tabulated-list-init-header): Add the initial aligning space even
12246 if tabulated-list-padding is zero.
12247
12248 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
12249
12250 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
12251 whose cdr is not a cons cell correctly (bug#11038).
12252
12253 2012-05-06 Chong Yidong <cyd@gnu.org>
12254
12255 * emacs-lisp/tabulated-list.el (tabulated-list-format):
12256 Accept additional plist in column descriptors.
12257 (tabulated-list-init-header): Obey it.
12258 (tabulated-list-get-entry): New function.
12259 (tabulated-list-put-tag): Use it. Use string-width instead of
12260 length.
12261 (tabulated-list--column-number): New function.
12262 (tabulated-list-print): Use it.
12263 (tabulated-list-print-col): New function.
12264 Set `tabulated-list-column-name' property on each column's text.
12265 (tabulated-list-print-entry): Use it.
12266 (tabulated-list-delete-entry, tabulated-list-set-col):
12267 New functions.
12268 (tabulated-list-sort-column): New command (Bug#11337).
12269
12270 * buff-menu.el (list-buffers): Move C-x C-b binding from
12271 buff-menu.el to bindings.el.
12272
12273 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
12274 :advertised-binding feature.
12275
12276 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
12277
12278 * progmodes/compile.el (compilation-internal-error-properties):
12279 Calculate start position correctly when end-col is set but
12280 end-line is not (Bug#11382).
12281
12282 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
12283
12284 * man.el (Man-unindent): Use text-property-default-nonsticky to
12285 prevent untabify from inheriting face properties (Bug#11408).
12286
12287 2012-05-05 Stefan Merten <smerten@oekonux.de>
12288
12289 * textmodes/rst.el: Major merge with upstream development up to
12290 Docutils SVN r7399 / rst.el V1.2.1.
12291
12292 Clarify maintainership and authors.
12293
12294 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
12295 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
12296 (rst-official-version, rst-official-cvs-rev, rst-version)
12297 (rst-package-emacs-version-alist): New functions and variables
12298 for version information.
12299
12300 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
12301 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
12302 (rst-mode-syntax-table, rst-mode): New and corrected functions
12303 and variables representing reStructuredText features.
12304
12305 (rst-re): New function for reStructuredText regexes. Use in
12306 many places.
12307
12308 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
12309 (rst-mode-map): Rebind keys.
12310
12311 (rst-mode-lazy, rst-font-lock-keywords)
12312 (rst-font-lock-extend-region)
12313 (rst-font-lock-extend-region-internal)
12314 (rst-font-lock-extend-region-extend)
12315 (rst-font-lock-find-unindented-line-limit)
12316 (rst-font-lock-find-unindented-line-match)
12317 (rst-adornment-level, rst-font-lock-adornment-level)
12318 (rst-font-lock-adornment-match)
12319 (rst-font-lock-handle-adornment-pre-match-form)
12320 (rst-font-lock-handle-adornment-matcher): Major revision of
12321 font-locking. Integrate with other code. Use `jit-lock-mode'.
12322
12323 (rst-preferred-adornments, rst-adjust-hook)
12324 (rst-new-adornment-down, rst-preferred-bullets)
12325 (rst-preferred-bullets, rst-indent, rst-indent-width)
12326 (rst-indent-field, rst-indent-literal-normal)
12327 (rst-indent-literal-minimized, rst-indent-comment): Change,
12328 extend and improve customization.
12329
12330 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
12331 (rst-normalize-cursor-position, rst-get-decoration)
12332 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
12333 (rst-rstrip, rst-toc-insert-find-delete-contents)
12334 (rst-shift-fill-region, rst-compute-bullet-tabs)
12335 (rst-debug-print-tabs, rst-debug-mark-found)
12336 (rst-shift-region-guts, rst-shift-region-right)
12337 (rst-shift-region-left, rst-use-char-classes)
12338 (rst-font-lock-keywords-function)
12339 (rst-font-lock-indentation-point)
12340 (rst-font-lock-find-unindented-line-begin)
12341 (rst-font-lock-find-unindented-line-end)
12342 (rst-font-lock-find-unindented-line)
12343 (rst-font-lock-adornment-point, rst-font-lock-level)
12344 (rst-adornment-level-alist): Remove functions and variables.
12345
12346 (rst-compare-adornments, rst-get-adornment-match)
12347 (rst-suggest-new-adornment, rst-get-adornments-around)
12348 (rst-adornment-complete-p, rst-get-next-adornment)
12349 (rst-adjust-adornment, rst-display-adornments-hierarchy)
12350 (rst-straighten-adornments): Standardize function names to
12351 use "adornment" instead of "decoration". Correct callers.
12352 Similar standardizing in many places.
12353
12354 (rst-update-section, rst-adjust, rst-promote-region)
12355 (rst-enumerate-region, rst-bullet-list-region)
12356 (rst-repeat-last-character): Correct use of `interactive'.
12357
12358 (rst-classify-adornment, rst-find-all-adornments)
12359 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
12360 (rst-find-leftmost-column, rst-repeat-last-character):
12361 Refactor functions.
12362
12363 (rst-find-title-line, rst-reset-section-caches)
12364 (rst-get-adornments-around, rst-adjust-adornment-work)
12365 (rst-arabic-to-roman, rst-roman-to-arabic)
12366 (rst-insert-list-pos, rst-insert-list-new-item)
12367 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
12368 New functions.
12369
12370 (rst-all-sections, rst-section-hierarchy)
12371 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
12372 New variables.
12373
12374 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
12375 configuration instead of only buffer. Change where necessary.
12376
12377 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
12378 (rst-shift-region, rst-adaptive-fill): New functions for
12379 indentation and filling.
12380
12381 (rst-comment-line-break, rst-comment-indent)
12382 (rst-comment-insert-comment, rst-comment-region)
12383 (rst-uncomment-region): New functions for handling comments.
12384
12385 (rst-compile): Quote shell arguments.
12386
12387 (rst-compile-pdf-preview, rst-compile-slides-preview):
12388 Delete temporary files after use.
12389
12390 2012-05-05 Glenn Morris <rgm@gnu.org>
12391
12392 * calendar/cal-html.el: Optionally include holidays in the output.
12393 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
12394 (cal-html-holidays): New option.
12395 (cal-html-css-default): Add holiday entry.
12396 (holiday-in-range): Autoload it.
12397 (cal-html-htmlify-entry): Add optional class argument.
12398 (cal-html-htmlify-list): Add optional holidays argument.
12399 (cal-html-insert-agenda-days): Include holidays in the output.
12400 (cal-html-one-month): Maybe include holidays.
12401
12402 * calendar/holidays.el (holiday-in-range):
12403 Move here from cal-tex-list-holidays.
12404 * calendar/cal-tex.el (cal-tex-list-holidays):
12405 Make it an obsolete alias for holiday-in-range. Update all callers.
12406
12407 2012-05-05 Chong Yidong <cyd@gnu.org>
12408
12409 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
12410 Nextstep.
12411
12412 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
12413
12414 * files.el (file-auto-mode-skip): New var.
12415 (set-auto-mode-1): Use it.
12416
12417 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12418
12419 * repeat.el: Use lexical-binding.
12420 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
12421 (repeat-undo-count): Remove.
12422 (repeat):
12423 * progmodes/octave-mod.el (octave-abbrev-start):
12424 * progmodes/f90.el (f90-abbrev-start):
12425 * face-remap.el (text-scale-adjust):
12426 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
12427
12428 * emacs-lisp/pcase.el (pcase--let*): New function.
12429 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
12430 a bit more.
12431 (pcase--split-pred): Be more clever about ruling out overlap between
12432 a predicate and some constant pattern.
12433 (pcase--q1): Use `null' instead of (eq foo nil).
12434
12435 * subr.el (setq-local, defvar-local): New macros.
12436 (kbd): Redefine as an alias.
12437 (with-selected-window): Leave unrelated frames alone.
12438 (set-temporary-overlay-map): New function.
12439
12440 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12441
12442 * subr.el (user-error): New function.
12443 * window.el (switch-to-buffer):
12444 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
12445 (smerge-match-conflict):
12446 * simple.el (previous-matching-history-element)
12447 (next-matching-history-element, goto-history-element, undo-more)
12448 (undo-start):
12449 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
12450 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
12451 (next-file, tags-loop-scan, list-tags, complete-tag):
12452 * progmodes/compile.el (compilation-loop):
12453 * mouse.el (mouse-minibuffer-check):
12454 * man.el (Man-bgproc-sentinel, Man-goto-page):
12455 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
12456 (Info-history-forward, Info-follow-reference, Info-menu)
12457 (Info-extract-menu-item, Info-extract-menu-counting)
12458 (Info-forward-node, Info-backward-node, Info-next-menu-item)
12459 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
12460 (Info-next-reference, Info-prev-reference, Info-index)
12461 (Info-index-next, Info-follow-nearest-node)
12462 (Info-copy-current-node-name):
12463 * imenu.el (imenu--make-index-alist)
12464 (imenu-default-create-index-function, imenu-add-to-menubar):
12465 * files.el (basic-save-buffer, recover-file):
12466 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
12467 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
12468 (checkdoc-message-text, checkdoc-defun):
12469 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
12470 * cus-edit.el (customize-changed-options, customize-rogue)
12471 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
12472 (custom-variable-mark-to-reset-standard)
12473 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
12474 (custom-file):
12475 * completion.el (check-completion-length):
12476 * comint.el (comint-search-arg)
12477 (comint-previous-matching-input-string-position)
12478 (comint-previous-matching-input)
12479 (comint-replace-by-expanded-history-before-point, comint-send-input)
12480 (comint-copy-old-input, comint-backward-matching-input)
12481 (comint-goto-process-mark, comint-set-process-mark):
12482 * calendar/calendar.el (calendar-cursor-to-date): Use it.
12483 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
12484
12485 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12486
12487 * dabbrev.el (dabbrev--ignore-case-p): New function.
12488 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
12489 Use it.
12490
12491 * files.el (automount-dir-prefix): Mark as obsolete.
12492
12493 2012-05-04 Glenn Morris <rgm@gnu.org>
12494
12495 * patcomp.el, play/bruce.el: Move to obsolete/.
12496
12497 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
12498
12499 Fix minor Y10k bugs.
12500 * arc-mode.el (archive-unixdate):
12501 * autoinsert.el (auto-insert-alist):
12502 * calc/calc-forms.el (math-this-year):
12503 * emacs-lisp/copyright.el (copyright-current-year)
12504 (copyright-update-year, copyright):
12505 * tar-mode.el (tar-clip-time-string):
12506 * time.el (display-time-update):
12507 Don't assume years have 4 digits.
12508
12509 2012-05-04 Chong Yidong <cyd@gnu.org>
12510
12511 * dos-w32.el (file-name-buffer-file-type-alist)
12512 (direct-print-region-use-command-dot-com):
12513 * ffap.el (ffap-menu-regexp):
12514 * find-file.el (ff-special-constructs):
12515 * follow.el (follow-debug):
12516 * forms.el (forms--debug):
12517 * iswitchb.el (iswitchb-all-frames):
12518 * ido.el (ido-all-frames):
12519 * emacs-lisp/timer.el (timer-max-repeats):
12520 * mail/feedmail.el (feedmail-mail-send-hook)
12521 (feedmail-mail-send-hook-queued):
12522 * mail/footnote.el (footnote-signature-separator):
12523 * mail/mailabbrev.el (mail-alias-separator-string)
12524 (mail-abbrev-mode-regexp):
12525 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
12526 * progmodes/idlwave.el (idlwave-libinfo-file)
12527 (idlwave-default-completion-case-is-down)
12528 (idlwave-library-routines): Convert defvars to defcustoms.
12529
12530 * mail/rmail.el (rmail-decode-mime-charset):
12531 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
12532 (idlwave-shell-fix-inserted-breaks)
12533 (idlwave-shell-activate-alt-keybindings)
12534 (idlwave-shell-use-breakpoint-glyph):
12535 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
12536
12537 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12538
12539 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
12540
12541 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
12542
12543 * progmodes/verilog-mode.el (font-lock-keywords):
12544 Fix mis-highligting auto. Reported by Craig Barner.
12545 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
12546 defines from global name space. Reported by Dan Dever.
12547 (verilog-auto-reset, verilog-auto-reset-widths)
12548 (verilog-auto-tieoff): Support using unbased numbers for
12549 AUTORESET and AUTOTIEOFF.
12550 (verilog-submit-bug-report): Update variable list.
12551 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
12552 parenthesis from not matching. Reported by Michael Rytting.
12553 (verilog-auto-template-lint): Fix hash error when linting modules
12554 with no used templates.
12555 (verilog-warn, verilog-warn-error)
12556 (verilog-warn-fatal): When non-interactive report multiple
12557 warnings before exiting. Suggested by Brad Dobbie.
12558 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
12559 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
12560 to report unused template errors. Reported by Brad Dobbie.
12561 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
12562 nets, bug438. Reported by Vns Blore.
12563 (verilog-auto-inout-module, verilog-auto-reg)
12564 (verilog-read-decls, verilog-read-sub-decls-sig)
12565 (verilog-signals-edit-wire-reg, verilog-signals-with):
12566 Fix passing of Verilog data types in ANSI input/output ports
12567 such as "output logic" into the AUTOs. Special case "wire" and
12568 "reg" for backwards compatibility presuming Verilog 2001.
12569 (verilog-auto-ascii-enum): Add "auto enum" as alias.
12570 (verilog-preprocess): Fix replication of preprocess output.
12571 Reported by Brad Dobbie.
12572 (verilog-auto-inst-interfaced-ports):
12573 Create verilog-auto-inst-interfaced-ports, bug429.
12574 Reported by Julian Gorfajn.
12575 (verilog-after-save-font-hook)
12576 (verilog-before-save-font-hook): New variable.
12577 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
12578 (verilog-save-font-mods): Wrap disabling fontification, reported
12579 by David Rogoff.
12580 (verilog-do-indent, verilog-pretty-declarations-auto)
12581 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
12582 Reported by Pierre-David Pfister.
12583 (verilog-set-auto-endcomments): Fix endtask auto comments outside
12584 of class declarations, bug292. Reported by Kevin Heilman.
12585 (verilog-read-decls): Fix 'parameter type' not appearing in
12586 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
12587 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
12588 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
12589 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
12590 Reported by David Kravitz.
12591
12592 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
12593
12594 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
12595 assignment with tests in ifs and for loops.
12596 (verilog-extended-complete-re, verilog-complete-reg): Change so
12597 that DPI inport functions don't look like fuction declarations.
12598 (verilog-pretty-expr): Don't line up assignment
12599 operations to the test and increment in if and for loops
12600 (verilog-extended-complete-re, verilog-complete-reg): Change so
12601 that DPI inport functions don't look like fuction declarations.
12602
12603 2012-05-03 Kenichi Handa <handa@m17n.org>
12604
12605 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
12606 decoding, and show a warning message without signaling an error
12607 (Bug#11282).
12608
12609 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12610
12611 * emacs-lisp/bytecomp.el
12612 (byte-compile-file-form-custom-declare-variable): Compile all elements,
12613 since cconv.el might have introduced :fun-body, internal-make-closure,
12614 and friends for bytecomp to handle (bug#11391).
12615 * custom.el (defcustom): Avoid ((λ ..) ..).
12616
12617 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
12618
12619 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
12620
12621 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
12622
12623 * notifications.el (dbus-debug):
12624 * term/linux.el (gpm-mouse-enable):
12625 * term/screen.el (xterm-register-default-colors): Declare.
12626
12627 2012-05-02 Chong Yidong <cyd@gnu.org>
12628
12629 * cus-start.el (gc-cons-percentage, exec-suffixes)
12630 (dos-display-scancodes, dos-hyper-key, dos-super-key)
12631 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
12632 (make-cursor-line-fully-visible, void-text-area-pointer)
12633 (font-list-limit): Add customization data.
12634
12635 * allout.el (allout-exposure-change-functions)
12636 (allout-structure-added-functions)
12637 (allout-structure-deleted-functions)
12638 (allout-structure-shifted-functions): Rename abnormal hooks from
12639 *-hook, and convert to defcustoms.
12640 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
12641 Convert to defcustoms.
12642 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
12643
12644 * allout-widgets.el: Hook callers changed.
12645
12646 2012-05-02 Eli Zaretskii <eliz@gnu.org>
12647
12648 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
12649 the yanked message in preference to the default value of
12650 buffer-file-coding-system.
12651
12652 2012-05-02 Martin Rudalics <rudalics@gmx.at>
12653
12654 * window.el (display-buffer--action-function-custom-type):
12655 Fix entry.
12656
12657 2012-05-02 Alan Mackenzie <acm@muc.de>
12658
12659 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
12660
12661 2012-05-01 Glenn Morris <rgm@gnu.org>
12662
12663 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
12664
12665 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
12666
12667 * cus-edit.el (custom-variable-documentation): Simplify with format.
12668
12669 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12670 Stefan Monnier <monnier@iro.umontreal.ca>
12671
12672 * simple.el (suggest-key-bindings, execute-extended-command):
12673 Move from keyboard.c.
12674
12675 2012-05-01 Chong Yidong <cyd@gnu.org>
12676
12677 * follow.el: Eliminate advice.
12678 (set-process-filter, process-filter, sit-for): Advice deleted.
12679 (follow-mode-off-hook): Obsolete hook removed.
12680 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
12681 Vars deleted.
12682 (follow-auto): Use a :set function.
12683 (follow-mode): Rewritten. Don't advise process filters.
12684 (follow-switch-to-current-buffer-all, follow-scroll-up)
12685 (follow-scroll-down): Assume follow-mode is bound.
12686 (follow-comint-scroll-to-bottom)
12687 (follow-align-compilation-windows): New functions.
12688 (follow--window-sorter): New function.
12689 (follow-all-followers): Use it to explicitly sort windows by their
12690 positions; don't make assumptions about next-window order.
12691 (follow-windows-start-end, follow-delete-other-windows-and-split)
12692 (follow-calc-win-start): Doc fix.
12693 (follow-windows-aligned-p, follow-select-if-visible): Don't call
12694 vertical-motion unnecessarily.
12695 (follow-adjust-window): New function.
12696 (follow-post-command-hook): Use it.
12697 (follow-call-set-process-filter, follow-call-process-filter)
12698 (follow-intercept-process-output, follow-tidy-process-filter-alist)
12699 (follow-stop-intercept-process-output, follow-generic-filter):
12700 Functions deleted.
12701 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
12702 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
12703 New functions, replacing advice on scroll-bar-* commands.
12704 (follow-mwheel-scroll): New function (Bug#4112).
12705
12706 * comint.el (comint-adjust-point): New function.
12707 (comint-postoutput-scroll-to-bottom): Use it.
12708 Call follow-comint-scroll-to-bottom for Follow mode buffers.
12709
12710 2012-05-01 Glenn Morris <rgm@gnu.org>
12711
12712 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
12713 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
12714 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
12715 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
12716 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
12717 Remove no-byte-compile setting.
12718
12719 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
12720
12721 * minibuffer.el (completion-table-with-quoting): Fix compatibility
12722 all-completions code to not return a number in the last cdr.
12723
12724 2012-04-30 Leo Liu <sdl.web@gmail.com>
12725
12726 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
12727 read-only error.
12728
12729 2012-04-29 Chong Yidong <cyd@gnu.org>
12730
12731 * follow.el (follow-calc-win-end): Rewrite to handle partial
12732 screen lines correctly (Bug#8390).
12733 (follow-avoid-tail-recenter): Minor cleanup.
12734
12735 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12736
12737 Avoid the obsolete `assoc' package.
12738 * speedbar.el (speedbar-refresh): Avoid adelete.
12739 (speedbar-file-lists): Simplify and avoid aput.
12740 * man.el (Man--sections, Man--refpages): New vars, replacing
12741 Man-sections-alist and Man-refpages-alist.
12742 (Man-build-section-alist, Man-build-references-alist):
12743 Use them; avoid aput.
12744 (Man--last-section, Man--last-refpage): New vars.
12745 (Man-follow-manual-reference): Use them.
12746 Use the `default' arg of completing-read.
12747 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
12748
12749 2012-04-27 Chong Yidong <cyd@gnu.org>
12750
12751 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
12752
12753 * startup.el (x-apply-session-resources): New function.
12754
12755 * term/ns-win.el (ns-initialize-window-system):
12756 * term/w32-win.el (w32-initialize-window-system):
12757 * term/x-win.el (x-initialize-window-system): Use it to properly
12758 set menu-bar-mode and other vars from X resources, even if the
12759 initial frame is not a window-system frame (Bug#2299).
12760
12761 * subr.el (read-key): Avoid running filter function when setting
12762 up temporary tool bar entries (Bug#9922).
12763
12764 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
12765
12766 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
12767 (Bug#11344)
12768
12769 2012-04-27 Chong Yidong <cyd@gnu.org>
12770
12771 * select.el (xselect--encode-string): New function, split from
12772 xselect-convert-to-string.
12773 (xselect-convert-to-string): Use it.
12774 (xselect-convert-to-filename, xselect-convert-to-os)
12775 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
12776 returned strings are properly encoded (Bug#11315).
12777
12778 2012-04-27 Chong Yidong <cyd@gnu.org>
12779
12780 * simple.el (delete-active-region): Move to killing custom group.
12781
12782 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
12783
12784 * progmodes/which-func.el (which-func-current): Quote %
12785 characters for mode-line processing.
12786
12787 2012-04-27 Chong Yidong <cyd@gnu.org>
12788
12789 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
12790 reaching eob (Bug#11286).
12791
12792 2012-04-27 Eli Zaretskii <eliz@gnu.org>
12793
12794 * progmodes/gdb-mi.el (gdb-control-level): New variable.
12795 (gdb): Make it buffer-local and init to zero.
12796 (gdb-control-commands-regexp): New variable.
12797 (gdb-send): Don't wrap in "-interpreter-exec console" if
12798 gdb-control-level is positive. Increment gdb-control-level
12799 whenever the command matches gdb-control-commands-regexp, and
12800 decrement it each time the command is "end". (Bug#11279)
12801
12802 2012-04-27 Martin Rudalics <rudalics@gmx.at>
12803
12804 * window.el (adjust-window-trailing-edge, enlarge-window)
12805 (shrink-window, window-resize):
12806 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
12807 windows (Bug#11276).
12808
12809 2012-04-27 Chong Yidong <cyd@gnu.org>
12810
12811 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
12812 fix "missing prefix" warning. All callers changed.
12813
12814 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
12815
12816 * emacs-lisp/assoc.el: Move to obsolete/.
12817
12818 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12819
12820 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
12821
12822 * term/ns-win.el (ns-define-service):
12823 * progmodes/pascal.el (pascal-goto-defun):
12824 * progmodes/js.el (js--read-tab):
12825 * progmodes/etags.el (tags-lazy-completion-table):
12826 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
12827 * emacs-lisp/ewoc.el (ewoc--wrap):
12828 * emacs-lisp/assoc.el (aput, adelete, amake):
12829 * doc-view.el (doc-view-convert-current-doc):
12830 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
12831
12832 2012-04-26 Chong Yidong <cyd@gnu.org>
12833
12834 * image.el (image-type-from-buffer): Only return supported image
12835 type (Bug#9045).
12836
12837 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
12838 value, for symmetry with diff-end-of-hunk.
12839 (diff-split-hunk, diff-find-source-location)
12840 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
12841 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
12842 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
12843 compute the relevant hunk or file properly (Bug#6005).
12844 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
12845
12846 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12847
12848 * vc/vc-mtn.el:
12849 * vc/vc-hg.el:
12850 * vc/vc-git.el:
12851 * vc/vc-dir.el:
12852 * vc/vc-cvs.el:
12853 * vc/vc-bzr.el:
12854 * vc/vc-arch.el:
12855 * vc/vc.el: Replace lexical-let by lexical-binding.
12856 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
12857 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
12858 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
12859
12860 2012-04-26 Chong Yidong <cyd@gnu.org>
12861
12862 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
12863 (diff-mode-shared-map): Bind it to / and [remap undo].
12864
12865 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
12866 (ediff-window-setup-function): Use it as the default, to set up
12867 windows based on whether the current frame is graphical (Bug#2138).
12868 (ediff-choose-window-setup-function-automatically): Make obsolete.
12869
12870 * vc/ediff-init.el: Always define ediff-pixel-width/height.
12871
12872 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12873
12874 * ffap.el: Remove old code for obsolete package.
12875 (ffap-complete-as-file-p): Remove.
12876
12877 Use completion-table-with-quoting for comint and pcomplete.
12878 * comint.el (comint--unquote&requote-argument)
12879 (comint--unquote-argument, comint--requote-argument): New functions.
12880 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
12881 (comint-quote-filename): Use regexp-opt-charset.
12882 (comint--common-suffix, comint--common-quoted-suffix)
12883 (comint--table-subvert): Remove.
12884 (comint-unquote-function, comint-requote-function): New vars.
12885 (comint--complete-file-name-data): Use them with
12886 completion-table-with-quoting.
12887 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
12888 * pcomplete.el (pcomplete-arg-quote-list)
12889 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
12890 (pcomplete-unquote-argument-function): Default to non-nil.
12891 (pcomplete-unquote-argument): Simplify.
12892 (pcomplete--common-quoted-suffix): Remove.
12893 (pcomplete-requote-argument-function): New var.
12894 (pcomplete--common-suffix): New function.
12895 (pcomplete-completions-at-point): Use completion-table-with-quoting
12896 and completion-table-subvert.
12897
12898 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
12899 (minibuffer--double-dollars): Preserve properties.
12900 (completion--sifn-requote): New function.
12901 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
12902
12903 * minibuffer.el: Add support for completion of quoted/escaped data.
12904 (completion-table-with-quoting, completion-table-subvert): New funs.
12905 (completion--twq-try, completion--twq-all): New functions.
12906 (completion--nth-completion): New function.
12907 (completion-try-completion, completion-all-completions): Use it.
12908
12909 2012-04-25 Leo Liu <sdl.web@gmail.com>
12910
12911 * progmodes/python.el (python-pdbtrack-get-source-buffer):
12912 Use compilation-message if available to find real filename.
12913
12914 2012-04-25 Chong Yidong <cyd@gnu.org>
12915
12916 * vc/diff-mode.el (diff-setup-whitespace): New function.
12917 (diff-mode): Use it.
12918
12919 * vc/diff.el (diff-sentinel):
12920 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
12921 Whitespace mode variables based on diff style (Bug#8612).
12922
12923 2012-04-25 Leo Liu <sdl.web@gmail.com>
12924
12925 * progmodes/python.el (python-send-region): Add suffix .py to the
12926 temp file.
12927
12928 * files.el (auto-mode-alist): Use javascript-mode instead.
12929
12930 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
12931
12932 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
12933
12934 * net/soap-client.el (soap-resolve-references-for-sequence-type)
12935 (soap-resolve-references-for-array-type): Hack to prevent self
12936 references, see Bug#9.
12937 (soap-parse-envelope): Report the contents of the 'detail' node
12938 when receiving a fault reply.
12939 (soap-parse-envelope): Report the contents of the entire 'detail' node.
12940
12941 * net/soap-inspect.el (soap-sample-value-for-simple-type)
12942 (soap-inspect-simple-type): New function.
12943
12944 * net/soap-client.el (soap-simple-type): New struct.
12945 (soap-default-xsd-types, soap-default-soapenc-types)
12946 (soap-decode-basic-type, soap-encode-basic-type):
12947 support unsignedInt and double basic types.
12948 (soap-resolve-references-for-simple-type)
12949 (soap-parse-simple-type, soap-encode-simple-type): New function.
12950 (soap-parse-schema): Parse xsd:simpleType declarations.
12951
12952 * net/soap-client.el (soap-default-xsd-types)
12953 (soap-default-soapenc-types): Add integer, byte and anyURI types.
12954 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
12955 the local name of "soapenc:Array".
12956 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
12957 decoding integer, byte and anyURI xsd types.
12958
12959 2012-04-25 Chong Yidong <cyd@gnu.org>
12960
12961 * cus-edit.el (custom-buffer-create-internal): Update header text.
12962
12963 2012-04-25 Eli Zaretskii <eliz@gnu.org>
12964
12965 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
12966 settings on 'system-type', not on 'window-system'. On MS-Windows,
12967 set interactive-mode on in GDB.
12968
12969 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12970
12971 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
12972 (ruby-syntax-propertize-regexp): Remove.
12973 (ruby-syntax-propertize-function): Split regexp into chunks.
12974 Match following code directly.
12975
12976 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
12977
12978 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
12979 (ruby-syntax-propertize-regexp): New function.
12980 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
12981 by a special keyword.
12982
12983 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
12984 (ruby-syntax-general-delimiters-goto-beg)
12985 (ruby-syntax-propertize-general-delimiters): New functions.
12986 (ruby-syntax-propertize-function): Use them to handle GDL.
12987 (ruby-font-lock-keywords): Move old handling of GDL...
12988 (ruby-font-lock-syntactic-keywords): .. to here.
12989 (ruby-calculate-indent): Adjust indentation for GDL.
12990
12991 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
12992
12993 * notifications.el (top): Remove unneeded declarations.
12994 (notifications-specification-version): Change to "1.2".
12995 (notifications-interface, notifications-notify-method)
12996 (notifications-close-notification-method): Fix docstring.
12997 (notifications-get-capabilities-method): New defconst.
12998 (notifications-notify): Add :action-items, :resident and
12999 :transient hints. Change "image_data" to "image-data" and
13000 "image_path" to "image-path".
13001 (notifications-get-capabilities): New defun.
13002
13003 2012-04-24 Leo Liu <sdl.web@gmail.com>
13004
13005 * progmodes/python.el: Move hideshow setup to the end.
13006
13007 2012-04-24 Martin Rudalics <rudalics@gmx.at>
13008
13009 * window.el (handle-select-window): Clear echo area since this is
13010 no more done by read_char (Bug#11304).
13011
13012 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13013
13014 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
13015 and `/ M' to filter-derived-mode.
13016 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
13017 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
13018 (ibuffer-mark-by-mode): Use default rather than initial-input.
13019 (ibuffer-filter-by-derived-mode): Autoload and require-match.
13020
13021 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
13022
13023 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
13024 (ibuffer-filter-by-derived-mode): New filter.
13025 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
13026
13027 2012-04-23 Andreas Politz <politza@fh-trier.de>
13028
13029 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
13030
13031 2012-04-23 Chong Yidong <cyd@gnu.org>
13032
13033 * cus-edit.el (customize-apropos, customize-apropos-options):
13034 Disable matching of non-option variables (Bug#11176).
13035 (customize-option, customize-option-other-window)
13036 (customize-changed-options): Doc fix.
13037 (customize-apropos-options, customize-apropos-faces)
13038 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
13039
13040 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
13041 Fix word list splitting (Bug#11132).
13042 (apropos-symbol, apropos-keybinding, apropos-label)
13043 (apropos-property, apropos-function-button)
13044 (apropos-variable-button, apropos-misc-button): New faces.
13045 (apropos-symbol-face, apropos-keybinding-face)
13046 (apropos-label-face, apropos-property-face, apropos-match-face):
13047 Variables removed (Bug#8396).
13048 (apropos-library-button, apropos-format-plist, apropos-print)
13049 (apropos-print-doc, apropos-describe-plist): Callers changed.
13050
13051 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
13052
13053 * net/xesam.el (xesam-mode-map): Use let-bound map in
13054 initialization. (Bug#11292)
13055
13056 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13057
13058 Preserve ispell session localwords when switching back to
13059 original buffer.
13060
13061 * textmodes/ispell.el (ispell-buffer-session-localwords):
13062 New buffer-local variable to hold buffer session localwords.
13063 (ispell-kill-ispell): Add option 'clear to delete session
13064 localwords.
13065 (ispell-command-loop, ispell-change-dictionary)
13066 (ispell-buffer-local-words): Preserve session localwords when
13067 needed.
13068
13069 * textmodes/flyspell.el (flyspell-process-localwords)
13070 (flyspell-do-correct): Preserve session localwords when needed.
13071
13072 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13073
13074 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
13075 using obsolete `translation-table-for-input'.
13076 (ispell-word, ispell-process-line, ispell-complete-word):
13077 Use plain `insert' instead of removed `ispell-insert-word'.
13078
13079 2012-04-22 Chong Yidong <cyd@gnu.org>
13080
13081 * cus-edit.el (custom-variable-menu)
13082 (custom-variable-reset-saved, custom-face-menu)
13083 (custom-face-reset-saved): If there is no saved value, make the
13084 "reset-saved" operation bring back the default (Bug#9509).
13085 (custom-face-state): Properly detect themed faces.
13086
13087 * faces.el (face-spec-set): Stop supporting deprecated form of
13088 third arg.
13089
13090 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
13091
13092 Move functions from C to Lisp. Make non-blocking method calls
13093 the default. Implement further D-Bus standard interfaces.
13094
13095 * net/dbus.el (dbus-message-internal): Declare function.
13096 Remove unneeded function declarations.
13097 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
13098 (dbus-message-type-method-return, dbus-message-type-error)
13099 (dbus-message-type-signal): Declare variables. Remove local
13100 definitions.
13101 (dbus-interface-dbus, dbus-interface-peer)
13102 (dbus-interface-introspectable, dbus-interface-properties)
13103 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
13104 Adapt docstring.
13105 (dbus-interface-objectmanager): New defconst.
13106 (dbus-call-method, dbus-call-method-asynchronously)
13107 (dbus-send-signal, dbus-method-return-internal)
13108 (dbus-method-error-internal, dbus-register-service)
13109 (dbus-register-signal, dbus-register-method): New defuns, moved
13110 from dbusbind.c
13111 (dbus-call-method-handler, dbus-setenv)
13112 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
13113 New defuns.
13114 (dbus-call-method-non-blocking): Make it an obsolete function.
13115 (dbus-unregister-object, dbus-unregister-service)
13116 (dbus-handle-event, dbus-register-property)
13117 (dbus-property-handler): Obey the new structure of
13118 `bus-registered-objects'.
13119 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
13120 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
13121 Use `dbus-call-method'.
13122
13123 2012-04-22 Chong Yidong <cyd@gnu.org>
13124
13125 * cus-edit.el (custom-commands, custom-reset-menu)
13126 (Custom-reset-standard): Tweak labels.
13127 (custom-reset-button-menu): Change default to t.
13128 (custom-buffer-create-internal): For the custom-reset-button-menu
13129 case, put the revert button first.
13130 (custom-group-subtitle): New face.
13131 (custom-group-value-create): Align docstring to a specific column.
13132
13133 * wid-edit.el (widget-documentation-link-add): Don't handle
13134 indentation in this function.
13135 (widget-documentation-string-indent-to): New function.
13136 (widget-documentation-string-value-create): Use it.
13137
13138 * autorevert.el (auto-revert):
13139 * epg-config.el (epg):
13140 * ibuffer.el (ibuffer):
13141 * mpc.el (mpc):
13142 * ses.el (ses):
13143 * eshell/eshell.el (eshell):
13144 * net/ange-ftp.el (ange-ftp):
13145 * progmodes/ebnf2ps.el (postscript):
13146 * progmodes/flymake.el (flymake):
13147 * progmodes/prolog.el (prolog):
13148 * progmodes/verilog-mode.el (verilog-mode):
13149 * progmodes/which-func.el (which-func):
13150 * term/xterm.el (xterm):
13151 * textmodes/picture.el (picture):
13152 * textmodes/tildify.el (tildify):
13153 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
13154 customization buffers.
13155
13156 2012-04-22 Alan Mackenzie <acm@muc.de>
13157
13158 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
13159 Adding a ) can hide the resulting (..) from searches. Fix it.
13160 Bound the backward search to the position of the existing (.
13161
13162 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
13163
13164 * progmodes/verilog-mode.el (verilog-mode): Check whether
13165 which-func-modes is t before adding verilog-mode.
13166 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
13167
13168 2012-04-21 Leo Liu <sdl.web@gmail.com>
13169
13170 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
13171
13172 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
13173
13174 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
13175 filling of the last column of a table (Bug#5635).
13176 (woman-find-next-control-line): New arg, specifying an additional
13177 regexp component for the control line.
13178 (woman2-roff-buffer): Use it.
13179 (woman-break-table): New function.
13180 (woman2-TS): Use it.
13181
13182 2012-04-21 Chong Yidong <cyd@gnu.org>
13183
13184 * woman.el (woman-set-buffer-display-table, woman-decode-region)
13185 (woman-horizontal-escapes, woman-negative-vertical-space)
13186 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
13187 (WoMan-warn-ignored): Use ?\s instead of ?\ .
13188
13189 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13190
13191 * minibuffer.el (completion-file-name-table): Complete user names.
13192
13193 2012-04-20 Leo Liu <sdl.web@gmail.com>
13194
13195 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
13196 and pcase-let*.
13197
13198 2012-04-20 Chong Yidong <cyd@gnu.org>
13199
13200 * server.el (server-execute): Respect initial-buffer-choice if it
13201 is a string and there are no files to open (Bug#2825).
13202 (server-create-window-system-frame, server-create-tty-frame):
13203 Don't switch buffers here.
13204 (server-process-filter): Only try to open a window system frame if
13205 compiled with graphical support (Bug#8314).
13206
13207 2012-04-20 Dan Nicolaescu <dann@gnu.org>
13208
13209 * battery.el (battery-echo-area-format): Display remaining time
13210 for sysfs backend too (Bug#11269).
13211 (battery-linux-sysfs): Fix conditional for the charge.
13212
13213 2012-04-20 Chong Yidong <cyd@gnu.org>
13214
13215 * progmodes/gdb-mi.el (gdb): Revert previous change.
13216 (gdb-inferior-io--init-proc): New function.
13217 (gdb-init-1): Use it.
13218 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
13219 responsible for allocating a new pty and hooking it to gdb when
13220 the old pty gets an EIO due to process exit.
13221 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
13222 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
13223 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
13224
13225 2012-04-20 Eli Zaretskii <eliz@gnu.org>
13226
13227 * window.el (window-min-size, window-sizable, window-min-delta)
13228 (window-max-delta, window--resizable, window-resizable)
13229 (window-total-size, window-full-height-p, window-full-width-p)
13230 (window-in-direction, window--resize-mini-window, window-resize)
13231 (window--resize-child-windows-normal)
13232 (window--resize-child-windows, window--resize-siblings)
13233 (window--resize-this-window, adjust-window-trailing-edge)
13234 (enlarge-window, shrink-window): Doc fixes.
13235
13236 2012-04-20 Chong Yidong <cyd@gnu.org>
13237
13238 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
13239 New function to call delete-process on the gdb-inferior buffer's pty.
13240 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
13241 pty process (Bug#11273).
13242 (gdb-update): New arg to suppress talking to the gdb process.
13243 (gdb-done-or-error): Use it.
13244 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
13245 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
13246 sentinel not being called.
13247
13248 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
13249
13250 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
13251
13252 2012-04-20 Glenn Morris <rgm@gnu.org>
13253
13254 * net/network-stream.el (open-network-stream): Doc fix.
13255
13256 2012-04-20 Chong Yidong <cyd@gnu.org>
13257
13258 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
13259
13260 2012-04-20 Alan Mackenzie <acm@muc.de>
13261
13262 Ensure searching for keywords is case sensitive.
13263
13264 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
13265 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
13266 (c-defun-name, c-mark-function, c-cpp-define-name)
13267 (c-comment-indent, c-scan-conditionals, c-indent-defun)
13268 (c-context-line-break): Bind case-fold-search to nil.
13269
13270 * progmodes/cc-mode.el (c-font-lock-fontify-region):
13271 Bind case-fold-search to nil.
13272
13273 2012-04-20 Chong Yidong <cyd@gnu.org>
13274
13275 * mail/sendmail.el (mail-bury): Call return action with the right
13276 Rmail buffer (Bug#11242).
13277
13278 * server.el (server-process-filter): Handle corner case where both
13279 tty and nowait options are present (Bug#11102).
13280
13281 2012-04-20 Eli Zaretskii <eliz@gnu.org>
13282
13283 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
13284 (top level): Put into the executable the ident-style '$Id:' tag on
13285 windows-nt as well.
13286
13287 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13288
13289 * electric.el (electric-indent-post-self-insert-function): Check that
13290 electric-indent-mode is enabled in current buffer.
13291
13292 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
13293
13294 * imenu.el (imenu-progress-message): Restore; it is "used" in
13295 erc/erc-imenu.el and net/snmp-mode.el.
13296
13297 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
13298
13299 * avoid.el (mouse-avoidance-mode): Mark unused arg.
13300 (mouse-avoidance-nudge-mouse): Remove unused binding.
13301
13302 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
13303
13304 * descr-text.el (describe-char):
13305 * progmodes/python.el (python-describe-symbol):
13306 Don't call `toggle-read-only', set `buffer-read-only'.
13307
13308 * imenu.el (imenu-default-goto-function): Mark unused args.
13309 (imenu-progress-message): Remove obsolete macro; all callers changed.
13310
13311 * subr.el (keymap-canonicalize): Remove unused binding.
13312 (read-passwd): Mark unused arg.
13313
13314 * tutorial.el (tutorial--display-changes): Remove unused binding.
13315 (tutorial--save-tutorial-to): Remove unused variable.
13316
13317 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
13318 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
13319 (package-generate-autoloads, package-menu--generate)
13320 (package-menu--find-upgrades): Remove unused bindings.
13321
13322 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
13323 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
13324 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
13325 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
13326 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
13327 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
13328 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
13329 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
13330 (cua-delete-char-rectangle): Mark unused args.
13331 (cua-align-rectangle): Remove unused binding.
13332
13333 * mail/rmail.el (compilation--message->loc)
13334 (epa--find-coding-system-for-mime-charset): Declare.
13335
13336 * net/dbus.el (dbus-register-service): Declare.
13337 (dbus-name-owner-changed-handler): Remove unused binding.
13338
13339 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
13340 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
13341 (nxml-scan-backward-within): Mark unused arg.
13342 (nxml-dynamic-markup-word): Remove unused binding.
13343
13344 * mouse.el (mouse-menu-major-mode-map):
13345 * emacs-lisp/authors.el (authors-scan-change-log)
13346 (authors-add-to-author-list):
13347 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
13348 * emacs-lisp/smie.el (smie-auto-fill):
13349 * mail/sendmail.el (mail-bury):
13350 * mail/unrmail.el (unrmail):
13351 * net/tls.el (open-tls-stream):
13352 * textmodes/picture.el (picture-mouse-set-point):
13353 Remove unused bindings.
13354
13355 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
13356
13357 * net/tramp.el (tramp-action-password): Let-bind
13358 `enable-recursive-minibuffers' to t.
13359
13360 2012-04-18 Sam Steingold <sds@gnu.org>
13361
13362 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
13363 instead of 'string to accommodate values like [f11].
13364 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
13365 * progmodes/gdb-mi.el: Likewise.
13366
13367 2012-04-18 Leo Liu <sdl.web@gmail.com>
13368
13369 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
13370 current buffer.
13371 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
13372 LOCAL is nil.
13373
13374 2012-04-18 Chong Yidong <cyd@gnu.org>
13375
13376 * simple.el (line-move): Use forward-line if in batch mode
13377 (Bug#11053).
13378
13379 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
13380
13381 * files.el (after-find-file): Do not try to add a final newline if
13382 the buffer is read-only (Bug#11156).
13383
13384 2012-04-17 Richard Stallman <rms@gnu.org>
13385
13386 * mail/rmail.el (rmail-start-mail):
13387 Pass (rmail-mail-return...) for the return-action.
13388 Pass (rmail-yank-current-message...) for the yank-action.
13389 (rmail-yank-current-message): New function.
13390 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
13391 (rmail-reply): Likewise.
13392 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
13393
13394 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
13395 buffer, not the last. Reject temp buffers. Use the rmail-mode
13396 buffer, not newbuf.
13397
13398 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
13399
13400 * server.el (server-ensure-safe-dir): Simplify.
13401
13402 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13403
13404 * emacs-lisp/smie.el: Provide smarter auto-filling.
13405 (smie-auto-fill): New function.
13406 (smie-setup): Use it.
13407
13408 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
13409
13410 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
13411
13412 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
13413 (comment-indent): Use it.
13414
13415 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
13416
13417 * ses.el: The overall change is to add cell renaming, that is
13418 setting fancy names for cell symbols other than name matching
13419 "\\`[A-Z]+[0-9]+\\'" regexp .
13420 (ses-localvars): Add ses--renamed-cell-symb-list.
13421 (ses-create-cell-variable): New defun.
13422 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
13423 (ses-relocate-formula): Relocate formulas only for cells the
13424 symbols of which are not renamed, i.e. symbols whose names do not
13425 match regexp "\\`[A-Z]+[0-9]+\\'".
13426 (ses-relocate-all): Relocate values only for cells the symbols of
13427 which are not renamed.
13428 (ses-load): Create cells variables as the (ses-cell ...) are read,
13429 in order to check row col consistency with cell symbol name only
13430 for cells that are not renamed.
13431 (ses-replace-name-in-formula): New defun.
13432 (ses-rename-cell): New defun.
13433
13434 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
13435
13436 * progmodes/perl-mode.el (perl-indent-parens-as-block):
13437 New option (bug#11118).
13438 (perl-calculate-indent): Respect it.
13439
13440 2012-04-17 Glenn Morris <rgm@gnu.org>
13441
13442 * dired-aux.el (dired-mark-read-string): Doc fix.
13443
13444 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
13445
13446 * dired-aux.el (dired-mark-read-string): Offer optional completion.
13447 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
13448
13449 2012-04-17 Glenn Morris <rgm@gnu.org>
13450
13451 * mouse.el (mouse-drag-track):
13452 * speedbar.el (speedbar-frame-mode):
13453 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
13454
13455 2012-04-16 Leo Liu <sdl.web@gmail.com>
13456
13457 * progmodes/python.el: Trivial cleanup.
13458
13459 2012-04-16 Glenn Morris <rgm@gnu.org>
13460
13461 * vc/vc.el (vc-string-prefix-p):
13462 * vc/pcvs-util.el (cvs-string-prefix-p):
13463 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
13464 * mpc.el (mpc-string-prefix-p):
13465 Make all of these into obsolete aliases for string-prefix-p.
13466 Update callers.
13467 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
13468
13469 * textmodes/two-column.el: Move custom options to the start.
13470 (frame-width): Remove compat definition.
13471 (2C-associate-buffer, 2C-dissociate):
13472 Use with-current-buffer rather than save-excursion.
13473 (2C-dissociate): Force a mode-line update.
13474 (2C-autoscroll): Use ignore-errors.
13475
13476 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
13477 Autoload trivia.
13478
13479 * emacs-lisp/cl-extra.el (*random-state*):
13480 Remove unnecessary declaration.
13481
13482 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
13483
13484 * play/cookie1.el (cookie-snarf):
13485 Give an explicit error if input file cannot be read.
13486
13487 * play/yow.el (yow-file): Use expand-file-name rather than concat.
13488
13489 * progmodes/perl-mode.el (c-macro-expand):
13490 Remove unnecessary autoload (it is in loaddefs.el).
13491
13492 * textmodes/picture.el (picture-desired-column)
13493 (picture-update-desired-column): Convert comments to doc-strings.
13494 (picture-substitute): Remove function.
13495 (picture-mode-map): Initialize in the defvar.
13496
13497 * woman.el: Remove eval-after-load for tar-mode.
13498 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
13499 (woman-tar-extract-file): Autoload it.
13500
13501 * frame.el (automatic-hscrolling): Make this alias obsolete.
13502
13503 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13504
13505 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
13506 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
13507 (ispell-dictionary-base-alist): Revert to original XEmacs
13508 friendly version for default. [:alpha:] will be added in
13509 `ispell-set-spellchecker-params' if needed.
13510
13511 2012-04-16 Chong Yidong <cyd@gnu.org>
13512
13513 * image.el (imagemagick--file-regexp): New variable.
13514 (imagemagick-register-types): Use it.
13515 (imagemagick-types-inhibit): Add :set function. Allow new value
13516 of t to inhibit all types.
13517
13518 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
13519 so we can preload it.
13520
13521 * loadup.el (fboundp): Preload regexp-opt, needed by
13522 imagemagick-register-types.
13523
13524 2012-04-15 Chong Yidong <cyd@gnu.org>
13525
13526 * frame.el (scrolling): Remove nearly unused customization group.
13527
13528 * scroll-all.el (scroll-all-mode): Move to windows group.
13529
13530 2012-04-15 Chong Yidong <cyd@gnu.org>
13531
13532 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
13533
13534 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13535
13536 Avoid the use of ((lambda ...) ...) in lexical-binding code.
13537 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
13538
13539 2012-04-15 Glenn Morris <rgm@gnu.org>
13540
13541 * simple.el (process-file-side-effects): Doc fix.
13542
13543 2012-04-15 Glenn Morris <rgm@gnu.org>
13544
13545 * international/mule-cmds.el (set-language-environment): Doc fix.
13546
13547 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
13548
13549 * server.el (server-auth-key, server-generate-key): Doc fixes.
13550 (server-get-auth-key): Doc fix. Use `string-match-p'.
13551 (server-start): Reflow docstring.
13552
13553 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
13554
13555 * server.el (server-generate-key): `called-interactively-p'
13556 requires a parameter.
13557
13558 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
13559
13560 * server.el (server-auth-key): New variable.
13561 (server-generate-key, server-get-auth-key): New function.
13562 (server-start): Use the new variable and functions to allow
13563 setting a permanent server key (bug#9423).
13564
13565 2012-04-14 Leo Liu <sdl.web@gmail.com>
13566
13567 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
13568
13569 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
13570
13571 Spelling fixes.
13572 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
13573 Emacs uses American spelling.
13574
13575 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
13576
13577 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
13578 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
13579 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
13580 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
13581
13582 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13583
13584 * progmodes/which-func.el (which-func-modes): Change default.
13585
13586 2012-04-14 Kim F. Storm <storm@cua.dk>
13587
13588 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
13589 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
13590
13591 2012-04-14 Chong Yidong <cyd@gnu.org>
13592
13593 * custom.el (custom-theme-set-variables): Doc fix.
13594
13595 2012-04-14 Glenn Morris <rgm@gnu.org>
13596
13597 * international/mule.el (set-auto-coding-for-load): Doc fix.
13598
13599 2012-04-14 Alan Mackenzie <acm@muc.de>
13600
13601 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
13602 imenu work again for Objective C Mode. Correct the *-index values,
13603 these having been disturbed by a previous change in 2011-08.
13604
13605 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
13606 Correct two search limits.
13607
13608 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13609
13610 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
13611
13612 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
13613
13614 * international/characters.el: Fix sorting.
13615
13616 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13617
13618 * international/characters.el: Add more missing Latin case pairs.
13619
13620 2012-04-14 Glenn Morris <rgm@gnu.org>
13621
13622 * files.el (dir-locals-set-class-variables): Doc fix.
13623
13624 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13625
13626 * international/characters.el: Add set-case-syntax-pair call for
13627 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
13628 counterpart. (Bug#11209)
13629
13630 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
13631
13632 2012-04-14 Glenn Morris <rgm@gnu.org>
13633
13634 * calendar/holidays.el (calendar-check-holidays): Doc fix.
13635
13636 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13637
13638 * textmodes/ispell.el (ispell-dictionary-base-alist):
13639 Add data for Hebrew.
13640
13641 2012-04-14 Chong Yidong <cyd@gnu.org>
13642
13643 * net/rcirc.el (rcirc-cmd-quit):
13644 Revert 2012-03-18 change (Bug#11192).
13645
13646 2012-04-14 Glenn Morris <rgm@gnu.org>
13647
13648 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
13649
13650 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13651
13652 * minibuffer.el (completion-in-region-mode-map):
13653 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
13654
13655 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
13656
13657 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
13658
13659 2012-04-13 Masatake YAMATO <yamato@redhat.com>
13660
13661 * minibuffer.el (minibuffer-local-filename-syntax): New variable
13662 to allow `C-M-f' and `C-M-b' to move to the nearest path
13663 separator (bug#9511).
13664
13665 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
13666
13667 * avoid.el: Require cl when compiling. And also move the
13668 `provide' to the end.
13669
13670 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13671
13672 * avoid.el (mouse-avoidance-banish-position): New variable.
13673 (mouse-avoidance-banish-destination): Use it (bug#10165).
13674
13675 2012-04-13 Leo Liu <sdl.web@gmail.com>
13676
13677 * progmodes/which-func.el (which-func-modes): Add objc-mode.
13678
13679 2012-04-13 Ken Brown <kbrown@cornell.edu>
13680
13681 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
13682 this is no longer needed now that cygstart understands file:// URLs.
13683 (browse-url-filename-alist): For the same reason, don't modify
13684 file:// URLs on Cygwin.
13685
13686 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
13687
13688 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
13689 the region on shift if the binding is already shifted (bug#11221).
13690
13691 2012-04-12 Glenn Morris <rgm@gnu.org>
13692
13693 * mail/mailpost.el: Move to obsolete/.
13694
13695 2012-04-12 Drew Adams <drew.adams@oracle.com>
13696
13697 * imenu.el (imenu--generic-function): Ignore invisible definitions
13698 (bug#10123).
13699
13700 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
13701
13702 * hexl.el (hexl-bits): New variable.
13703 (hexl-options): Mention the variable in the doc string.
13704 (hexl-rulerise, hexl-line-displen): New functions.
13705 (hexl-mode): Mention the new variable.
13706 (hexl-mode, hexl-current-address, hexl-current-address):
13707 Use the displen.
13708 (hexl-ascii-start-column): New function.
13709 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
13710 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
13711
13712 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13713
13714 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
13715 '("-i" ENCODING), in 2 separate command-line arguments, to specify
13716 the encoding, as expected by hunspell.
13717
13718 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
13719
13720 * battery.el (battery--linux-sysfs-regexp): New const.
13721 (battery-status-function): Use it. Remove yeeloong special case.
13722 (battery-yeeloong-sysfs): Remove.
13723 (battery-echo-area-format): Remove yeeloong special case.
13724
13725 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13726
13727 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
13728 Reported by Noah Friedman.
13729
13730 * subr.el (read-passwd): Use read-string.
13731
13732 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13733
13734 * vcursor.el (vcursor-move): Increase the priority of the overlay
13735 (bug#9663).
13736
13737 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
13738
13739 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
13740 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
13741
13742 2012-04-11 William Stevenson <yhvh2000@gmail.com>
13743
13744 * textmodes/artist.el (artist-mode): Convert artist-mode to use
13745 define-minor-mode (bug#10760).
13746
13747 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
13748
13749 * progmodes/grep.el (rgrep): Tweak the find command line so
13750 that directories matching `grep-find-ignored-files' won't be
13751 pruned (bug#10351).
13752
13753 2012-04-11 Chong Yidong <cyd@gnu.org>
13754
13755 * startup.el (command-line): Remove support for long-obsolete
13756 variable font-lock-face-attributes.
13757
13758 2012-04-11 Glenn Morris <rgm@gnu.org>
13759
13760 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
13761
13762 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13763
13764 * window.el (window--state-get-1): Obey window-point-insertion-type.
13765
13766 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
13767
13768 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
13769 to previous function when point is on the first character of a
13770 function. Take care of that in `narrow-to-defun' (bug#6157).
13771
13772 2012-04-11 Glenn Morris <rgm@gnu.org>
13773
13774 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
13775 not just file-errors.
13776
13777 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
13778 (vc-bzr-sha1): Use internal sha1.
13779
13780 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13781
13782 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
13783
13784 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
13785
13786 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
13787 that start in the middle of the line (bug#10496).
13788
13789 2012-04-10 Dan Nicolaescu <dann@gnu.org>
13790
13791 * battery.el (battery-linux-proc-acpi): Only one battery is
13792 discharged at a time, but that seems to confuse battery.el when
13793 computing `rate-type' for the battery not being discharged
13794 (bug#10332).
13795
13796 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
13797
13798 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
13799
13800 * international/quail.el: Use dolist and simplify.
13801 (quail-define-package, quail-update-keyboard-layout)
13802 (quail-define-rules): Use dolist.
13803 (quail-insert-kbd-layout, quail-get-translation): CSE.
13804
13805 * tmm.el: Use dolist, remove left over hook.
13806 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
13807 Use dolist.
13808 (calendar-load-hook): Don't mess with it.
13809
13810 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
13811 Use derived-mode-p. Run the diff asynchronously.
13812
13813 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
13814
13815 * obsolete/mouse-sel.el: Add an Obsolete-since header.
13816
13817 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
13818
13819 * misc.el: Display absolute path of loaded DLLs (bug#10424).
13820 (list-dynamic-libraries--loaded): New function.
13821 (list-dynamic-libraries--refresh): Use it.
13822
13823 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
13824
13825 * progmodes/python.el (python-fill-paragraph):
13826 Make python-fill-region in a multiline string work when font-lock is
13827 disabled (bug#7018).
13828
13829 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
13830
13831 * language/european.el (cp775): Add oem/legacy (en)coding on
13832 DOS/MS Windows for the Baltic languages. There are still plenty
13833 of texts written in this encoding/codepage (bug#6519).
13834
13835 2012-04-10 Glenn Morris <rgm@gnu.org>
13836
13837 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
13838 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
13839
13840 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
13841
13842 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
13843 next-line "n" and previous-line "p" in order to make recentf more
13844 consistent with ibuffer, dired or org-mode (bug#9387).
13845
13846 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
13847
13848 * image.el (put-image): Return the overlay created instead of the
13849 optional input string (bug#7834). Note that this may break code
13850 that is (for some reason or other) depending on `put-image'
13851 returning the string.
13852
13853 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
13854
13855 * simple.el (zap-to-char): Allow zapping using input methods
13856 (bug#1580).
13857
13858 * textmodes/fill.el (fill-region): Leave point and mark where they
13859 were before filling (bug#5399).
13860
13861 2012-04-09 Glenn Morris <rgm@gnu.org>
13862
13863 * version.el (emacs-bzr-get-version):
13864 Handle lightweight checkouts of local branches.
13865
13866 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
13867
13868 * international/characters.el: Recover lost case pairs. (Bug#11209)
13869
13870 2012-04-09 Chong Yidong <cyd@gnu.org>
13871
13872 * custom.el (custom-variable-p): Return nil for non-symbol
13873 arguments instead of signaling an error.
13874 (user-variable-p): Obsolete alias for custom-variable-p.
13875
13876 * apropos.el (apropos-variable):
13877 * files-x.el (read-file-local-variable):
13878 * simple.el (set-variable):
13879 * woman.el (woman-mini-help):
13880 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
13881
13882 2012-04-09 Glenn Morris <rgm@gnu.org>
13883
13884 * startup.el (normal-top-level): Don't look for leim-list.el
13885 in places where it will not be found. (Bug#910)
13886
13887 * international/mule-cmds.el (set-default-coding-systems):
13888 * files.el (normal-mode):
13889 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
13890 This function was removed with ucs-tables.el in 2008.
13891
13892 2012-04-08 Eli Zaretskii <eliz@gnu.org>
13893
13894 * textmodes/ispell.el (ispell-check-version): For hunspell, set
13895 ispell-encoding8-command to "-i", without a trailing space.
13896 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
13897 separate command-line arguments, to specify the encoding, since
13898 that's how hunspell expects it.
13899
13900 2012-04-08 Glenn Morris <rgm@gnu.org>
13901
13902 * loadup.el: Load bindings before cus-start.
13903 This reduces somewhat the number of "rogue" settings in emacs -Q.
13904
13905 2012-04-07 Glenn Morris <rgm@gnu.org>
13906
13907 * version.el (emacs-bzr-get-version): New function.
13908 (emacs-bzr-version): New variable.
13909 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
13910 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
13911
13912 2012-04-07 Eli Zaretskii <eliz@gnu.org>
13913
13914 * international/uni-bidi.el, international/uni-category.el:
13915 * international/uni-combining.el, international/uni-decimal.el:
13916 * international/uni-decomposition.el, international/uni-digit.el:
13917 * international/uni-lowercase.el, international/uni-mirrored.el:
13918 * international/uni-name.el, international/uni-numeric.el:
13919 * international/uni-titlecase.el, international/uni-uppercase.el:
13920 Update for Unicode 6.1.
13921
13922 2012-04-07 Eli Zaretskii <eliz@gnu.org>
13923
13924 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
13925
13926 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
13927
13928 * window.el (shrink-window): Mention the `window-min-height'
13929 variable in the doc string.
13930
13931 2012-04-05 Bastien Guerry <bzg@altern.org>
13932
13933 * color.el (color-lighten-name): Fix typo.
13934
13935 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13936
13937 * server.el (server--on-display-p): New function.
13938 (server--on-display-p): Use it.
13939
13940 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
13941
13942 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
13943 (bug#11145).
13944
13945 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13946
13947 * comint.el (comint--common-quoted-suffix): Check string boundary
13948 before comparing (bug#11158).
13949 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
13950
13951 2012-04-04 Chong Yidong <cyd@gnu.org>
13952
13953 * minibuffer.el (completion-extra-properties): Doc fix.
13954
13955 * subr.el (delayed-warnings-hook): Doc fix.
13956
13957 2012-04-04 Daiki Ueno <ueno@unixuser.org>
13958
13959 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
13960 selection (Bug#11159).
13961 (epa-insert-keys): Inform that the default public key will be
13962 exported if no key is selected.
13963
13964 2012-04-04 Richard Stallman <rms@gnu.org>
13965
13966 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
13967
13968 2012-04-03 Chong Yidong <cyd@gnu.org>
13969
13970 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
13971 mail-insert-file, not its obsolete alias mail-attach-file.
13972
13973 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
13974
13975 * notifications.el (notifications-notify): Fix docstring.
13976
13977 2012-04-02 Glenn Morris <rgm@gnu.org>
13978
13979 * emacs-lisp/authors.el (authors-aliases): Another addition.
13980
13981 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
13982
13983 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
13984 `tramp-compat-call-process' instead of `tramp-local-call-process'.
13985 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
13986
13987 2012-04-01 Chong Yidong <cyd@gnu.org>
13988
13989 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
13990 Handle root directory properly.
13991 (copy-directory): Caller changed.
13992
13993 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
13994 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
13995
13996 2012-03-31 Glenn Morris <rgm@gnu.org>
13997
13998 * term/xterm.el (xterm-extra-capabilities): Doc fix.
13999
14000 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
14001
14002 * calendar/calendar.el (calendar-window-list)
14003 (calendar-hide-window): Restore. (Bug#11140)
14004 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
14005
14006 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
14007
14008 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14009
14010 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
14011 Check if file is a symlink (Bug#10489).
14012
14013 * files.el (copy-directory): Likewise.
14014
14015 2012-03-30 Chong Yidong <cyd@gnu.org>
14016
14017 * image.el (imagemagick-types-inhibit)
14018 (imagemagick-register-types): Doc fix.
14019
14020 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14021
14022 * textmodes/ispell.el (ispell-get-extended-character-mode):
14023 Disable extended-char-mode for hunspell. hunspell does not support it
14024 and treats ~word as ordinary words in pipe mode.
14025
14026 2012-03-30 Glenn Morris <rgm@gnu.org>
14027
14028 * tutorial.el (help-with-tutorial): Ensure local variables don't
14029 happen to make the buffer read-only. (Bug#11127)
14030
14031 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
14032
14033 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
14034 (perl-calculate-indent): Return `noindent' in strings.
14035
14036 2012-03-28 Sam Steingold <sds@gnu.org>
14037
14038 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
14039 instead of the broken adhockery which does not prevent calendar
14040 buffers from being displayed at random after exit.
14041 (calendar-window-list, calendar-hide-window): Remove the broken
14042 adhockery.
14043
14044 2012-03-28 Glenn Morris <rgm@gnu.org>
14045
14046 * replace.el (query-replace-map): Doc fix.
14047
14048 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
14049
14050 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
14051 contents. (Bug#11109)
14052
14053 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
14054
14055 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
14056 (bug#11077).
14057 (avl-tree--check, avl-tree--check-node): New funs.
14058
14059 2012-03-27 Martin Rudalics <rudalics@gmx.at>
14060
14061 * window.el (switch-to-visible-buffer): New option.
14062 (switch-to-prev-buffer, switch-to-next-buffer):
14063 Observe switch-to-visible-buffer. Make sure that checking for a window
14064 showing a buffer already is done on the same frame.
14065
14066 2012-03-27 Glenn Morris <rgm@gnu.org>
14067
14068 * startup.el (mail-host-address): Doc fix.
14069
14070 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14071
14072 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
14073 than 197 variables.
14074
14075 2012-03-26 Ami Fischman <ami@fischman.org>
14076
14077 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
14078
14079 2012-03-26 Glenn Morris <rgm@gnu.org>
14080
14081 * files.el (save-buffers-kill-emacs): Doc fix.
14082
14083 * startup.el (normal-top-level, command-line, command-line-1):
14084 Give them doc strings.
14085
14086 2012-03-25 Eli Zaretskii <eliz@gnu.org>
14087
14088 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
14089 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
14090
14091 2012-03-25 Chong Yidong <cyd@gnu.org>
14092
14093 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
14094 theme if it was previously enabled before (Bug#11031).
14095
14096 * cus-theme.el (custom-theme-write-faces): Retrieve current face
14097 spec with custom-face-get-current-spec if its :shown-value is not
14098 determined yet (Bug#9337).
14099 (customize-create-theme, custom-theme-revert): Doc fixes.
14100
14101 * button.el (button-at): Minor addition to docstring.
14102
14103 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
14104
14105 * vc/vc.el (vc-merge): Fix a prompt.
14106
14107 2012-03-24 Chong Yidong <cyd@gnu.org>
14108
14109 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
14110 point (Bug#9623).
14111
14112 * button.el (button-at): Minor addition to docstring.
14113
14114 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
14115
14116 * newcomment.el (comment-choose-indent): No space after BOL.
14117
14118 2012-03-22 Sam Steingold <sds@gnu.org>
14119
14120 * window.el (switch-to-prev-buffer): Revert last patch because the
14121 bug turned out to be an advertised feature (Elisp manual 28.14).
14122
14123 2012-03-22 Glenn Morris <rgm@gnu.org>
14124
14125 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
14126 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
14127
14128 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
14129
14130 * net/network-stream.el (network-stream-open-starttls): Make error
14131 message under Windows be less misleading.
14132
14133 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
14134
14135 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
14136 understands (bug#9942).
14137
14138 2012-03-22 Chong Yidong <cyd@gnu.org>
14139
14140 * simple.el (end-of-visible-line): Handle return value of
14141 next-single-property-change properly (Bug#9371).
14142
14143 2012-03-22 Kenichi Handa <handa@m17n.org>
14144
14145 * international/quail.el (quail-insert-kbd-layout): Fix previous
14146 change. To avoid unwanted bidi reordering, use
14147 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
14148
14149 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
14150
14151 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
14152 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
14153 (ruby-beginning-of-indent): Be more careful with the difference
14154 between word-boundary and symbol boundary.
14155 (ruby-mode-syntax-table): Make : a symbol constituent.
14156
14157 2012-03-21 Andreas Politz <politza@fh-trier.de>
14158
14159 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
14160
14161 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14162
14163 * progmodes/etags.el (tags-completion-at-point-function):
14164 Improve last fix.
14165
14166 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
14167
14168 2012-03-21 Sam Steingold <sds@gnu.org>
14169
14170 * progmodes/etags.el (tags-completion-at-point-function):
14171 Avoid the error when point is inside the pattern.
14172
14173 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
14174
14175 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
14176 line (Bug#10855).
14177
14178 2012-03-21 Drew Adams <drew.adams@oracle.com>
14179
14180 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
14181
14182 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
14183
14184 * ido.el (ido-set-current-directory, ido-read-internal)
14185 (ido-choose-completion-string, ido-completion-help): Handle nil
14186 value of ido-completion-buffer (Bug#11008).
14187
14188 2012-03-21 Sam Steingold <sds@gnu.org>
14189
14190 * window.el (switch-to-prev-buffer): Do not switch to a visible
14191 window previous buffer, just like with the frame previous buffers.
14192
14193 2012-03-21 Chong Yidong <cyd@gnu.org>
14194
14195 * faces.el (make-face, make-empty-face, copy-face):
14196 * face-remap.el (face-remap-add-relative, face-remap-set-base):
14197 Doc fixes.
14198
14199 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14200
14201 * wid-edit.el (widget-complete-field): Remove (bug#11051).
14202 (widget-complete): Remove broken use of it.
14203
14204 2012-03-20 Chong Yidong <cyd@gnu.org>
14205
14206 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14207 Use string-width and truncate-string-width to handle arbitrary
14208 characters.
14209
14210 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
14211
14212 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
14213 to draw rectangles, not squares. (Regression introduced by revno
14214 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
14215
14216 2012-03-18 Chong Yidong <cyd@gnu.org>
14217
14218 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
14219 it is not yet defined (for temacs).
14220
14221 2012-03-18 Leo Liu <sdl.web@gmail.com>
14222
14223 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
14224 prefix.
14225
14226 2012-03-17 Eli Zaretskii <eliz@gnu.org>
14227
14228 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
14229 (ispell-choices-win-default-height, ispell-silently-savep)
14230 (ispell-dictionary-alist, ispell-encoding8-command)
14231 (ispell-check-version, ispell-aspell-find-dictionary)
14232 (ispell-valid-dictionary-list, ispell-words-keyword)
14233 (ispell-get-word, ispell-internal-change-dictionary)
14234 (ispell-region, ispell-skip-region-list)
14235 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
14236 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
14237 (ispell-message-text-end, ispell-message)
14238 (ispell-buffer-local-parsing): Doc fix.
14239
14240 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
14241
14242 * htmlfontify.el: Add support for code block fontification for ODT
14243 export (Bug #9914).
14244 (hfy-optimisations): Define new option
14245 `body-text-only'
14246 (hfy-fontify-buffer): Honor above setting.
14247 (hfy-begin-span, hfy-end-span): New routines factored out form
14248 `hfy-fontify-buffer'.
14249 (hfy-begin-span-handler, hfy-end-span-handler): New variables
14250 that permit insertion of custom tags.
14251 (hfy-fontify-buffer): Use above handlers.
14252 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
14253 (hfy-face-to-css): Re-defined to be a variable.
14254 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
14255 over multiple runs. This is made possible by having the caller let
14256 bind a special variable `hfy-user-sheet-assoc'.
14257 (htmlfontify-string): New defun.
14258 (hfy-compile-face-map): Make sure that the last char in the
14259 buffer is correctly fontified.
14260 (hfy-face-resolve-face): Whitespace only change.
14261
14262 2012-03-17 Eli Zaretskii <eliz@gnu.org>
14263
14264 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
14265 message more clear.
14266
14267 2012-03-16 Leo Liu <sdl.web@gmail.com>
14268
14269 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
14270
14271 2012-03-16 Alan Mackenzie <acm@muc.de>
14272
14273 Further optimize the handling of large macros.
14274
14275 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
14276 limit to a call of `c-literal-limits'.
14277 (c-determine-+ve-limit): New function.
14278 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
14279 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
14280 In CASE 5B, restrict a search limit to 500.
14281 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
14282
14283 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
14284 Restrict macro bounds to +-500 from after-change's BEG END.
14285
14286 2012-03-16 Leo Liu <sdl.web@gmail.com>
14287
14288 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
14289
14290 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
14291
14292 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
14293 `special-mode' setting of `buffer-read-only'. (Bug#11010)
14294
14295 2012-03-16 Glenn Morris <rgm@gnu.org>
14296
14297 * view.el (view-buffer, view-buffer-other-window)
14298 (view-buffer-other-frame): Doc fixes re special mode-class.
14299
14300 * subr.el (eval-after-load): If named feature is provided not from
14301 a file, run after-load forms. (Bug#10946)
14302
14303 * calendar/calendar.el (calendar-insert-at-column):
14304 Handle non-unit-width characters a bit better. (Bug#10978)
14305
14306 2012-03-15 Chong Yidong <cyd@gnu.org>
14307
14308 * emacs-lisp/ring.el (ring-extend): New function.
14309 (ring-insert+extend): Extend the ring correctly (Bug#11019).
14310
14311 * comint.el (comint-read-input-ring)
14312 (comint-add-to-input-history): Grow comint-input-ring lazily.
14313
14314 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14315
14316 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
14317 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
14318
14319 * imenu.el: Fix multiple inheritance breakage (bug#9199).
14320 (imenu-add-to-menubar): Don't add a redundant index.
14321 (imenu-update-menubar): Handle a dynamically composed keymap.
14322
14323 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
14324
14325 * mail/sendmail.el (mail-encode-header):
14326 Bind rfc2047-encode-encoded-words to nil.
14327
14328 2012-03-13 Glenn Morris <rgm@gnu.org>
14329
14330 * calendar/calendar.el (calendar-string-spread):
14331 Handle non-unit-width characters a bit better. (Bug#10978)
14332
14333 2012-03-13 Leo Liu <sdl.web@gmail.com>
14334
14335 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
14336 directory and file as argument (Bug#10822).
14337
14338 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
14339
14340 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
14341 For dynamically generated code, follow $PC.
14342 (gdb-disassembly-handler-custom): Handle no function name case.
14343
14344 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
14345
14346 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
14347 * emulation/ws-mode.el (ws-query-replace):
14348 * sort.el (sort-regexp-fields):
14349 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
14350
14351 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14352
14353 * dabbrev.el: Fix cycle completion order (bug#10963).
14354 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
14355 (dabbrev-completion): Don't use an obarray; provide
14356 a cycle-sort-function.
14357
14358 2012-03-12 Leo Liu <sdl.web@gmail.com>
14359
14360 * simple.el (kill-new): Use equal-including-properties for comparison.
14361 (kill-do-not-save-duplicates): Doc fix.
14362
14363 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14364
14365 * dabbrev.el: Fix cycle completion (bug#10963).
14366 Use lexical binding and wrap to 80 columns.
14367 (dabbrev-completion): Delay computing the list of completions.
14368
14369 2012-03-12 Kenichi Handa <handa@m17n.org>
14370
14371 * international/quail.el (quail-insert-kbd-layout): Surround each
14372 row by LRO and PDF instead of inserting many LRMs. Pad the left
14373 and right of each non-spacing marks. Insert invisible space
14374 between lower and upper characters to prevent composition.
14375
14376 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14377
14378 * minibuffer.el (minibuffer-complete): Don't get confused when the
14379 function is run twice via different commands (bug#10958).
14380 (complete-with-action): Fix docstring.
14381
14382 2012-03-12 Chong Yidong <cyd@gnu.org>
14383
14384 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
14385 (nxml-completion-at-point-function): New function.
14386 (nxml-mode): Use it.
14387 (nxml-bind-meta-tab-to-complete-flag): Default to t.
14388
14389 * emacs-lisp/package.el (package-unpack, package-unpack-single):
14390 Load generated autoloads file before byte compiling (Bug#10970).
14391 (package--make-autoloads-and-compile): New helper fun.
14392
14393 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
14394
14395 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
14396
14397 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
14398
14399 * autorevert.el (auto-revert-handler): Ensure, that
14400 file-readable-p is applied only for local files or in
14401 auto-revert-tail-mode.
14402
14403 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
14404
14405 * server.el (server-eval-at): Handle non-tcp connections.
14406 Decode result string.
14407
14408 * server.el (server-msg-size): New constant.
14409 (server-reply-print): New function.
14410 (server-eval-and-print): Use it.
14411 (server-eval-at): Use server-quote-arg and server-unquote-arg.
14412 Handle -print-nonl.
14413
14414 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
14415
14416 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
14417 (Bug#10987).
14418
14419 2012-03-11 Chong Yidong <cyd@gnu.org>
14420
14421 * simple.el (goto-line): Doc fix (Bug#9938).
14422
14423 * subr.el (save-window-excursion): Doc fix (Bug#9979).
14424
14425 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
14426 when finished (Bug#10963).
14427
14428 2012-03-11 Martin Rudalics <rudalics@gmx.at>
14429
14430 * window.el (split-window-below): Fix bug in case where
14431 split-window-keep-point is nil (Bug#10971).
14432
14433 2012-03-11 Juri Linkov <juri@jurta.org>
14434
14435 * replace.el (replace-highlight): Set isearch-word to nil
14436 unconditionally. (Bug#10887)
14437
14438 2012-03-10 Eli Zaretskii <eliz@gnu.org>
14439
14440 * net/mairix.el (mairix-replace-invalid-chars): Rename from
14441 mairix-replace-illegal-chars; all callers changed. Don't remove
14442 ^, ~, and = characters: they are meaningful in mairix search specs.
14443 (mairix-widget-create-query): Add usage information about mairix
14444 search forms: negating words, searching for substrings, etc.
14445
14446 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
14447
14448 * international/fontset.el (font-encoding-alist): Add an entry for
14449 ksx1001 (Bug#5667).
14450
14451 2012-03-10 Richard Stallman <rms@gnu.org>
14452
14453 * mail/sendmail.el (mail-encode-header):
14454 Set rfc2047-encode-encoded-words.
14455
14456 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
14457
14458 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
14459 view buffer means not swapped.
14460 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
14461 (rmail-write-region-annotate): Error if real text has disappeared.
14462
14463 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
14464
14465 2012-03-10 Chong Yidong <cyd@gnu.org>
14466
14467 * emulation/cua-rect.el (cua--init-rectangles):
14468 * emulation/cua-base.el (cua--init-keymaps):
14469 Add delete-forward-char to remappings (Bug#9666).
14470
14471 2012-03-10 Martin Rudalics <rudalics@gmx.at>
14472
14473 * speedbar.el (speedbar-unhighlight-one-tag-line):
14474 Avoid unhighlighting due to frame switching (Bug#10275).
14475
14476 2012-03-10 Chong Yidong <cyd@gnu.org>
14477
14478 * minibuffer.el (completion-in-region, completion-help-at-point):
14479 Give the completion field overlay a high priority (Bug#6830).
14480
14481 * dired.el (dired-goto-file): Recognize absolute file name
14482 listings (Bug#7126).
14483 (dired-goto-file-1): New helper function.
14484 (dired-toggle-read-only): Inhibit warnings.
14485
14486 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
14487
14488 * net/dbus.el (dbus-property-handler): Return empty array if
14489 there are no properties.
14490
14491 2012-03-09 Leo Liu <sdl.web@gmail.com>
14492
14493 * savehist.el (savehist-printable): Stricter check for string
14494 value (Bug#10937).
14495
14496 2012-03-09 Eli Zaretskii <eliz@gnu.org>
14497
14498 * mail/smtpmail.el (smtpmail-send-it):
14499 Bind coding-system-for-write to *-unix, so that FCC files are kept in
14500 valid mbox format.
14501
14502 2012-03-09 Glenn Morris <rgm@gnu.org>
14503
14504 * files.el (dir-locals-find-file):
14505 Don't check result is regular, readable.
14506 (dir-locals-read-from-file): Demote errors.
14507
14508 2012-03-08 Eli Zaretskii <eliz@gnu.org>
14509
14510 * international/quail.el (quail-insert-kbd-layout):
14511 Insert invisible LRM characters before each character in a keyboard
14512 layout cell, to prevent their reordering by bidi display engine.
14513 For details, see the discussion in
14514 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
14515
14516 2012-03-08 Alan Mackenzie <acm@muc.de>
14517
14518 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
14519 the starting position; make it extend the marked region when
14520 invoked repeatedly - all under appropriate circumstances.
14521 Fixes bugs #5525, #10906.
14522
14523 2012-03-08 Glenn Morris <rgm@gnu.org>
14524
14525 * files.el (locate-dominating-file, dir-locals-find-file):
14526 Undo 2012-03-06 change.
14527
14528 2012-03-07 Eli Zaretskii <eliz@gnu.org>
14529
14530 * international/quail.el (quail-help):
14531 Force bidi-paragraph-direction be left-to-right. See discussion in
14532 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
14533 for the reason.
14534
14535 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
14536
14537 Avoid superfluous registering of signals. (Bug#10807)
14538
14539 * notifications.el (notifications-on-action-object)
14540 (notifications-on-close-object): New defvars.
14541 (notifications-on-action-signal, notifications-on-closed-signal):
14542 Unregister the signal if not needed any longer.
14543 (notifications-notify): Register `notifications-action-signal' or
14544 `notifications-closed-signal', if :on-action or :on-close has been
14545 passed as argument.
14546
14547 2012-03-07 Chong Yidong <cyd@gnu.org>
14548
14549 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
14550 non-X platforms.
14551
14552 2012-03-06 Glenn Morris <rgm@gnu.org>
14553
14554 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
14555 (x-disown-selection-internal, x-get-selection-internal):
14556 Doc fix (add arglist signatures). (Bug#10783)
14557
14558 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
14559
14560 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
14561 Handle breakpoints with no "type".
14562
14563 2012-03-06 Glenn Morris <rgm@gnu.org>
14564
14565 * files.el (locate-dominating-file): Add optional predicate argument.
14566 (dir-locals-find-file): Make use of above change.
14567
14568 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
14569
14570 * info.el (Info-insert-dir): Also try "dir.gz".
14571
14572 2012-03-06 Glenn Morris <rgm@gnu.org>
14573
14574 * files.el (dir-locals-find-file):
14575 Ignore non-readable or non-regular files. (Bug#10928)
14576
14577 * files.el (locate-dominating-file): Doc fix.
14578
14579 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
14580
14581 * calendar/calendar.el (calendar-set-mode-line):
14582 `getenv' returns a string. (Bug#10951)
14583
14584 2012-03-05 Leo Liu <sdl.web@gmail.com>
14585
14586 * simple.el (backward-delete-char-untabify): Constrain point to
14587 field (Bug#10939).
14588
14589 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
14590
14591 2012-03-05 Chong Yidong <cyd@gnu.org>
14592
14593 * simple.el (count-words): If called from Lisp, return the word
14594 count, for symmetry with `count-lines'. Arglist changed.
14595 (count-words--message): Args changed. Consolidate counting code
14596 from count-words and count-words-region.
14597 (count-words-region): Caller changed.
14598 (count-lines-region): Make it an obsolete alias.
14599
14600 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
14601
14602 * saveplace.el (save-place-to-alist)
14603 (save-place-ignore-files-regexp): Allow value nil to disable this
14604 feature.
14605
14606 2012-03-04 Chong Yidong <cyd@gnu.org>
14607
14608 * faces.el (face-spec-reset-face): For the default face, reset the
14609 attributes to default values (Bug#10748).
14610
14611 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
14612
14613 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
14614 previous patch: Check `message-send-mail-function', and not the
14615 default function (bug#10897).
14616
14617 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
14618
14619 * notifications.el (notifications-on-action-signal)
14620 (notifications-on-closed-signal): Check for unique service name of
14621 incoming event. Fix error in removing entry.
14622 (top): Register for signals with wildcard service name.
14623 (notifications-notify): Use daemon unique service name for map entries.
14624
14625 2012-03-04 Chong Yidong <cyd@gnu.org>
14626
14627 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
14628
14629 2012-03-04 Glenn Morris <rgm@gnu.org>
14630
14631 * abbrev.el (copy-abbrev-table, abbrev-table-p)
14632 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
14633 (expand-abbrev, define-abbrev-table): Doc fixes.
14634
14635 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14636
14637 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
14638 `message-default-send-mail-function' and not `send-mail-function'
14639 when doing the prompting for `sendmail-query-once' before sending
14640 in Message buffers (bug#10897).
14641
14642 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
14643 This is inconsistent with all the other stream functions, which leave
14644 the setting up to the higher levels (if so wanted) (bug#10931).
14645
14646 2012-03-02 Alan Mackenzie <acm@muc.de>
14647
14648 Depessimize the handling of very large macros.
14649
14650 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
14651 (c-macro-cache-syntactic): New variables to implement a one
14652 element macro cache.
14653 (c-invalidate-macro-cache): New function.
14654 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
14655 Adapt to use the new cache.
14656 (c-state-safe-place): Use better the cache of safe positions.
14657 (c-state-semi-nonlit-pos-cache)
14658 (c-state-semi-nonlit-pos-cache-limit):
14659 New variables for...
14660 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
14661 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
14662 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
14663 Use c-state-semi-safe-place.
14664
14665 * progmodes/cc-langs.el (c-get-state-before-change-functions):
14666 Add c-invalidate-macro-cache to the C, C++, Obj entries.
14667
14668 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
14669
14670 * jka-compr.el (jka-compr-call-process):
14671 Apply `file-accessible-directory-p' only when the default directory is
14672 not remote.
14673
14674 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
14675
14676 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
14677 access of FILE2, if FILE1 does not exist.
14678
14679 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
14680 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
14681
14682 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
14683 Add "PAGER=" to `process-environment'.
14684
14685 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
14686
14687 * progmodes/sql.el: Bug fix
14688 (sql-get-login-ext): Save login values in globals.
14689 (sql-get-login): Use new version of `sql-get-login-ext'.
14690 (sql-interactive-mode): Set global `sql-connection' to nil.
14691 (sql-connect): Set global values for connection.
14692 (sql-product-interactive): Save global values as buffer local.
14693
14694 2012-02-29 Leo Liu <sdl.web@gmail.com>
14695
14696 * abbrev.el (define-abbrevs): Reset sys to nil.
14697
14698 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14699
14700 * files.el (file-equal-p): Rename from `files-equal-p'.
14701 Return nil when one or both files don't exist.
14702 (file-subdir-of-p): Now only top directory must exists,
14703 return nil if it doesn't.
14704 (copy-directory): No need to test with `file-subdir-of-p' after
14705 creating dir.
14706 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
14707 to `file-equal-p'.
14708
14709 2012-02-28 Glenn Morris <rgm@gnu.org>
14710
14711 * shell.el (shell-mode):
14712 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
14713 * play/landmark.el (landmark-font-lock-face-O):
14714 * play/handwrite.el (handwrite):
14715 * play/gomoku.el (gomoku-O):
14716 * net/browse-url.el (browse-url-browser-display):
14717 * international/mule.el (define-charset):
14718 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
14719 * filesets.el (filesets-find-file-delay):
14720 * eshell/em-xtra.el (eshell-xtra):
14721 * eshell/em-unix.el (eshell-grep):
14722 * emulation/viper.el (viper-mode):
14723 * emacs-lisp/regexp-opt.el (regexp-opt-group):
14724 * emacs-lisp/easymenu.el (easy-menu-define):
14725 * calendar/timeclock.el (timeclock-use-display-time):
14726 * bs.el (bs-mode):
14727 * bookmark.el (bookmark-save-flag):
14728 Doc fix (standardize possessive apostrophe usage).
14729
14730 2012-02-27 Chong Yidong <cyd@gnu.org>
14731
14732 * emulation/viper-cmd.el (viper-intercept-ESC-key):
14733 Fix key-binding lookup for ESC key (Bug#9146).
14734
14735 * font-lock.el (font-lock-specified-p): Rename from
14736 font-lock-spec-present. Callers changed.
14737
14738 2012-02-27 Daniel Hackney <dan@haxney.org>
14739
14740 * emacs-lisp/package.el (package-compute-transaction):
14741 Handle holding a package version to t in package-load-list.
14742
14743 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
14744
14745 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
14746 (tramp-get-inode, tramp-get-device): Use cached values.
14747
14748 2012-02-26 Alan Mackenzie <acm@muc.de>
14749
14750 Check there is a font-lock specification before doing initial
14751 fontification.
14752
14753 * font-core.el (font-lock-mode): Move the conditional from
14754 :after-hook to font-lock-initial-fontify.
14755 (font-lock-default-function): Move the check for a specification
14756 to font-lock-spec-present.
14757
14758 * font-lock.el (font-lock-initial-fontify): Call ...
14759 (font-lock-spec-present): New function.
14760
14761 2012-02-26 Jim Blandy <jimb@red-bean.com>
14762
14763 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
14764 (gdb-send): Apply it to the operand of the '-interpreter-exec
14765 console' command, so that we can pass arguments with (say) quotes
14766 in them. Store exact string sent in gdb-debug-log (Bug#10765).
14767
14768 2012-02-26 Chong Yidong <cyd@gnu.org>
14769
14770 * help-fns.el (describe-function-1): Clarify description of
14771 remapping (Bug#10844).
14772
14773 * files.el (files-equal-p): Doc fix.
14774 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
14775 and quit the loop once a mismatch is found.
14776
14777 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
14778
14779 * bs.el (bs--show-with-configuration): Don't throw an error
14780 if the window cannot be split; otherwise, subsequent calls to
14781 bs-show fail, restoring a stale window config. (Bug#10882)
14782
14783 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
14784
14785 * term/ns-win.el (global-map): Bind ns-drag-file to
14786 ns-find-file (Bug#5855, Bug#10050).
14787
14788 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
14789
14790 * calendar/parse-time.el (parse-time-string): Allow extractor to
14791 return nil.
14792
14793 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
14794
14795 * net/tramp.el (tramp-file-name-for-operation):
14796 Add `files-equal-p' and `file-subdir-of-p'.
14797
14798 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
14799 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
14800 Add COPY-CONTENTS argument.
14801
14802 2012-02-25 Chong Yidong <cyd@gnu.org>
14803
14804 Add custom groups for VC backends, for consistency with vc-bzr.
14805
14806 * vc/vc-arch.el (vc-arch):
14807 * vc/vc-cvs.el (vc-cvs):
14808 * vc/vc-git.el (vc-git):
14809 * vc/vc-hg.el (vc-hg):
14810 * vc/vc-mtn.el (vc-mtn):
14811 * vc/vc-rcs.el (vc-rcs):
14812 * vc/vc-sccs.el (vc-sccs):
14813 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
14814 All relevant defcustoms reassigned.
14815
14816 2012-02-25 Chong Yidong <cyd@gnu.org>
14817
14818 * newcomment.el (comment-styles): Add autoload (Bug#10868).
14819
14820 * term/x-win.el (x-initialize-window-system): Reduce default for
14821 x-selection-timeout to 5 seconds (Bug#8869).
14822
14823 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14824
14825 * files.el (files-equal-p, file-subdir-of-p): New functions.
14826 (copy-directory): Error when trying to copy a directory on itself.
14827 Add missing copy-contents arg to tramp handler.
14828 * dired-aux.el (dired-copy-file-recursive): Same.
14829 (dired-create-files): Modify destination when source is equal to
14830 dest when copying files.
14831 Return also when dest is a subdir of source. (Bug#10489)
14832
14833 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
14834
14835 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
14836 (Bug#10874)
14837
14838 2012-02-23 Alan Mackenzie <acm@muc.de>
14839
14840 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
14841 parameter "after-hook:" to allow the expansion to run code after
14842 the execution of the mode hooks.
14843
14844 * font-lock.el (font-lock-initial-fontify): New function extracted
14845 from font-lock-mode-internal.
14846
14847 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
14848 :after-hook.
14849
14850 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
14851
14852 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
14853 (completion--cache-all-sorted-completions): New function.
14854 (completion-all-sorted-completions): Use it.
14855 (completion--do-completion, minibuffer-force-complete):
14856 Use it to re-instate the flush hook.
14857
14858 * icomplete.el (icomplete-completions): Replace last fix with a better
14859 one (bug#10850).
14860
14861 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
14862
14863 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
14864 when it might call us back infinitely (bug#10797).
14865
14866 2012-02-23 Glenn Morris <rgm@gnu.org>
14867
14868 * minibuffer.el (completion-category-overrides): Doc fix.
14869
14870 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
14871
14872 * minibuffer.el (completion-table-with-context): Fix inf-loop.
14873 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
14874
14875 2012-02-23 Glenn Morris <rgm@gnu.org>
14876
14877 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
14878 (authors-obsolete-files-regexps, authors-ignored-files)
14879 (authors-ambiguous-files, authors-renamed-files-alist):
14880 Add more entries.
14881
14882 2012-02-23 Juri Linkov <juri@jurta.org>
14883
14884 * isearch.el (isearch-occur): Sync interactive spec with occur's
14885 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
14886
14887 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
14888
14889 2012-02-22 Juri Linkov <juri@jurta.org>
14890
14891 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
14892 (ucs-insert): Doc fix. Check for hex digits in the string.
14893 Don't display `nil' in the error message. (Bug#10857)
14894
14895 2012-02-22 Alan Mackenzie <acm@muc.de>
14896
14897 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
14898
14899 2012-02-22 Glenn Morris <rgm@gnu.org>
14900
14901 * ffap.el (ffap-c-path):
14902 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
14903
14904 2012-02-22 Chong Yidong <cyd@gnu.org>
14905
14906 * custom.el (load-theme): Doc fix.
14907
14908 2012-02-22 Glenn Morris <rgm@gnu.org>
14909
14910 * dired-x.el (dired-guess-shell-alist-default):
14911 Remove escape sequences from nroff output. (Bug#172)
14912
14913 2012-02-21 Glenn Morris <rgm@gnu.org>
14914
14915 * vc/emerge.el (emerge-defvar-local):
14916 Set `permanent-local' property rather than unused `preserved'.
14917
14918 * textmodes/picture.el (picture-delete-char): New alias.
14919 (picture-mode-map): Use it. (Bug#10860)
14920 (picture-mode): Doc fix.
14921
14922 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
14923
14924 * newcomment.el (uncomment-region-default): Remove unused binding.
14925
14926 2012-02-21 Glenn Morris <rgm@gnu.org>
14927
14928 * textmodes/picture.el (picture-motion, picture-motion-reverse)
14929 (picture-self-insert, picture-tab-chars): Doc fix.
14930 (picture-mode-map): Fix C-a, C-e.
14931
14932 2012-02-20 Glenn Morris <rgm@gnu.org>
14933
14934 * emacs-lisp/authors.el (authors-aliases): Add another entry.
14935
14936 2012-02-20 Leo Liu <sdl.web@gmail.com>
14937
14938 * icomplete.el (icomplete-completions): Check FROM arg before
14939 passing to substring (Bug#10850).
14940
14941 2012-02-19 Chong Yidong <cyd@gnu.org>
14942
14943 * comint.el: Require ansi-color.
14944 (comint-output-filter-functions): Add ansi-color-process-output.
14945
14946 * ansi-color.el: Don't set comint-output-filter-functions; it is
14947 now in the initial value defined in comint.el.
14948 (ansi-color-apply-face-function): New variable.
14949 (ansi-color-apply-on-region): Use it.
14950 (ansi-color-apply-overlay-face): New function.
14951
14952 * shell.el (shell): No need to require ansi-color.
14953 (shell-mode): Use ansi-color-apply-face-function to highlight
14954 color escapes using font-lock-face property (Bug#10835).
14955
14956 2012-02-19 Chong Yidong <cyd@gnu.org>
14957
14958 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
14959 mode-line formats (Bug#10839).
14960
14961 2012-02-18 Glenn Morris <rgm@gnu.org>
14962
14963 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
14964
14965 * mail/undigest.el (unforward-rmail-message): Doc fix.
14966
14967 * saveplace.el (save-place-ignore-files-regexp): Add :version.
14968
14969 2012-02-18 Eli Zaretskii <eliz@gnu.org>
14970
14971 * international/characters.el (script-list): Sync with the latest
14972 Unicode Character Database.
14973
14974 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
14975
14976 * international/titdic-cnv.el: Remove duplicate coding tag.
14977 * language/cham.el: Likewise.
14978 * language/tai-viet.el: Likewise.
14979
14980 2012-02-18 Glenn Morris <rgm@gnu.org>
14981
14982 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
14983 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
14984 (calendar-bahai-all-holidays-flag, calendar-other-dates):
14985 * calendar/diary-lib.el (diary-abbreviated-year-flag):
14986 * calendar/holidays.el (holiday-bahai-holidays)
14987 (calendar-holidays, list-holidays):
14988 Use utf-8 Bahá'í in doc-strings, menus, etc.
14989
14990 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
14991
14992 * saveplace.el (save-place-ignore-files-regexp): New variable
14993 allowing for excluding files from saving their location of point.
14994 The default value matches the temporary commit message editing
14995 files from Git, SVN, Bazaar, and Mercurial.
14996 (save-place-to-alist): Use it.
14997
14998 2012-02-17 Lawrence Mitchell <wence@gmx.li>
14999 Stefan Monnier <monnier@iro.umontreal.ca>
15000
15001 * newcomment.el (uncomment-region-default): Don't leave extra space
15002 when an arg is provided (bug#8150).
15003
15004 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
15005
15006 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
15007
15008 2012-02-17 Glenn Morris <rgm@gnu.org>
15009
15010 * net/socks.el: Require network-stream. (Bug#10599)
15011
15012 2012-02-17 Kenichi Handa <handa@m17n.org>
15013
15014 * international/charprop.el:
15015 * international/uni-name.el:
15016 * international/uni-old-name.el:
15017 * international/uni-comment.el: Regenerate.
15018
15019 2012-02-16 Glenn Morris <rgm@gnu.org>
15020
15021 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
15022 Interactively in calendar buffer, give an error if not on a date.
15023
15024 2012-02-15 Glenn Morris <rgm@gnu.org>
15025
15026 * shell.el (shell-delimiter-argument-list):
15027 Revert 2011-02-17 change. (Bug#8027)
15028
15029 2012-02-15 Chong Yidong <cyd@gnu.org>
15030
15031 * minibuffer.el (completion-at-point-functions): Doc fix.
15032
15033 * custom.el (defcustom): Doc fix; note use of defvar.
15034
15035 2012-02-15 Glenn Morris <rgm@gnu.org>
15036
15037 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
15038 Doc fixes.
15039
15040 2012-02-14 Glenn Morris <rgm@gnu.org>
15041
15042 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
15043
15044 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
15045
15046 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
15047 way the ports list is computed.
15048 (smtpmail-query-smtp-server): Prompt the user for a port number if
15049 we can't connect to any of the standard ports (bug#10810).
15050
15051 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
15052
15053 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
15054
15055 2012-02-13 Glenn Morris <rgm@gnu.org>
15056
15057 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
15058
15059 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
15060
15061 * net/gnutls.el (gnutls-trustfiles): New variable.
15062 (gnutls-negotiate): Use it.
15063
15064 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
15065
15066 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
15067 does its stuff if Gnus is running.
15068
15069 2012-02-13 Alan Mackenzie <acm@muc.de>
15070
15071 Fix a loop in c-set-fl-decl-start.
15072
15073 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
15074 c-backward-syntactic-ws actually moves backwards.
15075
15076 2012-02-13 Leo Liu <sdl.web@gmail.com>
15077
15078 * net/rcirc.el (rcirc-markup-attributes): Move point to the
15079 beginning so that all \C-o chars are removed.
15080
15081 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
15082
15083 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
15084
15085 2012-02-12 Alan Mackenzie <acm@muc.de>
15086
15087 Fix infinite loop with long macros.
15088 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
15089
15090 2012-02-12 Chong Yidong <cyd@gnu.org>
15091
15092 * window.el (display-buffer): Doc fix (Bug#10785).
15093
15094 2012-02-12 Glenn Morris <rgm@gnu.org>
15095
15096 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
15097 (x-disown-selection-internal, x-get-selection-internal):
15098 Sync docs with the xselect.c versions.
15099
15100 * allout-widgets.el: Add missing license notice.
15101
15102 2012-02-11 Glenn Morris <rgm@gnu.org>
15103
15104 * select.el (x-get-selection-internal, x-own-selection-internal)
15105 (x-disown-selection-internal):
15106 * x-dnd.el (x-get-selection-internal): Update declarations.
15107
15108 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
15109
15110 * window.el (window-sides-slots):
15111 * tool-bar.el (tool-bar-position):
15112 * term/xterm.el (xterm-extra-capabilities):
15113 * ses.el (ses-self-reference-early-detection):
15114 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
15115 (verilog-auto-wire-type)
15116 (verilog-auto-delete-trailing-whitespace)
15117 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
15118 (verilog-auto-tieoff-declaration):
15119 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
15120 (sql-oracle-statement-starters, sql-oracle-scan-on):
15121 * progmodes/prolog.el (prolog-align-comments-flag)
15122 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
15123 (prolog-left-indent-regexp, prolog-paren-indent-p)
15124 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
15125 (prolog-types, prolog-mode-specificators)
15126 (prolog-determinism-specificators, prolog-directives)
15127 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
15128 (prolog-electric-dot-flag)
15129 (prolog-electric-dot-full-predicate-template)
15130 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
15131 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
15132 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
15133 (prolog-program-switches, prolog-prompt-regexp)
15134 (prolog-debug-on-string, prolog-debug-off-string)
15135 (prolog-trace-on-string, prolog-trace-off-string)
15136 (prolog-zip-on-string, prolog-zip-off-string)
15137 (prolog-use-standard-consult-compile-method-flag)
15138 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
15139 (prolog-imenu-max-lines, prolog-info-predicate-index)
15140 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
15141 (prolog-char-quote-workaround):
15142 * progmodes/cc-vars.el (c-defun-tactic):
15143 * net/tramp.el (tramp-encoding-command-interactive)
15144 (tramp-local-end-of-line):
15145 * net/soap-client.el (soap-client):
15146 * net/netrc.el (netrc-file):
15147 * net/gnutls.el (gnutls):
15148 * minibuffer.el (completion-category-overrides)
15149 (completion-cycle-threshold)
15150 (completion-pcm-complete-word-inserts-delimiters):
15151 * man.el (Man-name-local-regexp):
15152 * mail/feedmail.el (feedmail-display-full-frame):
15153 * international/characters.el (glyphless-char-display-control):
15154 * eshell/em-ls.el (eshell-ls-date-format):
15155 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
15156 (lisp-lambda-list-keyword-parameter-indentation)
15157 (lisp-lambda-list-keyword-parameter-alignment):
15158 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
15159 * dired-x.el (dired-omit-verbose):
15160 * cus-theme.el (custom-theme-allow-multiple-selections):
15161 * calc/calc.el (calc-highlight-selections-with-faces)
15162 (calc-lu-field-reference, calc-lu-power-reference)
15163 (calc-note-threshold):
15164 * battery.el (battery-mode-line-limit):
15165 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
15166 (archive-7z-update):
15167 * allout.el (allout-prefixed-keybindings)
15168 (allout-unprefixed-keybindings)
15169 (allout-inhibit-auto-fill-on-headline)
15170 (allout-flattened-numbering-abbreviation):
15171 * allout-widgets.el (allout-widgets-auto-activation)
15172 (allout-widgets-icons-dark-subdir)
15173 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
15174 (allout-widgets-theme-dark-background)
15175 (allout-widgets-theme-light-background)
15176 (allout-widgets-item-image-properties-emacs)
15177 (allout-widgets-item-image-properties-xemacs)
15178 (allout-widgets-run-unit-tests-on-load)
15179 (allout-widgets-time-decoration-activity)
15180 (allout-widgets-hook-error-post-time)
15181 (allout-widgets-track-decoration):
15182 Add missing :version tags to new defcustoms and defgroups.
15183
15184 * progmodes/sql.el (sql-ansi-statement-starters)
15185 (sql-oracle-statement-starters): Add custom type.
15186
15187 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
15188 (prolog-system-version): Give it a type.
15189
15190 2012-02-11 Eli Zaretskii <eliz@gnu.org>
15191
15192 * term/pc-win.el (x-select-text, x-selection-owner-p)
15193 (x-own-selection-internal, x-disown-selection-internal)
15194 (x-get-selection-internal): Sync doc strings and argument lists
15195 with xselect.c, common-win.el and x-win.el. (Bug#10783)
15196
15197 2012-02-11 Leo Liu <sdl.web@gmail.com>
15198
15199 * progmodes/python.el (python-end-of-statement): Fix infinite
15200 loop. (Bug#10788)
15201
15202 2012-02-10 Glenn Morris <rgm@gnu.org>
15203
15204 * international/mule-cmds.el (unify-8859-on-encoding-mode)
15205 (unify-8859-on-decoding-mode): Properly mark as obsolete.
15206
15207 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
15208
15209 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
15210 about SMTP before checking the From header.
15211
15212 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
15213 into own function for reuse by emacsbug.el.
15214
15215 2012-02-10 Leo Liu <sdl.web@gmail.com>
15216
15217 * subr.el (condition-case-unless-debug): Rename from
15218 condition-case-no-debug. All callers changed.
15219 (with-demoted-errors): Fix caller.
15220
15221 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
15222 * nxml/rng-valid.el (rng-do-some-validation):
15223 * emacs-lisp/package.el (package-refresh-contents)
15224 (package-menu-execute):
15225 * desktop.el (desktop-create-buffer):
15226 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
15227
15228 2012-02-10 Glenn Morris <rgm@gnu.org>
15229
15230 * textmodes/bibtex.el:
15231 Add missing :version tags for new/changed defcustoms.
15232
15233 * files.el (remote-file-name-inhibit-cache): Doc fixes.
15234
15235 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
15236
15237 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
15238 (smtpmail-via-smtp): Use it, or fall back on the From address.
15239 (smtpmail-send-it): Ditto.
15240
15241 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
15242
15243 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
15244 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
15245 (byte-compile-tmp-var): New const.
15246 (byte-compile-defvar): Use it to minimize .elc size.
15247 Just use `defvar' rather than simulate it (bug#10761).
15248
15249 2012-02-09 Glenn Morris <rgm@gnu.org>
15250
15251 * files.el (rename-uniquely): Doc fix. (Bug#3806)
15252
15253 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
15254 Add :version tags.
15255
15256 * progmodes/compile.el (compilation-error-screen-columns)
15257 (compilation-first-column, compilation-filter-start): Doc fixes.
15258
15259 * vc/log-view.el (log-view-toggle-entry-display):
15260 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
15261
15262 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
15263 (report-emacs-bug-can-use-xdg-email):
15264 (report-emacs-bug-insert-to-mailer): Doc fixes.
15265 (report-emacs-bug): Message fix.
15266
15267 * net/browse-url.el (browse-url-can-use-xdg-open)
15268 (browse-url-xdg-open): Doc fixes.
15269
15270 * electric.el (electric-indent-mode, electric-pair-mode)
15271 (electric-layout-rules, electric-layout-mode): Doc fixes.
15272 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
15273
15274 2012-02-08 Martin Rudalics <rudalics@gmx.at>
15275
15276 * server.el (server-unselect-display): Don't inadvertently kill
15277 the current buffer. (Bug#10729)
15278
15279 2012-02-08 Glenn Morris <rgm@gnu.org>
15280
15281 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
15282 (sql-list-table): Doc fixes.
15283
15284 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
15285 Comment out (does nothing).
15286
15287 * completion.el (dynamic-completion-mode):
15288 * dirtrack.el (dirtrack-debug-mode):
15289 * electric.el (electric-layout-mode):
15290 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
15291 * face-remap.el (text-scale-mode, buffer-face-mode):
15292 * iimage.el (iimage-mode):
15293 * image-mode.el (image-transform-mode):
15294 * minibuffer.el (completion-in-region-mode):
15295 * scroll-lock.el (scroll-lock-mode):
15296 * simple.el (next-error-follow-minor-mode):
15297 * tar-mode.el (tar-subfile-mode):
15298 * tooltip.el (tooltip-mode):
15299 * vcursor.el (vcursor-use-vcursor-map):
15300 * wid-browse.el (widget-minor-mode):
15301 * emulation/tpu-edt.el (tpu-edt-mode):
15302 * emulation/tpu-extras.el (tpu-cursor-free-mode):
15303 * international/iso-ascii.el (iso-ascii-mode):
15304 * language/thai-util.el (thai-word-mode):
15305 * mail/supercite.el (sc-minor-mode):
15306 * net/goto-addr.el (goto-address-mode):
15307 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
15308 * progmodes/cwarn.el (cwarn-mode):
15309 * progmodes/flymake.el (flymake-mode):
15310 * progmodes/glasses.el (glasses-mode):
15311 * progmodes/hideshow.el (hs-minor-mode):
15312 * progmodes/pascal.el (pascal-outline-mode):
15313 * textmodes/enriched.el (enriched-mode):
15314 * vc/smerge-mode.el (smerge-mode):
15315 Doc fixes (minor mode argument).
15316
15317 2012-02-07 Eli Zaretskii <eliz@gnu.org>
15318
15319 * ls-lisp.el (ls-lisp-sanitize): New function.
15320 (ls-lisp-insert-directory): Use it to fix or remove any elements
15321 in file-alist with missing attributes. (Bug#4673)
15322
15323 2012-02-07 Alan Mackenzie <acm@muc.de>
15324
15325 Fix spurious recognition of c-in-knr-argdecl.
15326
15327 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
15328 putative K&R region.
15329
15330 2012-02-07 Alan Mackenzie <acm@muc.de>
15331
15332 * progmodes/cc-engine.el (c-forward-objc-directive):
15333 Prevent looping in "#pragma mark @implementation".
15334
15335 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
15336
15337 * notifications.el (notifications-on-closed-signal): Make `reason'
15338 optional. (Bug#10744)
15339
15340 2012-02-07 Glenn Morris <rgm@gnu.org>
15341
15342 * emacs-lisp/easy-mmode.el (define-minor-mode):
15343 Doc fixes for the macro and the mode it defines.
15344
15345 * image.el (imagemagick-types-inhibit): Doc fix.
15346
15347 * cus-start.el (imagemagick-render-type): Add it.
15348
15349 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
15350
15351 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
15352 Set the default at load time, too, so that `font-lock-fontify-buffer'
15353 can be called without setting up the entire mode first. This fixes
15354 a bug in `mm-inline-text' with C MIME parts.
15355
15356 2012-02-06 Chong Yidong <cyd@gnu.org>
15357
15358 * simple.el (list-processes--refresh): Delete exited processes
15359 (Bug#8094).
15360
15361 * comint.el (comint-next-prompt): next-single-char-property-change
15362 and prev-single-char-property-change never return nil (Bug#8657).
15363
15364 * custom.el (defcustom): Doc fix (Bug#9711).
15365
15366 2012-02-05 Chong Yidong <cyd@gnu.org>
15367
15368 * cus-edit.el (custom-variable-reset-backup): Quote the value
15369 before storing it in the customized-value property (Bug#6712).
15370 (custom-display): Add a customization type tag.
15371 (custom-buffer-create-internal): Improve tooltip message.
15372
15373 * wid-edit.el (widget-field-value-get): New optional arg to
15374 suppress trailing whitespace truncation.
15375 (character): Use it (Bug#2689).
15376
15377 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
15378
15379 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
15380 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
15381
15382 2012-02-05 Chong Yidong <cyd@gnu.org>
15383
15384 * cus-edit.el (custom-variable-value-create): For mismatched
15385 types, show the current value (Bug#7600).
15386
15387 * custom.el (defcustom): Doc fix.
15388
15389 2012-02-05 Glenn Morris <rgm@gnu.org>
15390
15391 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
15392
15393 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
15394
15395 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
15396 (pp-buffer): Use `ignore-errors', `looking-at-p'.
15397 (pp-last-sexp): Use `looking-at-p'.
15398
15399 2012-02-04 Glenn Morris <rgm@gnu.org>
15400
15401 * files.el (revert-buffer):
15402 Doc fix (mention revert-buffer-in-progress-p).
15403
15404 * emacs-lisp/ert-x.el (ert-simulate-command):
15405 Check deferred-action-list (which is obsolete) is bound.
15406
15407 * subr.el (with-wrapper-hook): Doc fixes.
15408
15409 * simple.el (filter-buffer-substring-functions)
15410 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
15411
15412 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
15413
15414 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
15415 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
15416
15417 2012-02-04 Leo Liu <sdl.web@gmail.com>
15418
15419 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
15420
15421 2012-02-04 Glenn Morris <rgm@gnu.org>
15422
15423 * image.el (image-extension-data): Add obsolete alias.
15424
15425 * isearch.el (isearch-update): Doc fix.
15426
15427 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
15428
15429 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
15430
15431 2012-02-03 Glenn Morris <rgm@gnu.org>
15432
15433 * image.el (image-animated-p): Doc fix. Use image-animated-types.
15434 (image-animate-timeout): Doc fix.
15435
15436 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
15437
15438 2012-02-02 Glenn Morris <rgm@gnu.org>
15439
15440 * server.el (server-auth-dir): Doc fix.
15441 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
15442
15443 * subr.el (run-mode-hooks): Doc fix.
15444
15445 2012-02-02 Juri Linkov <juri@jurta.org>
15446
15447 * image-mode.el (image-toggle-display-image): Remove tautological
15448 `major-mode' from the `derived-mode-p' test.
15449
15450 2012-02-02 Kenichi Handa <handa@m17n.org>
15451
15452 * composite.el (compose-region): Cancel previous change.
15453
15454 2012-02-02 Kenichi Handa <handa@m17n.org>
15455
15456 * composite.el (compose-region, compose-string): Signal error for
15457 a null string component (Bug#6988).
15458
15459 2012-02-01 Chong Yidong <cyd@gnu.org>
15460
15461 * view.el (view-buffer-other-window, view-buffer-other-frame):
15462 Handle special modes like view-buffer (Bug#10650).
15463 (view-buffer): Simplify.
15464
15465 * frame.el (set-frame-font): Tweak meaning of third argument.
15466
15467 * dynamic-setting.el (font-setting-change-default-font):
15468 Use set-frame-font (Bug#9982).
15469
15470 2012-02-01 Glenn Morris <rgm@gnu.org>
15471
15472 * progmodes/compile.el (compilation-internal-error-properties):
15473 Respect compilation-first-column in the "*compilation*" buffer.
15474
15475 * emacs-lisp/easy-mmode.el (define-minor-mode):
15476 Relax :variable's test for a named function.
15477
15478 2012-01-31 Alan Mackenzie <acm@muc.de>
15479
15480 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
15481 off by one error.
15482
15483 2012-01-31 Chong Yidong <cyd@gnu.org>
15484
15485 * frame.el (set-frame-font): New arg ALL-FRAMES.
15486
15487 * menu-bar.el (menu-set-font): Use set-frame-font.
15488
15489 * faces.el (face-spec-reset-face): Don't apply unspecified
15490 attribute values to the default face.
15491
15492 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
15493
15494 * progmodes/cwarn.el (cwarn): Remove dead link.
15495 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
15496 Remove * from defcustom docstrings.
15497 (turn-on-cwarn-mode): Make obsolete.
15498 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
15499 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
15500
15501 2012-01-31 Glenn Morris <rgm@gnu.org>
15502
15503 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
15504 Fix :variable handling of mode a symbol not equal to modefun.
15505 Allow named functions to be used as the cdr of :variable.
15506
15507 2012-01-30 Glenn Morris <rgm@gnu.org>
15508
15509 * emacs-lisp/authors.el (authors-fixed-entries):
15510 Remove reference to deleted file rnewspost.el.
15511
15512 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
15513
15514 * window.el (window-with-parameter): Remove unused variable `windows'.
15515 (window--side-check): Remove unused variable `code'.
15516 (window--resize-siblings): Remove unused variable `first'.
15517 (adjust-window-trailing-edge): Remove unused variable `failed'.
15518 (window-deletable-p, window--delete): Remove unused variable `buffer'.
15519 Use `let', not `let*'.
15520 (balance-windows-2): Remove unused variable `found'.
15521 (window--state-put-2): Remove unused variable `splits'.
15522 (window-state-put): Remove unused variable `selected'.
15523 (same-window-p): Use `string-match-p'.
15524 (display-buffer-assq-regexp): Remove unused variable `value'.
15525 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15526 Mark argument ALIST as ignored.
15527 (pop-to-buffer): Remove unused variable `old-window'.
15528
15529 2012-01-29 Eli Zaretskii <eliz@gnu.org>
15530
15531 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
15532 and .lzma compressed files.
15533
15534 2012-01-29 Chong Yidong <cyd@gnu.org>
15535
15536 * frame.el (window-system-default-frame-alist): Doc fix.
15537
15538 * dynamic-setting.el (font-setting-change-default-font): Don't
15539 change the default face if SET-FONT argument is non-nil (Bug#9982).
15540
15541 2012-01-29 Samuel Bronson <naesten@gmail.com>
15542
15543 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
15544
15545 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
15546
15547 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
15548 breakpoints in files outside current directory (Bug#6098).
15549
15550 2012-01-29 Chong Yidong <cyd@gnu.org>
15551
15552 * progmodes/python.el: Require ansi-color at top-level.
15553
15554 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
15555 Define and use in Emacs Lisp mode (Bug#9360).
15556 (lisp-mode-abbrev-table): Add doc.
15557 (lisp-mode-variables): Don't set local-abbrev-table.
15558 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
15559
15560 2012-01-28 Roland Winkler <winkler@gnu.org>
15561
15562 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
15563
15564 2012-01-28 Roland Winkler <winkler@gnu.org>
15565
15566 * textmodes/bibtex.el (bibtex-entry-alist): New function.
15567 (bibtex-set-dialect): Use it. Either set global values of
15568 dialect-dependent variables or bind these variables buffer-locally
15569 (Bug#10254).
15570 (bibtex-mode): Call bibtex-set-dialect via
15571 hack-local-variables-hook.
15572 (bibtex-dialect): Update docstring.
15573 Add safe-local-variable predicate.
15574 (bibtex-entry-alist, bibtex-field-alist): Initialize via
15575 bibtex-set-dialect.
15576 (bibtex-mode-map): Define menu for each dialect.
15577 (bibtex-entry): Fix docstring.
15578
15579 2012-01-28 Chong Yidong <cyd@gnu.org>
15580
15581 * eshell/esh-arg.el (eshell-quote-argument): New function.
15582
15583 * eshell/esh-ext.el (eshell-invoke-batch-file):
15584 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
15585 first arg to eshell-parse-command (Bug#10523).
15586
15587 2012-01-28 Drew Adams <drew.adams@oracle.com>
15588
15589 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
15590 `default-directory' is non-nil.
15591
15592 2012-01-28 Eli Zaretskii <eliz@gnu.org>
15593
15594 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
15595 line that displays system-configuration-options. (Bug#9924)
15596
15597 2012-01-28 Drew Adams <drew.adams@oracle.com>
15598
15599 * descr-text.el (describe-char): Show information about POS, in
15600 addition to information about the character at POS. Improve and
15601 update the doc string. Change "code point" to "code point in
15602 charset", to avoid confusion with the character's Unicode code
15603 point shown above that. (Bug#10129)
15604
15605 2012-01-28 Eli Zaretskii <eliz@gnu.org>
15606
15607 * descr-text.el (describe-char): Show the raw character, not only
15608 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
15609 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
15610 for the reasons.
15611
15612 2012-01-28 Phil Hagelberg <phil@hagelb.org>
15613
15614 * emacs-lisp/package.el (package-install):
15615 Run package-refresh-contents if there is no archive yet (Bug#9798).
15616
15617 2012-01-28 Chong Yidong <cyd@gnu.org>
15618
15619 * emacs-lisp/package.el (package-maybe-load-descriptor):
15620 New function, split from package-maybe-load-descriptor.
15621 (package-maybe-load-descriptor): Use it.
15622 (package-download-transaction): Fully load required packages
15623 inside the loop, so that `require' calls work (Bug#10593).
15624 (package-install): No need to call package-initialize now.
15625
15626 2012-01-28 Chong Yidong <cyd@gnu.org>
15627
15628 * simple.el (deactivate-mark): Doc fix (Bug#8614).
15629
15630 * tooltip.el (tooltip-mode): Doc fix.
15631 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
15632
15633 * frame.el (set-cursor-color): Doc fix (Bug#352).
15634
15635 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
15636 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
15637
15638 * cus-edit.el (custom-buffer-create-internal): Fix search button
15639 action (Bug#10542).
15640 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
15641
15642 2012-01-27 Eduard Wiebe <usenet@pusto.de>
15643
15644 * dired.el (dired-mark-files-regexp):
15645 Include any subdirectory components. (Bug#10445)
15646
15647 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
15648
15649 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
15650 Handle [host]:port syntax. (Bug#10533)
15651
15652 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
15653
15654 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
15655
15656 2012-01-26 Glenn Morris <rgm@gnu.org>
15657
15658 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
15659 * term.el (term-raw-escape-map): Use Control-X-prefix.
15660 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
15661
15662 2012-01-25 Martin Rudalics <rudalics@gmx.at>
15663
15664 * window.el (window-state-get, window--state-get-1): Don't deal
15665 with fixed-sizeness of windows. Simplify code.
15666
15667 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
15668
15669 * window.el (window--state-get-1, window--state-put-2):
15670 Don't save and restore the mark.
15671
15672 2012-01-25 Chong Yidong <cyd@gnu.org>
15673
15674 * custom.el (custom-variable-p): Doc fix.
15675
15676 2012-01-25 Glenn Morris <rgm@gnu.org>
15677
15678 * dired.el (dired-goto-file): Handle some of the more common
15679 characters that `ls -b' escapes. (Bug#10596)
15680
15681 * progmodes/compile.el (compilation-next-error-function):
15682 Respect compilation-first-column in the "*compilation*" buffer.
15683 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
15684
15685 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
15686
15687 2012-01-24 Glenn Morris <rgm@gnu.org>
15688
15689 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
15690
15691 2012-01-24 Julien Danjou <julien@danjou.info>
15692
15693 * color.el (color-rgb-to-hsl): Fix value computing.
15694 (color-hue-to-rgb): New function.
15695 (color-hsl-to-rgb): New function.
15696 (color-clamp, color-saturate-hsl, color-saturate-name)
15697 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
15698 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
15699
15700 2012-01-24 Glenn Morris <rgm@gnu.org>
15701
15702 * vc/vc-rcs.el (vc-rcs-create-tag):
15703 * vc/vc-sccs.el (vc-sccs-create-tag):
15704 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
15705
15706 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
15707
15708 * eshell/esh-util.el (eshell-read-hosts-file):
15709 Skip comment lines. (Bug#10549)
15710
15711 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
15712
15713 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
15714
15715 * subr.el (display-delayed-warnings): Doc fix.
15716 (collapse-delayed-warnings): New function to collapse identical
15717 adjacent warnings.
15718 (delayed-warnings-hook): Add it.
15719
15720 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
15721
15722 * net/tramp.el (tramp-action-login): Set connection property "login-as".
15723
15724 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
15725 (tramp-default-user-alist): Don't add "pscp".
15726 (tramp-do-copy-or-rename-file-out-of-band): Use connection
15727 property "login-as", if set. (Bug#10530)
15728
15729 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
15730
15731 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
15732 "plink1" and "psftp". (Bug#10530)
15733
15734 2012-01-21 Kenichi Handa <handa@m17n.org>
15735
15736 * international/mule-cmds.el (prefer-coding-system): Show a
15737 warning message if the default value of file-name-coding-system
15738 was not changed.
15739
15740 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
15741
15742 * windmove.el (windmove-reference-loc):
15743 Fix windmove-reference-loc miscalculation.
15744
15745 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
15746
15747 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
15748 default unit.
15749
15750 2012-01-21 Glenn Morris <rgm@gnu.org>
15751
15752 * international/mule.el (auto-coding-alist): Add .tbz.
15753
15754 * files.el (local-enable-local-variables): Doc fix.
15755 (inhibit-local-variables-regexps): Rename from
15756 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
15757 Doc fix. Add some extensions from auto-coding-alist.
15758 (inhibit-local-variables-suffixes):
15759 Rename from inhibit-first-line-modes-suffixes. Doc fix.
15760 (inhibit-local-variables-p):
15761 New function, extracted from set-auto-mode-1.
15762 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
15763 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
15764 (hack-local-variables): Doc fix. Make the mode-only case
15765 respect enable-local-variables and friends.
15766 Respect inhibit-local-variables-regexps for file-locals, but
15767 not for directory-locals.
15768 (set-visited-file-name):
15769 Take account of inhibit-local-variables-regexps.
15770 Whether it applies may change as the file name is changed.
15771 * jka-cmpr-hook.el (jka-compr-install):
15772 * jka-compr.el (jka-compr-uninstall):
15773 Update for inhibit-first-line-modes-suffixes name change.
15774
15775 2012-01-20 Martin Rudalics <rudalics@gmx.at>
15776
15777 * help-macro.el (make-help-screen): Temporarily restore original
15778 binding for minor-mode-map-alist (Bug#10454).
15779
15780 2012-01-19 Julien Danjou <julien@danjou.info>
15781
15782 * color.el (color-name-to-rgb): Use the white color to find the max
15783 color component value and return correctly computed values.
15784 (color-name-to-rgb): Add missing float conversion for max value.
15785
15786 2012-01-19 Martin Rudalics <rudalics@gmx.at>
15787
15788 * window.el (window--state-get-1, window-state-get): Do not use
15789 special state value for window-persistent-parameters.
15790 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
15791 (window--state-put-2): Reset all window parameters to nil before
15792 assigning values of persistent parameters.
15793
15794 2012-01-18 Alan Mackenzie <acm@muc.de>
15795
15796 Eliminate sluggishness and hangs in fontification of "semicolon
15797 deserts".
15798
15799 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
15800 Change value 10000 -> 3000.
15801 (c-state-safe-place): Reformulate so it doesn't stack up an
15802 infinite number of wrong entries in c-state-nonlit-pos-cache.
15803 (c-determine-limit-get-base, c-determine-limit): New functions to
15804 determine backward search limits disregarding literals.
15805 (c-find-decl-spots): Amend commenting.
15806 (c-cheap-inside-bracelist-p): New function which detects "={".
15807
15808 * progmodes/cc-fonts.el
15809 (c-make-font-lock-BO-decl-search-function): Give a limit to a
15810 backward search.
15811 (c-font-lock-declarations): Fix an occurrence of point being
15812 undefined. Check additionally for point being in a bracelist or
15813 near a macro invocation without a semicolon so as to avoid a
15814 fruitless time consuming search for a declarator. Give a more
15815 precise search limit for declarators using the new
15816 c-determine-limit.
15817
15818 2012-01-18 Glenn Morris <rgm@gnu.org>
15819
15820 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
15821 (set-auto-mode): Doc fixes.
15822
15823 2012-01-17 Glenn Morris <rgm@gnu.org>
15824
15825 * isearch.el (search-nonincremental-instead): Fix doc typo.
15826
15827 * dired.el (dired-insert-directory): Handle newlines in directory name.
15828 (dired-build-subdir-alist): Unescape newlines in directory name.
15829
15830 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
15831
15832 * net/tramp.el (tramp-local-end-of-line): New defcustom.
15833 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
15834 (tramp-action-terminal): Use it. (Bug#10530)
15835
15836 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
15837
15838 * minibuffer.el (completion--replace): Strip properties (bug#10062).
15839
15840 2012-01-16 Martin Rudalics <rudalics@gmx.at>
15841
15842 * window.el (window-state-ignored-parameters): Remove variable.
15843 (window--state-get-1): Rename argument MARKERS to IGNORE.
15844 Handle persistent window parameters. Make copy of clone-of
15845 parameter only if requested. (Bug#10348)
15846 (window--state-put-2): Install a window parameter only if it has
15847 a non-nil value or an existing parameter shall be overwritten.
15848
15849 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
15850
15851 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
15852
15853 2012-01-14 Eli Zaretskii <eliz@gnu.org>
15854
15855 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
15856 don't pass the (nil) value of `upnode' to string-match.
15857
15858 2012-01-14 Chong Yidong <cyd@gnu.org>
15859
15860 * startup.el (command-line): Fix X resource class for cursorColor.
15861 Fix values recognized by the cursorBlink resource.
15862
15863 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
15864
15865 * epg.el (epg--make-temp-file): Avoid permission race condition
15866 when running on old Emacs versions (bug#10403).
15867
15868 2012-01-14 Glenn Morris <rgm@gnu.org>
15869
15870 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
15871
15872 2012-01-13 Alan Mackenzie <acm@muc.de>
15873
15874 Fix filling for when filladapt mode is enabled.
15875
15876 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
15877 c-mask-paragraph, pass in `fill-paragraph' rather than
15878 `fill-region-as-paragraph'. (This is a reversion of a previous
15879 change.)
15880 * progmodes/cc-mode.el (c-basic-common-init):
15881 Make fill-paragraph-handle-comment buffer local and set it to nil.
15882
15883 2012-01-13 Glenn Morris <rgm@gnu.org>
15884
15885 * dired.el (dired-switches-escape-p): New function.
15886 (dired-insert-directory): Use dired-switches-escape-p.
15887 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
15888
15889 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
15890
15891 2012-01-12 Glenn Morris <rgm@gnu.org>
15892
15893 * mail/sendmail.el (mail-mode): Update paragraph-separate for
15894 changes in adaptive-fill-regexp. (Bug#10276)
15895
15896 2012-01-11 Alan Mackenzie <acm@muc.de>
15897
15898 Fix Emacs bug #10463 - put `widen's around the critical spots.
15899
15900 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
15901 widen around each invocation of c-state-pp-to-literal. Remove an
15902 unused let variable.
15903
15904 2012-01-11 Glenn Morris <rgm@gnu.org>
15905
15906 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
15907 Doc fix.
15908
15909 2012-01-10 Chong Yidong <cyd@gnu.org>
15910
15911 * net/network-stream.el (network-stream-open-starttls):
15912 Avoid emitting a confusing error message when the server gives a bad
15913 response to the capability command.
15914
15915 2012-01-10 Glenn Morris <rgm@gnu.org>
15916
15917 * mail/unrmail.el (unrmail): Tweak previous change.
15918
15919 2012-01-09 Chong Yidong <cyd@gnu.org>
15920
15921 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
15922
15923 2012-01-08 Alan Mackenzie <acm@muc.de>
15924
15925 Optimize font locking in long enum definitions.
15926
15927 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
15928 arm to a cond form to handle enums.
15929 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
15930 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
15931
15932 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
15933
15934 * files.el (move-file-to-trash): Preserve default file modes on error.
15935 (Bug#10401)
15936
15937 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15938
15939 * faces.el (set-face-attribute): Clarify the meaning of the nil
15940 frame (bug#10294).
15941
15942 * subr.el (with-selected-frame): Mention that the selected frame
15943 is restored (bug#9980).
15944
15945 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
15946 (bug#9759).
15947
15948 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
15949 (password-read): Don't autoload unused function.
15950
15951 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
15952
15953 * progmodes/which-func.el (which-func-mode): Turn into a
15954 non-interactive function and mark as obsolete (bug#10428).
15955
15956 2012-01-06 Chong Yidong <cyd@gnu.org>
15957
15958 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
15959 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
15960 functions, along with 1 and -1.
15961
15962 2012-01-06 Eli Zaretskii <eliz@gnu.org>
15963
15964 * time.el (display-time-load-average)
15965 (display-time-default-load-average): Doc fixes. See the thread
15966 starting at
15967 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
15968 for the details.
15969
15970 2012-01-06 Glenn Morris <rgm@gnu.org>
15971
15972 * mail/unrmail.el (unrmail): Give an explicit error if the input file
15973 has no messages. (Bug#10377)
15974
15975 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
15976 than Info-edit. (Bug#10385)
15977
15978 * time.el (display-time-load-average, display-time-next-load-average):
15979 Doc fixes.
15980
15981 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
15982 local setting of buffer-read-only to the input buffer. (Bug#10419)
15983
15984 * calendar/calendar.el (calendar-mode):
15985 Locally set scroll-margin to 0. (Bug#10379)
15986
15987 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
15988
15989 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
15990
15991 2012-01-05 Glenn Morris <rgm@gnu.org>
15992
15993 * eshell/em-unix.el (diff-no-select): Autoload it.
15994 (eshell/diff): Use diff-no-select. (Bug#10420)
15995
15996 2012-01-05 Chong Yidong <cyd@gnu.org>
15997
15998 * shell.el (shell-dynamic-complete-functions): Revert last change.
15999 (shell-command-completion-function): New function.
16000 (shell-completion-vars): Use it to implement
16001 shell-completion-execonly (Bug#10417).
16002
16003 * custom.el (enable-theme): Don't set custom-safe-themes.
16004
16005 * cus-theme.el (custom-theme-merge-theme):
16006 Ignore custom-enabled-themes and custom-safe-themes.
16007
16008 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
16009
16010 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
16011 first prompt in `sql-interacive-mode'.
16012 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
16013 keywords.
16014 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
16015 (sql-product-interactive): Bug fix: Set `sql-buffer' in
16016 context of original buffer. Invoke `sql-login-hook'.
16017
16018 2012-01-04 Eli Zaretskii <eliz@gnu.org>
16019
16020 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
16021 letters in cite-prefix.
16022
16023 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16024
16025 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
16026
16027 2012-01-03 Chong Yidong <cyd@gnu.org>
16028
16029 * shell.el (shell-dynamic-complete-functions):
16030 Put pcomplete-completions-at-point, so as to try
16031 comint-filename-completion first (Bug#10417).
16032
16033 2012-01-02 Richard Stallman <rms@gnu.org>
16034
16035 * battery.el (battery-status-function):
16036 Detect when to use battery-yeeloong-sysfs.
16037 (battery-echo-area-format): Add string for Yeeloong.
16038 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
16039 (battery-yeeloong-sysfs): New function.
16040
16041 2012-01-02 Chong Yidong <cyd@gnu.org>
16042
16043 * dirtrack.el (dirtrack-list): Eliminate unused third element.
16044 (dirtrack): Merge code for handling relative filenames in prompt
16045 from shell-dir-cookie-watcher.
16046 (dirtrack-debug-message): New arg to avoid excess format calls.
16047
16048 * shell.el (shell-dir-cookie-re): Variable deleted.
16049 (shell-dir-cookie-watcher): Function deleted.
16050 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
16051 with dirtrack-mode.
16052
16053 2012-01-01 Eli Zaretskii <eliz@gnu.org>
16054
16055 * term/w32-win.el (dynamic-library-alist) <gnutls>:
16056 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
16057 libgnutls-26.dll.
16058
16059 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
16060
16061 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
16062
16063 2011-12-31 Eli Zaretskii <eliz@gnu.org>
16064
16065 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
16066 headers of non-MIME messages, when rmail-enable-mime is non-nil.
16067
16068 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
16069
16070 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
16071 also for alternative shells.
16072 (tramp-open-connection-setup-interactive-shell): Check, whether
16073 the shell is a busybox.
16074 (tramp-send-command): Don't suppress multiple prompts for
16075 busyboxes, it hurts.
16076
16077 2011-12-28 Chong Yidong <cyd@gnu.org>
16078
16079 * progmodes/gdb-mi.el (gdb-get-source-file-list)
16080 (gdb-get-source-file): Move mode line update to
16081 gdb-get-source-file (Bug#10087).
16082
16083 2011-12-25 Chong Yidong <cyd@gnu.org>
16084
16085 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
16086 gud-gdb-marker-filter without taking it as an argument.
16087 (gud-gdb-run-command-fetch-lines): Caller changed.
16088 (gud-gdb-completion-function): New variable.
16089 (gud-gdb-completion-at-point): Use it.
16090 (gud-gdb-completions-1): Split from gud-gdb-completions.
16091
16092 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
16093 function as separate arguments.
16094 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
16095 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
16096 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
16097 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
16098 (gdb-stopped, def-gdb-auto-update-trigger)
16099 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
16100 (gdb-get-changed-registers, gdb-get-main-selected-frame):
16101 Callers changed.
16102 (gud-gdbmi-completions): New function.
16103 (gdb): Use it for generating the completion table.
16104
16105 2011-12-24 Alan Mackenzie <acm@muc.de>
16106
16107 Introduce a mechanism to widen the region used in context font
16108 locking. Use this to protect declarations from losing their contexts.
16109
16110 * progmodes/cc-langs.el (c-before-font-lock-functions):
16111 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
16112 (c-before-context-fontification-functions): New defvar, a list of
16113 functions to be run just before context (etc.) font locking.
16114
16115 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
16116 New, functionality extracted from
16117 c-neutralize-syntax-in-and-mark-CPP.
16118 (c-in-after-change-fontification): New variable.
16119 (c-after-change): Set c-in-after-change-fontification.
16120 (c-set-fl-decl-start): Rejig its interface, so it can be called
16121 from both after-change and context fontifying.
16122 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
16123 New functions.
16124 (c-standard-font-lock-fontify-region-function): New variable.
16125 (c-font-lock-fontify-region): New function.
16126
16127 2011-12-24 Juri Linkov <juri@jurta.org>
16128
16129 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
16130 (Bug#10348)
16131
16132 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
16133
16134 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
16135 existence of source file. (Bug#10325)
16136
16137 2011-12-23 Alan Mackenzie <acm@muc.de>
16138
16139 Fix unstable fontification inside templates.
16140
16141 * progmodes/cc-langs.el (c-before-font-lock-functions):
16142 Newly created from the singular version. The (c c++ objc) entry now
16143 additionally has c-set-fl-decl-start. The other languages (apart
16144 from AWK) have that as a single entry.
16145
16146 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
16147 The functionality for "local" declarations has been extracted to
16148 c-set-fl-decl-start.
16149
16150 * progmodes/cc-mode.el (c-common-init, c-after-change):
16151 Changes due to pluralisation of c-before-font-lock-functions.
16152 (c-set-fl-decl-start): New function, extracted from
16153 c-font-lock-enclosing-decls and enhanced.
16154
16155 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
16156
16157 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
16158
16159 2011-12-22 Juri Linkov <juri@jurta.org>
16160
16161 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
16162
16163 2011-12-22 Chong Yidong <cyd@gnu.org>
16164
16165 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
16166
16167 2011-12-21 Drew Adams <drew.adams@oracle.com>
16168
16169 * files.el (file-remote-p): Fix docstring. (Bug#10319)
16170
16171 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
16172
16173 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
16174
16175 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
16176
16177 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
16178 highlighting and support. Fix up comments for capitalization.
16179 (cfengine-mode-debug): New var.
16180 (cfengine3-mode): Change the modeline indicator to "CFE3".
16181 (cfengine3-font-lock-keywords): Improve defun highlighting.
16182 (cfengine2-actions): Rename from `cfengine-actions'.
16183 (cfengine2-font-lock-keywords): Rename from
16184 `cfengine-font-lock-keywords'.
16185 (cfengine2-imenu-expression): Rename from
16186 `cfengine-imenu-expression'.
16187 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
16188 (cfengine2-beginning-of-defun): Rename from
16189 `cfengine-beginning-of-defun'.
16190 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
16191 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
16192 (cfengine2-mode): Rename from `cfengine-mode'. Change the
16193 modeline indicator to "CFE2".
16194 (cfengine-mode): Defalias to `cfengine-auto-mode'.
16195 (cfengine-mode-abbrevs): Mark obsolete.
16196
16197 2011-12-21 Chong Yidong <cyd@gnu.org>
16198
16199 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
16200 filename argument.
16201
16202 2011-12-20 Martin Rudalics <rudalics@gmx.at>
16203
16204 * window.el (window-normalize-buffer-to-display): Remove.
16205 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
16206
16207 2011-12-19 Chong Yidong <cyd@gnu.org>
16208
16209 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
16210 Don't signal an error in a predicate function; return non-nil.
16211 (vc-dir-mark-file): Move the error here.
16212 (vc-dir-mark-unmark): If acting on the region, keep going if one
16213 of the entries cannot be marked/unmarked.
16214 (vc-dir-mark-all-files): If current entry is a directory, mark
16215 only child files, as documented.
16216
16217 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
16218
16219 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
16220 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
16221 addition.
16222
16223 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
16224
16225 * term/ns-win.el (ns-get-selection-internal)
16226 (ns-store-selection-internal): Declare.
16227 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
16228 Declare as obsolete.
16229 (ns-get-pasteboard, ns-paste-secondary):
16230 Use ns-get-selection-internal.
16231 (ns-set-pasteboard, ns-copy-including-secondary):
16232 Use ns-store-selection-internal.
16233
16234 2011-12-17 Chong Yidong <cyd@gnu.org>
16235
16236 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
16237 (vc-deduce-fileset): Doc fix.
16238
16239 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
16240
16241 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
16242
16243 2011-12-13 Sam Steingold <sds@gnu.org>
16244
16245 * man.el (Man-getpage-in-background): When running under a
16246 window-system, ignore $MANWIDTH and $COLUMNS.
16247
16248 2011-12-15 Kenichi Handa <handa@m17n.org>
16249
16250 * language/ethio-util.el: Change coding tag to utf-8-emacs.
16251 (setup-ethiopic-environment-internal): Comment out key-binding for
16252 ethio-toggle-punctuation.
16253
16254 2011-12-13 Alan Mackenzie <acm@muc.de>
16255
16256 Add the switch statement to AWK Mode.
16257
16258 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
16259 "default" to the keywords regexp.
16260
16261 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
16262 expression as the rest.
16263 (c-nonlabel-token-key): Allow string literals for AWK.
16264 Refactor for the other modes.
16265
16266 Large brace-block initialisation makes CC Mode slow: Fix.
16267 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
16268 routines. Limit backward searching in c-font-lock-enclosing.decl.
16269
16270 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
16271 pp-state and literal type in addition to the limits.
16272 (c-state-safe-place): New defun, extracted from c-state-literal-at.
16273 (c-state-literal-at): Use the above new defun.
16274 (c-slow-in-literal, c-fast-in-literal): Remove.
16275 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
16276
16277 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
16278 being in a literal. Add a limit for backward searching.
16279
16280 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
16281 c-slow-in-literal.
16282
16283 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
16284
16285 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
16286
16287 2011-12-13 Martin Rudalics <rudalics@gmx.at>
16288
16289 * window.el (delete-other-windows): Use correct frame in call to
16290 window-with-parameter.
16291
16292 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
16293
16294 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
16295 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
16296 (makefile-gmake-statements, makefile-makepp-statements):
16297 Use it and add new makepp keywords.
16298 (makefile-makepp-font-lock-keywords): Add new patterns.
16299 (makefile-match-function-end): Match new [...] and [[...]].
16300
16301 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
16302
16303 * ses.el (ses-call-printer-return, ses-cell-property-get)
16304 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
16305 (ses-create-cell-variable, ses-reset-header-string)
16306 (ses-cell-set-formula, ses-repair-cell-reference-all)
16307 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
16308 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
16309 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
16310 (ses-aset-with-undo, ses-load, ses-truncate-cell)
16311 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
16312 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
16313 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
16314 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
16315 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
16316 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
16317 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
16318 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
16319
16320 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
16321
16322 * ses.el: The overall change is to add cell renaming, that is
16323 setting fancy names for cell symbols other than name matching
16324 "\\`[A-Z]+[0-9]+\\'" regexp .
16325 (ses-create-cell-variable): New defun.
16326 (ses-relocate-formula): Relocate formulas only for cells the
16327 symbols of which are not renamed, i.e. symbols whose names do not
16328 match regexp "\\`[A-Z]+[0-9]+\\'".
16329 (ses-relocate-all): Relocate values only for cells the symbols of
16330 which are not renamed.
16331 (ses-load): Create cells variables as the (ses-cell ...) are read,
16332 in order to check row col consistency with cell symbol name only
16333 for cells that are not renamed.
16334 (ses-replace-name-in-formula): New defun.
16335 (ses-rename-cell): New defun.
16336
16337 2011-12-11 Chong Yidong <cyd@gnu.org>
16338
16339 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
16340 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
16341
16342 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
16343
16344 * window.el (other-window): Fix docstring.
16345
16346 2011-12-10 Eli Zaretskii <eliz@gnu.org>
16347
16348 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
16349 `from' or `to' address before taking its substring.
16350 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
16351 encoded name is chopped in the middle of the encoded string, and
16352 thus displayed encoded.
16353
16354 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
16355
16356 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
16357
16358 2011-12-10 Eli Zaretskii <eliz@gnu.org>
16359
16360 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
16361 to use texinfo-update-node and commands that call it if the
16362 Texinfo file uses @node lines without next/prev/up pointers.
16363 Correct outdated description about texinfo-master-menu.
16364 (texinfo-all-menus-update, texinfo-master-menu)
16365 (texinfo-update-node, texinfo-every-node-update)
16366 (texinfo-multiple-files-update): Doc fix. Warn against updating
16367 all the @node lines.
16368 (texinfo-master-menu): Only call texinfo-update-node if the prefix
16369 argument is numeric. Explain better in the doc string what the
16370 function really does.
16371 (texinfo-insert-master-menu-list): Improve the error message
16372 displayed if there's no menu in the Top node.
16373 (Bug#2975) See also this thread:
16374 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
16375
16376 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
16377
16378 * speedbar.el (speedbar-supported-extension-expressions):
16379 Add .adb and .ads, commonly used for Ada source code (bug#10256).
16380
16381 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
16382
16383 * printing.el (pr-mode-alist):
16384 * simple.el (filter-buffer-substring-functions)
16385 (completion-list-insert-choice-function):
16386 * window.el (window-with-parameter, window-atom-root)
16387 (window-sides-slots, window-size-fixed, window-min-delta)
16388 (window-max-delta, window--resize-mini-window)
16389 (window--resize-child-windows-normal, window-tree)
16390 (delete-other-windows, quit-window, split-window)
16391 (display-buffer-record-window, special-display-buffer-names)
16392 (special-display-regexps, special-display-popup-frame)
16393 (same-window-p, split-window-sensibly)
16394 (display-buffer-overriding-action, display-buffer-alist)
16395 (display-buffer-base-action, display-buffer, switch-to-buffer)
16396 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
16397 (fit-window-to-buffer, recenter-positions)
16398 (mouse-autoselect-window-state, mouse-autoselect-window-select):
16399 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
16400 and remove unneeded backslashes in docstrings.
16401
16402 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
16403
16404 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
16405
16406 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
16407 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
16408 end in ".mk".
16409 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
16410 when reading the makefile (bug#10116).
16411
16412 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
16413
16414 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
16415 (bug#10116).
16416
16417 2011-12-06 Glenn Morris <rgm@gnu.org>
16418
16419 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
16420
16421 2011-12-06 Chong Yidong <cyd@gnu.org>
16422
16423 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
16424
16425 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
16426
16427 * textmodes/table.el (table-shorten-cell): Fix typo.
16428
16429 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
16430
16431 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
16432
16433 2011-12-05 Eli Zaretskii <eliz@gnu.org>
16434
16435 * descr-text.el (describe-char): Fix display of strong
16436 right-to-left characters and directional embeddings and overrides.
16437
16438 * simple.el (what-cursor-position): Fix display of codepoints of
16439 strong right-to-left characters.
16440
16441 2011-12-05 Chong Yidong <cyd@gnu.org>
16442
16443 * faces.el (read-color): Doc fix.
16444
16445 2011-12-05 Glenn Morris <rgm@gnu.org>
16446
16447 * align.el (align--set-marker): Add doc-string.
16448 Don't try to move something that is not a marker. (Bug#10216)
16449
16450 2011-12-04 Glenn Morris <rgm@gnu.org>
16451
16452 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
16453 overly zealous deletion of trailing whitespace.
16454
16455 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
16456
16457 * server.el (server-delete-client): On Windows, do not try to delete
16458 the only terminal.
16459 (server-process-filter): On Windows, treat requests for a tty frame as
16460 if they were for a GUI frame if the running server is in GUI mode.
16461
16462 2011-12-03 Glenn Morris <rgm@gnu.org>
16463
16464 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
16465
16466 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
16467
16468 * electric.el: Streamline electric-indent's hook.
16469 (electric-indent-chars): Revert to simple list.
16470 (electric-indent-functions): New var.
16471 (electric-indent-post-self-insert-function): Use it.
16472
16473 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
16474 there's no inferior buffer (bug#10196).
16475 (prolog-consult-compile): Don't use toggle-read-only.
16476
16477 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
16478
16479 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
16480 interrupt. (Bug#10187)
16481
16482 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
16483
16484 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
16485 (bug#9160).
16486
16487 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
16488 (bug#10191).
16489
16490 2011-12-02 Juri Linkov <juri@jurta.org>
16491
16492 * info.el (Info-search): Display "end of manual" when Isearch
16493 reaches the end of single-file Info manual. (Bug#9918)
16494
16495 2011-12-02 Eli Zaretskii <eliz@gnu.org>
16496
16497 * isearch.el (isearch-message-prefix): Run the input method part
16498 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
16499
16500 2011-12-02 Juri Linkov <juri@jurta.org>
16501
16502 * isearch.el (isearch-occur): Use `word-search-regexp' for
16503 `isearch-word'.
16504 (isearch-search-and-update): Add condition for `isearch-word' and
16505 call `word-search-regexp'. (Bug#10145)
16506
16507 2011-12-01 Glenn Morris <rgm@gnu.org>
16508
16509 * eshell/em-hist.el (eshell-hist-initialize):
16510 Handle eshell-history-size nil and HISTSIZE set or unset.
16511 (eshell-history-file-name, eshell-history-size): Fix custom type.
16512
16513 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
16514
16515 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
16516
16517 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
16518
16519 * progmodes/verilog-mode.el (verilog-pretty-expr):
16520 Rework verilog-pretty-expr to handle new assignment operators in system
16521 verilog, such as += *= and the like.
16522 (verilog-assignment-operator-re): Regular expression to find the
16523 assigment operator in a verilog assignment.
16524 (verilog-assignment-operation-re): Regular expression to find an
16525 assignment statement for pretty-expr.
16526 (verilog-in-attribute-p): Query returns true if point is in an
16527 attribute context; used to skip these for expression line up from
16528 pretty-expr.
16529 (verilog-in-parameter-p): Query returns true if point is in an
16530 parameter definition context; used to skip these for expression
16531 line up from pretty-expr.
16532 (verilog-in-parenthesis-p): Query returns true if point is in a
16533 parenthetical expression, specifically ( ) but not [ ] or { };
16534 used by pretty-expr.
16535 (verilog-just-one-space): If there is no space, don't add one.
16536 (verilog-get-lineup-indent-2): Specifically skip just attribute
16537 contexts for expression lineup, rather than skipping all
16538 parenthetical expressions.
16539 (verilog-calculate-indent): Fix comment, and fix indent.
16540 (verilog-do-indent): Indent declarations in lists (suggested by
16541 Joachim Lechner).
16542 (verilog-mode-abbrev-table): Populate abbrev mode with the various
16543 skeleton items.
16544 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
16545 by Alain Mellan).
16546
16547 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
16548
16549 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
16550 parameters with embedded comments. Reported by Ray Stevens.
16551 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
16552 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
16553 Reported by Tim Holt.
16554 (verilog-auto): Fix AUTOing a upper module then AUTOing module
16555 instantiated by upper module causing wrong expansion until AUTOed a
16556 second time. Reported by K C Buckenmaier.
16557 (verilog-diff-auto): Fix showing .* as a difference when
16558 `verilog-auto-star-save' off. Reported by Dan Dever.
16559 (verilog-auto-reset, verilog-read-always-signals)
16560 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
16561 temporary signals in reset list if
16562 verilog-auto-reset-blocking-in-non is nil, and match assignment
16563 style to each signal's assignment type, bug381.
16564 Reported by Thomas Esposito.
16565 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
16566 (verilog-uvm-statement-re): Support UVM indentation and
16567 highlighting, with old OVM keywords only.
16568 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
16569 Support AUTOTIEOFF creating non-wire data types.
16570 Suggested by Jonathan Greenlaw.
16571 (verilog-auto-insert-lisp, verilog-delete-to-paren)
16572 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
16573 (verilog-inject-sense, verilog-read-inst-pins)
16574 (verilog-read-sub-decls, verilog-read-sub-decls-line):
16575 Fix mismatching parenthesis inside commented out code when deleting
16576 AUTOINST, bug383. Reported by Jonathan Greenlaw.
16577 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
16578 non-numeric vector width. Reported by Alex Reed.
16579 (verilog-auto-ascii-enum): Add "onehot" option to work around not
16580 detecting signals with parameter widths. Reported by Alex Reed.
16581 (verilog-auto-delete-trailing-whitespace):
16582 With `verilog-auto-delete-trailing-whitespace' remove trailing
16583 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
16584 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
16585 Fix verilog-scan-cache corruption when running user AUTO expansion
16586 hooks that call indentation routines.
16587 (verilog-simplify-range-expression): Fix typo ignoring lower case
16588 identifiers.
16589 (verilog-delete-auto): Fix delete-autos to also remove user created
16590 automatics, as long as they start with AUTO.
16591 (verilog-batch-diff-auto, verilog-diff-auto)
16592 (verilog-diff-function): Add `verilog-diff-auto' and bind to
16593 "C-c?" to report differences in AUTO expansion, ignoring spaces.
16594 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
16595 (verilog-in-paren-quick, verilog-re-search-backward-quick)
16596 (verilog-re-search-forward-quick, verilog-syntax-ppss):
16597 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
16598 is disabled and its cache will get corrupt, causing AUTOS not to
16599 expand. Instead use only -quick functions.
16600 (verilog-scan-region): Fix scanning over escaped quotes.
16601 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
16602 (verilog-re-search-backward-quick)
16603 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
16604 related functions now ignore strings, to fix misparsing of strings
16605 with magic comments embedded in them.
16606 (verilog-read-auto-template):
16607 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
16608 Reported by Brad Dobbie.
16609 (verilog-read-auto-template):
16610 Fix 'verilog-auto-inst-template-numbers' with comments.
16611 Reported by Brad Dobbie.
16612 (verilog-auto-inst, verilog-auto-inst-param)
16613 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
16614 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
16615 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
16616 debugging templates without merge conflicts, bug357.
16617 Reported by Brad Dobbie.
16618 (verilog-read-auto-template):
16619 Fix verilog-auto-inst-template-numbers with multiple templates.
16620 Reported by Brad Dobbie.
16621 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
16622 abbrevs so user won't be asked to save.
16623 (verilog-read-auto-lisp-present): Fix to start at beginning of
16624 buffer in case called outside of verilog-auto.
16625 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
16626 to "X-2". Reported by Matthew Myers.
16627 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
16628 all inputs from module templates. Reported by Leith Johnson.
16629 (verilog-module-inside-filename-p): Fix locating programs as with
16630 modules.
16631 (verilog-auto-inst-port): Fix vl-width expressions when using
16632 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
16633 (verilog-decls-get-regs, verilog-decls-get-signals,
16634 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
16635 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
16636 verilog-read-decls): Combine reg and wire structures into one var
16637 structure to represent SystemVerilog concepts.
16638 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
16639 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
16640 (verilog-auto-wire-type, verilog-insert-definition):
16641 Add verilog-auto-wire-type and AUTOLOGIC to support using
16642 SystemVerilog "logic" keyword instead of "wire"/"reg".
16643 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
16644 to declares outputs that also have assignments (presumably in an
16645 ifdef or generate if so there's not a driver conflict).
16646 Reported by Matthew Myers.
16647 (verilog-auto-declare-nettype, verilog-insert-definition):
16648 Add verilog-auto-declare-nettype to fix declarations using
16649 `default_nettype none. Reported by Julian Gorfajn.
16650 (verilog-read-always-signals-recurse, verilog-read-decls)
16651 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
16652 malformed end statement, bug325. Reported by Joshua Wise and
16653 Andrew Drake.
16654 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
16655 (verilog-inst-comment-re): Fix not deleting Interfaced comment
16656 when expanding .* in interfaces, bug320.
16657 Reported by Pierre-David Pfister.
16658 (verilog-read-module-name): Fix import statements between module
16659 name and open parenthesis, bug317.
16660 Reported by Pierre-David Pfister.
16661 (verilog-simplify-range-expression): Fix simplification of
16662 multiplications inside AUTOWIRE connections, bug303.
16663 (verilog-auto-inst-port): Support parameter expansion in
16664 multidimensional arrays.
16665 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
16666 after "assert property". Reported by Julian Gorfajn.
16667 (verilog-simplify-range-expression): Fix "couldn't merge" errors
16668 with multiplication, bug303.
16669 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
16670 Reported by Jan Frode Lonnum.
16671
16672 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
16673
16674 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
16675 (hfy-shell-file-name, hfy-shell):
16676 * international/fontset.el (x-decompose-font-name): Fix typos.
16677
16678 2011-11-29 Ken Brown <kbrown@cornell.edu>
16679
16680 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
16681 (gdb-version): Remove defvar.
16682 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
16683 (gdb-gud-context-command, gdb-non-stop-handler)
16684 (gdb-current-context-command, gdb-stopped): Use it.
16685 (gdb-init-1): Enable pretty printing here.
16686 (gdb-non-stop-handler): Don't enable pretty-printing here.
16687 Check to see if the target supports non-stop mode; if not, turn off
16688 non-stop mode. Use the following.
16689 (gdb-check-target-async): New defun.
16690 (gud-watch, gdb-stopped): Fix whitespace.
16691 (gdb-get-source-file): Don't try to display the source file if
16692 `gdb-main-file' is nil.
16693
16694 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
16695
16696 * align.el: Try to generate fewer markers (bug#10047).
16697 (align--set-marker): New macro.
16698 (align-region): Use it.
16699
16700 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
16701
16702 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
16703
16704 2011-11-29 Chong Yidong <cyd@gnu.org>
16705
16706 * indent.el (indent-for-tab-command, indent-according-to-mode):
16707 Doc fix.
16708 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
16709
16710 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
16711
16712 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
16713 aware of remote file names. (Bug#10124)
16714
16715 2011-11-29 Chong Yidong <cyd@gnu.org>
16716
16717 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
16718
16719 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
16720
16721 * files.el (find-file): Don't use force-same-window (bug#10144).
16722 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
16723 use pop-to-buffer if the selected window can't be used.
16724 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
16725
16726 2011-11-28 Eli Zaretskii <eliz@gnu.org>
16727
16728 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
16729 special-mode-map.
16730
16731 2011-11-28 Chong Yidong <cyd@gnu.org>
16732
16733 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
16734
16735 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
16736
16737 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
16738 gdb-get-source-file-list on gdb-create-source-file-list.
16739
16740 2011-11-26 Eli Zaretskii <eliz@gnu.org>
16741
16742 * whitespace.el (whitespace-newline): Use a different foreground
16743 color for 16-color light-background displays.
16744
16745 2011-11-24 Chong Yidong <cyd@gnu.org>
16746
16747 * window.el (display-buffer--special-action): Doc fix.
16748
16749 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
16750
16751 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
16752 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
16753 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
16754 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
16755 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
16756 (avl-tree-stack-first):
16757 * emacs-lisp/cconv.el (cconv--analyse-use):
16758 * net/gnutls.el (gnutls-negotiate): Fix typos.
16759
16760 2011-11-24 Glenn Morris <rgm@gnu.org>
16761
16762 * lpr.el (lpr-windows-system, lpr-lp-system):
16763 * mail/binhex.el (binhex-begin-line):
16764 * progmodes/grep.el (grep-history, grep-find-history):
16765 * textmodes/flyspell.el:
16766 * vc/pcvs-defs.el (cvs-global-menu):
16767 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
16768 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
16769 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
16770
16771 * net/tls.el: Fix case of "GnuTLS".
16772
16773 * paths.el (rmail-file-name): Format doc-string for make-docfile.
16774
16775 * version.el (emacs-build-system): Give it a doc-string.
16776
16777 2011-11-24 Juri Linkov <juri@jurta.org>
16778
16779 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
16780
16781 2011-11-24 Glenn Morris <rgm@gnu.org>
16782
16783 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
16784 if called on a non-mime message just toggle the headers. (Bug#8006)
16785
16786 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
16787
16788 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
16789 (allout-lead-with-comment-string, allout-structure-deleted-hook)
16790 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
16791 (allout-rebullet-heading, allout-open-sibtopic)
16792 (allout-toggle-current-subtree-encryption)
16793 (allout-toggle-subtree-encryption, allout-encrypt-string)
16794 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
16795 (allout-distinctive-bullets-string, allout-auto-activation):
16796 * window.el (window-normalize-buffer-to-display):
16797 * progmodes/verilog-mode.el (verilog-batch-indent):
16798 * textmodes/bibtex.el (bibtex-field-braces-opt)
16799 (bibtex-field-strings-opt):
16800 * vc/cvs-status.el (cvs-tree-merge):
16801 Fix typos.
16802
16803 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
16804
16805 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
16806 `non-essential' to t, in order to avoid remote connections.
16807
16808 2011-11-23 Eli Zaretskii <eliz@gnu.org>
16809
16810 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
16811 On MS-DOS and MS-Windows, compare with loaddefs.el
16812 case-insensitively.
16813
16814 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16815
16816 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
16817
16818 2011-11-23 Glenn Morris <rgm@gnu.org>
16819
16820 * paths.el (rmail-file-name): Reformat the doc-string so that it
16821 is picked up.
16822
16823 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
16824 (rmail-auto-file): Ignore case in the "special" field names,
16825 as mail-fetch-field does for all others.
16826
16827 * mail/rmail.el (rmail-forward):
16828 * mail/rmailkwd.el (rmail-set-label):
16829 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
16830 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
16831
16832 * mail/rmail.el (rmail-current-message): Doc fix.
16833
16834 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
16835
16836 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
16837
16838 * server.el (server-eval-and-print): Allow C-g (bug#6585).
16839
16840 2011-11-22 Glenn Morris <rgm@gnu.org>
16841
16842 * mail/rmailmm.el (test-rmail-mime-handler)
16843 (test-rmail-mime-bulk-handler)
16844 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
16845
16846 2011-11-21 Juri Linkov <juri@jurta.org>
16847
16848 * calc/calc.el (calc-read-key-sequence):
16849 Let-bind `input-method-function' to nil. (Bug#10018)
16850
16851 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16852
16853 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
16854 Tell the caller that the next line needs recomputation, even
16855 though it doesn't start a sexp (bug#10094).
16856
16857 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
16858
16859 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
16860
16861 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
16862
16863 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
16864 Use force-same-window.
16865
16866 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
16867
16868 * descr-text.el (describe-char-unicode-data):
16869 * json.el (json-string-escape):
16870 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
16871 (Footnote-unicode, Footnote-style-p):
16872 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
16873
16874 2011-11-20 Chong Yidong <cyd@gnu.org>
16875
16876 * window.el (replace-buffer-in-windows): Restore interactive spec.
16877
16878 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
16879
16880 * electric.el (electric-indent-mode): Fix last change (too optimistic).
16881
16882 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
16883 (byte-compile-global-not-obsolete-vars): New var.
16884 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
16885 Use it.
16886 (byte-compile-warn-obsolete): Align text with the one in *Help*.
16887
16888 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
16889
16890 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
16891 * progmodes/pascal.el (electric-pascal-equal):
16892 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
16893 * xml.el (xml-substitute-special): Fix typos.
16894
16895 2011-11-20 Glenn Morris <rgm@gnu.org>
16896
16897 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
16898 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
16899 Doc fixes.
16900 (rmail-decode-mime-charset): Mark as obsolete.
16901
16902 * mail/rmailsum.el (rmail-message-regexp-p-1):
16903 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
16904 Before using mime functions, check they are set. (Bug#10077)
16905
16906 2011-11-19 Juri Linkov <juri@jurta.org>
16907
16908 * info.el (Info-finder-find-node): Use `package--builtins' instead
16909 of `package-alist'. Use node names formed by the pattern "Keyword "
16910 and the keyword name.
16911
16912 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
16913
16914 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
16915
16916 2011-11-19 Juri Linkov <juri@jurta.org>
16917
16918 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
16919 that calls `revert-buffer' on all Info buffers. (Bug#9915)
16920 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
16921 `old-history', `old-history-forward'. Add let-binding
16922 `window-selected'. Remove calls to `kill-buffer',
16923 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
16924 before calling `Info-find-node', so `Info-find-node-2' will reread
16925 the Info file. Restore window positions only when `window-selected'
16926 is non-nil.
16927
16928 2011-11-19 Juri Linkov <juri@jurta.org>
16929
16930 * isearch.el (isearch-lazy-highlight-new-loop):
16931 Remove condition `(not isearch-error)'. (Bug#9918)
16932
16933 * misearch.el (multi-isearch-search-fun): Add condition
16934 `(not bound)' to ignore lazy-highlighting search.
16935 Add the search-failed message "end of multi" when the end of
16936 multi-sequence is reached. Uncapitalize the search-failed
16937 message "Repeat for next buffer".
16938
16939 * info.el (Info-search): Add the search-failed message
16940 "end of the manual" when the end of the manual is reached
16941 in Isearch mode.
16942
16943 2011-11-19 Juri Linkov <juri@jurta.org>
16944
16945 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
16946 Use non-destructive `remove' instead of `delete' because
16947 `Info-history-list' stored to `Info-isearch-initial-history-list' in
16948 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
16949
16950 2011-11-19 Juri Linkov <juri@jurta.org>
16951
16952 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
16953 to nil instead of binding `search-ring' and `regexp-search-ring'.
16954 (Bug#9185)
16955
16956 2011-11-19 Eli Zaretskii <eliz@gnu.org>
16957
16958 * simple.el (line-move): Force movement by logical lines for any
16959 hscrolled window, not only when auto-hscroll-mode is on.
16960 (line-move-visual): Update doc string to that effect. (Bug#10076)
16961
16962 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
16963
16964 * language/european.el (macintosh): Define as alias for mac-roman.
16965
16966 2011-11-19 Eli Zaretskii <eliz@gnu.org>
16967
16968 * mail/rmailmm.el (rmail-mime-display-header)
16969 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
16970 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
16971 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
16972 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
16973 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
16974 of a raw aref.
16975 (rmail-mime-entity-segment): To get past the tagline, move forward
16976 2 more lines, to account for the 2 empty lines that precede and
16977 follow the line with the buttons.
16978 (rmail-mime-update-tagline): Move one more line, to get past the
16979 empty line that follows the buttons in the tagline. (Bug#9520)
16980
16981 2011-11-19 Martin Rudalics <rudalics@gmx.at>
16982
16983 * window.el (window-max-delta-1, window-min-delta-1)
16984 (window-min-size-1, window-state-get-1, window-state-put-1)
16985 (window-state-put-2): Use "window--" prefix.
16986
16987 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
16988
16989 * emacs-lisp/smie.el: Improve warnings and conflict detection.
16990 (smie-warning-count): New var.
16991 (smie-set-prec2tab): Use it.
16992 (smie-bnf->prec2): Improve warnings. Add docstring.
16993 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
16994 (smie-bnf--set-class): New function.
16995 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
16996 corner case.
16997
16998 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
16999 (compilation-error-properties, compilation-move-to-column):
17000 Handle compilation-first-column while in the target buffer.
17001
17002 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
17003 Don't hardcode point-min==1.
17004
17005 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
17006 (eshell-rewrite-for-command): Remove workaround.
17007 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
17008 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
17009 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
17010
17011 * files-x.el (modify-file-local-variable): Obey commenting conventions.
17012
17013 2011-11-17 Glenn Morris <rgm@gnu.org>
17014
17015 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
17016 Ignore buffer-local generated-autoload-file if it is the same
17017 as the global value. (Bug#10049)
17018
17019 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
17020
17021 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
17022 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
17023 (reftex-toc-previous-heading, reftex-toc-max-level)
17024 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
17025 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
17026 (reftex-toc-do-promote, reftex-toc-promote-prepare)
17027 (reftex-toc-promote-action, reftex-toc-extract-section-number)
17028 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
17029 (reftex-toc-rename-label, reftex-toc-visit-location)
17030 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
17031 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
17032 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
17033 leaving "*toc*" only for references to the buffer.
17034
17035 2011-11-17 Martin Rudalics <rudalics@gmx.at>
17036
17037 * window.el (window-resize, delete-window, split-window):
17038 Replace window-splits by window-combination-resize.
17039 * cus-start.el (window-splits): Replace by window-combination-resize.
17040
17041 2011-11-17 Glenn Morris <rgm@gnu.org>
17042
17043 * progmodes/sh-script.el (sh-font-lock-keywords-var):
17044 Make bash entry derive from sh entry, not shell entry.
17045
17046 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
17047
17048 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
17049 local file name.
17050
17051 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
17052
17053 * menu-bar.el (menu-bar-file-menu):
17054 * printing.el (pr-ps-utility):
17055 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
17056 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
17057 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
17058 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
17059 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
17060 (icalendar--convert-cyclic-to-ical)
17061 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
17062 (icalendar--convert-ical-to-diary)
17063 (icalendar--convert-recurring-to-diary)
17064 (icalendar--convert-non-recurring-all-day-to-diary)
17065 (icalendar-import-format-sample):
17066 * progmodes/idlw-shell.el (idlwave-shell-mode):
17067 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
17068 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
17069 (vhdl-ps-print-init): Fix typos.
17070
17071 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
17072
17073 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
17074 FSF and collapse date sequence, obscure author/maintainer email address
17075 better, remove extra version line, track relocation of author's webpage.
17076
17077 * progmodes/python.el (python-pdbtrack-input-prompt)
17078 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
17079 regular python pdb prompts. Adjustments shamelessly taken exactly as
17080 suggested in EmacsWiki page (tiny change):
17081 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
17082
17083 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
17084
17085 * expand.el (expand-pos, expand-index, expand-point):
17086 Remove redundant info from docstring.
17087 (expand-add-abbrevs): Doc fix.
17088 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
17089 (expand-sample-perl-mode-expand-list): Fix typos.
17090
17091 * net/dbus.el (dbus-event-member-name):
17092 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
17093 * term/pc-win.el (msdos-create-frame-with-faces):
17094 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
17095
17096 2011-11-16 Martin Rudalics <rudalics@gmx.at>
17097
17098 * window.el (split-window, window-state-get-1)
17099 (window-state-put-1, window-state-put-2): Rename occurrences of
17100 window-nest to window-combination-limit.
17101 * cus-start.el (window-nest): Rename to window-combination-limit.
17102
17103 2011-11-16 Chong Yidong <cyd@gnu.org>
17104
17105 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
17106 regexp (Bug#10033).
17107
17108 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
17109
17110 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
17111 `completing-read' will remove *Completions* and will preserve
17112 current-buffer for us.
17113 (tmm-add-prompt): Users of *Completions* will always (re)set its
17114 major mode.
17115 (tmm-old-comp-map): Remove.
17116
17117 2011-11-16 Glenn Morris <rgm@gnu.org>
17118
17119 * mail/rmailedit.el: Require rmailmm when compiling.
17120 (rmail-old-mime-state): New declaration.
17121 (rmail-edit-current-message): If editing a mime message,
17122 edit the "raw" message from the mbox buffer.
17123 (rmail-cease-edit): Handle mime messages. (Bug#9840)
17124
17125 2011-11-15 Glenn Morris <rgm@gnu.org>
17126
17127 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
17128 which wasn't being used. Add optional arg to force given state.
17129 (rmail-mime): Add optional arg to force given state.
17130
17131 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
17132
17133 * allout.el (allout-encryption-plaintext-sanitization-regexps):
17134 * frame.el (display-mm-dimensions-alist):
17135 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
17136 (outline-move-subtree-down):
17137 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
17138 (newsticker--treeview-do-get-node):
17139 * net/quickurl.el (quickurl-list-buffer-name):
17140 * progmodes/dcl-mode.el (dcl-mode):
17141 * progmodes/gdb-mi.el (gdb-mapcar*):
17142 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
17143
17144 2011-11-15 Glenn Morris <rgm@gnu.org>
17145
17146 * mail/rmail.el (rmail-file-coding-system): It's only ever used
17147 in a boolean sense, so just make it a boolean, and fix the doc.
17148 (rmail-show-mime-function, rmail-mime-feature)
17149 (rmail-require-mime-maybe): Doc fixes.
17150 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
17151
17152 * mail/rmailmm.el (rmail-show-mime): Doc fix.
17153
17154 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
17155
17156 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
17157 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
17158 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
17159 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
17160
17161 2011-11-15 Glenn Morris <rgm@gnu.org>
17162
17163 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
17164 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
17165 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
17166 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
17167 (rmail-mime, rmail-show-mime): Doc fixes.
17168
17169 * term/ns-win.el (mode-line-frame-identification):
17170 Leave it alone. (Bug#10051)
17171
17172 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
17173
17174 * mail/rmailout.el (rmail-output-to-rmail-buffer):
17175 Handle empty buffers. (Bug#9978)
17176
17177 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
17178
17179 * international/mule.el (define-charset):
17180 * mail/rmailmm.el (rmail-mime-find-header-encoding):
17181 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
17182 * progmodes/verilog-mode.el (verilog-backward-token):
17183 * textmodes/ispell.el (lookup-words):
17184 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
17185
17186 2011-11-14 Glenn Morris <rgm@gnu.org>
17187
17188 * progmodes/executable.el
17189 (executable-make-buffer-file-executable-if-script-p):
17190 Handle file-modes returning nil.
17191
17192 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
17193 message - not necessary, and causes problems. (Bug#9831)
17194
17195 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
17196
17197 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
17198
17199 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
17200 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
17201 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
17202
17203 2011-11-12 Martin Rudalics <rudalics@gmx.at>
17204
17205 * window.el (window-resize, delete-window): Use window-splits
17206 variable instead of function.
17207 (window-state-get-1, window-state-put-2, window-state-put):
17208 Don't deal with windows' splits status.
17209
17210 2011-11-12 Glenn Morris <rgm@gnu.org>
17211
17212 * apropos.el (apropos-do-all, apropos-library, apropos-value)
17213 (apropos-documentation): Doc fixes.
17214
17215 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
17216
17217 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
17218 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
17219
17220 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
17221
17222 * electric.el (electric-indent-post-self-insert-function): Make it
17223 possible for a char to only indent in some circumstances.
17224 (electric-indent-mode): Simplify.
17225
17226 2011-11-11 Martin Rudalics <rudalics@gmx.at>
17227
17228 * window.el (windows-with-parameter): Remove unused function.
17229 (windows-at-side): Rename to window-at-side-list.
17230 (window-check, window-atom-check, window-atom-check-1)
17231 (window-side-check, window-size-ignore, window-size-fixed-1)
17232 (window-in-direction-2): Prefix with "window--".
17233 (window-tree-1): Rename to window--subtree, fix doc-string.
17234
17235 2011-11-11 Glenn Morris <rgm@gnu.org>
17236
17237 * subr.el (eval-after-load): If FILE is already loaded,
17238 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
17239
17240 2011-11-10 Glenn Morris <rgm@gnu.org>
17241
17242 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
17243 Call svn via vc-svn-command rather than vc-do-command.
17244 (vc-svn-command): Add --non-interactive. (Bug#9993)
17245 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
17246
17247 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17248 Add toggle-read-only. (Bug#7292)
17249 * files.el (toggle-read-only): Mention that it should only
17250 be used interactively. (Bug#10006)
17251
17252 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
17253
17254 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17255 Adjust regexp for OCaml warnings.
17256
17257 * electric.el (electric-pair-post-self-insert-function): Let user
17258 turn it off buffer-locally (bug#9932).
17259
17260 * progmodes/python.el (python-beginning-of-statement):
17261 Rewrite (bug#2703).
17262
17263 * progmodes/compile.el: Better handle TABs (bug#9749).
17264 (compilation-internal-error-properties)
17265 (compilation-next-error-function): Obey the target buffer's
17266 compilation-error-screen-columns.
17267
17268 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
17269
17270 * progmodes/meta-mode.el: Remove obsolete comments.
17271 (meta-right-comment-regexp, meta-ignore-comment-regexp):
17272 Fix typos in docstrings.
17273
17274 2011-11-09 Martin Rudalics <rudalics@gmx.at>
17275
17276 * window.el (window-size-fixed-p): Rewrite doc-string.
17277 (window-resizable-p): Rename to window--resizable-p. Update callers.
17278 (window--resizable): New function. Make all callers of
17279 window-resizable call window--resizable instead.
17280 (window-resizable): Rewrite in terms of window--resizable.
17281
17282 2011-11-08 Glenn Morris <rgm@gnu.org>
17283
17284 * progmodes/delphi.el (delphi-mode-syntax-table):
17285 Let define-derived-mode define a proper syntax table. (Bug#9994)
17286
17287 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
17288
17289 * window.el: Stay away from defsubst.
17290 (window-list-no-nils): Remove.
17291 (window-state-get-1, window-state-get): Use backquote instead.
17292
17293 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17294
17295 * emacs-lisp/find-func.el (find-function-read):
17296 Fix incorrect use of default argument in `completing-read'.
17297
17298 2011-11-08 Martin Rudalics <rudalics@gmx.at>
17299
17300 * window.el (display-buffer-function, special-display-function):
17301 Mention display-buffer-record-window but do not mention
17302 help-setup parameter in doc-strings.
17303 (window-min-delta): Fix doc-string typo.
17304
17305 2011-11-08 Chong Yidong <cyd@gnu.org>
17306
17307 * window.el (window-total-height, window-total-width): Doc fix.
17308 (window-body-size): Move from C.
17309 (window-body-height, window-body-width): Move to C.
17310
17311 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
17312
17313 * window.el: Make special-display like display-buffer-alist (bug#9532).
17314 (display-buffer--special-action): New function, morphed
17315 from display-buffer--special.
17316 (display-buffer): Use it to handle special-display-buffers at higher
17317 priority (just after display-buffer-alist).
17318 (display-buffer-fallback-action, display-buffer--other-frame-action)
17319 (pop-to-buffer-same-window): Remove display-buffer--special.
17320
17321 2011-11-07 Glenn Morris <rgm@gnu.org>
17322
17323 * calendar/cal-menu.el (cal-menu-set-date-title):
17324 Do nothing if not in a calendar. (Bug#9976)
17325
17326 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
17327
17328 * files.el (find-file): Always use selected-window.
17329
17330 2011-11-07 Martin Rudalics <rudalics@gmx.at>
17331
17332 * window.el (window-combinations): Make WINDOW argument
17333 mandatory. Rewrite doc-string.
17334 (walk-window-subtree, window-atom-check, window-min-delta)
17335 (window-max-delta, window--resize-this-window)
17336 (window--resize-root-window-vertically, window-tree)
17337 (balance-windows, window-state-put): Rewrite doc-strings as to
17338 not mention the term "subwindow".
17339 (window--resize-subwindows-skip-p): Rename to
17340 window--resize-child-windows-skip-p.
17341 (window--resize-subwindows-normal): Rename to
17342 window--resize-child-windows-normal.
17343 (window--resize-subwindows): Rename to
17344 window--resize-child-windows.
17345 (window-or-subwindow-p): Rename to window--in-subtree-p.
17346
17347 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
17348
17349 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
17350 Ensure that mbox format messages end in two newlines (Bug#9974).
17351
17352 2011-11-06 Chong Yidong <cyd@gnu.org>
17353
17354 * window.el (window-combination-p): Function deleted; its
17355 side-effect is not used in any existing code.
17356 (window-combinations, window-combined-p): Call window-*-child
17357 directly.
17358
17359 2011-11-05 Chong Yidong <cyd@gnu.org>
17360
17361 * window.el (window-valid-p): Rename from window-any-p.
17362 (window-size-ignore, window-state-get): Callers changed.
17363 (window-normalize-window): Rename from window-normalize-any-window.
17364 New arg LIVE-ONLY, replacing window-normalize-live-window.
17365 (window-normalize-live-window): Delete.
17366 (window-combination-p, window-combined-p, window-combinations)
17367 (walk-window-subtree, window-atom-root, window-min-size)
17368 (window-sizable, window-sizable-p, window-size-fixed-p)
17369 (window-min-delta, window-max-delta, window-resizable)
17370 (window-resizable-p, window-full-height-p, window-full-width-p)
17371 (window-current-scroll-bars, window-point-1, set-window-point-1)
17372 (window-at-side-p, window-in-direction, window-resize)
17373 (adjust-window-trailing-edge, maximize-window, minimize-window)
17374 (window-deletable-p, delete-window, delete-other-windows)
17375 (record-window-buffer, unrecord-window-buffer)
17376 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
17377 (quit-window, split-window, window-state-put)
17378 (set-window-text-height, fit-window-to-buffer)
17379 (shrink-window-if-larger-than-buffer): Callers changed.
17380
17381 2011-11-04 Eli Zaretskii <eliz@gnu.org>
17382
17383 * mail/rmail.el (rmail-simplified-subject): Decode subject with
17384 rfc2047-decode-string.
17385 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
17386 warnings.
17387
17388 * window.el (window-body-height, window-body-width): Mention in
17389 the doc string that the return values are in frame's canonical
17390 units. (Bug#9949)
17391
17392 2011-11-03 Alan Mackenzie <acm@muc.de>
17393
17394 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
17395 change in cc-engine.el.
17396
17397 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
17398
17399 * window.el (switch-to-buffer): Use `force-same-window' interactively.
17400
17401 2011-11-02 Martin Rudalics <rudalics@gmx.at>
17402
17403 * window.el (quit-window): Call unrecord-window-buffer after
17404 showing another buffer in the window. (Bug#9937)
17405 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
17406
17407 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
17408
17409 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
17410 Accept status with more than 9 shelves. (Bug#9935)
17411 Reported by Colin D Bennett <colin@gibibit.com>.
17412
17413 2011-11-01 Martin Rudalics <rudalics@gmx.at>
17414
17415 * help.el (with-help-window): Don't reference
17416 temp-buffer-show-specifiers in doc-string.
17417
17418 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
17419
17420 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
17421 menu-item.
17422
17423 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17424
17425 * whitespace.el: New version 13.2.2.
17426 (whitespace-newline-mode): Disable properly. Reported by Sarah
17427 <EmacsWiki>.
17428
17429 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
17430
17431 * net/newst-treeview.el: Remove "Time-stamp".
17432 (newsticker--group-manage-orphan-feeds): Do not call
17433 newsticker--treeview-tree-update.
17434 (newsticker-treeview-update, newsticker-treeview):
17435 Call newsticker--treeview-tree-update if necessary.
17436
17437 2011-10-30 Martin Rudalics <rudalics@gmx.at>
17438
17439 * window.el (window-iso-combination-p, window-iso-combined-p)
17440 (window-iso-combinations): Remove "iso-" infix.
17441 Suggested by Chong Yidong.
17442 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
17443 (window-max-delta-1, window-resize, window--resize-siblings)
17444 (window--resize-this-window, adjust-window-trailing-edge)
17445 (split-window, balance-windows-1)
17446 (shrink-window-if-larger-than-buffer):
17447 * calendar/calendar.el (calendar-generate-window):
17448 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
17449
17450 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
17451
17452 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
17453 in place (bug#9907).
17454 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
17455 (eshell-rewrite-if-command, eshell-rewrite-for-command)
17456 (eshell-structure-basic-command, eshell-rewrite-while-command)
17457 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
17458 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
17459 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
17460 (eshell-do-pipelines-synchronously, eshell-eval-command):
17461 Use backquotes and prefer setq to set.
17462 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
17463 (eshell-macrop): Use functionp.
17464 (eshell-do-eval): Handle multiple expressions in `while' body.
17465
17466 2011-10-30 Chong Yidong <cyd@gnu.org>
17467
17468 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
17469 instead of set-mark (Bug#9810).
17470
17471 2011-10-30 Chong Yidong <cyd@gnu.org>
17472
17473 * window.el (split-window-below, split-window-right): Rename from
17474 split-window-above-each-other and split-window-side-by-side
17475 respectively. All callers changed.
17476 (split-window-sensibly, split-window-sensibly): Use them.
17477 (split-window-keep-point): Doc fix.
17478
17479 * isearch.el: Add isearch-scroll property to split-window-below
17480 and split-window-right.
17481
17482 * follow.el (follow-mode):
17483 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
17484 * progmodes/ada-xref.el (ada-gdb-application):
17485 * emulation/vip.el (vip-buffer-in-two-windows):
17486 * image-dired.el (image-dired-dired-with-window-configuration):
17487 * dired-x.el (dired-do-find-marked-files):
17488 * dired.el (dired-pop-to-buffer):
17489 * bs.el (bs--show-with-configuration):
17490 * vc/emerge.el (emerge-setup-windows):
17491 * textmodes/two-column.el (2C-two-columns):
17492 * textmodes/reftex-toc.el (reftex-toc):
17493 * progmodes/gdb-mi.el (gdb-setup-windows):
17494 * progmodes/fortran.el (fortran-window-create):
17495 * net/newst-treeview.el (newsticker--treeview-window-init):
17496 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
17497 * emulation/tpu-edt.el (tpu-gold-map):
17498 * emulation/crisp.el (crisp-mode-map):
17499 * calendar/calendar.el (calendar-basic-setup): Callers changed.
17500
17501 2011-10-29 Chong Yidong <cyd@gnu.org>
17502
17503 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
17504
17505 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
17506
17507 * textmodes/flyspell.el (flyspell-word): Fix char offset for
17508 forged Ispell output (Bug#7904).
17509
17510 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
17511
17512 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17513
17514 * doc-view.el: Avoid ugly errors about not finding nil.
17515 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
17516 (doc-view-dvipdf-program, doc-view-unoconv-program)
17517 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
17518 Avoid nil or absolute file name as default value.
17519 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
17520
17521 2011-10-28 Alan Mackenzie <acm@muc.de>
17522
17523 * progmodes/cc-defs.el (c-version): -> 5.32.2.
17524
17525 2011-10-28 Alan Mackenzie <acm@muc.de>
17526
17527 Amend the handling of c-beginning/end-of-defun in nested declaration
17528 scopes.
17529
17530 * progmodes/cc-vars.el (c-defun-tactic): Move here from
17531 cc-langs.el. Change it to a defcustom.
17532
17533 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
17534 cc-vars.el.
17535
17536 * progmodes/cc-engine.el (c-beginning-of-statement-1):
17537 Prevent "class foo : bar" being spuriously recognized as a label.
17538
17539 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
17540 Add parameter `inclusive' (to include enclosing braces in the region).
17541 (c-widen-to-enclosing-decl-scope): New function.
17542 (c-while-widening-to-decl-block): New macro.
17543 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
17544 outward for defun boundaries, and correspondingly change symbol
17545 `respect-enclosure' to `go-outward'.
17546 (c-declaration-limits): Change algorithm to report only the "innermost"
17547 defun's boundaries.
17548
17549 2011-10-28 Deniz Dogan <deniz@dogan.se>
17550
17551 * net/rcirc.el (rcirc-mode): Use hard newlines.
17552
17553 2011-10-28 Alan Mackenzie <acm@muc.de>
17554
17555 Amend to indent and fontify macros "which include their own semicolon"
17556 correctly, using the "virtual semicolon" mechanism.
17557
17558 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
17559
17560 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
17561 Recode to scan one line at a time rather than having \n and \r
17562 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
17563 (c-forward-label): Amend for virtual semicolons.
17564 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
17565
17566 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
17567 of the new C macros.
17568
17569 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
17570 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
17571 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
17572 (c-opt-cpp-macro-define): Make into a full language variable.
17573 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
17574 AWK Mode (including \n, \r) removed, no longer needed.
17575
17576 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
17577 Invoke c-make-macro-with-semi-re.
17578
17579 * progmodes/cc-vars.el (c-macro-with-semi-re):
17580 (c-macro-names-with-semicolon): New variables.
17581 (c-make-macro-with-semi-re): New function.
17582
17583 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17584
17585 * vc/log-edit.el: Fill empty field rather than adding new one.
17586 (log-edit-add-field): New function.
17587 (log-edit-insert-changelog): Use it.
17588
17589 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
17590
17591 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
17592
17593 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17594
17595 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
17596 (gdb--check-interpreter): New function.
17597 (gdb): Use it.
17598
17599 2011-10-27 Glenn Morris <rgm@gnu.org>
17600
17601 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
17602 (least-positive-float, least-negative-float)
17603 (least-positive-normalized-float, least-negative-normalized-float)
17604 (float-epsilon, float-negative-epsilon):
17605 Remove unnecessary declarations.
17606
17607 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
17608 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
17609 (least-positive-float, least-negative-float)
17610 (least-positive-normalized-float, least-negative-normalized-float)
17611 (float-epsilon, float-negative-epsilon): Add doc-strings,
17612 based on those in cl.texi.
17613
17614 * files.el (set-visited-file-name): If the major-mode changed,
17615 reload the local variables. (Bug#9796)
17616
17617 2011-10-27 Chong Yidong <cyd@gnu.org>
17618
17619 * subr.el (change-major-mode-after-body-hook): New hook.
17620 (run-mode-hooks): Run it.
17621
17622 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
17623 Use change-major-mode-before-body-hook.
17624
17625 * simple.el (fundamental-mode):
17626 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
17627 change introducing fundamental-mode-hook.
17628
17629 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
17630
17631 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
17632
17633 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
17634
17635 * ido.el (ido-file-name-all-completions-1): Do not require
17636 tramp.el explicitly. (Bug#7583)
17637
17638 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
17639
17640 * progmodes/octave-mod.el:
17641 * progmodes/octave-inf.el: Update maintainer.
17642
17643 2011-10-26 Chong Yidong <cyd@gnu.org>
17644
17645 * subr.el (with-wrapper-hook): Rewrite doc.
17646
17647 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
17648
17649 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
17650 filenames "/method:foo:". (Bug#9793)
17651
17652 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
17653
17654 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
17655 (bug#9865).
17656
17657 2011-10-24 Glenn Morris <rgm@gnu.org>
17658
17659 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
17660
17661 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
17662
17663 * notifications.el: Add the requirement of a running D-Bus session
17664 bus to the Commentary.
17665
17666 2011-10-24 Juri Linkov <juri@jurta.org>
17667
17668 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
17669 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
17670 (Bug#9364)
17671
17672 2011-10-24 Juri Linkov <juri@jurta.org>
17673
17674 * info.el (Info-following-node-name-re): Add newline to the list
17675 of allowed characters for leading space. (Bug#9824)
17676
17677 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
17678
17679 * progmodes/octave-inf.el (inferior-octave-mode-map):
17680 Fix C-c C-h binding.
17681 * progmodes/octave-mod.el (octave-help): Remove.
17682
17683 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
17684
17685 Sync with Tramp 2.2.3.
17686
17687 * net/tramp-cache.el (top): Pacify byte-compiler using
17688 `init-file-user' and `site-run-file'.
17689
17690 * net/trampver.el: Update release number.
17691
17692 2011-10-23 Chong Yidong <cyd@gnu.org>
17693
17694 * files.el (toggle-read-only): Remove obsolete comment about
17695 version control.
17696
17697 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
17698 for toggle-read-only. Note that this hasn't called vc-next-action
17699 since 2008-05-02, though it wasn't documented at the time.
17700
17701 * vc/ediff-init.el (ediff-toggle-read-only-function):
17702 Use toggle-read-only.
17703
17704 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
17705
17706 Fix bug #9560, sporadic wrong indentation; improve instrumentation
17707 of c-parse-state.
17708
17709 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
17710 correct faulty logical expression.
17711 (c-parse-state-state, c-record-parse-state-state):
17712 (c-replay-parse-state-state): New defvar/defuns.
17713 (c-debug-parse-state): Use new functions.
17714
17715 2011-10-22 Martin Rudalics <rudalics@gmx.at>
17716
17717 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
17718 last fix. Use window-in-direction correctly.
17719
17720 2011-10-21 Chong Yidong <cyd@gnu.org>
17721
17722 * progmodes/idlwave.el (idlwave-mode):
17723 * progmodes/vera-mode.el (vera-mode): No need to set
17724 require-final-newline; that's done in prog-mode.
17725 Suggested by Stefan Monnier.
17726
17727 2011-10-21 Martin Rudalics <rudalics@gmx.at>
17728
17729 * mouse.el (mouse-drag-window-above)
17730 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
17731 (mouse-drag-mode-line-1, mouse-drag-header-line)
17732 (mouse-drag-vertical-line-rightward-window): Remove.
17733 (mouse-drag-line): New function.
17734 (mouse-drag-mode-line, mouse-drag-header-line)
17735 (mouse-drag-vertical-line): Call mouse-drag-line.
17736 * window.el (window-at-side-p, windows-at-side): New functions.
17737
17738 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
17739
17740 * tar-mode.el (tar-grind-file-mode):
17741 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
17742
17743 2011-10-21 Chong Yidong <cyd@gnu.org>
17744
17745 * progmodes/idlwave.el (idlwave-mode):
17746 * progmodes/vera-mode.el (vera-mode):
17747 Use mode-require-final-newline.
17748
17749 2011-10-20 Glenn Morris <rgm@gnu.org>
17750
17751 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
17752
17753 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
17754
17755 * emulation/cua-base.el (cua-set-mark): Fix case of string.
17756
17757 2011-10-20 Chong Yidong <cyd@gnu.org>
17758
17759 * emulation/cua-base.el (cua-mode):
17760 * mail/footnote.el (footnote-mode):
17761 * mail/mailabbrev.el (mail-abbrevs-mode):
17762 * net/xesam.el (xesam-minor-mode):
17763 * progmodes/bug-reference.el (bug-reference-mode):
17764 * progmodes/cap-words.el (capitalized-words-mode):
17765 * progmodes/compile.el (compilation-minor-mode)
17766 (compilation-shell-minor-mode):
17767 * progmodes/gud.el (gud-tooltip-mode):
17768 * progmodes/hideif.el (hide-ifdef-mode):
17769 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
17770 * progmodes/subword.el (subword-mode):
17771 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
17772 * progmodes/which-func.el (which-function-mode):
17773 * term/tvi970.el (tvi970-set-keypad-mode):
17774 * term/vt100.el (vt100-wide-mode):
17775 * textmodes/flyspell.el (flyspell-mode):
17776 * textmodes/ispell.el (ispell-minor-mode):
17777 * textmodes/nroff-mode.el (nroff-electric-mode):
17778 * textmodes/paragraphs.el (use-hard-newlines):
17779 * textmodes/refill.el (refill-mode):
17780 * textmodes/reftex.el (reftex-mode):
17781 * textmodes/rst.el (rst-minor-mode):
17782 * textmodes/sgml-mode.el (html-autoview-mode)
17783 (sgml-electric-tag-pair-mode):
17784 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
17785 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
17786 * emulation/crisp.el (crisp-mode):
17787 * emacs-lisp/eldoc.el (eldoc-mode):
17788 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
17789 minor mode behavior.
17790
17791 2011-10-19 Juri Linkov <juri@jurta.org>
17792
17793 * descr-text.el (describe-char): Add #x2010 and #x2011 to
17794 the list of hard-coded chars with escape-glyph face.
17795
17796 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
17797
17798 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
17799
17800 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
17801
17802 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
17803 running process.
17804
17805 2011-10-19 Glenn Morris <rgm@gnu.org>
17806
17807 * vc/vc-bzr.el (vc-bzr-after-dir-status):
17808 Ignore ignored files. (Bug#9726)
17809
17810 2011-10-19 Chong Yidong <cyd@gnu.org>
17811
17812 Doc fix for minor modes, stating that an omitted argument enables
17813 the mode unconditionally when called from Lisp.
17814
17815 * abbrev.el (abbrev-mode):
17816 * allout.el (allout-mode):
17817 * autoinsert.el (auto-insert-mode):
17818 * autoarg.el (autoarg-mode, autoarg-kp-mode):
17819 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
17820 (global-auto-revert-mode):
17821 * battery.el (display-battery-mode):
17822 * composite.el (global-auto-composition-mode)
17823 (auto-composition-mode):
17824 * delsel.el (delete-selection-mode):
17825 * desktop.el (desktop-save-mode):
17826 * dired-x.el (dired-omit-mode):
17827 * dirtrack.el (dirtrack-mode):
17828 * doc-view.el (doc-view-minor-mode):
17829 * double.el (double-mode):
17830 * electric.el (electric-indent-mode, electric-pair-mode):
17831 * emacs-lock.el (emacs-lock-mode):
17832 * epa-hook.el (auto-encryption-mode):
17833 * follow.el (follow-mode):
17834 * font-core.el (font-lock-mode):
17835 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
17836 * help.el (temp-buffer-resize-mode):
17837 * hilit-chg.el (highlight-changes-mode)
17838 (highlight-changes-visible-mode):
17839 * hi-lock.el (hi-lock-mode):
17840 * hl-line.el (hl-line-mode, global-hl-line-mode):
17841 * icomplete.el (icomplete-mode):
17842 * ido.el (ido-everywhere):
17843 * image-file.el (auto-image-file-mode):
17844 * image-mode.el (image-minor-mode):
17845 * iswitchb.el (iswitchb-mode):
17846 * jka-cmpr-hook.el (auto-compression-mode):
17847 * linum.el (linum-mode):
17848 * longlines.el (longlines-mode):
17849 * master.el (master-mode):
17850 * mb-depth.el (minibuffer-depth-indicate-mode):
17851 * menu-bar.el (menu-bar-mode):
17852 * minibuf-eldef.el (minibuffer-electric-default-mode):
17853 * mouse-sel.el (mouse-sel-mode):
17854 * msb.el (msb-mode):
17855 * mwheel.el (mouse-wheel-mode):
17856 * outline.el (outline-minor-mode):
17857 * paren.el (show-paren-mode):
17858 * recentf.el (recentf-mode):
17859 * reveal.el (reveal-mode, global-reveal-mode):
17860 * rfn-eshadow.el (file-name-shadow-mode):
17861 * ruler-mode.el (ruler-mode):
17862 * savehist.el (savehist-mode):
17863 * scroll-all.el (scroll-all-mode):
17864 * scroll-bar.el (scroll-bar-mode):
17865 * server.el (server-mode):
17866 * shell.el (shell-dirtrack-mode):
17867 * simple.el (auto-fill-mode, transient-mark-mode)
17868 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
17869 (line-number-mode, column-number-mode, size-indication-mode)
17870 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
17871 * strokes.el (strokes-mode):
17872 * time.el (display-time-mode):
17873 * t-mouse.el (gpm-mouse-mode):
17874 * tool-bar.el (tool-bar-mode):
17875 * tooltip.el (tooltip-mode):
17876 * type-break.el (type-break-mode-line-message-mode)
17877 (type-break-query-mode):
17878 * view.el (view-mode):
17879 * whitespace.el (whitespace-mode, whitespace-newline-mode)
17880 (global-whitespace-mode, global-whitespace-newline-mode):
17881 * xt-mouse.el (xterm-mouse-mode): Doc fix.
17882
17883 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
17884 Fix autogenerated docstring.
17885
17886 2011-10-19 Juri Linkov <juri@jurta.org>
17887
17888 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
17889 by checking environment variables "DESKTOP_SESSION" and
17890 "XDG_CURRENT_DESKTOP". (Bug#9779)
17891
17892 2011-10-19 Juri Linkov <juri@jurta.org>
17893
17894 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
17895 (browse-url-chromium-program, browse-url-chromium-arguments):
17896 New defcustoms.
17897 (browse-url-default-browser): Check for `browse-url-chromium' and
17898 call `browse-url-chromium-program'.
17899 (browse-url-chromium): New command. (Bug#9779)
17900
17901 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
17902
17903 * facemenu.el (list-colors-duplicates): On Windows, detect more
17904 duplicates by assuming that only colors matching "^System" are
17905 special "system colors". (Bug#9722)
17906
17907 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
17908
17909 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
17910 to distinguish the author from the committer.
17911
17912 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
17913
17914 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
17915
17916 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
17917
17918 * international/mule.el (sgml-html-meta-auto-coding-function):
17919 Add support for detecting encoding in HTML5 specified only as
17920 <meta charset="UTF-8">. Implementation just makes http-equiv and
17921 content-type parts from HTML4 encoding string optional. (Bug#9716)
17922
17923 2011-10-18 Glenn Morris <rgm@gnu.org>
17924
17925 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
17926
17927 2011-10-18 Chong Yidong <cyd@gnu.org>
17928
17929 * faces.el (cursor): Doc fix.
17930
17931 2011-10-17 Chong Yidong <cyd@gnu.org>
17932
17933 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
17934
17935 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
17936
17937 * dirtrack.el (dirtrack): Support shell buffers with path
17938 prefixes, e.g. tramp-based remote shells. (Bug#9647)
17939
17940 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
17941
17942 * json.el: Bump version to 1.3 and note change in History.
17943 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
17944
17945 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17946
17947 * comint.el (comint-insert-input, comint-send-input)
17948 (comint-get-old-input-default, comint-backward-matching-input)
17949 (comint-next-prompt): Use nil instead of `input' for field property of
17950 past user input (bug#114).
17951
17952 * minibuffer.el (completion--replace): Inherit surrounding properties
17953 (bug#114).
17954 (minibuffer-complete-and-exit): Use it.
17955
17956 * comint.el (comint--table-subvert): Quote the all-completions output
17957 (bug#9160).
17958
17959 2011-10-17 Martin Rudalics <rudalics@gmx.at>
17960
17961 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
17962
17963 * menu-bar.el (menu-bar-file-menu): Add entry for making new
17964 window on right of selected. (Bug#9350) Reword other window
17965 entries and separate them from frame entries.
17966
17967 2011-10-15 Glenn Morris <rgm@gnu.org>
17968
17969 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
17970 Doc fixes.
17971
17972 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
17973
17974 * net/network-stream.el (network-stream-open-starttls):
17975 Improve detection of failure due to lack of TLS support.
17976
17977 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
17978 putting the input text in front and in bold.
17979
17980 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
17981
17982 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
17983
17984 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
17985 empty buffer.
17986
17987 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
17988 unread-command-events rather than pushing yet-another event.
17989
17990 2011-10-14 Eli Zaretskii <eliz@gnu.org>
17991
17992 * mail/sendmail.el (sendmail-query-once): Improve the wording of
17993 the explanation of the possible choices. Make the options passed
17994 to completing-read shorter.
17995
17996 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
17997
17998 * textmodes/flyspell.el (flyspell-large-region): Make sure
17999 extended character mode is used if defined (Bug#1339).
18000
18001 2011-10-13 Eli Zaretskii <eliz@gnu.org>
18002
18003 * simple.el (what-cursor-position): Fix the display of the
18004 character info for LRE, LRO, RLE, and RLO characters by appending
18005 an invisible PDF.
18006
18007 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
18008
18009 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
18010 even in case of error; add debug spec; simplify data flow.
18011 (with-timeout-handler): Remove.
18012
18013 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
18014
18015 Fix Bug#6019, Bug#9315.
18016
18017 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
18018 complete `buffer-file-name', the local file name part could look
18019 remotely (for example on VMS).
18020
18021 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
18022 `tramp-run-real-handler'.
18023 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
18024 already quoted by '"'.
18025
18026 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
18027 Let `file-name-handler-alist' be nil, the local file name part
18028 could look remotely (for example on VMS).
18029
18030 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
18031
18032 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
18033 from here...
18034 (flyspell-post-command-hook): ...to here.
18035
18036 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
18037
18038 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
18039 if not needed.
18040 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
18041 using completion. Protect against "slow" callers.
18042 Remove the "message hack".
18043
18044 2011-10-11 Juri Linkov <juri@jurta.org>
18045
18046 * isearch.el (isearch-lazy-highlight-word): New variable.
18047 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
18048 Use it. (Bug#9727)
18049
18050 2011-10-11 Glenn Morris <rgm@gnu.org>
18051
18052 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
18053 like f90-previous-statement does.
18054
18055 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18056
18057 * eshell/eshell.el (eshell-command): History should be saved
18058 only in interactive use, to avoid error.
18059
18060 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
18061
18062 * minibuffer.el (completion-file-name-table): Fix last change,
18063 i.e. ignore normal errors but not the other ones.
18064
18065 2011-10-10 Martin Rudalics <rudalics@gmx.at>
18066
18067 * window.el (special-display-buffer-names)
18068 (special-display-regexps): Remove some remnants of earlier
18069 changes from doc-strings.
18070 (quit-windows-on): New function.
18071
18072 * vc/vc.el (vc-revert, vc-rollback):
18073 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
18074 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
18075 (Bug#6183) (Bug#7074) (Bug#7447)
18076
18077 2011-10-09 Martin Rudalics <rudalics@gmx.at>
18078
18079 * window.el (frame-auto-hide-function): Add version tag.
18080 (Bug#9699)
18081
18082 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
18083
18084 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
18085 condition.
18086
18087 2011-10-09 Leo Liu <sdl.web@gmail.com>
18088
18089 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
18090 (Bug#9701)
18091
18092 2011-10-08 Glenn Morris <rgm@gnu.org>
18093
18094 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
18095 before the first code statement zero indent. (Bug#9690)
18096
18097 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
18098
18099 * simple.el (count-words-region): Always count in the region.
18100 Report the number of lines and characters too.
18101 (count-words): New command, which counts in the buffer if the
18102 region is inactive, as count-words-region used to.
18103 (count-words--message): New function. Handle plurals.
18104 (count-lines-region): Make it an alias for count-words-region.
18105
18106 * bindings.el (esc-map): Replace count-lines-region with
18107 count-words-region.
18108
18109 2011-10-08 Martin Rudalics <rudalics@gmx.at>
18110
18111 * window.el (window--delete): Delete dedicated frame
18112 unconditionally when argument KILL is non-nil. (Bug#9699)
18113 (switch-to-buffer): Fix doc-string typo.
18114
18115 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18116
18117 * eshell/eshell.el (eshell-command): Avoid using hooks.
18118
18119 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
18120
18121 * bindings.el ([M-left],[M-right]): Bind to left-word and
18122 right-word respectively.
18123
18124 2011-10-07 Glenn Morris <rgm@gnu.org>
18125
18126 * cus-start.el (debug-on-quit): Fix custom type.
18127
18128 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
18129
18130 * subr.el (define-key-after): Clarify that the function is not
18131 useful for non-menu keymaps.
18132
18133 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
18134
18135 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18136
18137 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
18138 in current minibuffer (Fix bug with recursive minibuffers).
18139
18140 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
18141
18142 * progmodes/gdb-mi.el (gdb): Doc fix.
18143
18144 2011-10-05 Martin Rudalics <rudalics@gmx.at>
18145
18146 * window.el (frame-auto-hide-function): New option replacing
18147 frame-auto-delete. Suggested by Stefan Monnier.
18148 (window--delete): Call frame-auto-hide-function instead of
18149 investigating frame-auto-delete.
18150 (window-point-1, set-window-point-1): New functions.
18151 (window-in-direction, record-window-buffer, window-state-get-1)
18152 (display-buffer-record-window): Use window-point-1 instead of
18153 window-point.
18154 (set-window-buffer-start-and-point): Use set-window-point-1.
18155
18156 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18157
18158 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
18159
18160 2011-10-05 Glenn Morris <rgm@gnu.org>
18161
18162 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
18163 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
18164
18165 2011-10-05 Leo Liu <sdl.web@gmail.com>
18166
18167 * subr.el (read-char-choice): Fix argument to buffer-live-p which
18168 works with buffer object.
18169
18170 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18171
18172 * mpc.el (mpc-tool-bar-map): Add labels.
18173
18174 2011-10-04 Glenn Morris <rgm@gnu.org>
18175
18176 * calendar/holidays.el (calendar-check-holidays): Doc fix.
18177
18178 2011-10-04 Martin Rudalics <rudalics@gmx.at>
18179
18180 * window.el (window--delete): New function.
18181 (frame-auto-delete): Resuscitate option.
18182 (bury-buffer, replace-buffer-in-windows)
18183 (quit-window): Rewrite using window--delete.
18184 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
18185 Pass display-buffer-mark-dedicated to window--display-buffer-2
18186 (Bug#9639).
18187
18188 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
18189
18190 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
18191 returns a list (bug#9554). Add remote file name completion.
18192 * comint.el (comint--table-subvert): Curry and get quote&unquote
18193 functions as arguments.
18194 (comint--complete-file-name-data): Adjust call accordingly.
18195 * pcomplete.el (pcomplete--table-subvert): Remove.
18196 (pcomplete-completions-at-point): Use comint--table-subvert instead.
18197
18198 * minibuffer.el (completion-table-case-fold): Use currying.
18199 (completion--styles-type, completion--cycling-threshold-type):
18200 New constants.
18201 (completion-styles, completion-category-overrides)
18202 (completion-cycle-threshold): Use them.
18203 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
18204 completion-table-case-fold.
18205
18206 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
18207
18208 * minibuffer.el (completion-category-overrides): Fix type of styles
18209 and add more user friendly tags (bug#9660).
18210
18211 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
18212
18213 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
18214 (mule-input-method-string): New widget.
18215 (default-input-method, language-info-custom-alist): Use it.
18216
18217 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
18218
18219 * pcomplete.el: Require comint.
18220 (pcomplete--common-suffix): Remove.
18221 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
18222 (pcomplete--table-subvert): Sync with comint--table-subvert.
18223 (pcomplete--entries): Use comint-completion-file-name-table.
18224 * comint.el (comint-unquote-filename): Simplify.
18225 (comint-completion-file-name-table): New function (bug#9616).
18226 (comint--complete-file-name-data): Use it.
18227
18228 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
18229 (pcmpl-gnu-tar-buffer): Remove.
18230 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
18231 around. Make sure pcomplete-suffix-list is only changed temporarily.
18232 Don't look inside the tar's file if it's too large.
18233
18234 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
18235
18236 * cus-edit.el (custom-mode-map):
18237 * epa.el (epa-key-list-mode-map):
18238 * man.el (Man-mode-map):
18239 * startup.el (splash-screen-keymap):
18240 * simple.el (special-mode-map): Use scroll-up-command and
18241 scroll-down-command.
18242
18243 * progmodes/idlw-help.el (idlwave-help-mode-map):
18244 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
18245 * net/newst-plainview.el (newsticker-mode-map):
18246 * emulation/ws-mode.el (wordstar-mode-map):
18247 * emulation/vi.el (vi-com-map):
18248 * calc/calc-graph.el (calc-graph-show-dumb):
18249 * term/sun.el (terminal-init-sun):
18250 * term/ns-win.el (global-map):
18251 * progmodes/grep.el (grep-mode-map):
18252 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
18253 * mail/rmail.el (rmail-mode-map):
18254 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
18255
18256 * custom.el (custom-safe-themes, load-theme): Treat value of t for
18257 custom-safe-themes as special.
18258
18259 2011-10-01 Julien Danjou <julien@danjou.info>
18260
18261 * notifications.el (notifications-notify): Fix docstring.
18262
18263 2011-10-01 Per Starbäck <per@starback.se>
18264
18265 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
18266
18267 2011-09-30 Martin Rudalics <rudalics@gmx.at>
18268
18269 * startup.el (command-line-1): Fix last fix by inserting
18270 initial-scratch-message into *scratch* before displaying it.
18271 (Bug#9605) and (Bug#9636)
18272
18273 2011-09-29 Eli Zaretskii <eliz@gnu.org>
18274
18275 * simple.el (line-move): If auto-hscroll-mode is disabled and the
18276 window is hscrolled, move by logical lines. (Bug#9607)
18277 (line-move-visual): Update the doc string to the above effect.
18278
18279 2011-09-29 Martin Rudalics <rudalics@gmx.at>
18280
18281 * window.el (display-buffer-record-window): When WINDOW is the
18282 selected window use `point' instead of `window-point'. (Bug#9626)
18283
18284 * startup.el (command-line-1): Use insert-before-markers when
18285 inserting initial-scratch-message. (Bug#9605)
18286
18287 * help.el (help-window): Remove variable.
18288
18289 2011-09-29 Glenn Morris <rgm@gnu.org>
18290
18291 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
18292
18293 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
18294
18295 * descr-text.el (describe-char-categories): Accept category
18296 descriptions more than one line long.
18297
18298 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
18299
18300 * simple.el (delete-trailing-whitespace): Fix last change.
18301
18302 * progmodes/perl-mode.el (perl-syntax-propertize-function):
18303 Don't confuse "y => 3" as the beginning of a `y' operation.
18304
18305 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
18306 object has more than 4 slots (bug#9613).
18307
18308 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
18309
18310 * subr.el (with-output-to-temp-buffer):
18311 * net/quickurl.el (quickurl, quickurl-browse-url):
18312 Fix typos in docstrings.
18313
18314 2011-09-27 Eli Zaretskii <eliz@gnu.org>
18315
18316 * minibuffer.el (completion-styles)
18317 (completion-category-overrides): Cross reference each other in doc
18318 strings.
18319
18320 2011-09-27 Glenn Morris <rgm@gnu.org>
18321
18322 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
18323 to split-string. (Bug#9606)
18324
18325 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
18326
18327 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
18328 (bug#9615).
18329
18330 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
18331
18332 * emacs-lisp/package.el (list-packages): Fix echo area message.
18333
18334 2011-09-27 Leo Liu <sdl.web@gmail.com>
18335
18336 * ido.el (ido-read-internal): Accept cons cell HIST arg.
18337
18338 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
18339
18340 * net/dbus.el (dbus-unregister-object): Don't release services for
18341 registered signals. (Bug#9581)
18342
18343 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
18344
18345 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
18346 function that picks between cfengine 2 and 3 support
18347 automatically. Update docs accordingly.
18348
18349 2011-09-22 Kenichi Handa <handa@m17n.org>
18350
18351 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
18352 ZERO.
18353 (indian-itrans-v5-table-for-tamil): New variable.
18354 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
18355
18356 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
18357
18358 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
18359 that's true if the current command involved collapsing of text.
18360 It's reset to false at the beginning of the next command.
18361 (allout-post-command-business): Move the cursor to the beginning
18362 of entry if the cursor is hidden and collapsing activity just
18363 happened.
18364
18365 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
18366
18367 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
18368 tracking (Bug#9541).
18369
18370 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
18371
18372 * net/newst-reader.el (newsticker-html-renderer)
18373 (newsticker-show-news): Automatically load html rendering package
18374 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
18375 because w3m-fill-column is let-bound" and the error "Symbol's value
18376 as variable is void: w3m-fill-column".
18377
18378 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
18379
18380 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
18381 Release services only if they are defined. (Bug#9581)
18382
18383 2011-09-23 Richard Stallman <rms@gnu.org>
18384
18385 * textmodes/paragraphs.el (forward-sentence): For backwards case,
18386 distinguish start of paragraph from start of its text.
18387
18388 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
18389
18390 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
18391 (rmail-generate-viewer-buffer): Put that hook on view buffer.
18392 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
18393
18394 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
18395
18396 * international/mule-diag.el (mule-diag): Insert a newline after
18397 each fontset description.
18398
18399 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18400
18401 * simple.el (delete-trailing-whitespace):
18402 Document last change; simplify.
18403
18404 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
18405
18406 * simple.el (delete-trailing-whitespace): Also delete
18407 extra newlines at the end of the buffer.
18408
18409 * textmodes/picture.el: Make motion commands obey shift-select-mode.
18410 (picture-newline): Use forward-line so as to ignore fields.
18411
18412 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18413
18414 * subr.el (with-wrapper-hook): Fix edebug spec.
18415
18416 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
18417
18418 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
18419 (bug#4538).
18420
18421 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
18422
18423 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
18424 Fix nasty bug using wrong cached values.
18425
18426 2011-09-23 Alan Mackenzie <acm@muc.de>
18427
18428 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
18429
18430 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
18431
18432 * window.el (pop-to-buffer): Ensure right window is selected if we
18433 chose another frame.
18434
18435 2011-09-22 Eli Zaretskii <eliz@gnu.org>
18436
18437 * simple.el (what-cursor-position): Use get-char-property-change
18438 and next-single-char-property-change, to be able to show display
18439 properties that come from overlays as well as text properties.
18440
18441 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
18442
18443 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
18444
18445 * cmuscheme.el (run-scheme, switch-to-scheme):
18446 * cus-edit.el (customize-group, custom-buffer-create)
18447 (customize-browse):
18448 * info.el (info):
18449 * shell.el (shell):
18450 * mail/sendmail.el (mail):
18451 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
18452
18453 2011-09-22 Richard Stallman <rms@gnu.org>
18454
18455 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
18456 move back only to line beg, don't move back over blank lines.
18457
18458 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
18459
18460 * files.el (copy-directory): Set directory attributes only in case
18461 they could be retrieved from the source directory. (Bug#9565)
18462
18463 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
18464
18465 * progmodes/hideshow.el (hs-looking-at-block-start-p)
18466 (hs-find-block-beginning, hs-hide-level-recursive):
18467 Ignore strings as well as comments. (Bug#9502)
18468
18469 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
18470
18471 * progmodes/sql.el (sql-comint-postgres):
18472 Convert port number to a string. (Bug#9566)
18473
18474 2011-09-22 Martin Rudalics <rudalics@gmx.at>
18475
18476 * window.el (quit-window): Undedicate window when switching to
18477 previous buffer. Reported by Thierry Volpiatto
18478 <thierry.volpiatto@gmail.com>.
18479 (special-display-popup-frame): When popping up a new frame reset
18480 its previous buffers to nil. Simplify code.
18481
18482 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
18483
18484 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
18485 and process filter, as done also in `shell-command'.
18486
18487 2011-09-21 Martin Rudalics <rudalics@gmx.at>
18488
18489 * window.el (set-window-buffer-start-and-point):
18490 Call set-window-start with NOFORCE argument t.
18491 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
18492 (quit-window): Reword doc-string. Handle new format of
18493 quit-restore parameter. Don't delete window if it has a
18494 previous buffer we can show instead of the present one.
18495 (display-buffer-record-window): Rewrite using a new format for
18496 the quit-restore window parameter
18497 (special-display-popup-frame, display-buffer-same-window)
18498 (display-buffer-reuse-window, display-buffer-pop-up-frame)
18499 (display-buffer-pop-up-window, display-buffer-use-some-window):
18500 Adapt symbol passed to display-buffer-record-window.
18501 * help.el (help-window-setup): Handle new format of quit-restore
18502 parameter.
18503
18504 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
18505
18506 * faces.el (face-list): Fix docstring (bug#9564).
18507
18508 * window.el (display-buffer--action-function-custom-type):
18509 Don't include internal functions in the Custom interface.
18510
18511 2011-09-20 Juri Linkov <juri@jurta.org>
18512
18513 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
18514 (Info-forward-node, Info-backward-node, Info-next-preorder)
18515 (Info-last-preorder): Use it. (Bug#9528)
18516
18517 2011-09-20 Juri Linkov <juri@jurta.org>
18518
18519 * info.el (Info-last-preorder): Visit last menu item only when
18520 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
18521
18522 2011-09-20 Julien Danjou <julien@danjou.info>
18523
18524 * password-cache.el (password-cache-remove): Remove entries even if the
18525 value is nil, so that password with a nil value (negative caching) is
18526 possible to invalidate.
18527
18528 2011-09-20 Lawrence Mitchell <wence@gmx.li>
18529
18530 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
18531 all whitespace around breakpoint. (Bug#9553)
18532 (f90-find-breakpoint): Only break at whitespace inside a comment.
18533
18534 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
18535
18536 * minibuffer.el (completion-file-name-table): Keep track of errors.
18537 (completion-table-with-predicate): Handle the case where pred1 is nil.
18538 * pcomplete.el (pcomplete-completions-at-point): Simplify.
18539
18540 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
18541
18542 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
18543 (debugger-return-value): Signal an error if the debugging context does
18544 not await any return value.
18545
18546 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
18547 * image-mode.el (image-toggle-display-text)
18548 (image-toggle-display-image): Stay away from evil `intangible'.
18549
18550 2011-09-19 Leo Liu <sdl.web@gmail.com>
18551
18552 * replace.el (occur-revert-arguments): Make it permanent-local.
18553 (occur-mode): Don't call font-lock-defontify.
18554
18555 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
18556
18557 * net/ldap.el (ldap-search-internal): Don't push empty search
18558 result (Bug#9508).
18559
18560 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
18561
18562 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
18563
18564 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
18565
18566 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
18567 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
18568
18569 2011-09-18 Juri Linkov <juri@jurta.org>
18570
18571 * buff-menu.el (Buffer-menu-mode-map):
18572 * dired.el (dired-mode-map):
18573 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
18574 (lisp-interaction-mode-map):
18575 * emacs-lisp/package.el (package-menu-mode-map):
18576 * epa.el (epa-key-list-mode-map):
18577 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
18578 (menu-bar-options-menu):
18579 * outline.el (outline-mode-menu-bar-map):
18580 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
18581 * vc/vc-dir.el (vc-dir-menu-map):
18582 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
18583 Capitalize non-function content words in menu item strings.
18584
18585 * dired.el (dired-mode-map): Add menu item for
18586 `image-dired-dired-toggle-marked-thumbs'.
18587
18588 2011-09-18 Juri Linkov <juri@jurta.org>
18589
18590 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
18591 to `isearch-case-fold-search' and restore its original value
18592 after the `isearch-mode' call.
18593
18594 2011-09-18 Juri Linkov <juri@jurta.org>
18595
18596 * progmodes/grep.el (grep-process-setup): Don't check code for 1
18597 because `zgrep' returns 1 for successful matches (bug#9226).
18598
18599 2011-09-18 Juri Linkov <juri@jurta.org>
18600
18601 * info.el (Info-extract-menu-node-name): Check the second match
18602 for empty string (second test-case of bug#9528).
18603 (Info-last-preorder): Let-bind `Info-history' to nil to not add
18604 intermediate nodes to the history (first test-case of bug#9528).
18605
18606 2011-09-18 Juri Linkov <juri@jurta.org>
18607
18608 * info.el (Info-mode-syntax-table): New variable.
18609 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
18610
18611 2011-09-18 Juri Linkov <juri@jurta.org>
18612
18613 * info.el (Info-file-supports-index-cookies):
18614 Increment line-beginning-position's arg from 3 to 4 because makeinfo
18615 outputs one more line for long file names (bug#4142).
18616
18617 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
18618
18619 * newcomment.el (comment-normalize-vars): If prompting for
18620 comment-start, set comment-start-skip too (Bug#8424).
18621
18622 2011-09-18 Johan Bockgård <bojohan@gnu.org>
18623
18624 * icomplete.el: Fix previous fix of Bug#5849.
18625 (icomplete-mode): Don't set completion-show-inline-help.
18626 (icomplete-minibuffer-setup): Set completion-show-inline-help
18627 locally during icompletion.
18628
18629 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
18630
18631 * woman.el (woman2-process-escapes): Don't delete unrecognized
18632 escapes (Bug#7843).
18633
18634 * files.el (inhibit-first-line-modes-regexps): Add image files.
18635 (hack-local-variables-prop-line): Return nil for malformed
18636 prop-lines (Bug#9044).
18637
18638 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
18639
18640 * net/tramp.el (top): Don't require 'shell.
18641 (tramp-methods): Fix docstring.
18642 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
18643 Return complete remote file name. Handle "smb" case.
18644 Use `tramp-tmpdir', if defined for the respective method.
18645 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
18646
18647 * net/tramp-compat.el (top): Require 'shell.
18648
18649 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
18650 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
18651 `tramp-current-host'.
18652 (tramp-get-remote-tmpdir): Remove.
18653
18654 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
18655 `tramp-tmpdir' entries.
18656 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
18657 (tramp-smb-handle-file-attributes): Ignore errors.
18658 (tramp-smb-wait-for-output): Check also for process end.
18659
18660 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
18661
18662 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
18663 when sending QUIT (bug#9312).
18664
18665 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
18666
18667 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
18668 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
18669 occur-mode-display-occurrence.
18670 (occur-edit-mode): Add usage message.
18671 (occur-cease-edit): New command.
18672 (occur-after-change-function): Use text properties to find the
18673 position of the prefix text.
18674 (occur-engine): Set stickiness of prefix text properties.
18675
18676 2011-09-17 Glenn Morris <rgm@gnu.org>
18677
18678 * progmodes/etags.el (complete-tag):
18679 Fix call to completion-in-region. (Bug#9526)
18680
18681 2011-09-17 Juri Linkov <juri@jurta.org>
18682
18683 * textmodes/ispell.el (ispell-word): Add to the error message
18684 the word, ispell program name and current dictionary (bug#9121).
18685 (ispell-tex-arg-end): Capitalize "error" in the error message.
18686
18687 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
18688
18689 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
18690 check. (Bug#4251)
18691
18692 2011-09-17 Juri Linkov <juri@jurta.org>
18693
18694 * window.el (window-safe-min-height, window-safe-min-width):
18695 Fix typos (followup to bug#9522).
18696
18697 2011-09-17 Sven Joachim <svenjoac@gmx.de>
18698
18699 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
18700
18701 2011-09-16 Eli Zaretskii <eliz@gnu.org>
18702
18703 * simple.el (line-move): If goal-column is set, move by logical
18704 lines, not by display lines. (Bug#971)
18705 (next-line, previous-line, goal-column, line-move-visual): Doc fix
18706 to reflect the above change.
18707
18708 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
18709
18710 * image.el (imagemagick-register-types): Use regexp-opt.
18711
18712 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
18713
18714 * window.el (display-buffer-base-action): Rename from
18715 display-buffer-default-action. Make default value empty.
18716 (display-buffer-overriding-action): Convert to defvar.
18717 (display-buffer-fallback-action): New var.
18718
18719 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
18720
18721 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
18722 declaration.
18723 (package--add-to-archive-contents): If there is a duplicate entry
18724 with an older version, remove it.
18725 (package-menu-mark-delete, package-menu-mark-install)
18726 (package-menu-mark-unmark): Make unused args optional.
18727 (package-menu-mark-obsolete-for-deletion):
18728 Use package-menu-get-status instead of a regexp search.
18729 (package-menu-get-status): Use tabulated-list-entry.
18730 (package-menu-mark-upgrades): New command.
18731 (package-menu-mode-map): Bind it to U. Add it to menu bar.
18732 (package-menu-execute): Do installation before deletion.
18733 (package-menu-refresh, package-menu-execute): Use derived-mode-p
18734 instead of checking major-mode.
18735 (package-menu--find-upgrades): New function.
18736
18737 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
18738
18739 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
18740 passwords in the log buffer.
18741 (smtpmail-process-filter): Update the process marker so that the
18742 "broken by peer" status message is inserted in the right place.
18743
18744 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
18745
18746 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
18747 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
18748 bibtex-completion-at-point-function.
18749 (bibtex-completion-at-point-function): Use them.
18750
18751 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
18752
18753 * mpc.el (mpc-constraints-tag-lookup): New function.
18754 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
18755 also to browser "album|playlist".
18756
18757 2011-09-14 Juri Linkov <juri@jurta.org>
18758
18759 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
18760 (isearch-edit-string): Use length of `isearch-string' when
18761 `isearch-fail-pos' returns nil.
18762 (isearch-message): Remove duplicate code and call
18763 `isearch-fail-pos' with arg `t'.
18764
18765 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
18766
18767 * replace.el (occur-mode-goto-occurrence): Don't force using other
18768 window (Bug#9499).
18769
18770 * dired-aux.el (dired-do-chmod): Don't provide initial input.
18771
18772 2011-09-14 Martin Rudalics <rudalics@gmx.at>
18773
18774 * window.el (display-buffer-window): Remove.
18775 (display-buffer-record-window): Use help-setup window parameter
18776 instead of variable display-buffer-window.
18777 (display-buffer-function, special-display-buffer-names)
18778 (special-display-function): Mention help-setup parameter instead
18779 of display-buffer-window in doc-string.
18780 * help.el (help-window-setup): New argument help-window.
18781 Use help-window-setup parameter instead of display-buffer-window.
18782 Reword some messages.
18783 (with-help-window): Pass window used for displaying the buffer
18784 to help-window-setup. Don't set display-buffer-window.
18785
18786 2011-09-13 Glenn Morris <rgm@gnu.org>
18787
18788 * emacs-lisp/debug.el (debugger-make-xrefs):
18789 Preserve point. (Bug#9462)
18790
18791 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
18792
18793 * window.el (window-deletable-p): Use next-frame.
18794
18795 2011-09-13 Martin Rudalics <rudalics@gmx.at>
18796
18797 * window.el (window-auto-delete): Remove.
18798 (window-deletable-p): Remove argument FORCE. Don't deal with
18799 dedication and previous buffers.
18800 (switch-to-prev-buffer): Don't delete window.
18801 (delete-windows-on): Delete a window's frame if and only if the
18802 window is dedicated.
18803 (replace-buffer-in-windows): Delete buffer's window or frame if
18804 and only if window is dedicated.
18805 (quit-window): Handle quit-restore as before last change.
18806 (bury-buffer): Delete window only if window-deletable-p returns t.
18807
18808 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
18809
18810 * window.el (window-deletable-p): Never delete the last frame on a
18811 given terminal.
18812
18813 2011-09-13 Glenn Morris <rgm@gnu.org>
18814
18815 * help.el (describe-key-briefly): Copy previous standard-output change.
18816
18817 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
18818
18819 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
18820
18821 2011-09-13 Glenn Morris <rgm@gnu.org>
18822
18823 * emacs-lisp/lisp-mode.el (lisp-indent-function):
18824 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
18825
18826 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
18827
18828 * dired-aux.el (dired-mark-read-string): Don't return default
18829 value on empty input (Bug#9361).
18830 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
18831 Omit initial minibuffer contents.
18832 (dired-do-chmod): Signal an error on empty input.
18833 (dired-mark-read-string): Don't return default on empty input.
18834
18835 * files.el (file-modes-symbolic-to-number): Doc fix.
18836
18837 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18838
18839 * international/mule-cmds.el (ucs-completions): Remove.
18840 (read-char-by-name): Use complete-with-action instead; add metadata.
18841
18842 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
18843
18844 * window.el (display-buffer--action-function-custom-type)
18845 (display-buffer--action-custom-type): New vars.
18846 (display-buffer-alist, display-buffer-default-action)
18847 (display-buffer-overriding-action): Add defcustom types.
18848
18849 * frame.el (delete-other-frames): Doc fix (Bug#276).
18850
18851 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18852
18853 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
18854
18855 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
18856
18857 Change modes that used same-window-* vars to use switch-to-buffer.
18858
18859 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
18860 Use switch-to-buffer.
18861
18862 * cus-edit.el (customize-group, custom-buffer-create)
18863 (customize-browse, custom-buffer-create-other-window):
18864 Use switch-to-buffer or switch-to-buffer-other-window.
18865
18866 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
18867 (Info-prev, Info-up, Info-speedbar-goto-node)
18868 (info-display-manual): Use switch-to-buffer.
18869 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
18870
18871 * mail/sendmail.el (mail): Use switch-to-buffer.
18872 (mail-recover): Use switch-to-buffer-other-window.
18873
18874 * cmuscheme.el (run-scheme, switch-to-scheme):
18875 * ielm.el (ielm):
18876 * shell.el (shell):
18877 * net/rlogin.el (rlogin):
18878 * net/telnet.el (telnet, rsh):
18879 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
18880
18881 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
18882
18883 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
18884
18885 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18886
18887 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
18888 so don't mention it (bug#9301).
18889 (dired-sort-toggle-or-edit): Clarify string further.
18890
18891 * faces.el (face-spec-set-match-display): Make `(type graphic)'
18892 match `x', `w32' and `ns', like the manual says (bug#9029).
18893
18894 * subr.el (eval-after-load): Doc string clarification (bug#9125).
18895 (process-kill-buffer-query-function): Mention the buffer name in
18896 the query.
18897
18898 * image-mode.el (image-next-line): The line parameter is mandatory
18899 (bug#9258).
18900
18901 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
18902 which can be useful (bug#9301).
18903
18904 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
18905
18906 * subr.el (match-string): Mention that the current buffer should
18907 be the same as the search was done in (bug#9282).
18908
18909 * facemenu.el: Disable the remove-* commands if the mark isn't
18910 active (bug#9162).
18911
18912 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
18913
18914 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
18915 of display-buffer.
18916 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
18917
18918 * replace.el (occur-mode-goto-occurrence)
18919 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
18920 and display-buffer.
18921
18922 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
18923 display-buffer.
18924
18925 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
18926 special-display and same-window variables.
18927 (mail-other-window): Use switch-to-buffer-other-window.
18928 (mail-other-frame): USe switch-to-buffer-other-frame.
18929
18930 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
18931 Use display-buffer-other-frame.
18932 (gdb-display-gdb-buffer): Use pop-to-buffer.
18933
18934 * progmodes/gud.el (gud-goto-info): Use info-other-window.
18935
18936 * progmodes/python.el: Don't set same-window-buffer-names.
18937
18938 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
18939
18940 * window.el (display-buffer-alist): Add *Python*.
18941
18942 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
18943
18944 * window.el (display-buffer-alist): Add entry for buffers
18945 previously handled same-window-*.
18946 (display-buffer-alist, display-buffer-default-action)
18947 (display-buffer-overriding-action): Mark as risky.
18948 (display-buffer-alist): Document action function changes.
18949 (display-buffer--same-window-action)
18950 (display-buffer--other-frame-action): New variables.
18951 (switch-to-buffer, display-buffer-other-frame): Use them.
18952 (display-buffer): Rename reuse-frame entry to reusable-frames.
18953 (display-buffer-reuse-selected-window): Function deleted.
18954 (display-buffer-reuse-window): Handle reusable-frames alist entry.
18955 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
18956 (display-buffer-special): New function.
18957 (display-buffer--maybe-pop-up-frame-or-window): Rename from
18958 display-buffer-reuse-or-pop-window. Split off special-display
18959 part into display-buffer-special.
18960 (display-buffer-use-some-window): Don't perform any special
18961 pop-up-frames handling.
18962 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
18963 (display-buffer--maybe-same-window): Rename from
18964 display-buffer-maybe-same-window.
18965
18966 * info.el: Don't set same-window-regexps.
18967 (info-setup): New function.
18968 (info-other-window, info): Call it.
18969
18970 * cus-edit.el: Don't set same-window-regexps.
18971 (customize-group): New argument.
18972 (customize-group-other-window): Use it.
18973 (customize-face, customize-face-other-window): Likewise.
18974 (custom-buffer-create-other-window): Use pop-to-buffer directly.
18975
18976 * net/rlogin.el:
18977 * net/telnet.el:
18978 * progmodes/gud.el: Don't set same-window-regexps.
18979
18980 * cmuscheme.el:
18981 * ielm.el:
18982 * shell.el:
18983 * mail/sendmail.el:
18984 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
18985
18986 2011-09-10 Juri Linkov <juri@jurta.org>
18987
18988 * isearch.el (isearch-edit-string): Remove obsolete mention of
18989 `C-w' (`isearch-yank-word-or-char') from docstring.
18990 (isearch-query-replace): Fix typo in docstring (bug#9466).
18991
18992 2011-09-10 Juri Linkov <juri@jurta.org>
18993
18994 * paren.el (show-paren-function): Don't show escaped parens.
18995 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
18996
18997 2011-09-10 Eli Zaretskii <eliz@gnu.org>
18998
18999 * mail/sendmail.el (mml-to-mime, mml-attach-file)
19000 (mm-default-file-encoding): Remove autoload forms, they are
19001 replaced with autoload cookies in mml.el and mm-encode.el.
19002 (mail-add-attachment): New command.
19003 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
19004 (mail-mode): Mention mail-insert-file and mail-add-attachment in
19005 the doc string.
19006 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
19007
19008 2011-09-10 Reuben Thomas <rrt@sc3d.org>
19009
19010 * simple.el (count-words-region): Use buffer if there's no region
19011 (bug#9429).
19012
19013 2011-09-09 Juri Linkov <juri@jurta.org>
19014
19015 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
19016 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
19017 (wdired-isearch-filter-read-only): New function. (Bug#6362)
19018
19019 2011-09-09 Alan Mackenzie <acm@muc.de>
19020
19021 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
19022 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
19023
19024 2011-09-09 Eli Zaretskii <eliz@gnu.org>
19025
19026 Fix for Savannah bug#9392.
19027 * simple.el (mail-encode-mml): New defvar.
19028
19029 * mail/rmail.el (mail-encode-mml): Add a defvar.
19030 (rmail-enable-mime-composing): Default to t.
19031 (rmail-forward): Use MIME method of forwarding only if both
19032 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
19033 Set mail-encode-mml non-nil if the MIME method was used.
19034
19035 * mail/sendmail.el (mml-to-mime): Add autoload form.
19036 (mail-encode-mml): Add a defvar.
19037 (mail-mode): Make mail-encode-mml buffer-local and initialize it
19038 to nil.
19039 (mail-send): If mail-encode-mml is non-nil, run the outgoing
19040 message through mml-to-mime, and reset mail-encode-mml to nil.
19041
19042 2011-09-09 Glenn Morris <rgm@gnu.org>
19043
19044 * woman.el (woman-if-body): When processing an .el block,
19045 do not delete the next .el block as well. (Bug#9447)
19046 (woman-special-characters): Add oq, cq, and hy characters.
19047
19048 2011-09-08 Martin Rudalics <rudalics@gmx.at>
19049
19050 * window.el (window-deletable-p): Make sure window is live before
19051 invoking window-prev-buffers.
19052
19053 2011-09-08 Leo Liu <sdl.web@gmail.com>
19054
19055 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
19056
19057 2011-09-08 Juri Linkov <juri@jurta.org>
19058
19059 * progmodes/compile.el (compilation-environment): Make it
19060 a defcustom (bug#8340).
19061
19062 2011-09-08 Martin Rudalics <rudalics@gmx.at>
19063
19064 * window.el (frame-auto-delete): Rename to window-auto-delete.
19065 Make it control auto-deletion of windows and/or frames.
19066 (window-deletable-p): New argument FORCE. Rewrite conditions
19067 for deleting window/frame. (Bug#9419)
19068 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
19069 Rewrite handling of case when window/frame can be deleted.
19070 (delete-windows-on): Call window-deletable-p with new FORCE
19071 argument t. (Bug#9456)
19072
19073 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
19074
19075 * help-mode.el (help-mode): Restore autoload.
19076
19077 2011-09-07 Juri Linkov <juri@jurta.org>
19078
19079 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
19080 `compilation-environment'. Set buffer-local
19081 `compilation-environment' to `thisenv' later after (funcall mode).
19082 (Bug#8340)
19083
19084 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
19085 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
19086 instead of replacing its value. (Bug#8340)
19087
19088 2011-09-07 Juri Linkov <juri@jurta.org>
19089
19090 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
19091 based on text properties put by `grep-filter' instead of matching
19092 escape sequences.
19093 (grep-mode): Set buffer-local `compilation-error-screen-columns'
19094 to the value of `grep-error-screen-columns' (bug#9438).
19095
19096 2011-09-07 Juri Linkov <juri@jurta.org>
19097
19098 * simple.el (next-error-highlight, next-error-highlight-no-select):
19099 Doc fix (bug#9432).
19100
19101 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
19102
19103 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
19104 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
19105
19106 2011-09-07 Leo Liu <sdl.web@gmail.com>
19107
19108 * net/rcirc.el (rcirc-mode): Conditionally initialize
19109 rcirc-input-ring.
19110
19111 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
19112
19113 * emacs-lisp/find-func.el (find-function-C-source): Only set
19114 find-function-C-source-directory after checking that we found a source
19115 file there (bug#9440).
19116
19117 2011-09-06 Alan Mackenzie <acm@muc.de>
19118
19119 * isearch.el (isearch-other-meta-char): Wherever a key list is
19120 unread, "unread" the prefix arg, too. This fixes bug #8901.
19121
19122 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
19123
19124 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
19125
19126 2011-09-05 Juri Linkov <juri@jurta.org>
19127
19128 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
19129
19130 2011-09-05 Juri Linkov <juri@jurta.org>
19131
19132 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
19133 keeping point where processing of grep matches begins, and
19134 continue to delete remaining escape sequences from the same point.
19135 (grep-filter): Make leading zero optional in "0?1;31m" because
19136 git-grep emits "\033[1;31m" escape sequences unlike expected
19137 "\033[01;31m" as GNU Grep does (bug#9408).
19138 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
19139
19140 2011-09-05 Juri Linkov <juri@jurta.org>
19141
19142 * subr.el (y-or-n-p): Capitalize "yes".
19143
19144 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
19145
19146 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
19147 `tramp-cache-unload-hook' where appropriate.
19148 (tramp-methods): Rename `tramp-remote-sh' to
19149 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
19150 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
19151
19152 * net/tramp-sh.el (top): Don't require 'shell.
19153 (tramp-methods): Add `tramp-remote-shell' and
19154 `tramp-remote-shell-args' entries.
19155 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
19156 (tramp-sh-handle-shell-command): Remove.
19157 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
19158 Use `tramp-remote-shell'.
19159
19160 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
19161
19162 * mail/sendmail.el (sendmail-query-once-function): Delete.
19163 (sendmail-query-once): Save directly to send-mail-function.
19164 Update message-send-mail-function too.
19165
19166 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
19167
19168 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
19169
19170 * progmodes/python.el (python-mode-map): Use correct function to
19171 start python interpreter from menu-bar (as reported by Geert
19172 Kloosterman).
19173 (inferior-python-mode-map): Fix typo.
19174 (python-shell-map): Remove.
19175
19176 2011-09-03 Deniz Dogan <deniz@dogan.se>
19177
19178 * net/rcirc.el (rcirc-print): Simplify code for
19179 rcirc-scroll-show-maximum-output. There is no need to walk
19180 through all windows to find the right one.
19181
19182 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
19183
19184 * help.el (help-return-method): Doc fix.
19185
19186 2011-09-03 Martin Rudalics <rudalics@gmx.at>
19187
19188 * window.el (window-deletable-p): Don't return a non-nil value
19189 when there's a buffer that was shown in the window before.
19190 (Bug#9419)
19191 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
19192 Set window's previous buffers to nil.
19193
19194 2011-09-03 Eli Zaretskii <eliz@gnu.org>
19195
19196 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
19197 newline before and after the tag line, so it doesn't interfere
19198 with determining the paragraph direction of bidirectional text.
19199
19200 2011-09-03 Leo Liu <sdl.web@gmail.com>
19201
19202 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
19203
19204 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
19205
19206 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
19207 (pop-to-buffer): Change interactive spec. Pass second argument
19208 directly to display-buffer.
19209 (display-buffer): Fix interactive spec. Use functionp to
19210 distinguish between a function and a list of functions.
19211
19212 * abbrev.el (edit-abbrevs):
19213 * arc-mode.el (archive-extract):
19214 * autoinsert.el (auto-insert):
19215 * bookmark.el (bookmark-bmenu-list):
19216 * files.el (find-file):
19217 * view.el (view-buffer):
19218 * progmodes/compile.el (compilation-goto-locus):
19219 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
19220
19221 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
19222
19223 * window.el (display-buffer-alist): Doc fix.
19224 (display-buffer): Add docstring. Don't treat
19225 display-buffer-default specially.
19226 (display-buffer-reuse-selected-window)
19227 (display-buffer-same-window, display-buffer-maybe-same-window)
19228 (display-buffer-reuse-window, display-buffer-pop-up-frame)
19229 (display-buffer-pop-up-window)
19230 (display-buffer-reuse-or-pop-window)
19231 (display-buffer-use-some-window): New functions.
19232 (display-buffer-default-action): Use them.
19233 (display-buffer-default): Delete.
19234 (pop-to-buffer-1): Fix choice of actions.
19235
19236 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
19237
19238 * minibuffer.el (completion--insert-strings): Don't get confused by
19239 completion entries that end with an LF char.
19240
19241 2011-09-01 Eli Zaretskii <eliz@gnu.org>
19242
19243 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
19244
19245 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
19246
19247 * window.el (display-buffer): Restore interactive spec.
19248 (display-buffer-same-window, display-buffer-other-window):
19249 New functions.
19250 (pop-to-buffer-1): New function. Use the above.
19251 (pop-to-buffer, pop-to-buffer-same-window): Use it.
19252 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
19253
19254 * view.el (view-buffer-other-window, view-buffer-other-frame):
19255 Just use pop-to-buffer.
19256
19257 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19258
19259 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
19260
19261 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
19262
19263 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
19264
19265 2011-08-31 Richard Stallman <rms@gnu.org>
19266
19267 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
19268 of the separation of rmail-view-buffer from rmail-buffer.
19269 If you say no to "replace original", the decrypt is in the
19270 view buffer. If you say yes, the decrypt goes into the
19271 rmail buffer also.
19272
19273 2011-08-31 Martin Rudalics <rudalics@gmx.at>
19274
19275 * window.el (display-buffer-window): Rewrite doc-string.
19276 (display-buffer-record-window): New function.
19277 (display-buffer-macro-specifiers)
19278 (display-buffer-even-window-sizes, display-buffer-set-height)
19279 (display-buffer-set-width, display-buffer-in-window)
19280 (display-buffer-reuse-window, display-buffer-split-specifiers)
19281 (display-buffer-side-specifiers, display-buffer-split-window-1)
19282 (display-buffer-split-window, display-buffer-split-atom-window)
19283 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
19284 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
19285 (display-buffer-other-window-means-other-frame)
19286 (display-buffer-normalize-special)
19287 (display-buffer-normalize-default)
19288 (display-buffer-normalize-argument)
19289 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
19290 (display-buffer-normalize-specifiers, display-buffer-frame)
19291 (display-buffer-same-window, display-buffer-same-frame)
19292 (display-buffer-other-window)
19293 (display-buffer-same-frame-other-window)
19294 (display-buffer-other-frame, pop-to-buffer-same-window)
19295 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
19296 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
19297 (switch-to-buffer-same-frame)
19298 (switch-to-buffer-other-window-same-frame)
19299 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
19300 (display-buffer-alist-set-1, display-buffer-alist-set-2)
19301 (display-buffer-alist-set): Remove.
19302 (display-buffer-function, special-display-buffer-names)
19303 (special-display-regexps, special-display-function):
19304 In doc-string refer to display-buffer-window and quit-restore
19305 parameter.
19306 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
19307 (special-display-frame-alist, special-display-popup-frame)
19308 (same-window-buffer-names, same-window-regexps, same-window-p)
19309 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
19310 (split-window-preferred-function, split-height-threshold)
19311 (split-width-threshold, window-splittable-p)
19312 (split-window-sensibly, window--try-to-split-window)
19313 (window--frame-usable-p, even-window-heights)
19314 (window--even-window-heights, window--display-buffer-1)
19315 (window--display-buffer-2, display-buffer-other-frame):
19316 Restore old Emacs 23 code, order and doc-strings where applicable.
19317 (display-buffer-default, display-buffer-assq-regexp): New functions.
19318 (display-buffer-alist): Rewrite doc-string.
19319 (display-buffer-default-action)
19320 (display-buffer-overriding-action): New variables.
19321 (display-buffer, switch-to-buffer): Rewrite.
19322 (pop-to-buffer): Restore Emacs 23 behavior but use
19323 window-normalize-buffer-to-display.
19324 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
19325 Restore Emacs 23 behavior but use
19326 window-normalize-buffer-to-switch-to.
19327 (pop-to-buffer-same-window): Rewrite.
19328 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
19329 Rewrite using Emacs 23 options.
19330
19331 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
19332
19333 * net/tramp.el (tramp-root-regexp): Remove.
19334 (tramp-completion-file-name-regexp-unified)
19335 (tramp-completion-file-name-regexp-separate)
19336 (tramp-completion-file-name-regexp-url): Don't use leading volume
19337 letter on w32 systems. (Bug#5303, Bug#9311)
19338 (tramp-drop-volume-letter): Simplify definition.
19339 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
19340
19341 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
19342
19343 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
19344 (bug#9356).
19345
19346 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
19347
19348 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
19349
19350 2011-08-29 Juri Linkov <juri@jurta.org>
19351
19352 * isearch.el (isearch-done): Don't display message "Mark saved"
19353 when arg `edit' is non-nil to prevent its flicker in the echo area.
19354
19355 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
19356
19357 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
19358 obsolete packages for deletion.
19359
19360 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
19361
19362 * help-mode.el (help-mode-map): Add special-mode-map to parent.
19363 (help-mode): Derive help-mode from special-mode. Don't invoke
19364 view-mode from help-mode.
19365 (help-xref-override-view-map): Remove.
19366 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
19367 view-mode is not used anymore.
19368
19369 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
19370
19371 * server.el (server-port): Doc fix.
19372
19373 * cus-theme.el (custom-theme-choose-mode): Inherit from
19374 special-mode (Bug#9124).
19375 (custom-theme-choose-mode-map): Add special-mode to parent.
19376
19377 2011-08-28 Alan Mackenzie <acm@muc.de>
19378
19379 * progmodes/cc-fonts.el
19380 (c-make-font-lock-BO-decl-search-function): New function.
19381 (c-basic-matchers-after - "Fontify the clauses after various
19382 keywords"): Extract the three keyword lists for the 3 erroneous
19383 constructs from the list of four, and use the new function above
19384 in place of an old one.
19385
19386 2011-08-28 Deniz Dogan <deniz@dogan.se>
19387
19388 * net/rcirc.el (rcirc-insert-prev-input)
19389 (rcirc-insert-next-input): Remove unused argument.
19390
19391 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19392
19393 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
19394
19395 2011-08-27 Alan Mackenzie <acm@muc.de>
19396
19397 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
19398 handle function pointer parameters properly.
19399
19400 2011-08-27 Martin Rudalics <rudalics@gmx.at>
19401
19402 * window.el (display-buffer-reuse-window): Fix case where
19403 selected window was reused with non-nil OTHER-WINDOW argument.
19404 (Bug#9381)
19405
19406 2011-08-27 Deniz Dogan <deniz@dogan.se>
19407
19408 * net/rcirc.el (rcirc-check-auth-status): Adding support for
19409 oftc's NickServ messages.
19410
19411 2011-08-27 Glenn Morris <rgm@gnu.org>
19412
19413 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
19414
19415 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
19416
19417 * emacs-lisp/package.el (package-install): Call package-initialize
19418 if called interactively.
19419
19420 2011-08-26 Leo Liu <sdl.web@gmail.com>
19421
19422 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
19423
19424 2011-08-25 Juri Linkov <juri@jurta.org>
19425
19426 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
19427 `search-whitespace-regexp' (bug#9364).
19428
19429 2011-08-25 Juri Linkov <juri@jurta.org>
19430
19431 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
19432 `regexp-search-ring' to their global values to protect from
19433 updating by `read-from-minibuffer' (bug#9185).
19434
19435 2011-08-25 Juri Linkov <juri@jurta.org>
19436
19437 * textmodes/ispell.el (ispell-command-loop): Add newline
19438 at the end of the "Use option `i'..." line.
19439
19440 2011-08-25 Juri Linkov <juri@jurta.org>
19441
19442 * battery.el (display-battery-mode): If `battery-status-function'
19443 or `battery-mode-line-format' is nil, display the message and set
19444 `display-battery-mode' to nil (bug#9363).
19445
19446 2011-08-25 Eli Zaretskii <eliz@gnu.org>
19447
19448 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
19449 bidi-string-mark-left-to-right; they are unnecessary now.
19450
19451 2011-08-25 Deniz Dogan <deniz@dogan.se>
19452
19453 * net/quickurl.el: Documentation typo fixes.
19454
19455 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
19456
19457 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
19458
19459 2011-08-25 Glenn Morris <rgm@gnu.org>
19460
19461 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
19462
19463 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
19464 (smtpmail-via-smtp): Handle nil response from smtp.
19465
19466 2011-08-24 Juri Linkov <juri@jurta.org>
19467
19468 * proced.el (proced-marked): Inherit from `error' instead of
19469 `font-lock-warning-face'.
19470
19471 * ibuffer.el (ibuffer-marked-face): Change default face from
19472 `font-lock-warning-face' to `warning'.
19473 (ibuffer-deletion-face): Change default face from
19474 `font-lock-type-face' to `error'.
19475
19476 * battery.el (battery-update): Use the face `error' instead of
19477 `font-lock-warning-face' (bug#6117).
19478
19479 2011-08-24 Juri Linkov <juri@jurta.org>
19480
19481 * faces.el (success): Change face color from "Green3" to
19482 "ForestGreen" on light background (bug#9353).
19483
19484 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
19485
19486 * window.el (quit-window): Rename from quit-restore-window.
19487 Use same arglist as old quit-window.
19488 (frame-auto-delete): Doc fix.
19489
19490 * view.el (view-mode-exit): Use quit-window.
19491
19492 2011-08-24 Juri Linkov <juri@jurta.org>
19493
19494 * isearch.el (isearch-ring-adjust1): Start visiting previous
19495 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
19496 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
19497 for empty search string (when the last search string is reused
19498 automatically) to adjust the isearch ring to the last element and
19499 prepare the correct index for further M-p commands (bug#9185).
19500
19501 2011-08-24 Kenichi Handa <handa@m17n.org>
19502
19503 * international/ucs-normalize.el: If decomposition property of
19504 CHAR is the default one (i.e. a list of CHAR itself), treat it as
19505 nil.
19506 (nfd, nfkd): Likewise.
19507
19508 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
19509
19510 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
19511 from process filters aren't reliably transmitted to the surrounding
19512 accept-process-output.
19513 (mpc-proc-check): New function.
19514 (mpc-proc-sync): Use it (bug#8293)
19515
19516 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
19517
19518 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
19519 Add compatibility functions (bug#9313).
19520
19521 2011-08-23 Eli Zaretskii <eliz@gnu.org>
19522
19523 * cus-start.el (all): Add entry for bidi-paragraph-direction.
19524
19525 * international/uni-bidi.el: Regenerate.
19526
19527 2011-08-23 Kenichi Handa <handa@m17n.org>
19528
19529 * international/charprop.el:
19530 * international/uni-bidi.el:
19531 * international/uni-category.el:
19532 * international/uni-combining.el:
19533 * international/uni-comment.el:
19534 * international/uni-decimal.el:
19535 * international/uni-decomposition.el:
19536 * international/uni-digit.el:
19537 * international/uni-lowercase.el:
19538 * international/uni-mirrored.el:
19539 * international/uni-name.el:
19540 * international/uni-numeric.el:
19541 * international/uni-old-name.el:
19542 * international/uni-titlecase.el:
19543 * international/uni-uppercase.el: Regenerate.
19544
19545 2011-08-23 Martin Rudalics <rudalics@gmx.at>
19546
19547 * help.el (help-window-setup): Fix message displayed when other
19548 window is reused. (Bug#9341)
19549
19550 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
19551
19552 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
19553 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
19554
19555 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
19556 Mark obsolete.
19557 * shell.el (shell-parse-pcomplete-arguments): New function.
19558 (shell-completion-vars): Use it instead (bug#9160).
19559
19560 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
19561
19562 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
19563 strings and comments (bug#9333).
19564
19565 * emacs-lisp/debug.el (debug-arglist): New function.
19566 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
19567 (debug-on-entry-1): Handle interpreted closures (bug#9120).
19568
19569 2011-08-22 Juri Linkov <juri@jurta.org>
19570
19571 * progmodes/compile.el (compilation-mode-font-lock-keywords):
19572 Revert regexp that highlights output switches to its old
19573 pre-2010-10-28 value and remove one `?' from it (bug#9319).
19574
19575 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
19576 to check for empty output (bug#9226).
19577
19578 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
19579
19580 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
19581 symbol-constituent as the default, as that stops font-lock from
19582 working properly (Bug#8843).
19583
19584 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19585
19586 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
19587 `coding-system-for-*' around the process open call to avoid
19588 auth-source side effects.
19589 (smtpmail-try-auth-methods): Expand the secret password.
19590 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
19591 probe hangs.
19592
19593 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
19594
19595 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
19596
19597 * emacs-lisp/find-func.el (find-function-noselect): New arg
19598 lisp-only.
19599
19600 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
19601 signal an error for built-in functions (Bug#6664).
19602
19603 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19604
19605 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
19606 (smtpmail-try-auth-methods): Use it.
19607
19608 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
19609
19610 * font-lock.el (font-lock-fontify-region)
19611 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
19612 (font-lock-default-unfontify-buffer)
19613 (font-lock-default-fontify-region)
19614 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
19615
19616 * progmodes/compile.el (compilation-error-properties):
19617 Fix confusion between file struct and message struct (Bug#9319).
19618 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
19619 `ant' regexp.
19620
19621 * net/browse-url.el (browse-url-firefox): Don't call
19622 browse-url-firefox-sentinel unless using -remote (Bug#9328).
19623
19624 2011-08-20 Glenn Morris <rgm@gnu.org>
19625
19626 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
19627
19628 * tutorial.el (tutorial--default-keys): Update some default bindings.
19629
19630 * files.el (hack-local-variables): Fully ignore case for "mode:".
19631
19632 2011-08-20 Alan Mackenzie <acm@muc.de>
19633
19634 Resolve invalid use of a regexp in regexp-opt.
19635
19636 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
19637 detection for a java annotation.
19638
19639 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
19640 detection for a java annotation.
19641
19642 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
19643 handling for java.
19644 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
19645
19646 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
19647
19648 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
19649 (Bug#9274).
19650
19651 2011-08-20 Alan Mackenzie <acm@muc.de>
19652
19653 Fontify CPP expressions correctly when starting in the middle of
19654 such a construct. Mainly for when jit-lock etc. starts a chunk
19655 here.
19656
19657 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
19658 variable.
19659 (c-make-font-lock-search-form): New function, extracted from
19660 c-make-font-lock-search-function.
19661 (c-make-font-lock-search-function): Use the above function.
19662 (c-make-font-lock-context-search-function): New function.
19663 (c-cpp-matchers): Enhance the preprocessor expression case with
19664 the above function
19665 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
19666 which takes an expression.
19667
19668 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
19669
19670 2011-08-20 Martin Rudalics <rudalics@gmx.at>
19671
19672 * window.el (display-buffer-reuse-window)
19673 (display-buffer-pop-up-window): Don't reuse or split a side
19674 window.
19675
19676 2011-08-19 Glenn Morris <rgm@gnu.org>
19677
19678 * files.el (hack-local-variables-prop-line, hack-local-variables):
19679 Downcase "Mode:". (Bug#9331)
19680
19681 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
19682
19683 * international/characters.el: Add L and R categories.
19684
19685 * subr.el (bidi-string-mark-left-to-right): Rename from
19686 string-mark-left-to-right. Use category search.
19687
19688 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
19689
19690 2011-08-18 Juri Linkov <juri@jurta.org>
19691
19692 * faces.el (error, warning, success): New faces with definitions
19693 copied from old default values of `font-lock-warning-face',
19694 `compilation-warning', `compilation-info' (bug#6117).
19695
19696 * font-lock.el (font-lock-warning-face): Inherit from `error'.
19697
19698 * progmodes/compile.el (compilation-error): Inherit from `error'.
19699 (compilation-warning): Inherit from `warning'.
19700 (compilation-info): Inherit from `success'.
19701
19702 * dired.el (dired-marked): Inherit from `warning'.
19703 (dired-flagged): Inherit from `error'.
19704
19705 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19706
19707 * mail/smtpmail.el (auth-source): Require to avoid problems with
19708 binding variables (bug#9298). Also clean up some unused
19709 autoloads.
19710
19711 * net/network-stream.el (network-stream-open-starttls):
19712 Support using starttls.el without using gnutls-cli.
19713
19714 2011-08-17 Juri Linkov <juri@jurta.org>
19715
19716 * progmodes/grep.el (rgrep): Handle the case when
19717 `grep-find-command' is a cons cell (bug#9278).
19718
19719 2011-08-17 Martin Rudalics <rudalics@gmx.at>
19720
19721 * window.el (display-buffer-pop-up-frame): Run frame creation
19722 function with BUFFER current (as special-display-popup-frame
19723 does). Reported by Drew Adams.
19724
19725 2011-08-17 Daiki Ueno <ueno@unixuser.org>
19726
19727 * epa-mail.el: Simplify GnuPG group expansion using
19728 epg-expand-group.
19729 (epa-mail-group-alist, epa-mail-group-modtime)
19730 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
19731 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
19732 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
19733 Remove.
19734
19735 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
19736
19737 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
19738
19739 2011-08-16 Alan Mackenzie <acm@muc.de>
19740
19741 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
19742 Correct, to avoid the inside of macros.
19743
19744 2011-08-16 Richard Stallman <rms@gnu.org>
19745
19746 * epa-mail.el: Handle GnuPG group definitions.
19747 (epa-mail-group-alist, epa-mail-group-modtime)
19748 (epa-mail-gnupg-conf-file): New variables.
19749 (epa-mail-parse-groups, epa-mail-sync-groups)
19750 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
19751 (epa-mail-expand-recipients): New functions.
19752 (epa-mail-encrypt): Call epa-mail-expand-recipients.
19753
19754 * mail/rmail.el (rmail-epa-decrypt): New command.
19755
19756 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
19757 Don't bind buffer-read-only, just inhibit-read-only.
19758 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
19759 (epa-decrypt-armor-in-region): Make error message clearer.
19760
19761 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
19762
19763 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
19764 and "a2b" to "ab" for `prefix'.
19765
19766 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
19767
19768 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
19769 filter groups.
19770 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
19771 Fourquet (Bug#8804).
19772
19773 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
19774
19775 * startup.el (argi): Declare as global variable (bug#9275).
19776
19777 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
19778
19779 * subr.el (string-mark-left-to-right): Search the entire string
19780 for RTL script, not just the terminating character. Doc fix.
19781
19782 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
19783
19784 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
19785 New function.
19786 (js--regexp-literal, js-syntax-propertize-function): Remove.
19787 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
19788 (js-mode-map): Don't rebind electric keys.
19789 (js-insert-and-indent): Remove.
19790 (js-mode): Setup electric-layout and electric-indent instead.
19791
19792 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
19793
19794 2011-08-12 Daiki Ueno <ueno@unixuser.org>
19795
19796 * epa.el (epa-progress-callback-function): Fix the logic of
19797 displaying progress.
19798 * epa-file.el (epa-file-insert-file-contents): Make progress
19799 display more user-friendly.
19800 (epa-file-write-region): Ditto.
19801
19802 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
19803
19804 * subr.el (string-mark-left-to-right): New function.
19805
19806 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
19807 Use string-mark-left-to-right.
19808 (list-buffers-noselect): Caller changed.
19809
19810 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19811 Use string-mark-left-to-right.
19812 (tabulated-list-print): Recenter after moving point.
19813
19814 2011-08-10 Juri Linkov <juri@jurta.org>
19815
19816 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
19817 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
19818 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
19819
19820 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
19821
19822 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
19823 (Bug#7554).
19824
19825 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
19826
19827 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
19828 character. (Bug#6594)
19829
19830 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
19831
19832 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
19833 (image-dired--with-db-file): New macro.
19834 (image-dired-write-tags, image-dired-remove-tag)
19835 (image-dired-create-gallery-lists, image-dired-write-comments)
19836 (image-dired-get-comment, image-dired-mark-tagged-files)
19837 (image-dired-list-tags, image-dired-gallery-generate): Use it.
19838 (image-dired-gallery-generate): Use insert-file-contents.
19839
19840 * time.el (display-time-world-list, display-time-world-display):
19841 * time-stamp.el (time-stamp-string):
19842 * vc/add-log.el (add-change-log-entry): Use setenv instead of
19843 set-time-zone-rule (Bug#7337).
19844
19845 2011-08-08 Daiki Ueno <ueno@unixuser.org>
19846
19847 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
19848 (epg-error-to-string, epg-errors-to-string): New function.
19849 (epg-wait-for-completion): Reverse errors list.
19850 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
19851 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
19852 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
19853 (epg-sign-keys, epg-generate-key-from-file)
19854 (epg-generate-key-from-string): Format errors by using
19855 epg-errors-to-string (bug#9255).
19856 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
19857
19858 2011-08-07 Juri Linkov <juri@jurta.org>
19859
19860 * faces.el (list-faces-display): Remove extra angle bracket
19861 from `help-mode-map'.
19862
19863 * info.el (Info-history-toc-nodes): Doc fix.
19864
19865 * longlines.el (longlines-mode): Doc fix.
19866
19867 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
19868
19869 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
19870 of statements and in a few more cases (bug#9183).
19871
19872 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
19873 New functions.
19874 (cl-transform-lambda): Use them (bug#9239).
19875
19876 2011-08-05 Martin Rudalics <rudalics@gmx.at>
19877
19878 * window.el (display-buffer-same-window)
19879 (display-buffer-same-frame, display-buffer-other-window)
19880 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
19881 (pop-to-buffer-other-window)
19882 (pop-to-buffer-same-frame-other-window)
19883 (pop-to-buffer-other-frame): Make them defuns.
19884 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
19885
19886 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
19887
19888 * subr.el (make-composed-keymap): Move from C. Change calling
19889 convention, and improve docstring to bring attention to a subtle point.
19890 * minibuffer.el (completing-read-default): Adjust accordingly.
19891
19892 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
19893
19894 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
19895 (tramp-open-shell): Use `tramp-shell-quote-argument'.
19896
19897 * net/trampver.el: Update release number.
19898
19899 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
19900
19901 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
19902 "in" (bug#9190).
19903
19904 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19905
19906 * mail/sendmail.el (sendmail-query-once): Restore the current
19907 buffer after querying (bug#9074).
19908
19909 * dired.el (dired-flagged): Use different faces for marked and
19910 flagged files (bug#6117).
19911
19912 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
19913 (bug#4433).
19914
19915 * ido.el (ido-mode): Switch off the message if called
19916 non-interactively.
19917
19918 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
19919 before 587, since it appears that that's more likely to work for
19920 more people.
19921
19922 * cus-edit.el (custom-file): When running under emacs -q, always
19923 refuse to save the customizations, even if the .emacs file doesn't
19924 exist.
19925
19926 * info.el: Remove the `Info-beginning-of-buffer' function
19927 (bug#8325).
19928
19929 * net/network-stream.el (network-stream-open-starttls):
19930 Use `starttls-available-p' to see whether starttls.el can be used.
19931
19932 2011-08-01 Martin Rudalics <rudalics@gmx.at>
19933
19934 * window.el (display-buffer-in-window): Don't set dedicated status
19935 of window here (Bug#9215).
19936 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
19937 (display-buffer-pop-up-side-window)
19938 (display-buffer-in-side-window): Set dedicated status of window here.
19939
19940 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
19941
19942 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
19943 before binding generated-autoload-file.
19944
19945 2011-08-01 Deniz Dogan <deniz@dogan.se>
19946
19947 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
19948
19949 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
19950
19951 Sync with Tramp 2.2.2.
19952
19953 * net/trampver.el: Update release number.
19954
19955 2011-07-30 Juri Linkov <juri@jurta.org>
19956
19957 * dired-aux.el (dired-touch-initial): Remove function.
19958 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
19959 current time, and `default' to the last modification time of the
19960 current marked file (bug#6887).
19961
19962 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
19963
19964 * simple.el (goto-line): Use string-to-number to provide a
19965 numeric argument to read-number (bug#9163).
19966
19967 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
19968
19969 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
19970 connection process, it could be nil.
19971
19972 2011-07-27 Leo Liu <sdl.web@gmail.com>
19973
19974 Simplify url handling in rcirc-mode.
19975
19976 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
19977 (rcirc-browse-url-at-mouse): Remove.
19978 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
19979
19980 2011-07-26 Alan Mackenzie <acm@muc.de>
19981
19982 Fontify bitfield declarations properly.
19983
19984 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
19985 (c-symbol-chars): Now exported as a lang variable.
19986 (c-not-primitive-type-keywords): New lang variable.
19987
19988 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
19989 QT keyword "more" to prevent "more slots: ...." being spuriously
19990 parsed as a bitfield declaration.
19991
19992 * progmodes/cc-engine.el (c-beginning-of-statement-1):
19993 Refactor and enhance to handle bitfield declarations.
19994 (c-punctuation-in): New function.
19995 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
19996 declarations properly.
19997
19998 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
19999
20000 * calendar/icalendar.el (icalendar--all-events): Take care of
20001 multiple vcalendars in a single file.
20002 (icalendar--convert-float-to-ical): Checkdoc fixes.
20003
20004 2011-07-25 Deniz Dogan <deniz@dogan.se>
20005
20006 * image.el (insert-image): Clarifying docstring.
20007
20008 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
20009
20010 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
20011 `tramp-send-command-and-check' if there is no error.
20012 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
20013
20014 2011-07-22 Alan Mackenzie <acm@muc.de>
20015
20016 Prevent cc-langs.elc being loaded at run time.
20017
20018 * progmodes/cc-mode.el: Remove two autoload forms which loaded
20019 cc-langs.
20020
20021 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
20022 "(require 'cc-langs)". Quote a form so it will evaluate at
20023 (cc-mode's) compilation time.
20024
20025 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
20026
20027 * net/tramp.el (tramp-file-name-handler): Avoid recursive
20028 loading. (Bug#9114)
20029
20030 2011-07-21 Martin Rudalics <rudalics@gmx.at>
20031
20032 * window.el (display-buffer-pop-up-window)
20033 (display-buffer-pop-up-side-window)
20034 (display-buffer-in-side-window): Call display-buffer-set-height
20035 and display-buffer-set-width after setting the new window's
20036 buffer so `fit-window-to-buffer' and friends work on the right buffer.
20037
20038 2011-07-20 Sam Steingold <sds@gnu.org>
20039
20040 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
20041 (etags-tags-included-tables): Call `convert-standard-filename' on
20042 the file names contained in TAGS so that windows Emacs can handle
20043 TAGS files created by cygwin ctags.
20044
20045 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
20046
20047 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
20048 which apparently didn't work.
20049
20050 2011-07-19 Roland Winkler <winkler@gnu.org>
20051
20052 * proced.el (proced-send-signal): For *Marked Processes* buffer
20053 put point at beginning of buffer.
20054
20055 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
20056
20057 * proced.el (proced-format): Make header lines align with the text
20058 (bug#1779).
20059
20060 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
20061
20062 * view.el (view-buffer): Allow running in `special' modes if we're
20063 visiting a file (bug#8615).
20064
20065 2011-07-19 Martin Rudalics <rudalics@gmx.at>
20066
20067 * window.el (display-buffer-alist-of-strings-p)
20068 (display-buffer-alist-set-1, display-buffer-alist-set-2):
20069 New functions.
20070 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
20071 more accurately.
20072
20073 2011-07-18 Alan Mackenzie <acm@muc.de>
20074
20075 Fontify declarators properly when, e.g., a jit-lock chunk begins
20076 inside a declaration.
20077
20078 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
20079
20080 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
20081 New function.
20082 (c-complex-decl-matchers): Insert reference to
20083 c-font-lock-enclosing-decls.
20084
20085 * progmodes/cc-engine.el (c-backward-single-comment):
20086 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
20087 to nil around calls to (forward-comment -1).
20088
20089 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20090
20091 * image.el (put-image): Doc typo fix.
20092
20093 * progmodes/etags.el (tags-search): Doc typo fix.
20094
20095 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
20096 password if we get errors 550 to 554.
20097
20098 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
20099
20100 * net/gnutls.el (gnutls-log-level): Remove.
20101
20102 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
20103 indentation character (bug#6380).
20104
20105 * files.el (buffer-offer-save): Made permanently local (bug#6241).
20106
20107 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
20108 to clarify what the problem is (bug#4291).
20109
20110 * simple.el (current-kill): Clarify what
20111 `interprogram-paste-function' does (bug#7500).
20112 (auto-fill-mode): Document `auto-fill-function' in relation to
20113 `auto-fill-mode' (bug#2470).
20114
20115 2011-07-16 Lawrence Mitchell <wence@gmx.li>
20116
20117 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
20118 method if slot is read-only (bug#9035).
20119
20120 2011-07-16 Martin Rudalics <rudalics@gmx.at>
20121
20122 * frame.el (select-frame-set-input-focus): New argument NORECORD.
20123 * window.el (pop-to-buffer): Select window used even if it was
20124 selected before, see discussion of (Bug#8615), (Bug#6954).
20125 Pass argument NORECORD on to select-frame-set-input-focus.
20126
20127 2011-07-15 Glenn Morris <rgm@gnu.org>
20128
20129 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
20130 Respect help-form.
20131
20132 2011-07-09 Lawrence Mitchell <wence@gmx.li>
20133
20134 * net/gnutls.el (gnutls-min-prime-bits): New variable.
20135 (gnutls-negotiate): Use it.
20136
20137 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20138
20139 * net/gnutls.el (gnutls-negotiate):
20140 Upcase `gnutls-algorithm-priority'.
20141
20142 2011-07-15 Glenn Morris <rgm@gnu.org>
20143
20144 * jka-compr.el (jka-compr-verbose): Move from here...
20145 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
20146 Add missing :version tag.
20147 * info.el: No need to require jka-compr when compiling.
20148
20149 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20150
20151 * net/gnutls.el (gnutls-algorithm-priority): New variable.
20152 (gnutls-negotiate): Use it.
20153
20154 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
20155
20156 * info.el (Info-beginning-of-buffer): New command.
20157 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
20158 announcing `b' as the key (bug#8325).
20159 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
20160
20161 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
20162
20163 * international/mule-cmds.el
20164 (describe-specified-language-support): Make the error message
20165 clearer (bug#8905).
20166
20167 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
20168
20169 * isearch.el (isearch-barrier): Add a doc string, since it's
20170 mentioned in a function doc string (bug#8678).
20171
20172 2011-07-15 Martin Rudalics <rudalics@gmx.at>
20173
20174 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
20175 buffer argument (Bug#9083) and self-identifying label argument.
20176
20177 2011-07-15 Glenn Morris <rgm@gnu.org>
20178
20179 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
20180
20181 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20182
20183 * man.el (Man-fontify-manpage): Fix message when formatting the
20184 man page (bug#7929).
20185
20186 2011-07-14 Eli Zaretskii <eliz@gnu.org>
20187
20188 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
20189 argument LRM; if non-nil, append an invisible LRM character to the
20190 buffer name.
20191 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
20192 last argument non-nil, when formatting buffer names.
20193 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
20194 paragraph direction.
20195
20196 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20197
20198 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
20199 the man page name (bug#7929).
20200
20201 * image.el (put-image): Mention the `put-image' overlay property
20202 (bug#7834).
20203
20204 * scroll-bar.el (set-scroll-bar-mode): Mention that
20205 `scroll-bar-mode' lists the values (bug#7772).
20206
20207 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
20208 command (bug#7729).
20209
20210 * rect.el (apply-on-rectangle): Return the point after the last
20211 operation.
20212 (string-rectangle): Go to the point after the last operation
20213 (bug#7522).
20214
20215 * printing.el (pr-toggle-region): Clarify the documentation
20216 slightly (bug#7493).
20217
20218 * time.el (display-time-update):
20219 Allow `display-time-mail-function' to return nil (bug#7158).
20220 Fix suggested by Detlev Zundel.
20221
20222 * vc/diff.el (diff): Clarify the order the file names are read
20223 (bug#7111).
20224
20225 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
20226 the doc string (bug#7015).
20227
20228 * font-lock.el (font-lock-maximum-decoration): Mention what
20229 numeric levels mean (bug#6935).
20230
20231 * startup.el (initial-buffer-choice): Don't mention the `none'
20232 selection, which is against policy.
20233
20234 2011-07-14 Martin Rudalics <rudalics@gmx.at>
20235
20236 * window.el (display-buffer-normalize-special):
20237 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
20238
20239 2011-07-14 Eli Zaretskii <eliz@gnu.org>
20240
20241 * subr.el (version<, version<=, version=): Mention "-CVS" and
20242 "-12345" alpha version numbers.
20243
20244 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
20245
20246 * bindings.el: Add advertised binding for set-mark-command
20247 (Bug#5772).
20248
20249 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
20250
20251 * bindings.el (mode-line-other-buffer):
20252 * bookmark.el (bookmark-bmenu-2-window):
20253 * bs.el (bs-cycle-next, bs-cycle-previous):
20254 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
20255 switch-to-buffer.
20256
20257 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
20258 Delete.
20259
20260 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
20261
20262 * follow.el (follow-debug-message, follow-redisplay):
20263 * jka-cmpr-hook.el (with-auto-compression-mode):
20264 Fix typos in docstrings.
20265
20266 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20267
20268 * subr.el (with-silent-modifications): Clarify somewhat what the
20269 macro inhibits (bug#6525).
20270
20271 * simple.el (eval-expression): Note what it does if called
20272 interactively (bug#6495).
20273
20274 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
20275
20276 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
20277 Use pop-to-buffer buffer-or-name if it is nil.
20278
20279 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20280 Remove switch-to-buffer.
20281
20282 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20283
20284 * files.el (make-directory): Clarify that an error will be raised
20285 if there's an error (bug#6397).
20286
20287 * startup.el (initial-buffer-choice): Add `none' as a choice
20288 (bug#6234).
20289
20290 * subr.el (add-hook): Clarify section about buffer-local hooks
20291 (bug#6218).
20292
20293 * dired.el (dired-flagged): Clarify doc string (bug#6117).
20294
20295 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
20296
20297 * tabify.el (untabify): Preserve the current column so that point
20298 doesn't move (bug#6032).
20299
20300 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20301
20302 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
20303 Rewrite to avoid awkward possessive "s" (bug#5986).
20304
20305 2011-07-13 Glenn Morris <rgm@gnu.org>
20306
20307 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
20308 (dired-insert-directory): Give a message the first time
20309 if ls is found not to support --dired.
20310
20311 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20312
20313 * simple.el (toggle-truncate-lines): Clarify what is toggled
20314 (bug#5580). Text by Drew Adams.
20315
20316 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
20317
20318 * simple.el (blink-matching-open): Make the error message from the
20319 last change less verbose.
20320
20321 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
20322
20323 * font-lock.el (font-lock-comment-face): Use the high contrast
20324 "yellow" color for font-lock-comment-face on low color terminals
20325 using a dark background color (bug#4221).
20326
20327 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20328
20329 * dired.el (dired-insert-set-properties): Make the doc string
20330 reflect what it does now (bug#5325).
20331
20332 * simple.el (blink-matching-open): Say that we were unable to find
20333 the match within the limit, if we're limited (bug#5122).
20334
20335 * international/mule-cmds.el (prefer-coding-system): Add an
20336 example (bug#4869).
20337
20338 * progmodes/etags.el (tags-search): Document `file-list-form'
20339 (bug#4731).
20340
20341 2011-07-13 Lawrence Mitchell <wence@gmx.li>
20342
20343 * net/browse-url.el (browse-url-default-browser)
20344 (browse-url-browser-function): Make the default browser choice a
20345 bit more logical (bug#4300). Also clean up the doc string.
20346
20347 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
20348
20349 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
20350 binary endings (bug#4440).
20351
20352 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20353
20354 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
20355 which can be pretty annoying (bug#8971).
20356
20357 * jka-compr.el (jka-compr-verbose): New variable, and use
20358 throughout (bug#8971).
20359
20360 * info.el (Info-find-file): Fall back on the installation
20361 directory if we can't find the info node anywhere else.
20362
20363 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
20364
20365 * vc/vc.el (vc-revert-file):
20366 Don't set file time-stamp in the past. (Bug#5181)
20367
20368 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20369
20370 * files.el (after-find-file): Give a better error message when
20371 trying to find a symlink that points to a file that doesn't exist
20372 (bug#4398).
20373
20374 * progmodes/cc-vars.el: Remove (probably) misleading comment
20375 (bug#4396).
20376
20377 2011-07-12 Johan Bockgård <bojohan@gnu.org>
20378
20379 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
20380
20381 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
20382
20383 * mouse-sel.el: Hack restoring functionality, while keeping
20384 compatibility with 2010-07-03 changes to mouse selection.
20385 (mouse-sel-primary-overlay): New var.
20386 (mouse-sel-selection-alist): Use it.
20387 (mouse-sel-mode): Doc fix; remove points that are default features
20388 of mouse.el.
20389
20390 2011-07-12 Johan Bockgård <bojohan@gnu.org>
20391
20392 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20393 Fix previous fix (bug#2490).
20394
20395 2011-07-12 Roland Winkler <winkler@gnu.org>
20396
20397 * textmodes/bibtex.el (bibtex-initialize):
20398 Use pop-to-buffer-same-window.
20399 (bibtex-search-entries): Fix interactive call.
20400
20401 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20402
20403 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20404 Fontise bytecomp Error lines more correctly (bug#2490).
20405 Fix suggested by Johan Bockgård.
20406
20407 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
20408
20409 * dired-x.el (dired-guess-default): Use `delete-dups'.
20410
20411 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
20412
20413 * dired.el (dired-mark-prompt):
20414 * dired-aux.el (dired-read-shell-command): Doc fix.
20415
20416 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20417
20418 * mail/sendmail.el (sendmail-query-once):
20419 Use `customize-save-variable' unconditionally, now that it works under
20420 emacs -Q.
20421
20422 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
20423
20424 * cus-edit.el (custom-file): Take an optional no-error variable.
20425 (customize-save-variable): Set the variable, and give a warning if
20426 running under "emacs -q".
20427
20428 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
20429
20430 * loadhist.el (unload-feature-special-hooks):
20431 Add `auto-coding-functions', `fill-nobreak-predicate' and
20432 `find-directory-functions' (bug#5327).
20433
20434 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20435
20436 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
20437
20438 * cus-edit.el (custom-guess-name-alist): -alist variables should
20439 use the `alist' type (bug#3120). Suggested by Drew Adams.
20440
20441 * printing.el: Add documentation to all the `pr-toggle-' commands.
20442
20443 2011-07-11 Leo Liu <sdl.web@gmail.com>
20444
20445 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
20446 backends where it makes sense (bug#2623).
20447
20448 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20449
20450 * dired-x.el (dired-guess-default): Remove duplicate shell command
20451 entries (bug#2028).
20452 (dired-guess-default): Fix grammar in doc string (bug#2028).
20453 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
20454
20455 * subr.el (remove-duplicates): New conveniency function.
20456
20457 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
20458
20459 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
20460 (bug#1526).
20461
20462 2011-07-10 Martin Rudalics <rudalics@gmx.at>
20463
20464 * window.el (display-buffer-normalize-default): Don't invert
20465 meaning of even-window-heights. Reported by Eli Zaretskii
20466 <eliz@gnu.org>.
20467
20468 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
20469
20470 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
20471
20472 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
20473
20474 * window.el (display-buffer): Fix arguments to
20475 display-buffer-reuse-window in last change.
20476
20477 * faces.el (link): Use a less saturated blue on light backgrounds.
20478
20479 * startup.el (fancy-startup-text, fancy-about-text)
20480 (fancy-startup-tail): Use font-lock faces, for background safety.
20481
20482 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
20483
20484 * emulation/viper-cmd.el (viper-change-state-to-vi):
20485 Limit triggering of abbrev expansion (Bug#9038).
20486
20487 2011-07-09 Martin Rudalics <rudalics@gmx.at>
20488
20489 * window.el (display-buffer-default-specifiers): Remove.
20490 (display-buffer-macro-specifiers): Remove default specifiers.
20491 (display-buffer-alist): Default to nil.
20492 (display-buffer-reuse-window): New optional argument other-window.
20493 (display-buffer-pop-up-window): Allow splitting internal
20494 windows. Check whether a live window was created.
20495 (display-buffer-other-window-means-other-frame)
20496 (display-buffer-normalize-arguments): Rename to
20497 display-buffer-normalize-argument and rewrite. Set the
20498 other-window specifier.
20499 (display-buffer-normalize-special): New function.
20500 (display-buffer-normalize-options): Rename to
20501 display-buffer-normalize-default and rewrite.
20502 (display-buffer-normalize-options-inhibit): Remove.
20503 (display-buffer-normalize-specifiers): Rewrite.
20504 (display-buffer): Process other-window specifier and call
20505 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
20506 more faithfully.
20507 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
20508 (display-buffer-alist-set): Don't handle 'unset default values.
20509 (display-buffer-in-window, display-buffer-alist-set):
20510 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
20511 <tassilo@member.fsf.org>.
20512
20513 2011-07-09 Leo Liu <sdl.web@gmail.com>
20514
20515 * register.el (insert-register): Restore accidental change on
20516 2011-06-26. (Bug#9028)
20517
20518 2011-07-09 Glenn Morris <rgm@gnu.org>
20519
20520 * subr.el (remq): Handle the empty list. (Bug#9024)
20521
20522 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
20523
20524 * mail/sendmail.el (send-mail-function): No longer delay custom
20525 initialization.
20526 * custom.el (custom-initialize-delay): Doc fix.
20527
20528 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
20529
20530 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
20531
20532 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
20533
20534 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
20535 human-friendly prompt.
20536
20537 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
20538
20539 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
20540 provided by a particular plugin.
20541
20542 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
20543
20544 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
20545 save customizations (with "emacs -Q"), just set the variable
20546 instead of erroring out.
20547
20548 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
20549
20550 2011-07-08 Juri Linkov <juri@jurta.org>
20551
20552 * arc-mode.el (archive-zip-expunge, archive-zip-update)
20553 (archive-zip-update-case): Use 7z if found by `executable-find'.
20554 The order of searching the available programs is the same as in
20555 `archive-zip-extract' (bug#8968).
20556
20557 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20558
20559 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
20560 (menu-bar-options-menu): Tweak descriptions.
20561
20562 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
20563
20564 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
20565 menu items into verb phrases (bug#1421). Also refill to fit under
20566 80 columns.
20567
20568 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20569
20570 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
20571 (Info-read-node-name): Doc fix (Bug#1084).
20572
20573 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
20574 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
20575 (end-of-sexp, beginning-of-sexp)
20576 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
20577 (forward-symbol, forward-same-syntax, word-at-point)
20578 (sentence-at-point): Doc fix (Bug#1144).
20579
20580 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
20581
20582 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
20583 should cover it (bug#1281).
20584
20585 * cus-edit.el (custom-show): Mark as obsolete.
20586
20587 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
20588 negotiation fails, then possibly try again with a non-encrypted
20589 connection (bug#9017).
20590
20591 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
20592 be used.
20593
20594 2011-07-07 Richard Stallman <rms@gnu.org>
20595
20596 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
20597 property, and handle its changed format.
20598 Look for the correct line number.
20599 Use file's line contents (but not past first =) to find
20600 correct line in message.
20601
20602 2011-07-07 Kenichi Handa <handa@m17n.org>
20603
20604 * international/characters.el (build-unicode-category-table):
20605 Delete it.
20606 (unicode-category-table): Set it by unicode-property-table-internal.
20607
20608 * international/mule-cmds.el (char-code-property-alist): Move to
20609 to src/chartab.c.
20610 (get-char-code-property): Call unicode-property-table-internal to
20611 load a file. Call get-unicode-property-internal where necessary.
20612 (put-char-code-property): Call unicode-property-table-internal to
20613 load a file. Call put-unicode-property-internal where necessary.
20614 put-unicode-property-internal where necessary.
20615 (char-code-property-description):
20616 Call unicode-property-table-internal to load a file.
20617
20618 * international/charprop.el:
20619 * international/uni-bidi.el:
20620 * international/uni-category.el:
20621 * international/uni-combining.el:
20622 * international/uni-comment.el:
20623 * international/uni-decimal.el:
20624 * international/uni-decomposition.el:
20625 * international/uni-digit.el:
20626 * international/uni-lowercase.el:
20627 * international/uni-mirrored.el:
20628 * international/uni-name.el:
20629 * international/uni-numeric.el:
20630 * international/uni-old-name.el:
20631 * international/uni-titlecase.el:
20632 * international/uni-uppercase.el: Regenerate.
20633
20634 * loadup.el: Load international/charprop.el before
20635 international/characters.
20636
20637 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20638
20639 * window.el (next-buffer, previous-buffer): Signal an error if
20640 called from a minibuffer window.
20641
20642 * bindings.el: Revert 2011-07-04 change.
20643
20644 2011-07-06 Richard Stallman <rms@gnu.org>
20645
20646 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
20647 (rmail-mime-insert-bulk, rmail-mime-insert-text):
20648 Treat markers like ints.
20649 (rmail-mime-entity): Doc fix.
20650
20651 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20652
20653 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
20654 defcustom again for backwards compatibility.
20655
20656 * simple.el (shell-command-on-region): Fill.
20657
20658 * dired-aux.el (dired-kill-line): Add a doc string.
20659
20660 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
20661 to "\\sw\\|\\s_" (bug#358).
20662
20663 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
20664 (dired-unmark-backward): Ditto.
20665 (dired-flag-backup-files): Ditto.
20666
20667 * dired-x.el (dired-mark-sexp): Ditto.
20668
20669 2011-07-06 Richard Stallman <rms@gnu.org>
20670
20671 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
20672 (rmail-mime-entity): New arg TRUNCATED.
20673 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
20674 New functions.
20675 (rmail-mime-save): Warn if entity is truncated.
20676 (rmail-mime-toggle-hidden): Likewise, for showing.
20677 (rmail-mime-process-multipart): Record when an entity is truncated.
20678
20679 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
20680 if ENTITY is a string.
20681
20682 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20683
20684 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
20685 of faces when `M-C-x'-ing their definitions (bug#8378).
20686 Also clean up the code slightly.
20687
20688 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
20689 because that makes the colors go away.
20690
20691 * mail/sendmail.el (send-mail-function): Change the default to
20692 `sendmail-query-once'.
20693 (sendmail-query-once): Add an autoload cookie.
20694
20695 * net/network-stream.el (network-stream-open-starttls): Try using
20696 a plain connection even if the server offered STARTTLS, and we
20697 kinda wanted to use it, if Emacs doesn't have any STARTTLS
20698 capability. This should make smtpmail.el work in slightly more
20699 configurations.
20700
20701 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
20702
20703 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
20704 New defun.
20705 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
20706
20707 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
20708
20709 * progmodes/sql.el: Version 3.0
20710 (sql-product-alist): Add product :completion-object,
20711 :completion-column, and :statement attributes.
20712 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
20713 (sql-mode-syntax-table): Mark all punctuation.
20714 (sql-font-lock-keywords-builder): Temporarily remove fallback on
20715 ansi keywords.
20716 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
20717 (sql-mode-oracle-font-lock-keywords): Improve.
20718 (sql-oracle-show-reserved-words): New function for development.
20719 (sql-product-font-lock): Simplify for source code buffers.
20720 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
20721 New functions.
20722 (sql-highlight-product): Set product specific syntax table.
20723 (sql-mode-map): Add statement movement functions.
20724 (sql-ansi-statement-starters, sql-oracle-statement-starters):
20725 New variable.
20726 (sql-statement-regexp, sql-beginning-of-statement)
20727 (sql-end-of-statement, sql-signum): New functions.
20728 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
20729 (sql-show-sqli-buffer): Bug fix.
20730 (sql-interactive-mode): Store connection data as buffer local.
20731 (sql-connect): Add NEW-NAME parameter. Redesign interaction
20732 with sql-interactive-mode.
20733 (sql-save-connection): Save buffer local settings.
20734 (sql-connection-menu-filter): Change menu entry name.
20735 (sql-product-interactive): Bug fix.
20736 (sql-preoutput-hold): New variable.
20737 (sql-interactive-remove-continuation-prompt): Bug fixes.
20738 (sql-debug-redirect): New variable.
20739 (sql-str-literal): New function.
20740 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
20741 Redesign.
20742 (sql-oracle-save-settings, sql-oracle-restore-settings)
20743 (sql-oracle-list-all, sql-oracle-list-table): New functions.
20744 (sql-completion-object, sql-completion-column)
20745 (sql-completion-sqlbuf): New variables.
20746 (sql-build-completions-1, sql-build-completions)
20747 (sql-try-completion): New functions.
20748 (sql-read-table-name): Use them.
20749 (sql-contains-names): New buffer local variable.
20750 (sql-list-all, sql-list-table): Use it.
20751 (sql-oracle-completion-types): New variable.
20752 (sql-oracle-completion-object, sql-sqlite-completion-object)
20753 (sql-postgres-completion-object): New functions.
20754
20755 2011-07-06 Glenn Morris <rgm@gnu.org>
20756
20757 * window.el (pop-to-buffer): Doc fix.
20758
20759 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
20760
20761 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
20762
20763 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
20764
20765 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
20766
20767 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
20768
20769 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
20770
20771 * button.el (button): Inherit from link face. Suggested by Dan
20772 Nicolaescu.
20773
20774 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20775
20776 * progmodes/gdb-mi.el: Fit in 80 columns.
20777 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
20778 switch-to-buffer.
20779
20780 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
20781 if imenu is simply not configured (bug#8941).
20782
20783 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
20784
20785 * allout.el (allout-post-undo-hook): New allout outline-change
20786 event hook to signal undo activity.
20787 (allout-post-command-business): Run allout-post-undo-hook if an
20788 undo just occurred.
20789 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
20790 * allout-widgets.el (allout-widgets-after-undo-function):
20791 Ensure the integrity of the current item's decoration after it has been
20792 in the vicinity of an undo.
20793 (allout-widgets-mode): Include allout-widgets-after-undo-function
20794 on the new allout-post-undo-hook.
20795
20796 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20797
20798 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
20799 Let define-derived-mode define it.
20800 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
20801 cycles of abbrev-table inheritance (bug#8998).
20802
20803 2011-07-05 Roland Winkler <winkler@gnu.org>
20804
20805 * textmodes/bibtex.el: Add support for biblatex.
20806 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
20807 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
20808 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
20809 (bibtex-entry-alist, bibtex-field-alist): New variables.
20810 (bibtex-entry-field-alist): Obsolete alias for
20811 bibtex-BibTeX-entry-alist.
20812 (bibtex-entry-alist, bibtex-field-alist): New widgets.
20813 (bibtex-set-dialect): New command.
20814 (bibtex-entry-type, bibtex-entry-head)
20815 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
20816 Bind via bibtex-set-dialect.
20817 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
20818 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
20819 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
20820 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
20821 Define via bibtex-set-dialect.
20822 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
20823 Obey bibtex-no-opt-remove-re.
20824 (bibtex-vec-push, bibtex-vec-incr): New functions.
20825 (bibtex-format-entry, bibtex-field-list)
20826 (bibtex-print-help-message, bibtex-validate)
20827 (bibtex-search-entries): Use new format of bibtex-entry-alist.
20828
20829 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20830
20831 * progmodes/compile.el (compilation-goto-locus):
20832 * net/tramp-cmds.el (tramp-append-tramp-buffers):
20833 * bs.el (bs-cycle-next, bs-cycle-previous):
20834 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
20835 * bindings.el (mode-line-other-buffer):
20836 * autoinsert.el (auto-insert):
20837 * arc-mode.el (archive-extract):
20838 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
20839
20840 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20841
20842 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
20843 Fix check of `emacs-lock-unlockable-modes'.
20844 Coerce true values of `emacs-lock--try-unlocking' to t.
20845
20846 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20847
20848 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
20849 * emacs-lock.el: New file.
20850
20851 2011-07-05 Julien Danjou <julien@danjou.info>
20852
20853 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
20854 than `boundp' to check if face is set.
20855
20856 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20857
20858 * register.el (registerv-make):
20859 * window.el (window-min-height): Fix typos in docstrings.
20860
20861 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
20862
20863 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
20864 Update doc string.
20865
20866 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
20867
20868 * server.el (server-execute): Catch quit and call
20869 `server-return-error' to pass the error back to emacsclient and
20870 close the connection (bug#8942).
20871
20872 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
20873
20874 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
20875 insecure exception for current topic. Also note that auto-saves
20876 are handled differently.
20877
20878 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
20879 State variables for tracking auto-save inhibition situation.
20880
20881 (allout-write-contents-hook-handler): Rename from
20882 'allout-write-file-hook-handler', and describe how it depends on
20883 write-contents-functions sensitivity to non-nil value to prevent
20884 file write.
20885
20886 (allout-auto-save-hook-handler): Remove. auto-save does not check
20887 this in individual buffers, only in the starting buffer, so this
20888 is not the right way for us to inhibit auto-save in a buffer
20889 according to its condition.
20890
20891 (allout-mode): Use new allout-write-contents-hook-handler, and
20892 only with write-contents-functions. Remove auto-save provisions -
20893 they're implemented elsewhere.
20894
20895 (allout-before-change-handler): If undo is in progress, note that
20896 for attention of allout-post-command-business.
20897
20898 (allout-post-command-business): If the command we're following was
20899 an undo, check for change in the status of encrypted items and
20900 adjust auto-save inhibitions accordingly.
20901
20902 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
20903 according to whether there are or aren't any plain-text topics
20904 pending encryption.
20905
20906 (allout-inhibit-auto-save-info-for-decryption):
20907 Adjust buffer-saved-size and some allout state to inhibit auto-saves
20908 if there are plain-text topics pending encryption.
20909
20910 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
20911 buffer-saved-size and some allout state to not inhibit auto-saves
20912 if there are no longer any plain-text topics pending encryption.
20913
20914 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
20915 No longer provide for exemption of the current topic.
20916
20917 2011-07-04 Juri Linkov <juri@jurta.org>
20918
20919 Add 7z operations to delete and save changed members (bug#8968).
20920 * arc-mode.el (archive-7z-expunge, archive-7z-update):
20921 New defcustoms.
20922 (archive-7z-write-file-member): New function.
20923 (archive-7z-summarize): Fix the number of dashes in the
20924 listing output.
20925
20926 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
20927
20928 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
20929 (bug#8958).
20930
20931 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
20932
20933 * bindings.el: Ignore next-buffer and previous-buffer in
20934 minibuffer-local-map.
20935
20936 * font-lock.el (font-lock-builtin-face): Change light background
20937 color to dark slate blue (Bug#6693).
20938
20939 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
20940
20941 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
20942
20943 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
20944
20945 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
20946 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20947 Add switch-to-buffer.
20948
20949 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
20950
20951 * isearch.el (isearch-search-fun-function): Clarify further the
20952 meaning of the function returned.
20953
20954 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
20955
20956 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
20957
20958 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
20959 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
20960 Use it.
20961 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
20962 `tramp-default-remote-path' does not exist.
20963 (tramp-send-command-and-read): New optional argument NOERROR.
20964 (tramp-open-connection-setup-interactive-shell)
20965 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
20966 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
20967 (tramp-process-sentinel): Flush also process' connection property.
20968 (tramp-sh-handle-start-file-process): Do not set process
20969 sentinel. It is done now ...
20970 (tramp-maybe-open-connection): ... here. (Bug#8929)
20971
20972 2011-07-04 MON KEY <monkey@sandpframing.com>
20973
20974 * play/animate.el (animate-string): Doc fixes and allow changing
20975 the buffer name (bug#5417).
20976
20977 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
20978
20979 * play/animate.el (animation-buffer-name): Rename from *animate*.
20980
20981 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
20982
20983 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
20984 This is simpler and helps future-proof the code.
20985 (timer-until): Use time-subtract and float-time.
20986 (timer--time-less-p): Use time-less-p.
20987
20988 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
20989
20990 * type-break.el (timep): Use the value of `float-time' to avoid a
20991 byte-compiler warning.
20992
20993 * server.el (server-eval-and-print): Return any result, even nil.
20994
20995 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
20996
20997 * type-break.el: Accept time formats that the builtins accept.
20998 (timep, type-break-time-difference): Accept any format that
20999 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
21000 This is simpler and helps future-proof the code.
21001 (type-break-time-difference): Round rather than ignoring
21002 subseconds components.
21003
21004 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21005
21006 * info.el (Info-apropos-matches): Make non-interactive, since it
21007 doesn't seem to do anything useful as a command (bug#8829).
21008
21009 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
21010
21011 * frame.el (frame-background-mode, frame-set-background-mode):
21012 Move from faces.el.
21013 (frame-default-terminal-background): New function.
21014
21015 * custom.el (custom-push-theme): Don't record faces in `changed'
21016 theme; this doesn't work correctly for per-frame face settings.
21017 (disable-theme): Use face-set-after-frame-default to reset faces.
21018 (custom--frame-color-default): New function.
21019
21020 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21021
21022 * dired.el (dired-flagging-regexp): Remove unused variable
21023 (bug#8769).
21024
21025 2011-03-29 Kevin Ryde <user42@zip.com.au>
21026
21027 * progmodes/compile.el (compilation-error-regexp-alist-alist):
21028 `perl-Test2' extend to match possible "fail #N" rep count
21029 (bug#8377).
21030
21031 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21032
21033 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
21034 `smtpmail-via-smtp' now returns the error instead of nil.
21035
21036 * isearch.el (isearch-search-fun-function): Clarify the doc string
21037 (bug#8101).
21038
21039 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
21040
21041 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
21042 unnecessary spaces (bug#8987).
21043
21044 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21045
21046 * net/network-stream.el (open-network-stream): Use the
21047 :end-of-capability command thoughout.
21048
21049 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
21050
21051 * net/network-stream.el (open-network-stream): Add the
21052 :end-of-capability command parameter, used by pop3.el.
21053
21054 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21055
21056 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
21057
21058 * fringe.el (fringe-query-style): Remove redundant text " (type ?
21059 for list)" (bug#6475).
21060
21061 * files.el (file-expand-wildcards): Ignore non-readable
21062 sub-directories while trying to find matches instead of signaling
21063 an error (bug#6297).
21064
21065 * man.el (Man-reference-regexp): Allow matching possible
21066 word-wrapped references (bug#6289).
21067
21068 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
21069 for consistency with the other vc buffers (bug#6197).
21070 (vc-checkin): Ditto.
21071
21072 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
21073
21074 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
21075
21076 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21077
21078 * custom.el (defcustom): Clarify that :set is only used in the
21079 Customize user interface (bug#6089).
21080
21081 * progmodes/flymake.el (flymake-mode): If the buffer isn't
21082 associated with a file, refuse to run instead of erroring out
21083 (bug#6084).
21084
21085 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
21086 the doc string, since it appears that using `fill-column' always
21087 controls the width (bug#7845).
21088
21089 * simple.el (shell-command-on-region): Say where the error output
21090 went if `shell-command-default-error-buffer' is set (bug#6857).
21091
21092 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
21093
21094 * allout.el (allout-yank-processing): Adjust cursor position for
21095 backwards-deleted space.
21096
21097 (allout-rebullet-heading): Register changes with
21098 allout-exposure-changed-hook, so the modified topic is properly
21099 decorated.
21100
21101 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21102
21103 * minibuffer.el (completion-in-region): Document PREDICATE
21104 (bug#7136).
21105
21106 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
21107 of keyword/argument pairs (bug#6904).
21108
21109 * replace.el (multi-occur):
21110 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
21111
21112 2011-07-02 Drew Adams <drew.adams@oracle.com>
21113
21114 * dired.el (dired-mark-if): Make the message about whether it's
21115 marking or unmarking clearer (bug#8523).
21116
21117 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21118
21119 * disp-table.el (display-table-print-array): New function.
21120 (describe-display-table): Use it to print the vectors more pretty
21121 (Bug#8859).
21122
21123 2011-07-02 Martin Rudalics <rudalics@gmx.at>
21124
21125 * window.el (window-state-get-1): Don't assign clone numbers.
21126 Add clone-of item to list of window parameters.
21127 (window-state-put-2): Don't process clone numbers.
21128 (display-buffer-alist): Fix doc-string.
21129
21130 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
21131
21132 * subr.el (remq): Don't allocate if it's not needed.
21133 (keymap--menu-item-binding, keymap--menu-item-with-binding)
21134 (keymap--merge-bindings): New functions.
21135 (keymap-canonicalize): Use them to refine the canonicalization.
21136 * minibuffer.el (minibuffer-local-completion-map)
21137 (minibuffer-local-must-match-map): Move initialization from C.
21138 (minibuffer-local-filename-completion-map): Move initialization from C;
21139 don't inherit from anything here.
21140 (minibuffer-local-filename-must-match-map): Make obsolete.
21141 (completing-read-default): Use make-composed-keymap to combine
21142 minibuffer-local-filename-completion-map with either
21143 minibuffer-local-must-match-map or
21144 minibuffer-local-filename-completion-map.
21145
21146 2011-07-01 Glenn Morris <rgm@gnu.org>
21147
21148 * type-break.el (type-break-time-sum): Use dolist.
21149
21150 * textmodes/flyspell.el (flyspell-word-search-backward):
21151 Replace CL function.
21152
21153 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21154
21155 * mouse.el (mouse--strip-first-event): New function.
21156 (function-key-map): Use it to map fringe clicks to normal clicks
21157 by default.
21158
21159 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
21160 (vc-bzr-revision-completion-table): Add support for annotate and date.
21161
21162 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
21163 inherit from parent.
21164
21165 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
21166
21167 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
21168 (dired-show-file-type): Doc fixup (bug#8818).
21169
21170 * dired.el (dired-mode): Fix up the doc string as suggested by
21171 Drew Adams (bug#8817).
21172
21173 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
21174 cookie, since the manual says that it should be possible to add
21175 this function to `find-file-hook' (bug#8709).
21176
21177 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
21178
21179 * progmodes/cfengine.el: Moved all cfengine3.el functionality
21180 here. Noted Ted Zlatanov as the maintainer.
21181 (cfengine-common-settings, cfengine-common-syntax): New functions
21182 to set up common things between `cfengine-mode' and
21183 `cfengine3-mode'.
21184 (cfengine3-mode): New mode.
21185 (cfengine3-defuns cfengine3-defuns-regex
21186 (cfengine3-class-selector-regex cfengine3-category-regex)
21187 (cfengine3-vartypes cfengine3-font-lock-keywords)
21188 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
21189 (cfengine3-indent-line): Add from cfengine3.el.
21190
21191 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
21192
21193 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
21194
21195 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
21196
21197 2011-07-01 Martin Rudalics <rudalics@gmx.at>
21198
21199 * window.el (same-window-buffer-names, same-window-regexps)
21200 (same-window-p, special-display-frame-alist)
21201 (special-display-popup-frame, special-display-function)
21202 (special-display-buffer-names, special-display-regexps)
21203 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
21204 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21205 (split-window-preferred-function, split-height-threshold)
21206 (split-width-threshold, even-window-heights)
21207 (display-buffer-mark-dedicated, window-splittable-p)
21208 (split-window-sensibly, window-safely-shrinkable-p):
21209 Un-obsolete.
21210 (display-buffer): Don't spread args with function specifier
21211 because special-display-popup-frame won't like it.
21212
21213 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
21214
21215 Time-stamp simplifications and fixes.
21216 These improve accuracy slightly, and future-proof the code
21217 against some potential changes to current-time format.
21218
21219 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
21220 by using time-since and float-time.
21221
21222 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
21223 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
21224 + NNN microseconds".
21225
21226 * type-break.el (type-break-time-sum): Rewrite using time-add.
21227
21228 * play/hanoi.el (hanoi-current-time-float): Remove.
21229 All uses replaced by float-time.
21230
21231 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
21232 This yields a more-accurate answer.
21233 (rng-time-to-float): Remove; no longer needed.
21234
21235 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
21236
21237 * calendar/timeclock.el (timeclock-seconds-to-time):
21238 Defalias to seconds-to-time, since they're the same thing.
21239
21240 * emacs-lisp/elp.el (elp-elapsed-time):
21241 * emacs-lisp/benchmark.el (benchmark-elapse):
21242 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
21243
21244 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21245
21246 * window.el (bury-buffer): Don't iconify the only frame.
21247 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
21248 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
21249
21250 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
21251
21252 * eshell/em-smart.el (eshell-smart-display-navigate-list):
21253 Add mouse-yank-primary.
21254
21255 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
21256
21257 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
21258
21259 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21260
21261 * emacs-lisp/find-func.el (find-library--load-name): New fun.
21262 (find-library-name): Use it to find relative load names when provided
21263 absolute file name (bug#8803).
21264
21265 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
21266
21267 * textmodes/flyspell.el (flyspell-word): Consider words that
21268 differ only in case as potential doublons (bug#5687).
21269
21270 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
21271 Remove two rather uninteresting debugging-like messages to make
21272 debbugs.el more silent.
21273
21274 * comint.el (comint-password-prompt-regexp): Accept "Response" as
21275 a password-like phrase.
21276
21277 2011-06-30 Masatake YAMATO <yamato@redhat.com>
21278
21279 * progmodes/cc-guess.el: New file.
21280
21281 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
21282
21283 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
21284 derived from `c-basic-common-init'.
21285
21286 * progmodes/cc-mode.el (top-level): Require cc-guess.
21287 (c-basic-common-init): Use `cc-choose-style-for-mode'.
21288
21289 2011-06-30 Lawrence Mitchell <wence@gmx.li>
21290
21291 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
21292
21293 2011-06-30 Alan Mackenzie <acm@muc.de>
21294
21295 * progmodes/cc-engine.el (c-guess-continued-construct):
21296 Correct the handling of template-args-cont, particularly for when font
21297 lock is disabled. Name this case as "CASE G".
21298
21299 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
21300
21301 * allout.el (allout-yank-processing): Fix injection of extra space
21302 between bullet and non-whitespace character in first topic when
21303 pasting, ensuring that the actual spacing in the pasted topic
21304 following the bullet char is preserved. This extra space was
21305 causing pasted encrypted topics to get a decrypted status even
21306 when the content was actually still encrypted. Now the decryption
21307 status from before the paste is preserved.
21308
21309 (allout-flag-region): Set all allout overlays so they evaporate
21310 when reduced to zero length (evanescent), to prevent overlay
21311 leakage.
21312
21313 2011-06-30 Glenn Morris <rgm@gnu.org>
21314
21315 * w32-fns.el (w32-charset-info-alist): Declare.
21316
21317 * find-dired.el (find-grep-options): Simplify.
21318
21319 * term/ns-win.el (ns-set-resource): Declare.
21320
21321 * ses.el (row, col): Declare dynamic variables honestly.
21322
21323 * textmodes/reftex-parse.el (index-tags): Declare.
21324
21325 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
21326
21327 * cus-edit.el (customize-push-and-save): New function.
21328
21329 * files.el (hack-local-variables-confirm): Use it.
21330
21331 * custom.el (load-theme): New arg NO-CONFIRM.
21332 Use customize-push-and-save (Bug#8720).
21333 (custom-enabled-themes): Doc fix.
21334
21335 * cus-theme.el (customize-create-theme)
21336 (custom-theme-merge-theme): Callers to load-theme changed.
21337
21338 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
21339
21340 * thingatpt.el (thing-at-point-short-url-regexp): Require that
21341 short URLs have at least one dot in them (bug #7614).
21342
21343 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
21344 nil, because using a pty is apparently too slow (bug #895).
21345
21346 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
21347
21348 * mail/sendmail.el (sendmail-query-once): New function.
21349 (sendmail-query-once-function): New variable.
21350
21351 2011-06-29 Glenn Morris <rgm@gnu.org>
21352
21353 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
21354
21355 * ses.el (top-level): Require cl when compiling.
21356 (ses-set-localvars): Fix error statement.
21357 Call it at compile time to silence a storm of warnings.
21358
21359 2011-06-29 Martin Rudalics <rudalics@gmx.at>
21360
21361 * window.el (normalize-live-buffer): Rename to
21362 window-normalize-buffer.
21363 (normalize-live-frame): Rename to window-normalize-frame.
21364 (normalize-any-window): Rename to window-normalize-any-window.
21365 (normalize-live-window): Rename to window-normalize-live-window.
21366 (make-window-atom): Rename to window-make-atom.
21367 (window-resize-reset): Rename to window--resize-reset.
21368 (window-resize-reset-1): Rename to window--resize-reset-1.
21369 (resize-mini-window): Rename to window--resize-mini-window.
21370 (resize-subwindows-skip-p): Rename to
21371 window--resize-subwindows-skip-p.
21372 (resize-subwindows-normal): Rename to
21373 window--resize-subwindows-normal.
21374 (resize-subwindows): Rename to window--resize-subwindows.
21375 (resize-other-windows): Rename to window--resize-siblings.
21376 (resize-this-window): Rename to window--resize-this-window.
21377 (resize-root-window): Rename to window--resize-root-window.
21378 (resize-root-window-vertically): Rename to
21379 window--resize-root-window-vertically.
21380 (normalize-buffer-to-display): Rename to
21381 window-normalize-buffer-to-display.
21382 (normalize-buffer-to-switch-to): Rename to
21383 window-normalize-buffer-to-switch-to.
21384 Correspondingly update all callers of the functions listed
21385 above.
21386 (display-buffer-alist, display-buffer-normalize-arguments)
21387 (display-buffer-normalize-options, display-buffer)
21388 (display-buffer-alist-set): Use "function" instead of
21389 "fun-with-args".
21390
21391 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
21392
21393 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
21394 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
21395 debbugs.gnu.org. Mention acknowledgment email.
21396
21397 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
21398
21399 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
21400 buffer multibyteness, since it shouldn't matter.
21401
21402 2011-06-28 Martin Rudalics <rudalics@gmx.at>
21403
21404 * window.el (display-buffer-in-side-window): Handle dedicated
21405 windows as in display-buffer-reuse-window.
21406 (display-buffer-normalize-alist): Use value of override
21407 specifier.
21408 (display-buffer-normalize-specifiers): Use value of
21409 other-window-means-other-frame specifier.
21410 (display-buffer-alist): Rewrite some texts in widgets.
21411 (display-buffer): Spread arguments when calling function
21412 specified by fun-with-args.
21413
21414 2011-06-28 Deniz Dogan <deniz@dogan.se>
21415
21416 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
21417 Unnest `let'.
21418
21419 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
21420 selectors (Bug#5732).
21421 (css-proprietary-nmstart-re): Use `regexp-opt'.
21422
21423 2011-06-27 Jari Aalto <jari.aalto@cante.net>
21424
21425 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
21426 (eshell-ls-date-format): New defcustom.
21427 (eshell-ls-file): Use it.
21428
21429 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
21430
21431 * help-fns.el (describe-variable): Fix message for terminal-local vars.
21432
21433 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
21434
21435 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
21436 (ange-ftp-make-tmp-name): New arg.
21437 (ange-ftp-file-local-copy): Use it.
21438
21439 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
21440
21441 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
21442 no-conversion (Bug#8870).
21443
21444 2011-06-27 Martin Rudalics <rudalics@gmx.at>
21445
21446 * window.el (window-right, window-left, window-child)
21447 (window-child-count, window-last-child)
21448 (window-iso-combination-p, walk-window-tree-1)
21449 (window-atom-check-1, window-tree-1, delete-window)
21450 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
21451 new naming conventions - window-vchild, window-hchild,
21452 window-next and window-prev are now called window-top-child,
21453 window-left-child, window-next-sibling and window-prev-sibling
21454 respectively.
21455 (resize-window-reset): Rename to window-resize-reset.
21456 (resize-window-reset-1): Rename to window-resize-reset-1.
21457 (resize-window): Rename to window-resize.
21458 (window-min-height, window-min-width)
21459 (resize-mini-window, resize-this-window, resize-root-window)
21460 (resize-root-window-vertically, adjust-window-trailing-edge)
21461 (enlarge-window, shrink-window, maximize-window)
21462 (minimize-window, delete-window, quit-restore-window)
21463 (split-window, balance-windows, balance-windows-area-adjust)
21464 (balance-windows-area, window-state-put-2)
21465 (display-buffer-even-window-sizes, display-buffer-set-height)
21466 (display-buffer-set-width, set-window-text-height)
21467 (fit-window-to-buffer): Rename all "resize-window" prefixed
21468 calls to use the "window-resize" prefix convention.
21469 (display-buffer-alist): Fix symbol for label specifier.
21470 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
21471 corresponding specifier.
21472 Reported by Juanma Barranquero <lekktu@gmail.com>.
21473
21474 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
21475
21476 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
21477 convention.
21478 (ses-call-printer): Does not pass an empty string to formatter when the
21479 cell is empty to keep from barking printer Calc math-format-value.
21480
21481 2011-06-27 Richard Stallman <rms@gnu.org>
21482
21483 * battery.el (battery-mode-line-limit): New variable.
21484 (battery-update): Handle it.
21485
21486 * mail/rmailmm.el (rmail-mime-process-multipart):
21487 Handle truncated messages.
21488
21489 2011-06-27 Glenn Morris <rgm@gnu.org>
21490
21491 * progmodes/flymake.el (flymake-err-line-patterns):
21492 Allow for column numbers in the ant/javac pattern. (Bug#8866)
21493
21494 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
21495
21496 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
21497 (ses--clean-!, ses--clean-_): New functions.
21498 (ses-range): Add configurability of readout order, and conversion
21499 to Calc vector.
21500
21501 * ses.el (ses-repair-cell-reference-all): New function.
21502 (ses-cell-symbol): Set macro as safe, so that it can be used in
21503 formulas.
21504
21505 * ses.el: Update cycle detection algorithm.
21506 (ses-localvars): Add ses--Dijkstra-attempt-nb and
21507 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
21508 (ses-set-localvars): New function.
21509 (ses-make-cell): Add property-list as a cell element.
21510 (ses-cell-property-get-fun, ses-cell-property-get)
21511 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
21512 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
21513 New functions.
21514 (ses-cell-property-set, ses-cell-property-pop)
21515 (ses-cell-property-get-handle): New macro.
21516 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
21517 New aliases, used for code readability.
21518 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
21519 cycle detection.
21520 (ses-self-reference-early-detection): New defcustom.
21521 (ses-formula-references): Robustify against self-referring cells.
21522 (ses-mode): Use ses-set-localvars.
21523 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
21524 before lauching the update processing.
21525 (ses-initialize-Dijkstra-attempt): New function.
21526 (ses-recalculate-cell): Update for cycle detection based on
21527 Dijkstra algorithm.
21528
21529 * ses.el: Fix commenting and indenting convention.
21530
21531 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
21532
21533 * bs.el (bs-cycle-next): Complete last change.
21534
21535 2011-06-27 Drew Adams <drew.adams@oracle.com>
21536
21537 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
21538
21539 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
21540
21541 * net/network-stream.el (network-stream-open-starttls):
21542 Don't re-get capabilities unless we've reestablished connection.
21543 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
21544
21545 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
21546 to binary to possibly avoid line encoding issues on Windows (among
21547 other things).
21548
21549 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
21550
21551 * net/network-stream.el (open-network-stream): Return an :error
21552 saying what the problem was, if possible.
21553
21554 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
21555 server.
21556
21557 * net/network-stream.el (network-stream-open-starttls): If we
21558 wanted to use STARTTLS, and the server offered it, but we weren't
21559 able to because we had no STARTTLS support, then close the connection.
21560 (open-network-stream): Return an :error element, if present.
21561
21562 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
21563
21564 * hl-line.el (hl-line-sticky-flag): Doc fix.
21565 (global-hl-line-sticky-flag): New option (Bug#8323).
21566 (global-hl-line-highlight): Obey it.
21567
21568 * vc/vc.el (vc-revert-show-diff): Default to t.
21569
21570 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
21571
21572 * allout-widgets.el (allout-widgets-post-command-business):
21573 Stop decorating intermediate isearch matches. They're not being
21574 undecorated when an isearch is continued past, and isearch
21575 automatically collapses them. This leads to "widget leaks", where
21576 decorated items accumulate in collapsed areas. Lines with lots of
21577 hidden widgets can slow down cursor travel, substantially.
21578 Too much complicated machinery would be needed to ensure undecoration,
21579 so we're doing without this nicety.
21580
21581 (allout-widgets-tally-string): Don't try to do a hash-table-count
21582 of allout-widgets-tally when it's nil. This eliminates spurious "Error
21583 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
21584 *Messages* when allout-widgets-maintain-tally is t.
21585
21586 2011-06-26 Martin Rudalics <rudalics@gmx.at>
21587
21588 * window.el (display-buffer-normalize-argument): Rename to
21589 display-buffer-normalize-arguments. Handle special meaning of
21590 LABEL argument. Respect special-display-function when popping up
21591 a new frame. Fix code searching for a window showing the buffer
21592 on another frame.
21593 (display-buffer-normalize-specifiers):
21594 Call display-buffer-normalize-arguments.
21595 (display-buffer-in-window): Don't undedicate the window if its
21596 buffer remains the same.
21597 Reported by Drew Adams <drew.adams@oracle.com>.
21598 (display-buffer-alist): Add choice for same-window macro
21599 specfier.
21600 (display-buffer): Mention special meaning of LABEL argument in
21601 doc-string. Fix quoting. Don't pop up a new frame even as
21602 fallback.
21603
21604 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
21605
21606 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
21607 avoid deleting the current window in some cases (bug#8911).
21608
21609 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
21610
21611 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
21612 (Bug#8934)
21613
21614 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
21615
21616 * net/network-stream.el (network-stream-open-starttls):
21617 Use built-in TLS support if `gnutls-available-p' is true.
21618 (network-stream-open-tls): Ditto.
21619
21620 2011-06-26 Leo Liu <sdl.web@gmail.com>
21621
21622 * register.el (registerv): New struct.
21623 (registerv-make): New function.
21624 (jump-to-register, describe-register-1, insert-register):
21625 Support the jump-func, print-func and insert-func slot of a registerv
21626 struct. (Bug#8415)
21627
21628 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
21629
21630 * vc/vc.el (vc-revert-show-diff): New defcustom.
21631 (vc-diff-internal): New arg specifying diff buffer.
21632 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
21633 reuse an existing *vc-diff* buffer (Bug#8927).
21634
21635 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
21636
21637 2011-06-26 Glenn Morris <rgm@gnu.org>
21638
21639 * progmodes/f90.el (f90-critical-indent): New option.
21640 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
21641 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
21642 (f90-mode): Doc fix.
21643 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
21644 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
21645 (f90-beginning-of-block, f90-next-block, f90-indent-region)
21646 (f90-match-end): Handle block, critical.
21647
21648 2011-06-25 Glenn Morris <rgm@gnu.org>
21649
21650 * calendar/diary-lib.el (diary-included-files): Doc fix.
21651 (diary-include-files): New function, extracted from
21652 diary-include-other-diary-files and diary-mark-included-diary-files.
21653 (diary-include-other-diary-files, diary-mark-included-diary-files):
21654 Just call diary-include-files.
21655 (diary-mark-entries): Reset diary-included-files on first call.
21656
21657 * calendar/diary-lib.el (diary-mark-entries)
21658 (diary-mark-included-diary-files):
21659 Visit included diary-files in temp buffers.
21660
21661 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
21662 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
21663 (f90-start-block-re, f90-imenu-generic-expression)
21664 (f90-looking-at-program-block-start, f90-no-block-limit):
21665 Add support for submodules.
21666
21667 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
21668 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
21669
21670 2011-06-25 Eli Zaretskii <eliz@gnu.org>
21671
21672 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
21673 buffer-file-type before setting its value, to avoid disastrous
21674 global effects on decoding files for DOS/Windows systems. (Bug#8780)
21675
21676 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
21677
21678 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
21679
21680 * ses.el (ses-unload-function):
21681 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
21682
21683 * proced.el (proced-unload-function):
21684 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
21685
21686 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
21687
21688 * server.el (server-create-window-system-frame): Add parameters arg.
21689 (server-process-filter): Doc fix. Handle frame-parameters.
21690
21691 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
21692
21693 Fix bug#8730, bug#8781.
21694
21695 * loadhist.el (unload--set-major-mode): New function.
21696 (unload-feature): Use it.
21697
21698 * progmodes/python.el (python-after-info-look): Add autoload cookie.
21699 (python-unload-function): New function.
21700
21701 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
21702
21703 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
21704
21705 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
21706
21707 * net/browse-url.el (browse-url-firefox-program): Add icecat to
21708 the candidates list.
21709
21710 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
21711
21712 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
21713
21714 2011-06-23 Richard Stallman <rms@gnu.org>
21715
21716 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
21717 (rmail-variables): Set next-error-move-function.
21718 (rmail-what-message): Take argument POS.
21719 (rmail-next-error-move): New function.
21720
21721 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
21722
21723 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
21724 messages for adjacent non-terminals.
21725
21726 2011-06-23 Richard Stallman <rms@gnu.org>
21727
21728 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
21729 (rmail-show-message-1): Preserve buffer modified flag.
21730 (rmail-start-mail): Don't specify use of rmail-mail-return;
21731 that's done by mail-bury now.
21732 (rmail-mail-return): Handle arg NEWBUF.
21733
21734 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
21735
21736 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
21737 SIZE is a number.
21738
21739 2011-06-23 Martin Rudalics <rudalics@gmx.at>
21740
21741 * window.el (get-lru-window, get-mru-window)
21742 (get-largest-window): Never return a minibuffer window.
21743 (display-buffer-pop-up-window): Fix a bug that could lead to
21744 reusing the minibuffer window.
21745 (display-buffer): Pass original specifier argument to
21746 display-buffer-function instead of the normalized one.
21747 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
21748
21749 2011-06-22 Leo Liu <sdl.web@gmail.com>
21750
21751 * minibuffer.el (completing-read-function)
21752 (completing-read-default): Move from minibuf.c.
21753
21754 2011-06-22 Richard Stallman <rms@gnu.org>
21755
21756 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
21757 to Rmail even if not started by a special Rmail command.
21758
21759 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
21760 Copy the buffer currently showing just one message.
21761
21762 2011-06-22 Roland Winkler <winkler@gnu.org>
21763
21764 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
21765 (bibtex-clean-entry): First delete the old key so that a
21766 customized algorithm for generating the new key does not get
21767 confused by the old key.
21768 (bibtex-url): Obey regexp of first step.
21769 (bibtex-search-entries): Do not use add-to-list with local
21770 list-var.
21771
21772 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
21773
21774 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
21775 stored a user name, then query for the password first, instead of
21776 waiting for SMTP to give an error message and the trying again.
21777
21778 2011-06-22 Lawrence Mitchell <wence@gmx.li>
21779
21780 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
21781 BUFFER in call-process.
21782
21783 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
21784
21785 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
21786 QUIT twice.
21787 (smtpmail-try-auth-methods): Require user name and password from
21788 auth-source.
21789
21790 2011-06-22 Martin Rudalics <rudalics@gmx.at>
21791
21792 * window.el (display-buffer-default-specifiers)
21793 (display-buffer-alist): Remove entries for pop-up-frame-alist.
21794 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
21795 (split-window): Normalize SIDE argument (Bug#8916).
21796
21797 * frame.el (pop-up-frame-alist, pop-up-frame-function)
21798 (special-display-frame-alist, special-display-popup-frame):
21799 Remove duplicate declarations. These are now in window.el.
21800
21801 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21802
21803 * mail/smtpmail.el (smtpmail-via-smtp):
21804 Set :use-starttls-if-possible so that we always use STARTTLS if the
21805 server supports it. SMTP servers that support STARTTLS commonly
21806 require it.
21807
21808 * net/network-stream.el (network-stream-open-starttls): Support
21809 upgrading to STARTTLS always, even if we don't have built-in support.
21810 (open-network-stream): Add the :always-query-capabilities keyword.
21811
21812 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
21813 upgrades with `open-network-stream', and rely solely on
21814 auth-source for all credentials. Big changes throughout the file,
21815 but in particular:
21816 (smtpmail-auth-credentials): Remove.
21817 (smtpmail-starttls-credentials): Remove.
21818 (smtpmail-via-smtp): Check for servers saying they want AUTH after
21819 MAIL FROM, too.
21820
21821 * net/network-stream.el (network-stream-open-starttls):
21822 Provide support for client certificates both for external and built-in
21823 STARTTLS.
21824 (auth-source): Require.
21825 (open-network-stream): Document the :client-certificate keyword.
21826 (network-stream-certificate): Change cert-cert to cert and
21827 cert-key to key.
21828
21829 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
21830
21831 * net/tramp-cache.el (top): Don't load the persistency file when
21832 "emacs -Q" has been called.
21833
21834 2011-06-21 Tim Harper <timcharper@gmail.com>
21835
21836 * term/ns-win.el (ns-initialize-window-system):
21837 Set application-specific `ApplePressAndHoldEnabled' system
21838 resource to NO as it is not yet supported by the NS port.
21839
21840 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
21841
21842 * misc.el (list-dynamic-libraries--refresh): Compute header here...
21843 (list-dynamic-libraries): ...not here.
21844
21845 2011-06-21 Leo Liu <sdl.web@gmail.com>
21846
21847 * subr.el (sha1): Implement sha1 using secure-hash.
21848
21849 2011-06-21 Martin Rudalics <rudalics@gmx.at>
21850
21851 * window.el (display-buffer-alist): In default value do not
21852 enforce searching a window on any but the selected frame.
21853 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
21854 (display-buffer-select-window): Remove function.
21855 (display-buffer-in-window): When a window on another frame gets
21856 reused, do not select it any more but just raise its frame if
21857 necessary (Bug#8851) and (Bug#8856).
21858 (display-buffer-normalize-options): Handle pop-up-frames related
21859 options more faithfully.
21860 (pop-to-buffer): Don't rely on `display-buffer' selecting the
21861 window if it is on another frame.
21862 (display-buffer-alist, display-buffer-default-specifiers):
21863 Don't make new frame unsplittable by default.
21864 (display-buffer-normalize-argument): Fix doc-string typo and use
21865 'same-frame-other-window instead of 'other-window when associating
21866 with display-buffer-macro-specifiers.
21867
21868 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
21869
21870 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
21871 New functions.
21872 (5x5-mode-map, 5x5-mode-menu): Bind them.
21873 (5x5-draw-grid): Tweak the solver's rendering.
21874
21875 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
21876
21877 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
21878 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
21879
21880 2011-06-21 Drew Adams <drew.adams@oracle.com>
21881
21882 * menu-bar.el: Use function variable instead of switch-to-buffer.
21883 (menu-bar-select-buffer-function): New variable.
21884 (menu-bar-update-buffers): Use it (bug#8876).
21885
21886 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
21887
21888 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
21889 variable's status.
21890
21891 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
21892
21893 * x-dnd.el (x-dnd-version-from-flags)
21894 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
21895 and long as number (Bug#8899).
21896 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
21897
21898 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
21899
21900 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
21901 (completion-try-completion, completion-all-completions): Compute the
21902 metadata argument if it's missing; make it optional (bug#8795).
21903
21904 * wid-edit.el: Use lex-bind and move towards completion-at-point.
21905 (widget-complete): Use new :completion-function property.
21906 (widget-completions-at-point): New function.
21907 (default): Use :completion-function instead of :complete.
21908 (widget-default-completions): Rename from widget-default-complete;
21909 Rewrite.
21910 (widget-string-complete, widget-file-complete, widget-color-complete):
21911 Remove functions.
21912 (file, symbol, function, variable, coding-system, color):
21913 * international/mule-cmds.el (default-input-method, charset)
21914 (language-info-custom-alist):
21915 * cus-edit.el (face): Use new property :completions.
21916
21917 * progmodes/pascal.el (pascal-completions-at-point): New function.
21918 (pascal-mode): Use it.
21919 (pascal-mode-map): Use completion-at-point.
21920 (pascal-toggle-completions): Make obsolete.
21921 (pascal-complete-word, pascal-show-completions):
21922 * progmodes/octave-mod.el (octave-complete-symbol):
21923 Redefine as obsolete alias.
21924 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
21925 Signal absence of completion info for old Octave,
21926 (inferior-octave-complete): Redefine as obsolete alias.
21927 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
21928 (meta-completions-at-point): Rename from meta-complete-symbol and
21929 adapt it for use on completion-at-point-functions.
21930 (meta-common-mode): Use it.
21931 (meta-looking-at-backward, meta-match-buffer): Remove.
21932 (meta-complete-symbol): Redefine as obsolete alias.
21933 (meta-common-mode-map): Use completion-at-point.
21934 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
21935 (makefile-mode-map): Use completion-at-point.
21936 (makefile-completions-at-point): Rename from makefile-complete and
21937 adapt it for use on completion-at-point-functions.
21938 (makefile-mode): Use it.
21939 (makefile-complete): Redefine as obsolete alias.
21940
21941 2011-06-20 Deniz Dogan <deniz@dogan.se>
21942
21943 * net/rcirc.el: Delete trailing whitespaces once and for all.
21944
21945 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
21946
21947 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
21948
21949 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
21950
21951 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
21952
21953 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
21954
21955 2011-06-19 Martin Rudalics <rudalics@gmx.at>
21956
21957 * window.el (display-buffer-other-window-means-other-frame):
21958 Call display-buffer-normalize-alist.
21959 (display-buffer-normalize-specifiers-1): Rename to
21960 display-buffer-normalize-argument. New argument other-frame.
21961 Rewrite.
21962 (display-buffer-normalize-specifiers-2): Rename to
21963 display-buffer-normalize-options.
21964 (display-buffer-normalize-alist-1): New function.
21965 (display-buffer-normalize-specifiers-3): Rename to
21966 display-buffer-normalize-alist.
21967 Call display-buffer-normalize-alist-1.
21968 (display-buffer-normalize-options-inhibit): New variable.
21969 (display-buffer-normalize-specifiers): Rewrite calling
21970 display-buffer-normalize-alist,
21971 display-buffer-normalize-argument, and
21972 display-buffer-normalize-options. Don't call the latter if
21973 display-buffer-normalize-options-inhibit is non-nil.
21974 (frame-auto-delete): New option.
21975 (window-deletable-p): Use frame-auto-delete.
21976 (window-list-no-nils, window-state-ignored-parameters)
21977 (window-state-get-1, window-state-get, window-state-put-list)
21978 (window-state-put-1, window-state-put-2, window-state-put):
21979 New functions.
21980 (display-buffer-normalize-options): Move special-display-p group
21981 after pop-up-frame group (Bug#8851) and (Bug#8856).
21982
21983 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
21984
21985 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
21986 groups (Bug#8776).
21987 (rx-submatch-n): New function.
21988 (rx): Document it.
21989
21990 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
21991 (Bug#8768).
21992
21993 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
21994
21995 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
21996
21997 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
21998 anytime existing face settings are present (Bug#8889).
21999
22000 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
22001 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
22002 Remove unused argument.
22003
22004 2011-06-18 Martin Rudalics <rudalics@gmx.at>
22005
22006 * window.el (display-buffer-default-specifiers):
22007 Remove pop-up-frame. Add pop-up-window-min-height,
22008 pop-up-window-min-width, and another reuse-window specifier
22009 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
22010 (display-buffer-normalize-specifiers-2):
22011 Handle split-height-threshold and split-width-threshold also when
22012 pop-up-windows is unset. Add a reuse-window specifier for the
22013 case popping up a new window fails.
22014 (special-display-popup-frame): Remove double quoting.
22015 (display-buffer-normalize-specifiers-1): Fix thinko.
22016
22017 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
22018
22019 * shell.el (shell-completion-vars): Set pcomplete-termination-string
22020 according to comint-completion-addsuffix.
22021
22022 * pcomplete.el: Convert to lexical binding and fix bug#8819.
22023 (pcomplete-suffix-list): Mark as obsolete.
22024 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
22025 pcomplete-seen in the closure.
22026 (pcomplete-comint-setup): Setup completion-at-point as well.
22027 (pcomplete--entries): New function.
22028 (pcomplete--env-regexp): New var.
22029 (pcomplete-entries): Rewrite to work with partial-completion and
22030 without relying on pcomplete-suffix-list.
22031 (pcomplete-pare-list): Remove, unused.
22032
22033 2011-06-17 Martin Rudalics <rudalics@gmx.at>
22034
22035 * window.el (display-buffer-alist): Set pop-up-window-min-height
22036 and pop-up-window-min-width in default value. Reported by
22037 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
22038 other-window-means-other-frame.
22039 (display-buffer-macro-specifiers): Comment out entry for
22040 other-window specifier.
22041 (display-buffer-other-window-means-other-frame): New function.
22042 (display-buffer-normalize-specifiers-1): New arguments
22043 buffer-name and label. Treat other-window case specially.
22044 (display-buffer-normalize-specifiers-2): Treat other-window case
22045 specially.
22046 (display-buffer-normalize-specifiers-3): New function.
22047 (display-buffer-normalize-specifiers):
22048 Call display-buffer-normalize-specifiers-3.
22049
22050 2011-06-17 Martin Rudalics <rudalics@gmx.at>
22051
22052 * window.el (same-window-p): Fix two typos introduced when
22053 adding with-no-warnings.
22054 (display-buffer-normalize-specifiers-1): Don't check
22055 pop-up-frames for 'unset initialization.
22056 (display-buffer-normalize-specifiers-2): Major rewrite using
22057 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
22058 (pop-up-frames, display-buffer-reuse-frames)
22059 (display-buffer-mark-dedicated): Don't initialize to 'unset.
22060 Suggested by David Engster <deng@randomsample.de>.
22061 (even-window-heights): Initialize to 'unset.
22062 (display-buffer-alist-set): Handle new 'unset initializations.
22063 (display-buffer-macro-specifiers): Don't pop up a new frame in the
22064 other window case.
22065
22066 2011-06-16 Martin Rudalics <rudalics@gmx.at>
22067
22068 * window.el (display-buffer-normalize-specifiers-1):
22069 Respect current value of pop-up-frames for most reasonable values of
22070 second argument of display-buffer (Bug#8865).
22071 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
22072 (switch-to-buffer-other-window-same-frame)
22073 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
22074 Adams (Bug#8875).
22075 (display-buffer): Don't check noninteractive when calling
22076 display-buffer-pop-up-frame.
22077 (display-buffer-pop-up-frame): Never pop up a frame in
22078 noninteractive mode (Bug#8857).
22079 (enlarge-window, shrink-window): Don't report an error when the
22080 window can't be resized as requested (Bug#8862).
22081
22082 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
22083
22084 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
22085
22086 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
22087
22088 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
22089
22090 2011-06-15 Alan Mackenzie <acm@muc.de>
22091
22092 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
22093 for declarators, disable knr checking to speed up for normal files.
22094 2: Refactor, replacing a sequence of nested if forms by a cond form.
22095
22096 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
22097
22098 * net/network-stream.el (open-network-stream): Add the keyword
22099 :always-query-capabilities for the case where you want to force a
22100 `plain' network connection, but the protocol still requires the
22101 capabilitiy command (i.e., SMTP and EHLO).
22102
22103 * subr.el (process-live-p): Rename from `process-alive-p' for
22104 consistency with other `-live-p' functions.
22105
22106 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
22107
22108 * window.el (same-window-buffer-names, same-window-regexps)
22109 (special-display-frame-alist, special-display-popup-frame)
22110 (special-display-function, special-display-buffer-names)
22111 (special-display-regexps, pop-up-frame-alist)
22112 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
22113 (pop-up-windows, split-window-preferred-function)
22114 (split-height-threshold, split-width-threshold, even-window-heights)
22115 (display-buffer-mark-dedicated): Don't encourage the use of
22116 display-buffer-alist from Elisp code.
22117
22118 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
22119
22120 * progmodes/python.el (python-mode): Derive from prog-mode.
22121 * progmodes/ps-mode.el (ps-mode):
22122 * progmodes/mixal-mode.el (mixal-mode):
22123 * progmodes/cfengine.el (cfengine-mode):
22124 * progmodes/ld-script.el (ld-script-mode): Likewise.
22125
22126 2011-06-15 Martin Rudalics <rudalics@gmx.at>
22127
22128 * window.el (display-buffer-alist): Trim default value to avoid
22129 popping up a new frame (Bug#8857) or reusing an arbitrary window
22130 on another frame.
22131 (display-buffer): Do not fall back on popping up a new frame in
22132 batch mode (Bug#8857).
22133
22134 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
22135
22136 * cus-theme.el (describe-theme-1): Use custom-theme-p.
22137 (custom-theme-summary): New function.
22138 (customize-themes): Use it.
22139
22140 2011-06-13 Glenn Morris <rgm@gnu.org>
22141
22142 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
22143
22144 2011-06-13 Martin Rudalics <rudalics@gmx.at>
22145
22146 * help.el (help-window): Remove variable.
22147 (help-window-point-marker, temp-buffer-max-height)
22148 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
22149 (help-print-return-message): Don't set help-window.
22150 (resize-temp-buffer-window): Rewrite cod eand doc-string.
22151 (help-window-setup-finish): Remove.
22152 (help-window-display-message, help-window-setup)
22153 (with-help-window): Major rewrite based on new
22154 display-buffer-window variable.
22155
22156 * help-mode.el (help-mode-finish): Remove help-window related
22157 code.
22158
22159 * view.el (view-exits-all-viewing-windows): Remove reference to
22160 view-return-to-alist in doc-string.
22161 (view-return-to-alist): Make obsolete.
22162 (view-buffer): Call pop-to-buffer-same-window and remove
22163 undo-window code.
22164 (view-buffer-other-window): Call pop-to-buffer-other-window and
22165 simplify code. Ignore second argument.
22166 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
22167 simplify code. Ignore second argument.
22168 (view-return-to-alist-update): Make obsolete.
22169 (view-mode-enter): Rename second argument to QUIT-RESTORE.
22170 Rewrite using quit-restore window parameters.
22171 (view-mode-exit): Rename second argument to EXIT-ONLY.
22172 Rewrite using quit-restore-window.
22173 (View-exit, View-exit-and-edit, View-leave, View-quit)
22174 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
22175 appropriate arguments.
22176 (view-end-message): Use quit-restore window parameter.
22177
22178 * window.el (display-buffer-function): Rewrite doc-string.
22179 (display-buffer-window, display-buffer-alist): New variables.
22180 (display-buffer-split-specifiers)
22181 (display-buffer-side-specifiers)
22182 (display-buffer-macro-specifiers): New constants.
22183 (display-buffer-even-window-sizes, display-buffer-set-height)
22184 (display-buffer-set-width, display-buffer-select-window)
22185 (display-buffer-in-window, display-buffer-reuse-window)
22186 (display-buffer-split-window-1, display-buffer-split-window)
22187 (display-buffer-split-atom-window, display-buffer-pop-up-window)
22188 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
22189 (display-buffer-in-side-window, normalize-buffer-to-display)
22190 (display-buffer-normalize-specifiers-1)
22191 (display-buffer-normalize-specifiers-2)
22192 (display-buffer-normalize-specifiers, display-buffer-frame):
22193 New functions.
22194 (display-buffer): Major rewrite.
22195 (display-buffer-other-window, display-buffer-other-frame)
22196 (pop-to-buffer, switch-to-buffer-other-window)
22197 (switch-to-buffer-other-frame): Rewrite.
22198 (display-buffer-same-window, display-buffer-same-frame)
22199 (display-buffer-same-frame-other-window)
22200 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
22201 (pop-to-buffer-other-window)
22202 (pop-to-buffer-same-frame-other-window)
22203 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
22204 (switch-to-buffer-other-window-same-frame): New functions.
22205 (same-window-p, special-display-p): Rewrite disabling warnings.
22206 Make obsolete.
22207 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
22208 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
22209 Make obsolete
22210 (same-window-buffer-names, same-window-regexps)
22211 (special-display-frame-alist, special-display-popup-frame)
22212 (special-display-function, special-display-buffer-names)
22213 (special-display-regexps, pop-up-frame-alist)
22214 (pop-up-frame-function, split-window-preferred-function)
22215 (split-height-threshold, split-width-threshold)
22216 (even-window-heights): Make obsolete.
22217
22218 2011-06-12 Glenn Morris <rgm@gnu.org>
22219
22220 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
22221 Misc simplifications.
22222
22223 2011-06-12 Martin Rudalics <rudalics@gmx.at>
22224
22225 * window.el (window-safely-shrinkable-p): Restore function which
22226 was inadvertently removed in change from 2011-06-11. Declare as
22227 obsolete.
22228
22229 * calendar/calendar.el (calendar-generate-window):
22230 Use window-iso-combined-p instead of combination of one-window-p and
22231 window-safely-shrinkable-p.
22232
22233 2011-06-12 Glenn Morris <rgm@gnu.org>
22234
22235 * progmodes/fortran.el (fortran-mode-syntax-table):
22236 * progmodes/f90.el (f90-mode-syntax-table):
22237 Set % to punctuation. (Bug#8820)
22238 (f90-find-tag-default): Remove, no longer needed.
22239
22240 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
22241
22242 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
22243
22244 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
22245
22246 * image.el (image-animated-p): Return animation delay in seconds.
22247 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
22248 (image-animate-timeout): Remove DELAY argument. Don't assume
22249 every subimage has the same delay; get it from image-animated-p.
22250 (image-animate): Caller changed.
22251
22252 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
22253
22254 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
22255 to ignored backtrace functions.
22256
22257 2011-06-11 Glenn Morris <rgm@gnu.org>
22258
22259 * calendar/appt.el (appt-disp-window-function): Doc fix.
22260 (appt-check): Handle overlapping appointments. (Bug#8337)
22261
22262 2011-06-11 Martin Rudalics <rudalics@gmx.at>
22263
22264 * window.el (window-tree-1, window-tree): New functions, moving
22265 the latter to window.el.
22266 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
22267 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
22268 (bw-refresh-edges): Remove.
22269 (balance-windows-1, balance-windows-2): New functions.
22270 (balance-windows): Rewrite in terms of window tree functions,
22271 balance-windows-1 and balance-windows-2.
22272 (bw-adjust-window): Remove.
22273 (balance-windows-area-adjust): New function with functionality of
22274 bw-adjust-window but using resize-window.
22275 (set-window-text-height): Rewrite doc-string.
22276 Use normalize-live-window and resize-window.
22277 (enlarge-window-horizontally, shrink-window-horizontally):
22278 Rename argument to DELTA.
22279 (window-buffer-height): New function.
22280 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
22281 Rewrite using new window resize routines.
22282 (kill-buffer-and-window, mouse-autoselect-window-select):
22283 Use ignore-errors instead of condition-case.
22284 (quit-window): Call delete-frame instead of delete-windows-on
22285 for the only buffer on frame.
22286
22287 2011-06-10 Martin Rudalics <rudalics@gmx.at>
22288
22289 * loadup.el (top-level): Load window before files for the sake
22290 of replace-buffer-in-windows.
22291
22292 * files.el (read-buffer-to-switch)
22293 (switch-to-buffer-other-window)
22294 (switch-to-buffer-other-frame, display-buffer-other-frame):
22295 Move to window.el.
22296
22297 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
22298 (previous-buffer): Move to window.el.
22299
22300 * bindings.el (unbury-buffer): Move to window.el.
22301
22302 * window.el (delete-other-windows-vertically): Move after
22303 definition of delete-other-windows.
22304 (other-window, delete-windows-on, replace-buffer-in-windows):
22305 Move here from window.c.
22306 (record-window-buffer, unrecord-window-buffer)
22307 (set-window-buffer-start-and-point, switch-to-prev-buffer)
22308 (switch-to-next-buffer): New functions.
22309 (get-next-valid-buffer, last-buffer, next-buffer): Move here
22310 from simple.el. Call switch-to-next-buffer.
22311 (previous-buffer): Move here from simple.el.
22312 Call switch-to-prev-buffer.
22313 (bury-buffer): Move here from buffer.c. Switch to previous
22314 buffer when window cannot be deleted.
22315 (unbury-buffer): Move here from bindings.el.
22316 (ctl-x-map): Move binding for other-window from window.c to
22317 here.
22318 (read-buffer-to-switch, switch-to-buffer-other-window)
22319 (switch-to-buffer-other-frame): Move here from files.el.
22320 (normalize-buffer-to-switch-to): New functions.
22321 (switch-to-buffer): Move here from buffer.c.
22322 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
22323
22324 2011-06-10 Martin Rudalics <rudalics@gmx.at>
22325
22326 * window.el (window-min-height, window-min-width): Move here
22327 from window.c. Add defcustoms and rewrite doc-strings.
22328 (resize-mini-window, resize-window): New functions.
22329 (adjust-window-trailing-edge, enlarge-window, shrink-window):
22330 Move here from window.c.
22331 (maximize-window, minimize-window): New functions.
22332 (delete-window, delete-other-windows, split-window): Move here
22333 from window.c.
22334 (window-split-min-size): New function.
22335 (split-window-keep-point): Mention split-window-above-each-other
22336 instead of split-window-vertically.
22337 (split-window-above-each-other, split-window-vertically):
22338 Rename split-window-vertically to split-window-above-each-other
22339 and provide defalias for old definition.
22340 (split-window-side-by-side, split-window-horizontally):
22341 Rename split-window-horizontally to split-window-side-by-side
22342 and provide defalias for the old definition.
22343 (ctl-x-map): Move bindings for delete-window,
22344 delete-other-windows and enlarge-window here from window.c.
22345 Replace bindings for split-window-vertically and
22346 split-window-horizontally by bindings for
22347 split-window-above-each-other and split-window-side-by-side.
22348
22349 * cus-start.el (all): Remove entries for window-min-height and
22350 window-min-width. Add entries for window-splits and
22351 window-nest.
22352
22353 2011-06-09 Glenn Morris <rgm@gnu.org>
22354
22355 * calendar/appt.el (appt-mode-line): New function.
22356 (appt-check, appt-disp-window): Use it.
22357
22358 * files.el (hack-one-local-variable-eval-safep):
22359 Allow minor-modes with explicit +/-1 arguments.
22360
22361 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
22362
22363 * term/xterm.el (xterm): Add defgroup.
22364 (xterm-extra-capabilities): Add defcustom to supply known xterm
22365 capabilities, skip querying them, or query them (default).
22366 (terminal-init-xterm): Use it.
22367 (terminal-init-xterm-modify-other-keys): New function to set up
22368 modifyOtherKeys support to simplify `terminal-init-xterm'.
22369
22370 2011-06-09 Martin Rudalics <rudalics@gmx.at>
22371
22372 * window.el (resize-window-reset, resize-window-reset-1)
22373 (resize-subwindows-skip-p, resize-subwindows-normal)
22374 (resize-subwindows, resize-other-windows, resize-this-window)
22375 (resize-root-window, resize-root-window-vertically)
22376 (window-deletable-p, window-or-subwindow-p)
22377 (frame-root-window-p): New functions.
22378
22379 2011-06-09 Glenn Morris <rgm@gnu.org>
22380
22381 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
22382 (ange-ftp-get-files): Use it.
22383
22384 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
22385
22386 * mail/sendmail.el (mail-recover-1, mail-recover):
22387 * files.el (recover-file, recover-session):
22388 Handle dired-listing-switches not being just a single short option.
22389
22390 2011-06-09 Glenn Morris <rgm@gnu.org>
22391
22392 * calendar/appt.el (appt-display-message, appt-disp-window):
22393 Handle lists of appointments.
22394
22395 2011-06-08 Martin Rudalics <rudalics@gmx.at>
22396
22397 * window.el (one-window-p): Move down in code.
22398 Rewrite doc-string.
22399 (window-current-scroll-bars): Rewrite doc-string.
22400 Normalize live window argument.
22401 (walk-windows, get-window-with-predicate, count-windows):
22402 Rewrite doc-string. Use window-list-1.
22403 (window-in-direction-2, window-in-direction, get-mru-window):
22404 New functions.
22405
22406 2011-06-08 Reuben Thomas <rrt@sc3d.org>
22407
22408 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
22409 Doc fix (Bug#8713).
22410
22411 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
22412
22413 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
22414
22415 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
22416
22417 * loadhist.el (unload-feature-special-hooks):
22418 Add `comint-output-filter-functions'.
22419
22420 2011-06-08 Ivan Kanis <gnu@kanis.fr>
22421
22422 * calendar/appt.el (appt-check): Move some initializations into the let.
22423
22424 2011-06-08 Martin Rudalics <rudalics@gmx.at>
22425
22426 * window.el (window-height): Defalias to window-total-height.
22427 (window-width): Defalias to window-body-width.
22428
22429 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
22430
22431 * image-mode.el (image-toggle-animation): New command.
22432 (image-mode-map): Bind it to RET.
22433 (image-mode): Update message.
22434 (image-toggle-display-image): Avoid a spurious cache flush.
22435 (image-transform-rotation): Doc fix.
22436 (image-transform-properties): Return quickly in the normal case.
22437 (image-animate-loop): Rename from image-animate-max-time.
22438
22439 * image.el (image-animate-max-time): Move to image-mode.el.
22440 (create-animated-image): Remove unnecessary function.
22441 (image-animate): Rename from image-animate-start. New arg.
22442 (image-animate-stop): Remove; just use image-animate-timer.
22443 (image-animate-timer): Use car-safe.
22444 (image-animate-timeout): Rename argument.
22445
22446 2011-06-07 Martin Rudalics <rudalics@gmx.at>
22447
22448 * window.el (get-lru-window, get-largest-window): Move here from
22449 window.c. Rename first argument to ALL-FRAMES.
22450 Rephrase doc-strings.
22451 (get-buffer-window-list): Rewrite using window-list-1.
22452 Rephrase doc-string.
22453 (window-safe-min-height, window-safe-min-width): New constants.
22454 (window-size-ignore, window-min-size, window-min-size-1)
22455 (window-sizable, window-sizable-p, window-size-fixed-1)
22456 (window-size-fixed-p, window-min-delta-1, window-min-delta)
22457 (window-max-delta-1, window-max-delta, window-resizable)
22458 (window-resizable-p, window-total-height, window-total-width)
22459 (window-body-width): New functions.
22460 (window-full-height-p, window-full-width-p): Rewrite using
22461 window-total-size.
22462 (window-body-height): Rewrite using window-body-size.
22463
22464 2011-06-06 Martin Rudalics <rudalics@gmx.at>
22465
22466 * window.el (window-right, window-left, window-child)
22467 (window-child-count, window-last-child, window-any-p)
22468 (normalize-live-buffer, normalize-live-frame)
22469 (normalize-any-window, normalize-live-window)
22470 (window-iso-combination-p, window-iso-combined-p)
22471 (window-iso-combinations)
22472 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
22473 (windows-with-parameter, window-with-parameter)
22474 (window-atom-root, make-window-atom, window-atom-check-1)
22475 (window-atom-check, window-side-check, window-check):
22476 New functions.
22477 (ignore-window-parameters, window-sides, window-sides-vertical)
22478 (window-sides-slots): New variables.
22479 (window-size-fixed): Move down in code. Minor doc-string fix.
22480
22481 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
22482
22483 * comint.el (comint-dynamic-complete-as-filename)
22484 (comint-dynamic-complete-filename): Correctly call
22485 completion-in-region.
22486
22487 2011-06-05 Deniz Dogan <deniz@dogan.se>
22488
22489 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
22490 in last change.
22491
22492 2011-06-05 Deniz Dogan <deniz@dogan.se>
22493
22494 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
22495 (rcirc): Use it to prompt for encryption.
22496
22497 2011-06-05 Roland Winkler <winkler@gnu.org>
22498
22499 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
22500 (bibtex-search-entries): New command bound to C-c C-a.
22501 (bibtex-display-entries): New function.
22502
22503 2011-06-05 Roland Winkler <winkler@gnu.org>
22504
22505 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
22506 (bibtex-insert-kill): After yanking insert newline if necessary.
22507 (bibtex-initialize): Call bibtex-string-files-init only once.
22508 (bibtex-mode): Do not call easy-menu-add.
22509 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
22510 (bibtex-yank): Set arg properly if nil.
22511
22512 2011-06-05 Roland Winkler <winkler@gnu.org>
22513
22514 * textmodes/bibtex.el (bibtex-search-entry-globally):
22515 New variable.
22516 (bibtex-search-entry): Use it.
22517
22518 2011-06-05 Roland Winkler <winkler@gnu.org>
22519
22520 * textmodes/bibtex.el (bibtex-entry-format): New option
22521 sort-fields.
22522 (bibtex-format-entry, bibtex-reformat): Honor this option.
22523 (bibtex-parse-entry): Return fields in proper order.
22524
22525 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
22526
22527 * doc-view.el (doc-view-remove-if): Move computation of result out
22528 of `dolist' to silence misleading lexical-binding warning.
22529
22530 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
22531
22532 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
22533 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
22534
22535 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
22536
22537 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
22538 "SunOS 5.10".
22539
22540 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
22541
22542 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
22543 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
22544 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
22545 (tramp-parse-putty):
22546 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
22547 (tramp-completion-function-alist-ssh)
22548 (tramp-completion-function-alist-telnet)
22549 (tramp-completion-function-alist-su)
22550 (tramp-completion-function-alist-putty): Set `tramp-autoload'
22551 cookie.
22552
22553 * net/tramp-ftp.el:
22554 * net/tramp-sh.el:
22555 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
22556 load "tramp.el" `tramp-set-completion-function'.
22557
22558 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
22559
22560 * shell.el: Require and use pcomplete.
22561 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
22562 (shell-completion-vars): Set pcomplete-default-completion-function.
22563
22564 2011-06-04 Deniz Dogan <deniz@dogan.se>
22565
22566 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
22567 `memq' (Bug#8799).
22568
22569 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
22570
22571 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
22572
22573 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
22574
22575 * bs.el (bs--mark-unmark, bs--nth-wrapper):
22576 * mpc.el (mpc-select-extend, mpc-songpointer-context):
22577 * vc/log-view.el (log-view-beginning-of-defun):
22578 * vc/smerge-mode.el (smerge-apply-resolution-patch)
22579 (smerge-refine-forward, smerge-refine-chopup-region):
22580 Silence warning for unused `dotimes' counter variables.
22581
22582 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
22583
22584 * net/tramp.el (tramp-with-progress-reporter): Rename from
22585 with-progress-reporter. Use `declare'.
22586 * net/tramp-smb.el:
22587 * net/tramp-sh.el:
22588 * net/tramp-gvfs.el: Update all uses.
22589
22590 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
22591
22592 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
22593 buffer isn't killed before making it current.
22594
22595 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
22596
22597 Silence various byte-compiler warnings.
22598 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
22599 `access-type' and new obsolescence format.
22600 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
22601 new format.
22602 (byte-compile-check-variable): New `access-type' argument.
22603 Only warn if the access-type is obsolete.
22604 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
22605 (byte-compile-variable-set): Adjust callers.
22606 * help-fns.el (describe-variable): Adjust to new obsolescence format.
22607 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
22608 setting it as obsolete.
22609 * simple.el (minibuffer-completing-symbol):
22610 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
22611 access as obsolete.
22612 * minibuffer.el (minibuffer-completing-file-name): Don't make it
22613 obsolete yet.
22614 * international/quail.el (quail-mouse-choose-completion): Remove unused
22615 code referring to obsolete var.
22616 (quail-choose-completion-string): Remove.
22617 * server.el (server-clients-with, server-kill-buffer-query-function)
22618 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
22619 * proced.el (proced-send-signal):
22620 * emacs-lisp/lisp.el (lisp-complete-symbol):
22621 Replace completion-annotate-function with completion-extra-properties.
22622
22623 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
22624
22625 * simple.el (goto-line): Use read-number.
22626 (overriding-map-is-bound): Remove.
22627 (saved-overriding-map): Change default.
22628 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
22629 Take the map as argument.
22630 (universal-argument, negative-argument, digit-argument): Use it.
22631 (restore-overriding-map): Adjust.
22632 (do-auto-fill): Use fill-forward-paragraph.
22633 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
22634
22635 * minibuffer.el (minibuffer-inactive-mode-map): New var.
22636 (minibuffer-inactive-mode): New major mode.
22637 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
22638 the *Messages* buffer" hack.
22639 (mouse-popup-menubar): Don't burp if the event is a normal key.
22640
22641 Miscellaneous tweaks.
22642 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
22643 lexical scoping as in subr.el's dolist and dotimes.
22644 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
22645 Silence compiler warning.
22646 * thingatpt.el (forward-whitespace): Trivial coding style fix.
22647 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
22648 * international/ccl.el (ccl-compile): Trivial simplification.
22649 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
22650 * emacs-lisp/testcover.el (testcover-end): Remove spurious
22651 `printflag' argument.
22652 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
22653 Purecopy the whole obsolescence data.
22654
22655 2011-06-01 Leo Liu <sdl.web@gmail.com>
22656
22657 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
22658 improve doc-string as suggested by Marco Pessotto
22659 <melmothx@gmail.com>.
22660 (rcirc-print): Fix last change.
22661
22662 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22663
22664 * minibuffer.el (complete-with-action): Return nil for the metadata and
22665 boundaries of non-functional tables.
22666 (completion-table-dynamic): Return nil for the metadata.
22667 (completion-table-with-terminator): Add default case, using
22668 complete-with-action.
22669 (completion--metadata): New function.
22670 (completion-all-sorted-completions, minibuffer-completion-help): Use it
22671 to try and avoid pathological performance problems.
22672 (completion--embedded-envvar-table): Return `category' metadata.
22673
22674 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
22675
22676 * subr.el (process-alive-p): New tiny convenience function.
22677
22678 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22679
22680 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
22681 content but also its previous major mode.
22682
22683 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
22684
22685 * emacs-lisp/debug.el (debug): Restore the previous content of the
22686 *Backtrace* buffer when we exit with C-M-c.
22687
22688 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22689
22690 * minibuffer.el: Add metadata method to completion tables.
22691 (completion-category-overrides): New defcustom.
22692 (completion-metadata, completion--field-metadata)
22693 (completion-metadata-get, completion--styles)
22694 (completion--cycle-threshold): New functions.
22695 (completion-try-completion, completion-all-completions):
22696 Add `metadata' argument to choose completion-styles.
22697 (completion--do-completion): Use metadata to choose cycling.
22698 (completion-all-sorted-completions): Use metadata for sorting.
22699 Remove :completion-cycle-penalty which is not needed any more.
22700 (completion--try-word-completion): Add `metadata' argument.
22701 (minibuffer-completion-help): Check metadata for annotation function
22702 and sorting.
22703 (completion-file-name-table): Return `category' metadata.
22704 (minibuffer-completing-file-name): Make obsolete.
22705 * simple.el (minibuffer-completing-symbol): Make obsolete.
22706 * icomplete.el (icomplete-completions): Pass new `metadata' param to
22707 completion-try-completion.
22708
22709 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
22710
22711 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
22712
22713 2011-05-30 Leo Liu <sdl.web@gmail.com>
22714
22715 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
22716 (rcirc-print): Decode all incoming messages (bug#8744).
22717 (rcirc-decode-coding-system): Allow value nil for automatic coding
22718 system detection.
22719
22720 2011-06-01 Glenn Morris <rgm@gnu.org>
22721
22722 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
22723
22724 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22725
22726 * image.el (image-animate-max-time): Allow nil and t values.
22727 Default to nil.
22728 (create-animated-image): Doc fix.
22729 (image-animate-start): Remove second arg; just use
22730 image-animate-max-time.
22731 (image-animate-timeout): Doc fix. Args changed.
22732
22733 * image-mode.el (image-toggle-display-image): Ensure that the
22734 image spec passed to the animate timer is the same object as in
22735 the buffer's display property (Bug#6981).
22736 (image-transform-properties): Doc fix.
22737
22738 * image.el (image-animate-max-time): Default to nil.
22739
22740 2011-05-29 Martin Rudalics <rudalics@gmx.at>
22741
22742 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
22743 entire buffer list (Bug#8184).
22744
22745 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22746
22747 * image.el (imagemagick-types-inhibit)
22748 (imagemagick-register-types): Doc fix.
22749
22750 2011-05-29 Deniz Dogan <deniz@dogan.se>
22751
22752 * net/rcirc.el (rcirc): Use the user's stored encryption method by
22753 default.
22754
22755 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22756
22757 * select.el: Don't perform clipboard-manager saving in hooks;
22758 leave the hooks empty.
22759
22760 2011-05-28 Leo Liu <sdl.web@gmail.com>
22761
22762 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
22763 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
22764 (occur-edit-mode): New major mode (Bug#8463).
22765 (occur-after-change-function): New function.
22766 (occur-engine): Give Occur tags a read-only property.
22767
22768 2011-05-28 Kevin Ryde <user42@zip.com.au>
22769
22770 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
22771
22772 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22773
22774 * bindings.el (help-echo): Make the initial non-indicator dash
22775 empty on graphical terminals (Bug#7295).
22776
22777 * files.el (auto-mode-alist): Move config rule after the
22778 in-stripping one (Bug#8547).
22779
22780 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
22781
22782 * startup.el (normal-splash-screen): Remove gratuitous mode-line
22783 setting (Bug#8740).
22784
22785 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
22786
22787 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
22788 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
22789 (Bug#8539).
22790
22791 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22792
22793 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
22794
22795 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
22796
22797 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
22798 (hs-hide-block-at-point, hs-find-block-beginning)
22799 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
22800 (Bug#8279).
22801
22802 2011-05-28 Glenn Morris <rgm@gnu.org>
22803
22804 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
22805
22806 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22807
22808 * help-fns.el (describe-function-1): If the function is a derived
22809 major mode, print the parent mode.
22810
22811 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
22812 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
22813
22814 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
22815
22816 * minibuffer.el (completion--capf-wrapper): Check applicability before
22817 returning non-nil for non-exclusive completion data.
22818 * progmodes/etags.el (tags-completion-at-point-function):
22819 * info-look.el (info-lookup-completions-at-point): Mark as
22820 non-exclusive.
22821 (info-complete): Adjust accordingly.
22822
22823 * info-look.el: Convert to lexical-binding and completion-at-point.
22824 (info-lookup-completions-at-point): New function.
22825 (info-complete): Use it and completion-in-region.
22826
22827 2011-05-28 Drew Adams <drew.adams@oracle.com>
22828
22829 * isearch.el: Let M-e start with point at the first mismatched char.
22830 (isearch-fail-pos): New function.
22831 (isearch-edit-string): Use it.
22832
22833 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
22834
22835 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
22836
22837 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
22838
22839 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
22840 traversal functions for avl-trees.
22841 (avl-tree--stack): New struct.
22842 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
22843 (avl-tree-enter): Add optional `updatefun' arg.
22844 (avl-tree--do-enter): Add optional `updatefun' arg.
22845 Change return value.
22846 (avl-tree-delete): Add optional `test' and `nilflag' args.
22847 (avl-tree--do-delete): Add `test' and `nilflag' args.
22848 Change return value.
22849 (avl-tree-member): Add optional `nilflag'
22850 (avl-tree-member-p): New function.
22851 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
22852 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
22853 (avl-tree-stack-empty-p): New functions.
22854
22855 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
22856 avl-tree--del-balance1 and make it work both ways.
22857 (avl-tree--del-balance2): Remove.
22858 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
22859 make it work both ways.
22860 (avl-tree--enter-balance2): Remove.
22861 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
22862 New macros.
22863 (avl-tree--mapc, avl-tree-map): Add direction argument.
22864
22865 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
22866
22867 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
22868
22869 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
22870
22871 * select.el: Support clipboard managers with built-in function
22872 x-clipboard-manager-save, via delete-frame-functions and
22873 kill-emacs-hook.
22874 (xselect-convert-to-targets): Add MULTIPLE target to list.
22875 (xselect-convert-to-save-targets): New function.
22876
22877 2011-05-27 Kenichi Handa <handa@m17n.org>
22878
22879 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
22880 let-binding rfc2047-encode-encoded-words to nil.
22881
22882 2011-05-27 Glenn Morris <rgm@gnu.org>
22883
22884 * mail/emacsbug.el: Don't require url-util.
22885
22886 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
22887
22888 * files.el (set-auto-mode):
22889 Also respect mode: entries at the end of the file. (Bug#8586)
22890
22891 2011-05-26 Glenn Morris <rgm@gnu.org>
22892
22893 * files.el (hack-local-variables-prop-line, hack-local-variables):
22894 Downcase mode names, as seems to be traditional.
22895 (hack-local-variables, hack-local-variables-apply): Doc fixes.
22896
22897 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
22898 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
22899
22900 2011-05-25 Julien Danjou <julien@danjou.info>
22901
22902 * textmodes/rst.el (rst-define-level-faces): Do not define face
22903 symbol if it is already defined.
22904
22905 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
22906
22907 * play/5x5.el (5x5-new-game, 5x5-randomize):
22908 Reset 5x5-solver-output to nil when a new grid is cast.
22909 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
22910 these debugging traces, as defmacro breaks the compiled code.
22911
22912 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
22913
22914 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
22915
22916 2011-05-24 Leo Liu <sdl.web@gmail.com>
22917
22918 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
22919 (vc-bzr-sha1): Adapt.
22920
22921 * sha1.el: Remove. Function `sha1' is now builtin.
22922
22923 * bindings.el: Provide sha1 feature.
22924
22925 2011-05-24 Kenichi Handa <handa@m17n.org>
22926
22927 * mail/sendmail.el: Require `rfc2047'.
22928 (mail-insert-from-field): Do not perform RFC2047 encoding.
22929 (mail-encode-header): New function.
22930 (sendmail-send-it): Set buffer-file-coding-system of the work
22931 buffer to the return value of select-message-coding-system.
22932 Call mail-encode-header.
22933
22934 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
22935
22936 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
22937
22938 * mail/supercite.el (sc-default-cite-frame):
22939 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
22940
22941 2011-05-24 Glenn Morris <rgm@gnu.org>
22942
22943 * progmodes/python.el (brm-menu): Declare.
22944
22945 * emulation/viper.el (viper-set-hooks): Declare.
22946
22947 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
22948 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
22949 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
22950 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
22951 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
22952 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
22953
22954 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
22955
22956 Add an :exit-function for completion-at-point.
22957
22958 * minibuffer.el (completion--done): New fun.
22959 (completion--do-completion): Use it. New arg `expect-exact'.
22960 (minibuffer-complete, minibuffer-complete-word): Don't output message,
22961 since completion--do-completion does it for us now.
22962 (minibuffer-force-complete): Use completion--done and
22963 completion--replace. Handle sole-completion case with more care.
22964 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
22965 (completion-extra-properties): New var.
22966 (completion-annotate-function): Make obsolete.
22967 (minibuffer-completion-help): Adjust accordingly.
22968 Use completion-list-insert-choice-function.
22969 (completion-at-point, completion-help-at-point):
22970 Bind completion-extra-properties.
22971 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
22972 * simple.el (completion-list-insert-choice-function): New var.
22973 (completion-setup-function): Preserve it.
22974 (choose-completion): Pay attention to it, shuffle the code a bit.
22975 (choose-completion-string): New arg `insert-function'.
22976
22977 * textmodes/bibtex.el: Convert to lexical binding.
22978 (bibtex-mode-map): Use completion-at-point.
22979 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
22980 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
22981 (bibtex-complete): Define as obsolete alias.
22982 (bibtex-complete-internal): Remove.
22983 (bibtex-format-entry): Remove unused sub-group in regexp.
22984 * shell.el (shell--command-completion-data)
22985 (shell-environment-variable-completion):
22986 * pcomplete.el (pcomplete-completions-at-point):
22987 * comint.el (comint--complete-file-name-data): Use :exit-function
22988 instead of completion-table-with-terminator so it also works for
22989 choose-completion.
22990
22991 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
22992
22993 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
22994
22995 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
22996 (bug#8710).
22997
22998 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
22999
23000 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
23001
23002 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
23003 customization variable and implement: If non-nil, auto-fill will
23004 be inhibited while on topic's header line.
23005
23006 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
23007
23008 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
23009 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
23010 always have a solution in grid size = 5 cases.
23011 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
23012 (5x5-solver-output, 5x5-log-buffer): New vars.
23013 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
23014 Make these variables buffer local to achieve 5x5 multi-session-ness.
23015 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
23016 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
23017 (5x5-solve-suggest): New funs.
23018 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
23019 randomize a grid so that we ensure that there is always a solution.
23020 (5x5-make-random-grid): Allow other movement than flipping.
23021
23022 2011-05-23 Kevin Ryde <user42@zip.com.au>
23023
23024 * emacs-lisp/advice.el (ad-read-advised-function):
23025 Use `function-called-at-point' as the default, if it has
23026 advice and passes PREDICATE.
23027
23028 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
23029
23030 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
23031 byte-compile-lambda if it's actually a lambda.
23032
23033 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
23034 Fix function quoting. Use backquote better.
23035
23036 2011-05-22 Yuanle Song <sylecn@gmail.com>
23037
23038 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
23039 matching (Bug#8516).
23040
23041 2011-05-22 Jari Aalto <jari.aalto@cante.net>
23042
23043 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
23044 different face (Bug#8178).
23045
23046 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
23047
23048 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
23049 defface (Bug#8144).
23050
23051 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
23052
23053 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
23054 funcall as well (bug#8712). Warn when performing those conversions.
23055 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
23056
23057 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
23058
23059 2011-05-22 Glenn Morris <rgm@gnu.org>
23060
23061 * files.el (hack-local-variables-prop-line): Small simplifications.
23062 (hack-local-variables, hack-local-variables-prop-line):
23063 If MODE-ONLY, return the mode, rather than just `t'.
23064
23065 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
23066
23067 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
23068
23069 2011-05-21 Glenn Morris <rgm@gnu.org>
23070
23071 * files.el (hack-local-variables-prop-line, hack-local-variables):
23072 If only interested in the mode, don't bother doing the other stuff.
23073
23074 * image-mode.el (image-after-revert-hook):
23075 Redraw all frames on which the image is visible. (Bug#8567)
23076
23077 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
23078
23079 * wid-edit.el (widget-checklist-match-inline):
23080 Fix 2011-04-19 change. (Bug#8649)
23081
23082 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
23083
23084 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
23085 Also allow singlespace after single-letter capitals followed by a dot.
23086
23087 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
23088 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
23089
23090 2011-05-20 Nix <nix@esperi.org.uk>
23091
23092 * files.el (basic-save-buffer-2):
23093 Fix handling of break-hardlink-on-save with non-existent files.
23094
23095 2011-05-19 Deniz Dogan <deniz@dogan.se>
23096
23097 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
23098 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
23099
23100 2011-05-19 Glenn Morris <rgm@gnu.org>
23101
23102 * progmodes/f90.el (f90-type-def-re):
23103 Handle "type, bind(c)". (Bug#8691)
23104
23105 * emacs-lisp/autoload.el (batch-update-autoloads):
23106 Set autoload-excludes by parsing loadup.el rather than Makefiles.
23107
23108 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
23109
23110 * net/tramp.el (tramp-process-actions): Set "first-password-request"
23111 property for the correct connection in case of multihops.
23112
23113 2011-05-18 Glenn Morris <rgm@gnu.org>
23114
23115 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
23116 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
23117
23118 Rationalize calendar handling of day and month abbrev-arrays.
23119 * calendar/calendar.el (calendar-customized-p): New function.
23120 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
23121 (calendar-day-name-array, calendar-month-name-array): Doc fix.
23122 Add :set function.
23123 (calendar-abbrev-length, calendar-day-abbrev-array)
23124 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
23125 (calendar-day-abbrev-array, calendar-month-abbrev-array):
23126 Elements may no longer be nil.
23127 (calendar-day-name, calendar-month-name):
23128 Update for changed nature of abbrev arrays.
23129 * calendar/diary-lib.el (diary-name-pattern):
23130 Update for changed nature of abbrev arrays.
23131 (diary-mark-entries-1): Update calendar-make-alist calls.
23132 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
23133 * calendar/cal-html.el (cal-html-day-abbrev-array):
23134 Simply inherit from calendar-day-abbrev-array.
23135
23136 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
23137
23138 * progmodes/grep.el (grep-mode): Disable default
23139 compilation-directory-matcher setting (bug#8684).
23140
23141 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
23142
23143 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
23144 instead of "head" and "tail". There were problems with SunOS 5.9,
23145 and it performs better.
23146
23147 2011-05-17 Glenn Morris <rgm@gnu.org>
23148
23149 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
23150
23151 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
23152 Replace obsolete function.
23153
23154 * shell.el (pcomplete-parse-arguments-function): Declare.
23155
23156 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
23157 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
23158 (appt-check): Doc fixes.
23159 (appt-disp-window-function, appt-delete-window-function):
23160 Remove needless special case in custom :type.
23161 (appt-display-count): Default to 0, not nil.
23162 (appt-check): Reset appt-display-count to 0, not nil.
23163
23164 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
23165
23166 * progmodes/python.el (python-font-lock-keywords):
23167 Add the Python 3.X keyword "nonlocal" (bug#8639).
23168
23169 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
23170
23171 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
23172
23173 2011-05-16 Kevin Ryde <user42@zip.com.au>
23174
23175 * info-look.el (makefile-automake-mode): New setups, looking in
23176 automake manual, then makefile-mode.
23177 (makefile-mode): Remove automake manual, have it just in
23178 makefile-automake-mode since there's various things different or
23179 not relevant to plain make.
23180 (makefile-mode): Remove "other-modes" non-existent automake-mode,
23181 believe a hypothetical automake-mode would go to makefile-mode,
23182 not the other way around.
23183
23184 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
23185
23186 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
23187 hunk-end tags (Bug#8672).
23188
23189 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
23190 vc-annotate-show-diff-revision-at-line (Bug#8671).
23191
23192 2011-05-14 Glenn Morris <rgm@gnu.org>
23193
23194 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
23195 in the middle of an existing one with multiple authors. (Bug#8645)
23196 (change-log-font-lock-keywords): Also handle multiple author lines
23197 with leading tabs. (Bug#8644)
23198
23199 * calendar/appt.el (appt-check): Rename some local variables.
23200 Some simplification/reordering.
23201
23202 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
23203 (feedmail-sendmail-f-doesnt-sell-me-out)
23204 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
23205 (feedmail-debug-sit-for, feedmail-queue-express-hook)
23206 (feedmail-queue-runner-message-sender): Set :version.
23207 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
23208 (bbdb-dwim-net-address, vm-mail): Declare.
23209 (feedmail-binmail-gnulinuxish-template):
23210 Rename from feedmail-binmail-linuxish-template.
23211 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
23212 Use insert-buffer-substring.
23213
23214 2011-05-14 Bill Carpenter <bill@carpenter.org>
23215
23216 * mail/feedmail.el (feedmail-patch-level): Increase.
23217 (feedmail-debug): New custom group.
23218 (feedmail-confirm-outgoing-timeout)
23219 (feedmail-sendmail-f-doesnt-sell-me-out)
23220 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
23221 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
23222 (feedmail-sender-line, feedmail-from-line)
23223 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
23224 (feedmail-spray-this-address)
23225 (feedmail-spray-address-fiddle-plex-list)
23226 (feedmail-queue-use-send-time-for-date)
23227 (feedmail-queue-use-send-time-for-message-id)
23228 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
23229 (feedmail-buffer-eating-function):
23230 Doc fixes.
23231 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
23232 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
23233 (feedmail-message-action-scroll-down): New functions.
23234 (feedmail-queue-directory, feedmail-queue-draft-directory):
23235 Use expand-file-name.
23236 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
23237 Remove C-v help entry.
23238 (feedmail-queue-buffer-file-name): New variable.
23239 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
23240 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
23241 (feedmail-message-action-send-strong, feedmail-message-action-edit)
23242 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
23243 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
23244 (feedmail-message-action-toggle-spray)
23245 (feedmail-run-the-queue-no-prompts)
23246 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
23247 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
23248 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
23249 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
23250 (feedmail-envelope-deducer, feedmail-fiddle-from)
23251 (feedmail-fiddle-sender, feedmail-default-date-generator)
23252 (feedmail-fiddle-date, feedmail-fiddle-message-id)
23253 (feedmail-fiddle-spray-address)
23254 (feedmail-fiddle-list-of-spray-fiddle-plexes)
23255 (feedmail-fiddle-list-of-fiddle-plexes)
23256 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
23257 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
23258 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
23259 Change default. Doc fix.
23260 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
23261 (feedmail-binmail-linuxish-template): New constant.
23262 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
23263 Respect feedmail-sendmail-f-doesnt-sell-me-out.
23264 (feedmail-send-it): Add debug call.
23265 Use feedmail-queue-buffer-file-name, and
23266 feedmail-send-it-immediately-wrapper.
23267 (feedmail-message-action-send): Add debug call.
23268 Use feedmail-send-it-immediately-wrapper.
23269 (feedmail-queue-express-to-queue): Add debug call.
23270 Run feedmail-queue-express-hook.
23271 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
23272 (feedmail-message-action-help-blat):
23273 Rename from feedmail-queue-send-edit-prompt-help-first.
23274 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
23275 Check line-endings. Handle errors better.
23276 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
23277 Doc fix. Add debug call.
23278 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
23279 Use feedmail-queue-send-edit-prompt-inner.
23280 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
23281 (feedmail-queue-send-edit-prompt-inner): New function, extracted
23282 from feedmail-queue-send-edit-prompt.
23283 (feedmail-queue-send-edit-prompt-help)
23284 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
23285 (feedmail-tidy-up-slug): Add debug call.
23286 Respect feedmail-queue-slug-suspect-regexp.
23287 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
23288 (feedmail-dump-message-to-queue): Add debug call.
23289 Expand queue-directory.
23290 (feedmail-dump-message-to-queue): Change message slightly.
23291 Use feedmail-say-chatter.
23292 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
23293 (feedmail-send-it-immediately-wrapper): New function.
23294 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
23295 Insert empty string rather than newline. Handle full-frame case.
23296 Use catch/throw. Use feedmail-say-chatter.
23297 (feedmail-fiddle-from): Try mail-host-address.
23298 (feedmail-default-message-id-generator): Doc fix.
23299 Bind system-time-locale. Handle missing end.
23300 (feedmail-fiddle-x-mailer): Add debug call.
23301 Handle feedmail-x-mailer-line being nil.
23302 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
23303 Add debug call. Use buffer-substring-no-properties.
23304 (feedmail-say-debug, feedmail-say-chatter): New functions.
23305 (feedmail-find-eoh): Give an explicit error.
23306
23307 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
23308
23309 * net/newst-treeview.el (newsticker-treeview-face): Change default
23310 family from helvetica to sans.
23311 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
23312 etc/images/newsticker.
23313
23314 * net/newst-reader.el (newsticker-feed-face): Change default
23315 family from helvetica to sans.
23316
23317 * net/newst-plainview.el (newsticker-new-item-face)
23318 (newsticker-old-item-face, newsticker-immortal-item-face)
23319 (newsticker-obsolete-item-face, newsticker-date-face)
23320 (newsticker-statistics-face): Change default family from
23321 helvetica to sans.
23322 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
23323 etc/images/newsticker.
23324
23325 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
23326 (newsticker--process-auto-mark-filter-match): Tell user about
23327 auto-marking.
23328
23329 2011-05-13 Didier Verna <didier@xemacs.org>
23330
23331 Common Lisp indentation improvements on defmethod and lambda-lists.
23332 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
23333 TODO entries.
23334 (lisp-lambda-list-keyword-parameter-indentation)
23335 (lisp-lambda-list-keyword-parameter-alignment)
23336 (lisp-lambda-list-keyword-alignment): New customizable user options.
23337 (lisp-indent-defun-method): Improve docstring.
23338 (extended-loop-p): Fix comment.
23339 (lisp-indent-lambda-list-keywords-regexp): New variable.
23340 (lisp-indent-lambda-list): New function.
23341 (lisp-indent-259): Use it.
23342 (lisp-indent-defmethod): Support for more than one
23343 method qualifier and properly indent methods lambda-lists.
23344 (defgeneric): Provide a missing common-lisp-indent-function property.
23345
23346 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
23347
23348 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
23349 bounds for the empty string (bug#8667).
23350
23351 2011-05-13 Glenn Morris <rgm@gnu.org>
23352
23353 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
23354
23355 * mail/sendmail.el (sendmail-program): Try executable-find first.
23356 (sendmail-send-it): `sendmail-program' cannot be unbound.
23357
23358 * calendar/appt.el (appt-make-list): Simplify.
23359 (appt-time-msg-list): Doc fix.
23360 (appt-check): Change mode-line message at the time of the appointment.
23361
23362 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
23363
23364 * progmodes/ld-script.el (ld-script-keywords)
23365 (ld-script-builtins): Update keywords list.
23366
23367 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23368
23369 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
23370
23371 * shell.el (shell-completion-vars): New function.
23372 (shell-mode):
23373 * simple.el (read-shell-command): Use it.
23374 (blink-matching-open): No need for " [...]" in minibuffer-message.
23375
23376 2011-05-12 Glenn Morris <rgm@gnu.org>
23377
23378 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
23379 (appt-check): Simplify.
23380
23381 2011-05-12 Eli Zaretskii <eliz@gnu.org>
23382
23383 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
23384 literal "/dev/null".
23385
23386 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23387
23388 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
23389 Fix typo.
23390
23391 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
23392
23393 * progmodes/which-func.el (which-function):
23394 Use add-log-current-defun instead of add-log-current-defun-function,
23395 which might not be defined (Bug#8260).
23396
23397 2011-05-12 Glenn Morris <rgm@gnu.org>
23398
23399 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
23400 Let byte-compile-initial-macro-environment always take precedence.
23401
23402 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23403
23404 * net/rcirc.el: Add support for SSL/TLS connections.
23405 (rcirc-server-alist): New field `encryption'.
23406 (rcirc): Check `encryption' settings.
23407 (rcirc-connect): New arg `encryption'. Use open-network-stream.
23408 Merge make-local-variable into `set'.
23409 (rcirc--connection-open-p): New function.
23410 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
23411 the process is not a network process (e.g. running gnutls-cli).
23412 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
23413 Make rcirc-(en|de)code-coding-system local here.
23414 (rcirc-mode): Merge make-local-variable into `set'.
23415 (rcirc-parent-buffer): Make permanent buffer-local.
23416 (rcirc-multiline-minor-mode): Don't do it here.
23417 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
23418 there's no server buffer.
23419
23420 2011-05-11 Glenn Morris <rgm@gnu.org>
23421
23422 * newcomment.el (comment-kill): Prefix "unused" local.
23423
23424 * term/w32console.el (get-screen-color): Declare.
23425
23426 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
23427 Handle symbol elements of byte-compile-initial-macro-environment.
23428
23429 2011-05-10 Leo Liu <sdl.web@gmail.com>
23430
23431 * bookmark.el (bookmark-bmenu-mode-map):
23432 Bind bookmark-bmenu-search to `/'.
23433
23434 * mail/footnote.el: Convert to utf-8 encoding.
23435 (footnote-unicode-string, footnote-unicode-regexp): New variable.
23436 (Footnote-unicode): New function.
23437 (footnote-style-alist): Add unicode style to the list.
23438 (footnote-style): Doc fix.
23439
23440 2011-05-10 Jim Meyering <meyering@redhat.com>
23441
23442 Fix doubled-word typos.
23443 * international/quail.el (quail-insert-kbd-layout): and and -> and
23444 * kermit.el: and and -> and
23445 * net/ldap.el (ldap-search-internal): to to -> to
23446 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
23447 * progmodes/js.el (js-mode): and and -> and
23448 * textmodes/artist.el (artist-move-to-xy): at at -> at
23449 (artist-draw-region-trim-line-endings): if if -> if
23450 And Safetyc -> Safety.
23451 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
23452
23453 2011-05-10 Glenn Morris <rgm@gnu.org>
23454 Stefan Monnier <monnier@iro.umontreal.ca>
23455
23456 * files.el (hack-one-local-variable-eval-safep):
23457 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
23458
23459 2011-05-10 Glenn Morris <rgm@gnu.org>
23460
23461 * calendar/diary-lib.el (diary-list-entries-hook)
23462 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
23463 (diary-nongregorian-marking-hook, diary-list-entries)
23464 (diary-include-other-diary-files, diary-mark-entries)
23465 (diary-mark-included-diary-files): Doc fixes.
23466
23467 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
23468
23469 * misc.el: Require tabulated-list.el during compilation.
23470
23471 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
23472
23473 * progmodes/compile.el (compilation-start):
23474 Run compilation-filter-hook for the async case too.
23475 (compilation-filter-hook): Doc fix.
23476
23477 2011-05-09 Deniz Dogan <deniz@dogan.se>
23478
23479 * wdired.el: Remove outdated installation comment. Fix usage
23480 comment.
23481
23482 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
23483
23484 * misc.el: Implement new command `list-dynamic-libraries'.
23485 (list-dynamic-libraries--loaded-only-p): New variable.
23486 (list-dynamic-libraries--refresh): New function.
23487 (list-dynamic-libraries): New command.
23488
23489 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
23490
23491 * progmodes/compile.el (compilation-error-regexp-alist-alist):
23492 Fix the ant regexp to handle end-line and end-column info from jikes.
23493 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
23494 higher priority to avoid clobbering by gnu.
23495
23496 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
23497
23498 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
23499 if the face has existing theme settings (Bug#8454).
23500
23501 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
23502
23503 * progmodes/perl-mode.el (perl-imenu-generic-expression):
23504 Only match variables declared via `my' or `our' (Bug#8261).
23505
23506 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
23507 special file names `.' and `..' (Bug#8259).
23508
23509 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
23510
23511 * progmodes/grep.el (grep-mode-font-lock-keywords):
23512 Remove buffer-changing entries.
23513 (grep-filter): New function.
23514 (grep-mode): Add it to compilation-filter-hook.
23515
23516 * progmodes/compile.el (compilation-filter-hook)
23517 (compilation-filter-start): New defvars.
23518 (compilation-filter): Call compilation-filter-hook prior to
23519 updating the process mark.
23520
23521 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
23522
23523 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
23524
23525 2011-05-07 Eli Zaretskii <eliz@gnu.org>
23526
23527 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
23528 mailclient-send-it even if window-system is nil. (Bug#8595)
23529
23530 * term/w32console.el (terminal-init-w32console):
23531 Call get-screen-color and use its output to set the frame
23532 background-mode. (Bug#8597)
23533
23534 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
23535
23536 Make bytecomp.el understand that defmethod defines funs (bug#8631).
23537 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
23538 New functions.
23539 (defgeneric, eieio--defmethod): Use them.
23540 (eieio-defgeneric): Remove.
23541 (defmethod): Call defgeneric in a way visible to the byte-compiler.
23542
23543 2011-05-07 Glenn Morris <rgm@gnu.org>
23544
23545 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
23546 Use let rather than let*.
23547 (timeclock-find-discrep): Remove unused local.
23548
23549 * calendar/diary-lib.el (diary-comment-start): Doc fix.
23550
23551 * calendar/appt.el (appt-time-msg-list): Doc fix.
23552
23553 2011-05-06 Noah Friedman <friedman@splode.com>
23554
23555 * apropos.el (apropos-print-doc): Only use
23556 emacs-lisp-docstring-fill-column when it is bound to an integer,
23557 per that variable's documentation.
23558
23559 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
23560
23561 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
23562 and warnings are not silently discarded (e.g. use -d instead of -P).
23563
23564 2011-05-06 Glenn Morris <rgm@gnu.org>
23565
23566 * calendar/appt.el (appt-message-warning-time): Doc fix.
23567 (appt-warning-time-regexp): New option.
23568 (appt-make-list): Respect appt-message-warning-time.
23569
23570 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
23571 New options.
23572 (diary-add-to-list): Strip comments from the displayed string.
23573 (diary-mode): Set comment-start and comment-end.
23574
23575 * vc/diff-mode.el (smerge-refine-subst): Declare.
23576 (diff-refine-hunk): Don't require smerge-mode when compiling.
23577
23578 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
23579
23580 * simple.el (list-processes): Return nil as the docstring says.
23581
23582 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
23583
23584 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
23585 to "".
23586 (ange-ftp-write-region, ange-ftp-insert-file-contents)
23587 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
23588 determining of binary transfer. (Bug#7383)
23589
23590 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
23591
23592 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23593 Fix port computation bug. (Bug#8618)
23594
23595 2011-05-05 Glenn Morris <rgm@gnu.org>
23596
23597 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
23598
23599 * simple.el (shell-dynamic-complete-functions)
23600 (comint-dynamic-complete-functions): Declare.
23601
23602 * net/network-stream.el (gnutls-negotiate):
23603 * simple.el (tabulated-list-print): Fix declarations.
23604
23605 * progmodes/gud.el (syntax-symbol, syntax-point):
23606 Remove unnecessary and incorrect declarations.
23607
23608 * emacs-lisp/check-declare.el (check-declare-scan):
23609 Handle byte-compile-initial-macro-environment in bytecomp.el.
23610
23611 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
23612
23613 Fix earlier half-done eieio-defmethod change (bug#8338).
23614 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
23615 Streamline and change calling convention.
23616 (defmethod): Adjust accordingly and simplify.
23617 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
23618 new eieio--defmethod.
23619 (slot-boundp): Minor CSE simplification.
23620
23621 2011-05-05 Milan Zamazal <pdm@zamazal.org>
23622
23623 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
23624 (glasses-make-readable): Use glasses-separate-capital-groups.
23625
23626 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
23627
23628 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
23629 (warning-series): Doc fix.
23630 (display-warning): Don't try to create the buffer if we just found it.
23631
23632 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
23633
23634 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
23635 (autoload-find-generated-file): New function.
23636 (generate-file-autoloads): Bind generated-autoload-file to
23637 buffer-file-name.
23638 (update-file-autoloads, update-directory-autoloads):
23639 Use autoload-find-generated-file. If called interactively, prompt for
23640 output file (Bug#7989).
23641 (batch-update-autoloads): Doc fix.
23642
23643 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
23644
23645 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
23646
23647 2011-05-04 Glenn Morris <rgm@gnu.org>
23648
23649 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
23650 function, so it follows changes in calendar-date-style.
23651 (diary-fancy-date-matcher): New function.
23652 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
23653 (diary-fancy-font-lock-fontify-region-function):
23654 Use diary-fancy-date-pattern as a function.
23655
23656 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
23657 non-numbers for `year' etc pseudo-variables. (Bug#8583)
23658
23659 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
23660
23661 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
23662 instead of positional arguments. Allow :keylist and :crlfiles
23663 arguments.
23664 (open-gnutls-stream): Call it.
23665
23666 * net/network-stream.el (network-stream-open-starttls): Adjust to
23667 call `gnutls-negotiate' with :process and :hostname arguments.
23668
23669 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
23670
23671 * minibuffer.el (completion--message): New function.
23672 (completion--do-completion, minibuffer-complete)
23673 (minibuffer-force-complete, minibuffer-complete-word): Use it.
23674 (completion--do-completion): Don't ignore completion-auto-help when in
23675 icomplete-mode.
23676
23677 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
23678 internal encoding (e.g. tibetan zero is not whitespace).
23679 (global-whitespace-mode): Prefer save-current-buffer.
23680 (whitespace-trailing-regexp): Remove useless save-match-data.
23681 (whitespace-empty-at-bob-regexp): Minor simplification.
23682
23683 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
23684
23685 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
23686
23687 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
23688
23689 * textmodes/ispell.el (ispell-add-per-file-word-list):
23690 Use `concat' to create string for insertion.
23691
23692 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
23693
23694 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
23695 Avoid open-line which runs post-self-insert-hook.
23696 (bibtex-fill-entry): Remove unused `end' var.
23697
23698 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
23699
23700 * textmodes/ispell.el (ispell-add-per-file-word-list):
23701 Protect against `nil' value of `comment-start' (Bug#8579).
23702
23703 2011-05-03 Leo Liu <sdl.web@gmail.com>
23704
23705 * isearch.el (isearch-yank-pop): New command.
23706 (isearch-mode-map): Bind it to `M-y'.
23707 (isearch-forward): Mention it.
23708
23709 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
23710
23711 * simple.el (minibuffer-complete-shell-command): Remove.
23712 (minibuffer-local-shell-command-map): Use completion-at-point.
23713 (read-shell-command): Setup completion vars here instead.
23714 (read-expression-map): Bind TAB to symbol completion.
23715
23716 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
23717 error directly rather via storing it into `results'.
23718
23719 2011-05-02 Leo Liu <sdl.web@gmail.com>
23720
23721 * vc/diff.el: Fix description.
23722
23723 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23724
23725 * server.el (server-eval-at): New function.
23726
23727 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
23728
23729 * net/network-stream.el (open-network-stream): Take a :nowait
23730 parameter and pass it on to `make-network-process'.
23731 (network-stream-open-plain): Ditto.
23732
23733 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
23734
23735 * faces.el (face-spec-set-match-display): Don't match toolkit
23736 options on terminal frames.
23737
23738 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
23739
23740 * progmodes/pascal.el: Use lexical binding.
23741 (pascal-mode-map): Remove author preferences.
23742
23743 * pcomplete.el (pcomplete-std-complete): Don't abuse
23744 completion-at-point.
23745
23746 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
23747
23748 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
23749 removing code that has been dead since 1991 or so.
23750
23751 * startup.el (command-line): When warning about "_emacs", use a
23752 delayed warning to allow the user to filter it out.
23753
23754 2011-04-28 Deniz Dogan <deniz@dogan.se>
23755
23756 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
23757 user has not joined.
23758
23759 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
23760
23761 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
23762 aren't any completions at point.
23763
23764 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
23765
23766 * subr.el (display-delayed-warnings): New function.
23767 (delayed-warnings-hook): New variable.
23768
23769 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
23770
23771 * minibuffer.el (completion-at-point, completion-help-at-point):
23772 Don't presume that a given completion-at-point-function will always
23773 use the same calling convention.
23774
23775 * pcomplete.el (pcomplete-completions-at-point):
23776 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
23777 pcomplete-seen is non-nil.
23778 (pcomplete-comint-setup): Also recognize the new comint/shell
23779 completion functions.
23780 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
23781 pcomplete-seen is non-nil.
23782
23783 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
23784
23785 * calendar/icalendar.el (diary-lib): Add require statement.
23786 (icalendar--create-uid): Read out a uid from a text-property on
23787 the first character in the entry. This allows for code to add its
23788 own uid to the entry.
23789 (icalendar--convert-float-to-ical): Add export of
23790 `diary-float'-entries save for those with the optional DAY
23791 argument.
23792
23793 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
23794
23795 * subr.el (shell-quote-argument): Use alternate escaping strategy
23796 when we spot a variable reference in a string.
23797
23798 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
23799
23800 * cus-start.el (all): Define customization for debug-on-event.
23801
23802 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
23803
23804 * subr.el (shell-quote-argument): Escape correctly under Windows.
23805
23806 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
23807
23808 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
23809
23810 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
23811
23812 * net/tramp.el (tramp-process-actions): Add POS argument.
23813 Delete region between POS and (pos).
23814
23815 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23816 Use `nil' position in `tramp-process-actions' call.
23817 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
23818
23819 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
23820 position in `tramp-process-actions' call.
23821
23822 * net/trampver.el: Update release number.
23823
23824 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
23825
23826 * custom.el (defcustom): Obey lexical-binding.
23827
23828 Fix octave-inf completion problems reported by Alexander Klimov.
23829 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
23830 Inherit from octave-mode-syntax-table.
23831 (inferior-octave-mode): Set info-lookup-mode.
23832 (inferior-octave-completion-at-point): New function.
23833 (inferior-octave-complete): Use it and completion-in-region.
23834 (inferior-octave-dynamic-complete-functions): Use it as well, and use
23835 comint-filename-completion.
23836 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
23837 symbol elements which shouldn't be word elements.
23838 (octave-font-lock-keywords, octave-beginning-of-defun)
23839 (octave-function-header-regexp): Adjust regexps accordingly.
23840 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
23841
23842 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
23843
23844 * net/gnutls.el (gnutls-errorp): Declare before first use.
23845
23846 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
23847
23848 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
23849 verify-error, and verify-hostname-error parameters. Check whether
23850 default trustfile exists before going to use it. Add missing
23851 argument to gnutls-message-maybe call. Return value.
23852 Reported by Claudio Bley <claudio.bley@gmail.com>.
23853 (open-gnutls-stream): Add usage example.
23854
23855 * net/network-stream.el (network-stream-open-starttls): Give host
23856 parameter to `gnutls-negotiate'.
23857 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
23858 * subr.el (shell-quote-argument): Escape correctly under Windows.
23859
23860 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
23861
23862 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
23863 Use correct match group (bug#8438).
23864
23865 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
23866
23867 * emacs-lisp/package.el (package-built-in-p): Fix typo.
23868 (package-menu--generate): New arg specifying packages to show.
23869 (package-menu-refresh, package-menu-execute, list-packages):
23870 Callers changed.
23871 (package-show-package-list): New function, replacing deleted
23872 package--list-packages (renamed because it is non-internal).
23873
23874 * finder.el (finder-list-matches): Use package-show-package-list
23875 instead of deleted package--list-packages.
23876
23877 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
23878 Based on a previous implementation by Juanma Barranquero (Bug#8366).
23879 (vc-annotate-mode-map): Bind it to RET.
23880
23881 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
23882
23883 * progmodes/etags.el (next-file): Don't use set-buffer to change
23884 buffers (Bug#8478).
23885
23886 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
23887
23888 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
23889
23890 * apropos.el (apropos-label-face): Avoid variable-pitch face.
23891 (apropos-accumulator): Doc fix.
23892 (apropos-function, apropos-macro, apropos-command)
23893 (apropos-variable, apropos-face, apropos-group, apropos-widget)
23894 (apropos-plist): Add face property.
23895 (apropos-symbols-internal): Fix indentation.
23896 (apropos-print): Simplify help, and recognize apropos-multi-type.
23897 (apropos-print-doc): Use button-type-get to extract the button's
23898 face property. Fill docstring (Bug#8352).
23899
23900 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
23901
23902 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
23903
23904 * play/mpuz.el (mpuz-silent): Doc fix.
23905 (mpuz-mode-map): Use mapc.
23906 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
23907 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
23908 Fix typos in docstrings.
23909
23910 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
23911 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
23912
23913 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
23914
23915 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
23916
23917 * minibuffer.el (completion--do-completion): Avoid the "Next char
23918 not unique" prompt if icomplete-mode is enabled (Bug#5849).
23919
23920 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
23921 mouse-2 into unread-command-events, it is interpreted correctly.
23922
23923 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
23924 (image-toggle-display): Doc fix.
23925
23926 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
23927
23928 * textmodes/page.el (what-page): Use line-number-at-pos to
23929 calculate line number (Bug#6825).
23930
23931 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
23932
23933 * eshell/esh-mode.el (find-tag-interactive): Declare function.
23934 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
23935 Pass argument NO-DEFAULT to `find-tag-interactive'.
23936
23937 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
23938
23939 Lexical-binding cleanup.
23940
23941 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
23942 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
23943 * progmodes/ada-prj.el (ada-prj-initialize-values)
23944 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
23945 (ada-prj-show-value):
23946 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
23947 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
23948 (antlr-invalidate-context-cache, antlr-options-menu-filter)
23949 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
23950 * progmodes/bug-reference.el (bug-reference-push-button):
23951 * progmodes/fortran.el (fortran-line-length):
23952 * progmodes/glasses.el (glasses-change):
23953 * progmodes/octave-mod.el (octave-fill-paragraph):
23954 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
23955 (python-pdbtrack-grub-for-buffer, python-sentinel):
23956 * progmodes/sql.el (sql-save-connection):
23957 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
23958 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
23959 Mark unused parameters.
23960
23961 * progmodes/compile.el (compilation--flush-directory-cache)
23962 (compilation--flush-parse, compile-internal): Mark unused parameters.
23963 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
23964 (compilation-next-error-function): Remove unused variable `timestamp'.
23965
23966 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
23967 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
23968
23969 * progmodes/dcl-mode.el (dcl-end-of-command):
23970 Remove unused variable `start'.
23971 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
23972 (dcl-option-value-basic, dcl-option-value-offset)
23973 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
23974 Mark unused parameters.
23975 (dcl-save-local-variable): Remove unused variable `val'.
23976 (mode): Declare.
23977
23978 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
23979 Mark unused parameters.
23980 (delphi-ignore-changes): Move before first use.
23981 (delphi-charset-token-at): Remove unused variable `start'.
23982 (delphi-else-start): Remove unused variable `if-count'.
23983 (delphi-comment-block-start, delphi-comment-block-end):
23984 Remove unused variable `kind'.
23985 (delphi-indent-line): Remove unused variable `new-point'.
23986
23987 * progmodes/ebrowse.el (ebrowse-files-list)
23988 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
23989 Mark unused parameters. Don't quote `lambda'.
23990 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
23991 Don't quote `lambda'.
23992 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
23993 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
23994 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
23995 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
23996 Use `ignore-errors'.
23997 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
23998 (ebrowse-view/find-file-and-search-pattern)
23999 (ebrowse-view/find-member-declaration/definition):
24000 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
24001 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
24002 Rename parameter PREFIX-ARG to PREFIX.
24003 (ebrowse-tags-read-name): Remove unused variables `start' and
24004 `member-info'.
24005 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
24006 to `tags-file'.
24007
24008 * progmodes/etags.el (local-find-tag-hook): Declare.
24009 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
24010 Mark unused parameters.
24011
24012 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
24013 (executable-interpret): Mark unused parameter.
24014
24015 * progmodes/flymake.el (flymake-process-sentinel)
24016 (flymake-after-change-function)
24017 (flymake-create-temp-with-folder-structure)
24018 (flymake-get-include-dirs-dot): Mark unused parameters.
24019 (flymake-safe-delete-directory): Remove unused variable `err'.
24020
24021 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
24022 (speedbar-timer-fn, speedbar-line-text)
24023 (speedbar-change-expand-button-char, speedbar-delete-subblock)
24024 (speedbar-center-buffer-smartly): Declare functions.
24025 (gdb-find-watch-expression): Remove unused variable `array'.
24026 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
24027 (gdb-starting): Mark unused parameters.
24028 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
24029 (gdb-table-string): Remove unused variable `res'.
24030 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
24031 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
24032 (gdb-display-buffer): Remove unused variable `cur-size'.
24033
24034 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
24035 allow lexical-binding compilation.
24036 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
24037 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
24038 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
24039 Mark unused parameters.
24040 (gud-gdb-marker-filter): Remove unused variable `match'.
24041 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
24042 lambda expressions and funcall them, instead of using `fset'.
24043
24044 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
24045 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
24046
24047 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
24048 variable `header-beg'; use `let'.
24049
24050 * progmodes/icon.el (indent-icon-exp): Remove unused variables
24051 `restart', `last-sexp' and `at-do'.
24052
24053 * progmodes/js.el (js--debug): Mark unused parameter.
24054 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
24055 (js--splice-into-items): Remove unused variable `item'.
24056 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
24057
24058 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
24059 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
24060 (makefile-complete): Remove unused variable `try'.
24061 (makefile-fill-paragraph, makefile-match-function-end):
24062 Mark unused parameters.
24063
24064 * progmodes/octave-inf.el (inferior-octave-complete):
24065 Remove unused variable `proc'.
24066 (inferior-octave-output-digest): Mark unused parameter.
24067
24068 * progmodes/perl-mode.el (perl-calculate-indent):
24069 Remove unused variable `err'.
24070
24071 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
24072 (prolog-indent-line): Mark unused parameters.
24073 (prolog-indent-line): Remove unused variable `beg'.
24074
24075 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
24076 (reporter-dont-compact-list): Declare.
24077
24078 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
24079 Remove unused variable `char'.
24080 (sh-debug): Mark unused parameter.
24081 (sh-get-indent-info): Remove unused variable `start'.
24082 (sh-calculate-indent): Remove unused variable `var'.
24083
24084 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
24085 (simula-electric-keyword): Remove unused variable `null'.
24086 (simula-search-backward, simula-search-forward): Remove unused
24087 variables `begin' and `end'.
24088
24089 * progmodes/vera-mode.el (vera-guess-basic-syntax):
24090 Remove unused variable `pos'.
24091 (vera-electric-tab, vera-comment-uncomment-region):
24092 Mark unused parameters.
24093 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
24094
24095 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
24096
24097 * emacs-lisp/package.el (package--builtins, package-alist)
24098 (package-load-descriptor, package-built-in-p, package-activate)
24099 (define-package, package-installed-p)
24100 (package-compute-transaction, package-buffer-info)
24101 (package--push): Doc fix. Distinguish more clearly between
24102 version strings and version lists.
24103
24104 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
24105
24106 Lexical-binding cleanup.
24107
24108 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
24109 (5x5-make-mutate-best):
24110 * play/fortune.el (fortune-in-buffer):
24111 * play/gomoku.el (gomoku-init-display):
24112 * play/solitaire.el (solitaire, solitaire-do-check):
24113 * play/tetris.el (tetris-default-update-speed-function):
24114 Mark unused parameters.
24115
24116 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
24117 (bubbles--shift): Remove unused variable `char-org'.
24118 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
24119 (bubbles--show-images): Remove unused variable `char'.
24120
24121 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
24122 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
24123 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
24124 (decipher-analyze-buffer): Use ?\s.
24125 (decipher-make-checkpoint): Remove unused variable `mapping'.
24126
24127 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
24128
24129 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
24130 Remove unused variable `result'; use `let'.
24131
24132 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
24133 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
24134 (gametree-children-shown-p, gametree-compute-reduced-score):
24135 Use `ignore-errors'.
24136
24137 * play/handwrite.el (ps-lpr-switches): Declare.
24138 (handwrite): Remove unused variables `pmin' and `lastp'.
24139
24140 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
24141
24142 * play/landmark.el (landmark-init-display)
24143 (landmark-update-naught-weights): Mark unused parameters.
24144 (landmark-y): Remove unused variable `noise'. Simplify.
24145 (landmark-human-plays): Remove unused variable `score'.
24146
24147 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
24148 (mpuz-try-proposal): Remove unused variable `game'.
24149
24150 * play/zone.el (life-patterns): Declare.
24151
24152 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
24153
24154 * vc/vc.el (ediff-vc-internal): Declare function.
24155
24156 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
24157
24158 * shell.el: Use lexical-binding and std completion UI.
24159 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
24160 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
24161 comint-preoutput-filter-functions rather than on
24162 comint-output-filter-functions.
24163 (shell-command-completion, shell--command-completion-data)
24164 (shell-filename-completion, shell-environment-variable-completion)
24165 (shell-c-a-p-replace-by-expanded-directory): New functions.
24166 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
24167 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
24168 (shell-dynamic-complete-environment-variable): Use them.
24169 (shell-dynamic-complete-as-environment-variable)
24170 (shell-dynamic-complete-as-command): Remove.
24171 (shell-match-partial-variable): Match past point.
24172 * comint.el: Clean up use of completion-at-point-functions.
24173 (comint-completion-at-point): New function.
24174 (comint-mode): Use it completion-at-point-functions.
24175 (comint-dynamic-complete): Make it obsolete.
24176 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
24177 (comint-c-a-p-replace-by-expanded-history): New function.
24178 (comint-dynamic-complete-functions)
24179 (comint-replace-by-expanded-history): Use it.
24180 * minibuffer.el (completion-table-with-terminator): Allow dynamic
24181 termination strings. Try harder to avoid second try-completion.
24182 (completion-in-region-mode-map): Disable bindings that don't work yet.
24183
24184 * comint.el: Use lexical-binding. Require CL.
24185 (comint-dynamic-complete-functions): Use comint-filename-completion.
24186 (comint-completion-addsuffix): Tweak custom type.
24187 (comint-filename-completion, comint--common-suffix)
24188 (comint--common-quoted-suffix, comint--table-subvert)
24189 (comint--complete-file-name-data): New functions.
24190 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
24191 (comint-dynamic-list-filename-completions): Use them.
24192 (comint-dynamic-simple-complete): Make obsolete.
24193
24194 * minibuffer.el (completion-in-region-mode):
24195 Keep completion-in-region-mode--predicate global.
24196 (completion-in-region--postch):
24197 Assume completion-in-region-mode--predicate is not null.
24198
24199 * progmodes/flymake.el (flymake-start-syntax-check-process):
24200 Obey `dir'. Simplify.
24201
24202 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
24203 we're in VC after all.
24204
24205 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
24206
24207 * vc/vc.el (vc-diff-build-argument-list-internal)
24208 (vc-version-ediff, vc-ediff): New commands.
24209 (vc-version-diff): Use vc-diff-build-argument-list-internal.
24210
24211 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
24212
24213 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
24214 add sanity check.
24215
24216 * obsolete/erc-hecomplete.el: Make obsolete.
24217 * obsolete/: Standardize obsolescence info in the header.
24218
24219 2011-04-20 Glenn Morris <rgm@gnu.org>
24220
24221 * calendar/solar.el (solar-horizontal-coordinates):
24222 Use the longitude argument rather than `calendar-longitude'.
24223 (solar-date-next-longitude): Remove unused locals.
24224
24225 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
24226
24227 * whitespace.el: New version 13.2.1.
24228
24229 2011-04-20 felix <EmacsWiki> (tiny change)
24230
24231 * whitespace.el (global-whitespace-mode): Keep highlight when
24232 switching between major modes on a file.
24233
24234 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
24235
24236 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
24237 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
24238 multi-line comments as well.
24239
24240 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
24241
24242 Lexical-binding cleanup.
24243
24244 * arc-mode.el (archive-mode-revert):
24245 * cmuscheme.el (scheme-interactively-start-process):
24246 * custom.el (custom-initialize-delay):
24247 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
24248 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
24249 * emacs-lock.el (emacs-lock-clear-sentinel):
24250 * ezimage.el (defezimage):
24251 * follow.el (follow-avoid-tail-recenter):
24252 * fringe.el (set-fringe-mode-1):
24253 * generic-x.el (bat-generic-mode-compile):
24254 * help-mode.el (help-info-variable, help-do-xref)
24255 (help-mode-revert-buffer):
24256 * help.el (view-emacs-todo):
24257 * iswitchb.el (iswitchb-completion-help):
24258 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
24259 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
24260 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
24261 * locate.el (locate-update):
24262 * longlines.el (longlines-encode-region)
24263 (longlines-after-change-function):
24264 * outline.el (outline-isearch-open-invisible):
24265 * ps-def.el (declare-function, charset-dimension, char-width)
24266 (encode-char):
24267 * ps-mule.el (ps-mule-plot-string):
24268 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
24269 (recentf-edit-list-select, recentf-edit-list-validate)
24270 (recentf-open-files-action):
24271 * rect.el (delete-whitespace-rectangle-line)
24272 (rectangle-number-line-callback):
24273 * register.el (window-configuration-to-register)
24274 (frame-configuration-to-register):
24275 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
24276 * select.el (xselect-convert-to-string, xselect-convert-to-length)
24277 (xselect-convert-to-targets, xselect-convert-to-delete)
24278 (xselect-convert-to-filename, xselect-convert-to-charpos)
24279 (xselect-convert-to-lineno, xselect-convert-to-colno)
24280 (xselect-convert-to-os, xselect-convert-to-host)
24281 (xselect-convert-to-user, xselect-convert-to-class)
24282 (xselect-convert-to-name, xselect-convert-to-integer)
24283 (xselect-convert-to-atom, xselect-convert-to-identity):
24284 * subr.el (declare, ignore, process-kill-without-query)
24285 (text-clone-maintain):
24286 * terminal.el (te-get-char, te-tic-sentinel):
24287 * tool-bar.el (tool-bar-make-keymap):
24288 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
24289 * type-break.el (type-break-mode, type-break-noninteractive-query):
24290 * view.el (View-back-to-mark):
24291 * wid-browse.el (widget-browse-action, widget-browse-widget)
24292 (widget-browse-widgets, widget-browse-sexp):
24293 * widget.el (define-widget-keywords):
24294 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
24295 Mark unused parameters.
24296
24297 * align.el (align-adjust-col-for-rule): Mark unused parameter.
24298 (align-areas): Remove unused variable `look'.
24299 (align-region): Remove unused variables `real-end' and `pos-list'.
24300
24301 * apropos.el (apropos-score-doc): Remove unused variable `i'.
24302
24303 * bindings.el (mode-line-modified, mode-line-remote):
24304 Mark unused parameters.
24305 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
24306
24307 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
24308 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
24309
24310 * comint.el (comint-history-isearch-pop-state)
24311 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
24312 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
24313 (comint-substitute-in-file-name): Doc fix.
24314
24315 * completion.el (cmpl-statistics-block): Mark unused parameter.
24316 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
24317 (save-completions-to-file, load-completions-from-file):
24318 Remove unused local variable `e'.
24319
24320 * composite.el (compose-chars): Remove unused variable `len'.
24321 (lgstring-insert-glyph): Remove unused variable `g'.
24322 (compose-glyph-string): Remove unused variables `ascent',
24323 `descent', `lbearing' and `rbearing'.
24324 (compose-glyph-string-relative): Remove unused variables
24325 `lbearing', `rbearing' and `wadjust'.
24326 (compose-gstring-for-graphic): Remove unused variables `header',
24327 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
24328 (compose-gstring-for-terminal): Remove unused variables `header'
24329 and `nchars'. Use `let', not `let*'.
24330
24331 * cus-edit.el (Custom-set, Custom-save, custom-reset)
24332 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
24333 (Custom-buffer-done, custom-buffer-create-internal)
24334 (custom-browse-visibility-action, custom-browse-group-tag-action)
24335 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
24336 (widget-magic-mouse-down-action, custom-toggle-parent)
24337 (custom-add-parent-links, custom-toggle-hide-variable)
24338 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
24339 (custom-toggle-hide-face, face, hook, custom-group-link-action)
24340 (custom-face-menu-create, custom-variable-menu-create, get)
24341 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
24342 (custom-reset-standard-save-and-update): Remove unused variable `value'.
24343 (customize-apropos): Remove unused variable `tests'.
24344 (custom-group-value-create): Remove unused variable `hidden-p'.
24345 (sort-fold-case): Declare.
24346
24347 * cus-theme.el (custom-reset-standard-faces-list)
24348 (custom-reset-standard-variables-list): Declare.
24349 (customize-create-theme, custom-theme-revert, custom-theme-write)
24350 (custom-theme-choose-mode, customize-themes, custom-theme-save):
24351 Mark unused parameters.
24352
24353 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
24354
24355 * delim-col.el (delimit-columns-max): Move defvar before first use.
24356
24357 * descr-text.el (describe-char-categories): Don't quote `lambda'.
24358 (describe-char): Don't quote `lambda'. Mark unused parameter.
24359
24360 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
24361 (auto-insert): Declare.
24362 (desktop-restore-file-buffer): Rename desktop-* parameters;
24363 mark unused ones.
24364 (desktop-create-buffer): Rename desktop-* parameters and bind them.
24365 (desktop-buffer): Rename desktop-* parameters.
24366
24367 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
24368 (dframe-reposition-frame-xemacs, dframe-help-echo)
24369 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
24370 Mark unused parameters.
24371
24372 * dired-aux.el (backup-extract-version-start, overwrite-query)
24373 (overwrite-backup-query, rename-regexp-query)
24374 (rename-non-directory-query): Declare.
24375 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
24376 (dired-add-entry): Remove unused variable `orig-file-name'.
24377 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
24378 Use parameter PRESERVE-TIME instead of accessing dynamic variable
24379 `dired-copy-preserve-time' directly.
24380 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
24381 (dired-insert-subdir-newpos): Rename unused variable `pos'.
24382
24383 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
24384 (dired-virtual-revert, dired-make-relative-symlink):
24385 Mark unused parameters.
24386 (manual-program): Declare.
24387 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
24388 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
24389 wrapped in `with-no-warnings' to avoid replacing one warning by another.
24390
24391 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
24392
24393 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
24394
24395 * echistory.el (electric-history-in-progress, Helper-return-blurb):
24396 Declare.
24397
24398 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
24399
24400 * electric.el (Electric-command-loop): Rename parameter
24401 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
24402
24403 * expand.el (expand-in-literal): Remove unused variable `here'.
24404
24405 * facemenu.el (facemenu-add-new-color):
24406 Remove unused variable `docstring'.
24407
24408 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
24409 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
24410 (face-attr-construct): Mark unused parameter. Doc fix.
24411 (read-color): Remove unused variable `hex-string'.
24412
24413 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
24414 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
24415 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
24416 (display-buffer-other-frame): Remove unused variable `old-window'.
24417 (kill-buffer-hook): Declare.
24418 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
24419 Mark unused parameters.
24420 (after-find-file): Pass 1 to `auto-save-mode', not t.
24421
24422 * files-x.el (auto-insert): Declare.
24423 (modify-file-local-variable-prop-line): Remove unused variable `val'.
24424
24425 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
24426 variable `buf'. Mark unused parameter.
24427 (find-lisp-insert-directory): Mark unused parameter.
24428
24429 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
24430 (format-encode-region): Remove unused variables `cur-buf' and `result'.
24431 (format-common-tail): Remove, unused.
24432 (format-deannotate-region): Remove unused variable `loc'.
24433 (format-annotate-region): Remove unused variable `p'.
24434 (format-annotate-single-property-change): Remove unused variables
24435 `default' and `tail'.
24436
24437 * forms.el (read-file-filter): Declare.
24438 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
24439
24440 * frame.el (frame-creation-function-alist): Mark unused parameter.
24441 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
24442
24443 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
24444 Remove unused parameters.
24445 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
24446 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
24447
24448 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
24449 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
24450 (hfy-prepare-tag-map): Mark unused parameters.
24451 (htmlfontify-buffer): Use `called-interactively-p'.
24452
24453 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
24454 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
24455 (ibuffer-do-occur): Mark unused parameters.
24456 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
24457 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
24458
24459 * ibuffer.el: Don't quote `lambda'.
24460 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
24461 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
24462 Mark unused parameters.
24463
24464 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
24465 (ido-completing-read): Mark unused parameters.
24466 (ido-copy-current-word): Mark unused parameters;
24467 remove unused variable `name'.
24468 (ido-sort-merged-list): Remove unused parameter `dirs'.
24469
24470 * ielm.el (ielm-input-sender): Mark unused parameter.
24471 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
24472 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
24473 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
24474 `ielm-string' as a dynamic variable accessible from the IELM prompt.
24475 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
24476
24477 * image-dired.el (image-dired-display-thumbs): Remove unused
24478 variables `curr-file' and `count'.
24479 (image-dired-remove-tag): Remove unused variable `start'.
24480 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
24481 variable `curr-file'
24482 (image-dired-rotate-original): Remove unused variable `temp-file'.
24483 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
24484 Remove unused variable `file'.
24485 (image-dired-gallery-generate): Remove unused variable `curr'.
24486 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
24487
24488 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
24489
24490 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
24491
24492 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
24493
24494 * isearch.el (minibuffer-history-symbol): Declare.
24495 (isearch-edit-string): Remove unused variable `err'.
24496 (isearch-message-prefix, isearch-message-suffix):
24497 Mark unused parameters.
24498
24499 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
24500
24501 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
24502
24503 * makesum.el (double-column): Remove unused variable `cnt'.
24504
24505 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
24506 (ido-ignore-item-temp-list): Declare.
24507
24508 * mouse-drag.el (mouse-drag-throw): Remove unused variables
24509 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
24510 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
24511 (mouse-drag-drag): Remove unused variables `mouse-delta' and
24512 `mouse-col-delta'.
24513
24514 * mouse-sel.el (mouse-extend-internal):
24515 Remove unused variable `orig-window-frame'.
24516
24517 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
24518 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
24519 Move declarations before first use.
24520 (pcomplete-opt): Mark unused parameters; doc fix.
24521
24522 * proced.el (proced-revert): Mark unused parameter.
24523 (proced-send-signal): Remove unused variable `err'.
24524
24525 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
24526 Rename parameter PREFIX-ARG to ARG.
24527 (ps-basic-plot-string, ps-basic-plot-whitespace):
24528 Mark unused parameters.
24529
24530 * replace.el (replace-count): Define.
24531 (occur-revert-function): Mark unused parameters.
24532 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
24533 (isearch-case-fold-search, isearch-string): Declare.
24534 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
24535 bind `case-fold-search'. Remove unused variables `beg' and `end',
24536 and simplify.
24537 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
24538 COUNT and bind `replace-count'.
24539 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
24540 to COUNT.
24541
24542 * savehist.el (print-readably, print-string-length): Declare.
24543
24544 * shadowfile.el (shadow-expand-cluster-in-file-name):
24545 Remove unused variable `cluster'.
24546 (shadow-copy-file): Remove unused variable `i'.
24547 (shadow-noquery, shadow-clusters, shadow-site-cluster)
24548 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
24549 (shadow-define-literal-group, shadow-define-regexp-group)
24550 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
24551
24552 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
24553 (shell): Use `called-interactively-p'.
24554 (shell-directory-tracker): Remove unused variable `chdir-failure'.
24555
24556 * simple.el (compilation-context-lines, comint-file-name-quote-list)
24557 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
24558 (delete-backward-char): Remove unused variable `ocol'.
24559 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
24560 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
24561 (event-apply-hyper-modifier, event-apply-shift-modifier)
24562 (event-apply-control-modifier, event-apply-meta-modifier):
24563 Mark unused parameters.
24564 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
24565 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
24566
24567 * speedbar.el (speedbar-ignored-directory-expressions)
24568 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
24569 (speedbar-find-file, speedbar-dir-follow)
24570 (speedbar-directory-buttons-follow, speedbar-tag-find)
24571 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
24572 (speedbar-buffers-line-directory, speedbar-buffer-click):
24573 Mark unused parameters.
24574 (speedbar-tag-file): Remove unused variable `mode'.
24575 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
24576
24577 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
24578
24579 * talk.el (talk): Remove unused variable `display'.
24580
24581 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
24582 (tar-write-region-annotate): Mark unused parameter.
24583
24584 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
24585 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
24586 Declare them, wrapped in `with-no-warnings' to avoid replacing one
24587 warning by another.
24588
24589 * time-stamp.el (time-stamp-string-preprocess):
24590 Remove unused variable `require-padding'.
24591
24592 * tree-widget.el (widget-glyph-enable): Declare.
24593 (tree-widget-action): Mark unused parameter.
24594
24595 * w32-fns.el (x-get-selection): Mark unused parameter.
24596 (autoload-make-program, generated-autoload-file): Declare.
24597
24598 * wdired.el (wdired-revert): Mark unused parameters.
24599 (wdired-xcase-word): Remove unused variable `err'.
24600
24601 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
24602 (whitespace-help-scroll): Remove unused variable `data-help'.
24603
24604 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
24605 (widget-image-insert, widget-after-change, default)
24606 (widget-default-format-handler, widget-default-notify)
24607 (widget-default-prompt-value, widget-info-link-action)
24608 (widget-url-link-action, widget-function-link-action)
24609 (widget-variable-link-action, widget-file-link-action)
24610 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
24611 (widget-field-prompt-internal, widget-field-action, widget-field-match)
24612 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
24613 (widget-insert-button-action, widget-delete-button-action, visibility)
24614 (widget-documentation-link-action, widget-documentation-string-action)
24615 (widget-const-prompt-value, widget-regexp-match, symbol)
24616 (widget-coding-system-prompt-value)
24617 (widget-key-sequence-value-to-external, sexp)
24618 (widget-sexp-value-to-internal, character, vector, cons)
24619 (widget-choice-prompt-value, widget-boolean-prompt-value)
24620 (widget-color--choose-action): Mark unused parameters.
24621 (widget-item-match-inline, widget-choice-match-inline)
24622 (widget-checklist-match, widget-checklist-match-inline)
24623 (widget-group-match): Rename parameter VALUES to VALS.
24624 (widget-field-value-set): Remove unused variable `size'.
24625 (widget-color-action): Remove unused variables `value' and `start'.
24626
24627 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
24628 variable `dir'. Doc fix.
24629 (windmove-find-other-window): Don't pass it.
24630
24631 * window.el (count-windows): Mark unused parameter.
24632 (bw-adjust-window): Remove unused variable `err'.
24633
24634 * woman.el (woman-file-name): Remove unused variable `default'.
24635 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
24636 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
24637 (global-font-lock-mode): Declare.
24638 (woman-decode-region): Mark unused parameter.
24639 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
24640
24641 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
24642 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
24643 (x-dnd-handle-moz-url): Remove unused variable `title'.
24644 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
24645
24646 * xml.el (xml-parse-tag, xml-parse-attlist):
24647 Remove unused variable `pos'.
24648
24649 2011-04-19 Glenn Morris <rgm@gnu.org>
24650
24651 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
24652 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
24653 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
24654 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
24655 * calendar/cal-html.el (cal-html-insert-minical):
24656 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
24657 (calendar-mark-date-pattern):
24658 Prefix "unused" locals.
24659
24660 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
24661 optional argument `style'.
24662
24663 * calendar/appt.el (appt-make-list):
24664 * calendar/cal-china.el (calendar-chinese-date-string):
24665 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
24666 (diary-hebrew-yahrzeit):
24667 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
24668 * calendar/calendar.el (calendar-generate-window):
24669 * calendar/time-date.el (time-to-days):
24670 Remove unused local variables.
24671
24672 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
24673
24674 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
24675 glyphless-char-display table.
24676 (tabulated-list-glyphless-char-display): New var.
24677
24678 2011-04-18 Sam Steingold <sds@gnu.org>
24679
24680 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
24681 to acknowledgments.
24682
24683 2011-04-17 Glenn Morris <rgm@gnu.org>
24684
24685 * calendar/diary-lib.el (diary-sexp-entry):
24686 * calendar/holidays.el (holiday-sexp):
24687 Set debug-on-error rather than the removed stack-trace-on-error.
24688
24689 2011-04-16 Glenn Morris <rgm@gnu.org>
24690
24691 * progmodes/f90.el: Use lexical-binding.
24692 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
24693
24694 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
24695
24696 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
24697 (mail-mode): Setup mailalias completion here instead.
24698 * mail/mailalias.el: Use lexical-binding.
24699 (pattern, mailalias-done): Declare dynamic.
24700 (mail-completion-at-point-function): New function, from mail-complete.
24701 (mail-complete): Use it.
24702 (mail-completion-expand): New function.
24703 (mail-get-names): Use it.
24704 (mail-directory, mail-directory-process, mail-directory-stream):
24705 Don't use `pattern' for lexically bound arg.
24706
24707 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
24708
24709 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
24710 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
24711 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
24712
24713 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
24714 (byte-save-window-excursion, byte-temp-output-buffer-setup)
24715 (byte-interactive-p): Define them again, for use when inlining
24716 old code.
24717
24718 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
24719
24720 * loadup.el: Use `string-to-number', not `string-to-int'.
24721
24722 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
24723
24724 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
24725 gud-gdb-complete-command.
24726 (gud-gdb-completions): New function, from gud-gdb-complete-command.
24727 (gud-gdb-completion-at-point): New function.
24728 (gud-gdb-completions): Remove.
24729
24730 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
24731
24732 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
24733 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
24734 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
24735 whether `executable-find' is bound.
24736
24737 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
24738
24739 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
24740
24741 * minibuffer.el (completion-in-region-mode-predicate)
24742 (completion-in-region-mode--predicate): New vars.
24743 (completion-in-region, completion-in-region--postch)
24744 (completion-in-region-mode): Use them.
24745 (completion--capf-wrapper): Also return the hook function.
24746 (completion-at-point, completion-help-at-point):
24747 Adjust and provide a predicate.
24748
24749 Preserve arg names for advice of subr and lexical functions (bug#8457).
24750 * help-fns.el (help-function-arglist): Consolidate the subr and
24751 new-byte-code cases. Add argument `preserve-names' to extract names
24752 from the docstring when needed.
24753 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
24754 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
24755 (ad-arglist): Use help-function-arglist's new arg.
24756 (ad-definition-type): Use cond.
24757
24758 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
24759
24760 * autorevert.el (auto-revert-handler):
24761 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
24762 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
24763 Don't quote lambda.
24764
24765 * image-mode.el (image-transform-set-scale):
24766 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
24767
24768 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
24769
24770 * net/network-stream.el (network-stream-open-starttls): Only do
24771 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
24772 Upgrades via gnutls-cli are too slow to be done opportunistically.
24773
24774 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
24775
24776 * dframe.el (dframe-current-frame): Remove spurious quote.
24777
24778 2011-04-12 Glenn Morris <rgm@gnu.org>
24779
24780 * calendar/cal-tex.el (cal-tex-end-document):
24781 Try to automatically use latin1 input if needed.
24782
24783 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
24784 Don't try to cons a mark onto an empty element.
24785
24786 2011-04-11 Leo Liu <sdl.web@gmail.com>
24787
24788 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
24789 buffers.
24790 (ido-kill-buffer-at-head): Support killing virtual buffers.
24791
24792 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
24793
24794 * minibuffer.el (completion-show-inline-help): New var.
24795 (completion--do-completion, minibuffer-complete)
24796 (minibuffer-force-complete, minibuffer-complete-word):
24797 Inhibit minibuffer messages if completion-show-inline-help is nil.
24798
24799 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
24800 to avoid interference from inline help (Bug#5849).
24801
24802 2011-04-10 Leo Liu <sdl.web@gmail.com>
24803
24804 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
24805 Fix typo.
24806
24807 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
24808
24809 * image-mode.el (image-toggle-display-image): Signal an error if
24810 not in Image mode.
24811 (image-transform-mode, image-transform-resize)
24812 (image-transform-set-rotation): Doc fix.
24813 (image-transform-set-resize): Delete.
24814 (image-transform-set-scale, image-transform-fit-to-height)
24815 (image-transform-fit-to-width): Handle image-toggle-display-image
24816 and image-transform-resize directly.
24817
24818 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
24819
24820 * doc-view.el (doc-view-fit-width-to-window)
24821 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
24822 New functions for fitting the shown image to the Emacs window size.
24823 (doc-view-mode-map): Add bindings for the new functions.
24824
24825 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
24826
24827 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
24828 Fix typo in docstring.
24829
24830 2011-04-08 Eli Zaretskii <eliz@gnu.org>
24831
24832 * files.el (file-size-human-readable): Produce one digit after
24833 decimal, like "ls -lh" does.
24834
24835 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
24836 the file size representation.
24837
24838 * simple.el (list-processes): If async subprocesses are not
24839 available, error out with a clear error message.
24840
24841 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
24842
24843 * help.el (help-form-show): New function, to be called from C.
24844 Put help-form output in a buffer named differently than *Help*.
24845
24846 2011-04-08 Eli Zaretskii <eliz@gnu.org>
24847
24848 * files.el (file-size-human-readable): New function.
24849
24850 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
24851 computing the representation inline. Don't require `cl'.
24852
24853 2011-04-08 Glenn Morris <rgm@gnu.org>
24854
24855 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
24856
24857 * net/browse-url.el (browse-url-firefox):
24858 Test system-type, not system-configuration.
24859
24860 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
24861 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
24862 Use log-edit-empty-buffer-p. (Bug#7598)
24863
24864 * net/rlogin.el (rlogin-process-connection-type): Simplify.
24865 (rlogin-mode-map): Initialize in the defvar.
24866 (rlogin): Use ignore-errors.
24867
24868 * replace.el (occur-mode-map): Some fixes for menu items.
24869
24870 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
24871
24872 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
24873
24874 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
24875
24876 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
24877 issuing unused warnings.
24878
24879 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
24880 macro directly.
24881
24882 * simple.el: Lisp reimplement of list-processes. Based on an
24883 earlier reimplementation by Leo Liu, but using tabulated-list.el.
24884 (process-menu-mode): New major mode.
24885 (list-processes--refresh, list-processes):
24886 (process-menu-visit-buffer): New functions.
24887
24888 * files.el (save-buffers-kill-emacs): Don't assume any return
24889 value of list-processes, which is undocumented anyway.
24890
24891 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
24892
24893 * emacs-lisp/tabulated-list.el: New file.
24894
24895 * emacs-lisp/package.el: Use Tabulated List mode.
24896 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
24897 (package-menu-mode): Derive from tabulated-list-mode. Set up the
24898 table format using Tabulated List mode variables.
24899 (package--push): New macro, replacing package-list-maybe-add.
24900 (package-menu--generate): Use package--push. Renamed from
24901 package--generate-package-list.
24902 (package-menu-refresh, list-packages): Use it.
24903 (package-menu--print-info): Rename from package-print-package.
24904 Return insertion data instead of inserting it directly.
24905 (package-menu-describe-package, package-menu-execute):
24906 Use tabulated-list-get-id.
24907 (package-menu-mark-delete, package-menu-mark-install)
24908 (package-menu-mark-unmark, package-menu-backup-unmark)
24909 (package-menu-mark-obsolete-for-deletion):
24910 Use tabulated-list-put-tag.
24911 (package--list-packages, package-menu-revert)
24912 (package-menu-get-package, package-menu-get-version)
24913 (package-menu-sort-by-column): Functions deleted.
24914 (package-menu-package-list, package-menu-sort-key): Vars deleted.
24915 (package-menu--status-predicate, package-menu--version-predicate)
24916 (package-menu--name-predicate)
24917 (package-menu--description-predicate): Handle arguments in the
24918 Tabulated List format.
24919 (package-list-packages-no-fetch): Call list-packages.
24920
24921 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
24922
24923 * files.el (after-find-file-from-revert-buffer): Remove variable.
24924 (after-find-file): Don't bind it.
24925 (revert-buffer-in-progress-p): New variable.
24926 (revert-buffer): Bind it.
24927 Pass nil for `after-find-file-from-revert-buffer'.
24928
24929 * saveplace.el (save-place-find-file-hook): Use new variable
24930 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
24931
24932 2011-04-06 Glenn Morris <rgm@gnu.org>
24933
24934 * Makefile.in (AUTOGEN_VCS): New variable.
24935 (autoloads): Use $AUTOGEN_VCS.
24936
24937 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
24938 * calendar/calendar.el (calendar-mode-map):
24939 Check for toolkit scroll bars. (Bug#8305)
24940
24941 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
24942
24943 * minibuffer.el (completion-in-region--postch)
24944 (completion-in-region-mode): Remove unnecessary messages.
24945
24946 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
24947
24948 * font-lock.el (font-lock-refresh-defaults):
24949 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
24950 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
24951
24952 * info.el (Info-directory-list, Info-read-node-name-2)
24953 (Info-split-parameter-string): Doc fixes.
24954 (Info-virtual-nodes): Reflow docstring.
24955 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
24956 (Info-apropos-toc-nodes, info-finder, Info-get-token)
24957 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
24958 Fix typos in docstrings.
24959 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
24960 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
24961 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
24962 (Info-restore-desktop-buffer): Mark unused parameters.
24963 (Info-directory-find-file, Info-directory-find-node)
24964 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
24965 (Info-virtual-index-find-node, Info-apropos-find-file)
24966 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
24967 Mark unused parameters; fix typos in docstrings.
24968 (Info-virtual-index): Remove unused local variable `nodename'.
24969
24970 2011-04-05 Deniz Dogan <deniz@dogan.se>
24971
24972 * net/rcirc.el: Update my e-mail address.
24973 (rcirc-mode-map): Remove M-o binding.
24974
24975 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
24976
24977 * startup.el (command-line): Save the cursor's theme-face
24978 directly, instead of using face-override-spec.
24979
24980 * custom.el (load-theme): Minor optimization in assigning faces.
24981
24982 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
24983
24984 * help-fns.el (describe-variable): Complete all variables having
24985 documentation, including keywords.
24986 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
24987
24988 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
24989
24990 Convert to lexical-binding.
24991
24992 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
24993 (bs--get-marked-string, bs--get-modified-string)
24994 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
24995 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
24996 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
24997
24998 * ehelp.el (electric-help-execute-extended)
24999 (electric-help-ctrl-x-prefix):
25000 * hexl.el (hexl-revert-buffer-function):
25001 * linum.el (linum-after-change, linum-after-scroll):
25002 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
25003
25004 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
25005
25006 2011-04-04 Daiki Ueno <ueno@unixuser.org>
25007
25008 * epa-dired.el:
25009 * epa-mail.el:
25010 * epa-hook.el:
25011 * epa-file.el:
25012 * epa.el:
25013 * epg.el: Use lexical binding.
25014
25015 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
25016
25017 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
25018
25019 * textmodes/flyspell.el (flyspell-word): Recognize default
25020 dictionary case for flyspell-mark-duplications-exceptions.
25021 Use regexp matching for languages.
25022 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
25023 default dictionary (Bug#7926).
25024
25025 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
25026
25027 * emacs-lisp/package.el (package--with-work-buffer):
25028 Recognize https URLs.
25029
25030 * net/network-stream.el: Move from gnus/proto-stream.el.
25031 Change prefix to network-stream throughout.
25032 (open-protocol-stream): Merge into open-network-stream, leaving
25033 open-protocol-stream as an alias. Handle nil BUFFER args.
25034
25035 * subr.el (open-network-stream): Move to net/network-stream.el.
25036
25037 2011-04-02 Glenn Morris <rgm@gnu.org>
25038
25039 * find-dired.el (find-exec-terminator): New option.
25040 (find-ls-option): Test for -ls support.
25041 (find-ls-subdir-switches): Test for -b in find-ls-option.
25042 (find-dired, find-grep-dired): Doc fixes.
25043 (find-dired): Use find-exec-terminator.
25044
25045 * find-dired.el (find-ls-option, find-ls-subdir-switches)
25046 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
25047 (find-name-arg): Remove purecopy.
25048
25049 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
25050 (grep-compute-defaults): Check for `-exec COMMAND +' support.
25051 Set grep-find-use-xargs, grep-find-command, and grep-find-template
25052 accordingly. Don't add the null-device if not needed.
25053
25054 * files.el (save-some-buffers): Doc fix.
25055
25056 2011-04-02 Eli Zaretskii <eliz@gnu.org>
25057
25058 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
25059
25060 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
25061
25062 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
25063 Use `dolist' rather than `mapcar'.
25064
25065 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
25066
25067 Add lexical binding.
25068
25069 * subr.el (apply-partially): Use new closures rather than CL.
25070 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
25071 (dolist, dotimes): Use slightly different expansion for lexical code.
25072 (functionp): Move to C.
25073 (letrec): New macro.
25074 (with-wrapper-hook): Use it and apply-partially instead of CL.
25075 (eval-after-load): Preserve lexical-binding.
25076 (save-window-excursion, with-output-to-temp-buffer): Turn them
25077 into macros.
25078
25079 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
25080
25081 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
25082 than the arglist.
25083 (help-add-fundoc-usage): Don't add `Not documented'.
25084 (help-function-arglist): Handle closures, subroutines, and new
25085 byte-code-functions.
25086 (help-make-usage): Remove leading underscores.
25087 (describe-function-1): Handle closures.
25088 (describe-variable): Use special-variable-p for completion.
25089
25090 * files.el (lexical-binding): Declare safe.
25091
25092 * emacs-lisp/pcase.el: Don't use destructuring-bind.
25093 (pcase--memoize): Rename from pcase-memoize. Change weakness.
25094 (pcase): Add `let' pattern.
25095 Change memoization so it actually works.
25096 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
25097 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
25098 <let>: New case.
25099
25100 * emacs-lisp/macroexp.el: Use lexical binding.
25101 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
25102 Don't convert ' to #' without checking that it's indeed quoting
25103 a lambda.
25104
25105 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
25106 Use eval-sexp-add-defvars.
25107 (eval-sexp-add-defvars): New fun.
25108
25109 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
25110
25111 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
25112 Don't autoload.
25113 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
25114 than the internal `byte-compile-lambda'.
25115 (defmethod): Don't hide code under quotes.
25116 (eieio-defmethod): New `code' argument.
25117
25118 * emacs-lisp/eieio-comp.el: Remove.
25119
25120 * emacs-lisp/edebug.el (edebug-eval-defun)
25121 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
25122 (edebug-toggle): Avoid `eval'.
25123
25124 * emacs-lisp/disass.el (disassemble-internal): Handle new
25125 `closure' objects.
25126 (disassemble-1): Handle new byte codes.
25127
25128 * emacs-lisp/cl.el (pushnew): Silence warning.
25129
25130 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
25131 (cl-byte-compile-throw): Remove.
25132 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
25133
25134 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
25135 closures.
25136
25137 * emacs-lisp/cconv.el: New file.
25138
25139 * emacs-lisp/bytecomp.el: Use lexical binding instead of
25140 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
25141 (byte-compile-initial-macro-environment):
25142 Handle declare-function here.
25143 (byte-compile--lexical-environment): New var.
25144 (byte-stack-ref, byte-stack-set, byte-discardN)
25145 (byte-discardN-preserve-tos): New lap codes.
25146 (byte-interactive-p): Don't use any more.
25147 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
25148 New macros.
25149 (byte-compile-lapcode): Use them and handle new lap codes.
25150 (byte-compile-obsolete): Remove.
25151 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
25152 (byte-compile-arglist-warn): Check late def of inlinable funs.
25153 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
25154 since they should have been expanded by now.
25155 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
25156 (byte-compile-from-buffer): Remove unused second arg.
25157 (byte-compile-preprocess): New function.
25158 (byte-compile-toplevel-file-form): New function to distinguish
25159 file-form calls from outside from file-form calls from hunk-handlers.
25160 (byte-compile-file-form): Simplify.
25161 (byte-compile-file-form-defsubst): Remove.
25162 (byte-compile-file-form-defmumble): Simplify now that
25163 byte-compile-lambda always returns a byte-code-function.
25164 (byte-compile): Preprocess.
25165 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
25166 Remove, not used any more.
25167 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
25168 (byte-compile-make-args-desc): New funs.
25169 (byte-compile-lambda): Handle lexical functions. Always return
25170 a byte-code-function.
25171 (byte-compile-reserved-constants): New var, to make up room for
25172 closed-over variables.
25173 (byte-compile-constants-vector): Obey it.
25174 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
25175 (byte-compile-macroexpand-declare-function): New function.
25176 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
25177 byte-code-functions.
25178 (byte-compile-form): Check obsolescence here.
25179 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
25180 (byte-compile-variable-ref): Remove.
25181 (byte-compile-dynamic-variable-op): New fun.
25182 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
25183 (byte-compile-variable-set): New funs.
25184 (byte-compile-discard): Add 2 args.
25185 (byte-compile-stack-ref, byte-compile-stack-set)
25186 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
25187 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
25188 macroexpand-all instead.
25189 (byte-compile-quote-form): Remove.
25190 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
25191 (byte-compile-bind, byte-compile-unbind): New funs.
25192 (byte-compile-let): Handle let* and lexical binding.
25193 (byte-compile-let*): Remove.
25194 (byte-compile-catch, byte-compile-unwind-protect)
25195 (byte-compile-track-mouse, byte-compile-condition-case):
25196 Handle a new :fun-body form, used for lexical scoping.
25197 (byte-compile-save-window-excursion)
25198 (byte-compile-with-output-to-temp-buffer): Remove.
25199 (byte-compile-defun): Simplify.
25200 (byte-compile-stack-adjustment): New fun.
25201 (byte-compile-out): Use it.
25202 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
25203
25204 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
25205 handler any more.
25206
25207 * emacs-lisp/byte-opt.el: Use lexical binding.
25208 (byte-inline-lapcode): Remove (to bytecomp).
25209 (byte-compile-inline-expand): Pay attention to inlining to/from
25210 lexically bound code.
25211 (byte-compile-unfold-lambda): Don't handle byte-code-functions
25212 any more.
25213 (byte-optimize-form-code-walker): Don't handle save-window-excursion
25214 any more and don't call compiler-macros.
25215 (byte-compile-splice-in-already-compiled-code): Remove.
25216 (byte-code): Don't inline any more.
25217 (disassemble-offset): Receive `bytes' as argument rather than via
25218 dynamic scoping.
25219 (byte-compile-tag-number): Declare before first use.
25220 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
25221 `return' even if make-spliceable.
25222 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
25223 obsolete interactive-p.
25224 (byte-optimize-lapcode): Optimize new lap-codes.
25225 Don't trip up on new form of `byte-constant' lap code.
25226
25227 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
25228
25229 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
25230
25231 * custom.el (custom-initialize-default, custom-declare-variable):
25232 Use `defvar'.
25233
25234 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
25235 New variables.
25236 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
25237 (COMPILE_FIRST): Add macroexp and cconv.
25238 * makefile.w32-in: Mirror changes in Makefile.in.
25239
25240 * vc/cvs-status.el:
25241 * vc/diff-mode.el:
25242 * vc/log-edit.el:
25243 * vc/log-view.el:
25244 * vc/smerge-mode.el:
25245 * textmodes/bibtex-style.el:
25246 * textmodes/css-mode.el:
25247 * startup.el:
25248 * uniquify.el:
25249 * minibuffer.el:
25250 * newcomment.el:
25251 * reveal.el:
25252 * server.el:
25253 * mpc.el:
25254 * emacs-lisp/smie.el:
25255 * doc-view.el:
25256 * dired.el:
25257 * abbrev.el: Use lexical binding.
25258
25259 2011-04-01 Eli Zaretskii <eliz@gnu.org>
25260
25261 * info.el (info-display-manual): New function.
25262
25263 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
25264
25265 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
25266
25267 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
25268
25269 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
25270 an entry for that server in rcirc-authinfo. (Bug#8385)
25271
25272 2011-03-31 Glenn Morris <rgm@gnu.org>
25273
25274 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
25275
25276 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
25277
25278 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
25279
25280 * progmodes/python.el (python-default-interpreter)
25281 (python-python-command-args, python-jython-command-args)
25282 (python-which-shell, python-which-args, python-which-bufname)
25283 (python-file-queue, python-comint-output-filter-function)
25284 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
25285 variables and functions.
25286
25287 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
25288
25289 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
25290 (completion-in-region-mode): New minor mode.
25291 (completion-in-region): Use it.
25292 (completion-in-region--data, completion-in-region-mode-map): New vars.
25293 (completion-in-region--postch): New function.
25294 (completion--capf-misbehave-funs, completion--capf-safe-funs):
25295 New vars.
25296 (completion--capf-wrapper): New function.
25297 (completion-at-point): Use it to track well-behavedness of
25298 hook functions.
25299 (completion-help-at-point): New command.
25300
25301 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
25302
25303 * vc/add-log.el (add-change-log-entry): Don't use whitespace
25304 syntax class to search for whitespace on a single line
25305 (Message-ID: <4D938140.4030905@redhat.com>).
25306
25307 2011-03-30 Leo Liu <sdl.web@gmail.com>
25308
25309 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
25310 New commands.
25311 (edit-abbrevs-map): Bind them here.
25312 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
25313
25314 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
25315
25316 * allout.el (allout-hide-by-annotation, allout-flag-region):
25317 Reduce possibility of overlay leakage by making them volatile.
25318
25319 * allout-widgets.el (allout-widgets-tally): Define as nil so the
25320 hash is not shared between buffers. Mode initialization is
25321 responsible for giving it a useful starting value.
25322 (allout-item-span): Reduce possibility of overlay leakage by
25323 making them volatile.
25324 (allout-widgets-count-buttons-in-region): Add diagnostic function
25325 for tracking down button overlay leaks.
25326
25327 2011-03-29 Leo Liu <sdl.web@gmail.com>
25328
25329 * ido.el (ido-read-internal): Use the default history var
25330 minibuffer-history if no HISTORY is specified.
25331
25332 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
25333
25334 * net/imap.el (imap-shell-open, imap-process-connection-type):
25335 Use imap-process-connection-type for 'shell' streams as well as
25336 Kerberos, SSL, other subprocesses.
25337
25338 2011-03-28 Leo Liu <sdl.web@gmail.com>
25339
25340 * abbrev.el (abbrev-table-empty-p): New function.
25341 (prepare-abbrev-list-buffer): Place empty abbrev tables after
25342 nonempty ones. (Bug#5937)
25343
25344 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
25345
25346 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
25347
25348 2011-03-27 Leo Liu <sdl.web@gmail.com>
25349
25350 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
25351 for foreground and background colors.
25352 (ansi-color-make-color-map): Adapt.
25353
25354 2011-03-25 Leo Liu <sdl.web@gmail.com>
25355
25356 * midnight.el (midnight-time-float): Remove. Note it calculates
25357 the microsecond component incorrectly and seconds-to-time does the
25358 same job.
25359 Remove redundant (require 'timer).
25360
25361 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
25362 (ido-completions): Remove unused arguments. (Bug#8329)
25363
25364 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
25365
25366 * minibuffer.el (completion--flush-all-sorted-completions):
25367 Remove itself from hook.
25368 (completion-at-point): Let the functions perform the completion
25369 immediately and return nil or t.
25370 * comint.el (comint-dynamic-complete-functions): Now identical to
25371 completion-at-point-functions.
25372 (comint-dynamic-list-input-ring): Remove unused var `index'.
25373 (comint--match-partial-filename, comint--unquote&expand-filename):
25374 New funs, split from comint-match-partial-filename.
25375 (comint-dynamic-complete): Use completion-at-point.
25376 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
25377
25378 2011-03-24 Drew Adams <drew.adams@oracle.com>
25379
25380 * thingatpt.el: Support `defun'.
25381
25382 2011-03-23 Leo Liu <sdl.web@gmail.com>
25383
25384 * abbrevlist.el: Move to obsolete/abbrevlist.el.
25385
25386 * help-mode.el (help-mode-finish): Tweak regexp.
25387
25388 2011-03-23 Glenn Morris <rgm@gnu.org>
25389
25390 * eshell/esh-opt.el (eshell-eval-using-options):
25391 Do not bind unused local variable `eshell-option-stub'.
25392
25393 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
25394
25395 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
25396
25397 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
25398 keymap variable in `with-no-warnings' to avoid a warning when the
25399 keymap has been already `defconst'ed.
25400
25401 2011-03-22 Leo Liu <sdl.web@gmail.com>
25402
25403 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
25404 encode all chars in abbrevs; otherwise use emacs-mule or
25405 utf-8-emacs. (Bug#8308)
25406
25407 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
25408
25409 * simple.el (backward-delete-char-untabify):
25410 Avoid warning about using `delete-backward-char'.
25411
25412 * image.el (image-type-file-name-regexps): Make it variable.
25413 `imagemagick-register-types' modifies it, and the user may want
25414 to add new extensions for known image types.
25415 (imagemagick-register-types): Throw error if not using ImageMagick.
25416
25417 2011-03-22 Leo Liu <sdl.web@gmail.com>
25418
25419 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
25420 located before rcirc-prompt-end-marker.
25421 (rcirc-complete): Error if point is not after rcirc prompt.
25422 Handle the case when table is nil.
25423 (rcirc-user-authenticated): Define to fix compiler warning.
25424
25425 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
25426
25427 * custom.el (custom--inhibit-theme-enable): Make it affect only
25428 custom-theme-set-variables and custom-theme-set-faces.
25429 (provide-theme): Ignore custom--inhibit-theme-enable.
25430 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
25431 (custom-enabling-themes): Delete variable.
25432 (enable-theme): Accept only loaded themes as arguments.
25433 Ignore the special custom-enabled-themes variable.
25434 (custom-enabled-themes): Forbid themes from setting this.
25435 Eliminate use of custom-enabling-themes.
25436 (custom-push-theme): Quote "changed" custom var entry.
25437
25438 2011-03-21 Leo Liu <sdl.web@gmail.com>
25439
25440 * ido.el (ido-read-internal): Add ido-selected to history instead
25441 of user input.
25442
25443 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
25444
25445 * subr.el (deferred-action-list, deferred-action-function):
25446 Mark obsolete.
25447
25448 2011-03-21 Leo Liu <sdl.web@gmail.com>
25449
25450 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
25451 change on 2011-02-13 (bug#8309).
25452
25453 * minibuffer.el (read-file-name-function): Change default value.
25454 (read-file-name--defaults): Rename from read-file-name-defaults.
25455 (read-file-name-default): Rename from read-file-name.
25456 (read-file-name): Call read-file-name-function.
25457
25458 2011-03-21 Glenn Morris <rgm@gnu.org>
25459
25460 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
25461 Doc fixes.
25462
25463 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
25464
25465 * cus-theme.el: Add missing provide statement.
25466 (customize-create-theme): Extract theme value correctly.
25467 (custom-theme-visit-theme): Autoload.
25468 (customize-create-theme): Prompt before inserting default faces.
25469
25470 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
25471
25472 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
25473 units and musical notes.
25474
25475 2011-03-20 Leo Liu <sdl.web@gmail.com>
25476
25477 * ido.el (ido-read-internal): Use completing-read-default.
25478 (ido-completing-read): Fix compatibility with completing-read.
25479
25480 2011-03-20 Christian Ohler <ohler@gnu.org>
25481
25482 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
25483 (ert-delete-all-tests): Use `called-interactively-p' rather than
25484 `interactive-p'.
25485 (ert--make-xrefs-region): Respect END.
25486
25487 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
25488
25489 * dired-aux.el (dired-create-directory): Signal an error if the
25490 directory already exists (Bug#8246).
25491
25492 * facemenu.el (list-colors-display): Call list-faces-display
25493 inside with-help-window.
25494 (list-colors-print): Use display property to align the final
25495 column, instead of checking window-width.
25496
25497 2011-03-19 Eli Zaretskii <eliz@gnu.org>
25498
25499 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
25500 windows-nt systems.
25501 (emerge-protect-metachars): Quote correctly for ms-dos and
25502 windows-nt systems.
25503
25504 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
25505
25506 * info.el (info-initialize): Replace all uses of `:' with
25507 path-separator for compatibility with non-Unix systems.
25508 Cache quoting of path-separator. (Bug#8258)
25509
25510 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
25511
25512 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
25513 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
25514 (mouse-avoidance-mode): Fix typos in docstrings.
25515
25516 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
25517
25518 * startup.el (package-subdirectory-regexp): Move from package.el.
25519 Omit \\` and \\', and let callers add them.
25520
25521 * emacs-lisp/package.el (package-strip-version)
25522 (package-load-all-descriptors): Add \\` and \\' to
25523 package-subdirectory-regexp before using it.
25524 (package-untar-buffer): New arg DIR; ensure that file untars only
25525 into this expected directory. Remove superfluous delete-region.
25526 (package-unpack): Caller changed.
25527 (package-tar-file-info): Use package-subdirectory-regexp.
25528
25529 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
25530
25531 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
25532 diff-mode-shared-map (bug#8284).
25533 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
25534
25535 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
25536
25537 * calendar/time-date.el (format-seconds): Use assoc instead of
25538 assoc-string, since assoc-string doesn't exist in XEmacs.
25539
25540 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
25541
25542 * custom.el (custom-known-themes): Reflow docstring.
25543 (custom-theme-load-path): Fix typo in docstring.
25544 (load-theme): Fix typo in error message.
25545 (custom-available-themes, custom-variable-theme-value):
25546 Use `let', not `let*'.
25547
25548 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
25549
25550 * calc/README: Mention inclusion of musical notes.
25551
25552 * calc/calc-units.el (calc-lu-quant): Rename from
25553 `calc-logunits-quantity'.
25554 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
25555 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
25556 (calc-db): Rename from `calc-dblevel'.
25557 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
25558 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
25559 (calc-np): Rename from `calc-nplevel'.
25560 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
25561 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
25562 (calc-lu-plus): Rename from `calc-logunits-add'.
25563 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
25564 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
25565 (calc-lu-minus): Rename from `calc-logunits-sub'.
25566 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
25567 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
25568 (calc-lu-times): Rename from `calc-logunits-mul'.
25569 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
25570 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
25571 (calc-lu-divide): Rename from `calc-logunits-div'.
25572 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
25573 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
25574
25575 * calc/calc-ext.el (calc-init-extensions): Update the names of the
25576 functions being autoloaded.
25577
25578 * calc/calc.el (calc-lu-power-reference): Rename from
25579 `calc-logunits-power-reference'.
25580 (calc-lu-field-reference): Rename from
25581 `calc-logunits-field-reference'.
25582
25583 * calc/calc-help.el (calc-l-prefix-help):
25584 Mention musical note functions.
25585
25586 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
25587
25588 * minibuffer.el (completion-all-sorted-completions):
25589 Use :completion-cycle-penalty text property if present.
25590
25591 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
25592
25593 * allout.el (allout-yank-processing): Adjust for new rebulleting
25594 regime so bullet being yanked is used without prompting the user
25595 for a choice.
25596
25597 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
25598
25599 * startup.el (command-line): Warn the user that _emacs is deprecated.
25600
25601 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
25602
25603 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
25604 (delphi-verbose, delphi-comment-face, delphi-string-face)
25605 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
25606 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
25607 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
25608 (delphi-new-comment-line, delphi-font-lock-defaults)
25609 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
25610 Fix typos in docstrings.
25611
25612 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
25613
25614 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
25615 Invert the roles of character and string values for INSTEAD, so a
25616 string is used for the more common case of a defaulting prompt.
25617
25618 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25619
25620 * progmodes/ruby-mode.el (ruby-backward-sexp):
25621 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
25622 * play/gamegrid.el (gamegrid-make-face):
25623 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
25624 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
25625 * notifications.el (notifications-notify):
25626 * net/xesam.el (xesam-search-engines):
25627 * net/quickurl.el (quickurl-list-insert):
25628 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
25629
25630 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
25631
25632 * startup.el (command-line): Update package subdirectory regexp.
25633
25634 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25635
25636 * allout.el (allout-abbreviate-flattened-numbering)
25637 (allout-mode-deactivate-hook): Fix up obsolescence "date".
25638
25639 * subr.el (read-char-choice): Only show the cursor after the prompt,
25640 not after the answer.
25641
25642 2011-03-15 Kevin Ryde <user42@zip.com.au>
25643
25644 * help-fns.el (variable-at-point): Skip leading quotes, if any
25645 (bug#8253).
25646
25647 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25648
25649 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
25650 warning message.
25651
25652 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
25653
25654 * shell.el (shell): When called interactively, offer to change the
25655 shell file name on remote hosts.
25656
25657 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
25658
25659 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
25660 integration for LDAP parameters. The host, base, user or binddn,
25661 and secret tokens can be specified in a netrc file, for instance.
25662 This is optional because an `auth-source' parameter must be
25663 specified in the search attributes.
25664
25665 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
25666
25667 * help.el (describe-mode): Link to the mode's definition (bug#8185).
25668
25669 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
25670
25671 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
25672 into declaration. Remove redundant and harmful binding.
25673
25674 2011-03-12 Eli Zaretskii <eliz@gnu.org>
25675
25676 * files.el (file-ownership-preserved-p): Pass `integer' as an
25677 explicit 2nd argument to `file-attributes'. If the file's owner
25678 is the Administrators group on Windows, and the current user is
25679 Administrator, consider that a match.
25680
25681 * server.el (server-ensure-safe-dir): Consider server directory
25682 safe on MS-Windows if its owner is the Administrators group while
25683 the current Emacs user is Administrator. Use `=' to compare
25684 numerical UIDs, since they could be integers or floats.
25685
25686 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
25687
25688 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
25689
25690 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
25691
25692 Sync with Tramp 2.2.1.
25693
25694 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
25695
25696 * net/trampver.el: Update release number.
25697
25698 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
25699
25700 * progmodes/compile.el (compilation--previous-directory): Fix up
25701 various nil/dead-marker mismatches (bug#8014).
25702 (compilation-directory-properties, compilation-error-properties):
25703 Don't call it at a position past the one we're about to change.
25704
25705 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
25706 Disable obsolescence warnings in the file that declares it.
25707
25708 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
25709
25710 * allout-widgets.el (allout-widgets-tally):
25711 Initialize allout-widgets-tally as a hash table rather than nil to
25712 prevent mode-line redisplay warnings. Also, clarify the module
25713 description and fix a comment typo.
25714
25715 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
25716
25717 * help-fns.el (describe-variable): Don't complete keywords.
25718 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
25719
25720 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
25721
25722 * emacs-lisp/package.el (package-version-join): Impose a standard
25723 string representation for pre/alpha/beta version lists.
25724 (package-unpack-single): Standardize the directory name by passing
25725 it through package-version-join.
25726 (package-strip-rcs-id): Accept any version string that does not
25727 signal an error in version-to-list.
25728
25729 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
25730
25731 * simple.el (delete-trailing-whitespace): Return nil for the
25732 benefit of `write-file-functions'.
25733
25734 2011-03-10 Glenn Morris <rgm@gnu.org>
25735
25736 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
25737
25738 * vc/vc-git.el (vc-git-program): New option.
25739 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
25740 (vc-git--call): Use it.
25741
25742 * eshell/esh-util.el (eshell-condition-case): Doc fix.
25743
25744 * cus-edit.el (Custom-newline): If no button at point, look
25745 for a subgroup button at start-of-line. (Bug#2298)
25746
25747 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
25748
25749 2011-03-10 Julien Danjou <julien@danjou.info>
25750
25751 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
25752 `cursor-type' is nil.
25753
25754 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
25755
25756 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
25757
25758 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
25759
25760 * allout.el: Change so yank of distinctive-bullet items
25761 preserves the existing header prefix, rebulleting it if necessary,
25762 rather than replacing it. This is necessary for proper operation
25763 of cooperative addons like allout-widgets.
25764 (allout-make-topic-prefix, allout-rebullet-heading):
25765 Change SOLICIT arg to INSTEAD, and interpret additionally a string
25766 value as alternate bullet to be used, instead of prompting the user
25767 for a bullet character.
25768
25769 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
25770
25771 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25772 Do not use `tramp-file-name-port', because this returns also
25773 `tramp-default-port'.
25774
25775 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
25776
25777 * net/rcirc.el (rcirc-handler-001): Remove useless
25778 with-rcirc-process-buffer.
25779 (rcirc-check-auth-status): Swap arguments to string-match.
25780
25781 2011-03-09 Glenn Morris <rgm@gnu.org>
25782
25783 * shell.el (shell-mode):
25784 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
25785
25786 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
25787 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
25788
25789 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
25790
25791 * emacs-lisp/package.el (package-refresh-contents)
25792 (package-menu-execute): Use condition-case-no-debug.
25793
25794 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
25795
25796 * simple.el (shell-command-to-string): Use `process-file'.
25797
25798 * emacs-lisp/package.el (package-tar-file-info): Handle also
25799 remote files.
25800
25801 * emacs-lisp/package-x.el (package-upload-buffer-internal):
25802 Use `equal' for upload base check.
25803
25804 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
25805
25806 * textmodes/texinfo.el (texinfo-environments):
25807 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
25808
25809 2011-03-08 Glenn Morris <rgm@gnu.org>
25810
25811 * cus-start.el (cursor-in-non-selected-windows):
25812 Fix :set quoting oddness. (Bug#8192)
25813
25814 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
25815 in some setf expressions. (Bug#2159)
25816
25817 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
25818
25819 * custom.el (custom-available-themes): Return themes in
25820 alphabetical order.
25821
25822 See ChangeLog.15 for earlier changes.
25823
25824 ;; Local Variables:
25825 ;; coding: utf-8
25826 ;; End:
25827
25828 Copyright (C) 2011-2013 Free Software Foundation, Inc.
25829
25830 This file is part of GNU Emacs.
25831
25832 GNU Emacs is free software: you can redistribute it and/or modify
25833 it under the terms of the GNU General Public License as published by
25834 the Free Software Foundation, either version 3 of the License, or
25835 (at your option) any later version.
25836
25837 GNU Emacs is distributed in the hope that it will be useful,
25838 but WITHOUT ANY WARRANTY; without even the implied warranty of
25839 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25840 GNU General Public License for more details.
25841
25842 You should have received a copy of the GNU General Public License
25843 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.