Fix typos in ChangeLogs.
[bpt/emacs.git] / lisp / ChangeLog
1 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
2
3 * minibuffer.el (completion--twq-all):
4 * term/ns-win.el (ns-initialize-window-system):
5 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
6
7 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8
9 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10 global bindings.
11
12 * doc-view.el (doc-view-start-process): Handle url-handler directories.
13
14 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
15
16 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
17 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
18 to nil.
19 (ruby-end-of-defun): Remove the unused arg, change the docstring
20 to reflect that this function is only used as the value of
21 `end-of-defun-function'.
22 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
23 to reflect an earlier change that beginning/end-of-defun functions
24 jump between methods in a class definition, as well as top-level
25 functions.
26
27 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
28
29 * minibuffer.el (minibuffer-complete): Don't just scroll
30 a *Completions* that's been iconified.
31 (minibuffer-force-complete): Make sure repetitions do cycle when going
32 through completion-in-region -> minibuffer-complete.
33
34 2013-04-15 Alan Mackenzie <acm@muc.de>
35
36 Correct the placement of c-cpp-delimiters when there're #s not at
37 col 0.
38
39 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
40 place a submatch around the #.
41 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
42 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
43 on the #, not BOL.
44
45 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
46
47 * emacs-lisp/nadvice.el: Properly test names when adding advice.
48 (advice--member-p): New arg `name'.
49 (advice--add-function, advice-member-p): Use it (bug#14202).
50
51 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
52
53 Reformulate java imenu-generic-expression.
54 The old expression contained ill formed regexps.
55
56 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
57 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
58 (cc-imenu-java-method-arg-regexp): New defconsts.
59 (cc-imenu-java-build-type-args-regex): New defun.
60 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
61 handling of spaces in the regexp.
62
63 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
64
65 * textmodes/ispell.el (ispell-command-loop): Remove
66 flyspell highlight of a word when ispell accepts it (bug #14178).
67
68 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
69
70 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
71 uses code from the previous `ange-ftp-run-real-handler'.
72 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
73 only in case that function exist. This is needed for proper
74 unloading of Tramp.
75
76 2013-04-15 Tassilo Horn <tsdh@gnu.org>
77
78 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
79
80 * textmodes/reftex.el (reftex-compile-variables): Use it.
81
82 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
83
84 * files.el (normal-mode): Only use default major-mode if no other mode
85 was specified.
86
87 * emacs-lisp/trace.el (trace-values): New function.
88
89 * files.el: Allow : in local variables (bug#14089).
90 (hack-local-variable-regexp): New var.
91 (hack-local-variables-prop-line, hack-local-variables): Use it.
92
93 2013-04-13 Roland Winkler <winkler@gnu.org>
94
95 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
96 data before it gets modified by bibtex-beginning-of-entry.
97
98 2013-04-13 Roland Winkler <winkler@gnu.org>
99
100 * textmodes/bibtex.el (bibtex-url): Doc fix.
101
102 2013-04-13 Roland Winkler <winkler@gnu.org>
103
104 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
105 does not visit a BibTeX file, exclude it from the list of buffers
106 returned by bibtex-initialize.
107
108 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
109
110 * window.el (split-window): Remove interactive form, since as a
111 command this function is a special case of split-window-below.
112 Correct doc string.
113
114 2013-04-12 Roland Winkler <winkler@gnu.org>
115
116 * faces.el (read-face-name): Do not override value of arg default.
117 Allow single faces and strings as default values. Remove those
118 elements from return value that are not faces.
119 (describe-face): Simplify.
120 (face-at-point): New optional args thing and multiple so that this
121 function can provide the same functionality previously provided by
122 read-face-name.
123 (make-face-bold, make-face-unbold, make-face-italic)
124 (make-face-unitalic, make-face-bold-italic, invert-face)
125 (modify-face, read-face-and-attribute): Use face-at-point.
126
127 * cus-edit.el (customize-face, customize-face-other-window)
128 * cus-theme.el (custom-theme-add-face)
129 * face-remap.el (buffer-face-set)
130 * facemenu.el (facemenu-set-face): Use face-at-point.
131
132 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
133
134 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
135
136 2013-04-10 Tassilo Horn <tsdh@gnu.org>
137
138 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
139 off leading { and trailing } from field values.
140
141 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
142
143 * emacs-lisp/timer.el (timer--check): New function.
144 (timer--time, timer-set-function, timer-event-handler): Use it.
145 (timer-set-idle-time): Simplify.
146 (timer--activate): CSE.
147 (timer-event-handler): Give more info in error message.
148 (internal-timer-start-idle): New function, moved from C.
149
150 * mpc.el (mpc-proc): Add `restart' argument.
151 (mpc-proc-cmd): Use it.
152 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
153 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
154 less often.
155
156 2013-04-10 Masatake YAMATO <yamato@redhat.com>
157
158 * progmodes/sh-script.el: Implement `sh-mode' own
159 `add-log-current-defun-function' (bug#14112).
160 (sh-current-defun-name): New function.
161 (sh-mode): Use the function.
162
163 2013-04-09 Bastien Guerry <bzg@gnu.org>
164
165 * simple.el (choose-completion-string): Fix docstring (bug#14163).
166
167 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
168
169 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
170
171 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
172 timer (bug#14156).
173
174 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
175
176 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
177 declaration.
178
179 2013-04-07 Leo Liu <sdl.web@gmail.com>
180
181 * pcmpl-x.el: New file.
182
183 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
184
185 Do not set x-display-name until X connection is established.
186 This is needed to prevent from weird situation described at
187 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
188 * frame.el (make-frame): Set x-display-name after call to
189 window system initialization function, not before.
190 * term/x-win.el (x-initialize-window-system): Add optional
191 display argument and use it.
192 * term/w32-win.el (w32-initialize-window-system):
193 * term/ns-win.el (ns-initialize-window-system):
194 * term/pc-win.el (msdos-initialize-window-system):
195 Add compatible optional display argument.
196
197 2013-04-06 Eli Zaretskii <eliz@gnu.org>
198
199 * files.el (normal-backup-enable-predicate): On MS-Windows and
200 MS-DOS compare truenames of temporary-file-directory and of the
201 file, so that 8+3 aliases (usually found in $TEMP on Windows)
202 don't fail comparison by compare-strings. Also, compare file
203 names case-insensitively on MS-Windows and MS-DOS.
204
205 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
206
207 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
208 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
209
210 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
211
212 * whitespace.el (whitespace-color-on, whitespace-color-off):
213 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
214
215 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
216
217 * ispell.el (ispell-set-spellchecker-params):
218 Really set `ispell-args' for all equivs.
219
220 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
221
222 * ido.el (ido-completions): Use extra elements of ido-decorations
223 (bug#14143).
224 (ido-decorations): Update docstring.
225
226 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
227
228 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
229 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
230 nil during initialization, in order not to miss changes since the
231 file was opened. (Bug#14140)
232
233 2013-04-05 Leo Liu <sdl.web@gmail.com>
234
235 * kmacro.el (kmacro-call-macro): Fix bug#14135.
236
237 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
238
239 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
240
241 2013-04-04 Glenn Morris <rgm@gnu.org>
242
243 * electric.el (electric-pair-inhibit-predicate): Add :version.
244
245 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
246
247 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
248 when a package is required several times (bug#14082).
249
250 2013-04-04 Roland Winkler <winkler@gnu.org>
251
252 * faces.el (read-face-name): Behave as promised by the docstring.
253 Assume that arg default is a list of faces.
254 (describe-face): Call read-face-name with list of default faces.
255
256 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
257
258 * bookmark.el: Fix deletion of bookmarks (bug#13972).
259 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
260 (bookmark-bmenu-execute-deletions): Only skip first line if it's
261 the header.
262 (bookmark-exit-hook-internal): Save even if list is empty.
263
264 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
265
266 * emacs-lisp/package.el (package-pinned-packages): New var.
267 (package--add-to-archive-contents): Obey it (bug#14118).
268
269 2013-04-03 Alan Mackenzie <acm@muc.de>
270
271 Handle `parse-partial-sexp' landing inside a comment opener
272 (Bug#13244). Also adapt to the new values of element 7 of a parse
273 state.
274
275 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
276 parameter `not-in-delimiter'. Handle being inside comment opener.
277 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
278 character in case we're typing a '*' after a '/'.
279 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
280 instead by passing the parameter to c-state-pp-to-literal.
281
282 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
283 for elt. 7 of a parse state.
284
285 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
286
287 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
288 * international/latin1-disp.el, international/mule-util.el:
289 * language/cyril-util.el, language/european.el, language/ind-util.el:
290 * language/lao-util.el, language/thai.el, language/tibet-util.el:
291 * language/tibetan.el, language/viet-util.el:
292 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
293
294 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
295
296 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
297 (electric-pair-post-self-insert-function): Use it.
298 (electric-pair-default-inhibit): New function, extracted from
299 electric-pair-post-self-insert-function.
300
301 2013-03-31 Roland Winkler <winkler@gnu.org>
302
303 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
304
305 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
306
307 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
308
309 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
310
311 Un-indent after "pass" and "return" statements (Bug#13888)
312 * progmodes/python.el (python-indent-block-enders): New var.
313 (python-indent-calculate-indentation): Use it.
314
315 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
316
317 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
318 defun. Defining it as defalias could introduce too eager
319 byte-compiler optimization. (Bug#14030)
320
321 2013-03-30 Chong Yidong <cyd@gnu.org>
322
323 * iswitchb.el (iswitchb-read-buffer): Fix typo.
324
325 2013-03-30 Leo Liu <sdl.web@gmail.com>
326
327 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
328 (kmacro-execute-from-register): Pass the keyboard macro to
329 kmacro-call-macro or repeating won't work correctly.
330
331 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
332
333 * progmodes/subword.el: Back to using `forward-symbol'.
334
335 * subr.el (forward-whitespace, forward-symbol)
336 (forward-same-syntax): Move from thingatpt.el.
337
338 2013-03-29 Leo Liu <sdl.web@gmail.com>
339
340 * kmacro.el (kmacro-to-register): New command.
341 (kmacro-execute-from-register): New function.
342 (kmacro-keymap): Bind to 'x'. (Bug#14071)
343
344 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
345
346 * mpc.el: Use defvar-local and setq-local.
347 (mpc--proc-connect): Connection failures are not bugs.
348 (mpc-mode-map): `follow-link' only applies to the buffer's content.
349 (mpc-volume-map): Bind to the up-events.
350
351 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
352
353 * progmodes/subword.el (superword-mode): Use `forward-sexp'
354 instead of `forward-symbol'.
355
356 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
357
358 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
359 (edebug--recursive-edit): Use it.
360 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
361 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
362
363 2013-03-28 Leo Liu <sdl.web@gmail.com>
364
365 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
366
367 2013-03-27 Eli Zaretskii <eliz@gnu.org>
368
369 * facemenu.el (list-colors-callback): New defvar.
370 (list-colors-redisplay): New function.
371 (list-colors-display): Install list-colors-redisplay as the
372 revert-buffer-function. (Bug#14063)
373
374 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
375
376 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
377 and suffixes don't overlap (bug#14061).
378
379 * case-table.el: Use lexical-binding.
380 (case-table-get-table): New function.
381 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
382
383 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
384
385 * progmodes/subword.el: Add `superword-mode' to do word motion
386 over symbol_words (parallels and leverages `subword-mode' which
387 does word motion inside MixedCaseWords).
388
389 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
390
391 * eshell/em-unix.el: Move su and sudo to...
392 * eshell/em-tramp.el: ...Eshell tramp module.
393
394 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
395
396 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
397 Change return value to be a sexp. Delay `get-buffer' to after
398 restoring the desktop (bug#13951).
399
400 2013-03-26 Leo Liu <sdl.web@gmail.com>
401
402 * register.el: Move semantic tag handling back to
403 cedet/semantic/senator.el. (Bug#14052)
404
405 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
406
407 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
408 into the prompt either (bug#13963).
409
410 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
411
412 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
413 part of "(error-foo)".
414
415 2013-03-24 Juri Linkov <juri@jurta.org>
416
417 * replace.el (list-matching-lines-prefix-face): New defcustom.
418 (occur-1): Pass `list-matching-lines-prefix-face' to the function
419 `occur-engine' if `face-differs-from-default-p' returns t.
420 (occur-engine): Add `,' inside backquote construct to evaluate
421 `prefix-face'. Propertize the prefix with the `prefix-face' face.
422 Pass `prefix-face' to the functions `occur-context-lines' and
423 `occur-engine-add-prefix'.
424 (occur-engine-add-prefix, occur-context-lines): Add optional arg
425 `prefix-face' and propertize the prefix with `prefix-face'.
426 (Bug#14017)
427
428 2013-03-24 Leo Liu <sdl.web@gmail.com>
429
430 * nxml/rng-valid.el (rng-validate-while-idle)
431 (rng-validate-quick-while-idle): Guard against deleted buffer.
432 (Bug#13999)
433
434 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
435 is the last entry in kill-buffer-hook.
436
437 * files.el (kill-buffer-hook): Doc fix.
438
439 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
440
441 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
442 Make it safe-local.
443
444 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
445
446 2013-03-23 Leo Liu <sdl.web@gmail.com>
447
448 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
449 Remove.
450
451 * nxml/rng-valid.el (rng-validate-mode)
452 (rng-after-change-function, rng-do-some-validation):
453 * nxml/rng-maint.el (rng-validate-buffer):
454 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
455 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
456 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
457 (nxml-extend-after-change-region): Use with-silent-modifications.
458
459 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
460 timer-idle-list.
461
462 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
463 (rng-next-error-1, rng-previous-error-1): Do not let-bind
464 timer-idle-list. (Bug#13999)
465
466 2013-03-23 Juri Linkov <juri@jurta.org>
467
468 * info.el (info-index-match): New face.
469 (Info-index, Info-apropos-matches): Add a nested subgroup to the
470 main pattern and add text properties with the new face to matches
471 in index entries relative to the beginning of the index entry.
472 (Bug#14015)
473
474 2013-03-21 Eric Ludlam <zappo@gnu.org>
475
476 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
477 Inhibit read only while inserting objects.
478
479 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
480
481 * progmodes/cfengine.el: Update docs to mention
482 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
483 symbol motion. Remove "_" from the word syntax.
484
485 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
486
487 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
488 syntax for both `cfengine2-mode' and `cfengine3-mode'.
489
490 2013-03-20 Juri Linkov <juri@jurta.org>
491
492 * info.el (Info-next-reference-or-link)
493 (Info-prev-reference-or-link): New functions.
494 (Info-next-reference, Info-prev-reference): Use them.
495 (Info-try-follow-nearest-node): Handle footnote navigation.
496 (Info-fontify-node): Fontify footnotes. (Bug#13989)
497
498 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
499
500 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
501 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
502
503 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
504
505 Suppress unnecessary non-ASCII chatter during build process.
506 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
507 (batch-skkdic-convert): Suppress most of the chatter.
508 It's not needed so much now that machines are faster,
509 and its non-ASCII component was confusing; see Dmitry Gutov in
510 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
511
512 2013-03-20 Leo Liu <sdl.web@gmail.com>
513
514 * ido.el (ido-chop): Fix bug#10994.
515
516 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
517
518 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
519 Remove vars.
520 (whitespace-color-on, whitespace-color-off):
521 Use `font-lock-fontify-buffer' (Bug#13817).
522
523 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
524
525 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
526 remapping in mode-line.
527 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
528
529 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
530
531 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
532 value for `whitespace-line' face (Bug#13875).
533 (whitespace-font-lock-keywords): Change description.
534 (whitespace-color-on): Don't save `font-lock-keywords' value, save
535 the constructed keywords instead.
536 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
537
538 2013-03-19 Leo Liu <sdl.web@gmail.com>
539
540 * progmodes/compile.el (compilation-display-error): New command.
541 (compilation-mode-map, compilation-minor-mode-map): Bind it to
542 C-o. (Bug#13992)
543
544 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
545
546 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
547
548 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
549
550 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
551
552 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
553
554 * net/tramp-compat.el (tramp-compat-user-error): New defun.
555
556 * net/tramp-adb.el (tramp-adb-handle-shell-command):
557 * net/tramp-gvfs.el (top):
558 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
559 (tramp-handle-shell-command): Use it.
560 (tramp-dissect-file-name): Raise an error when hostname is a
561 method name, and neither method nor user is specified.
562
563 * net/trampver.el: Update release number.
564
565 2013-03-18 Leo Liu <sdl.web@gmail.com>
566
567 Make sure eldoc can be turned off properly.
568 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
569 eldoc-mode.
570 (eldoc-display-message-p): Revert last change.
571 (eldoc-display-message-no-interference-p)
572 (eldoc-print-current-symbol-info): Tweak.
573
574 2013-03-18 Tassilo Horn <tsdh@gnu.org>
575
576 * doc-view.el (doc-view-new-window-function): Check the new window
577 overlay's display property instead the char property of the
578 buffer's first char. Use `with-selected-window' instead of
579 `save-window-excursion' with `select-window'.
580 (doc-view-document->bitmap): Check the current doc-view overlay's
581 display property instead the char property of the buffer's first char.
582
583 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
584
585 Automate the build of ja-dic.el (Bug#13984).
586 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
587 from the input, rather than assume that it's been done for us by the
588 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
589 the current date into a ja-dic.el comment, as that complicates
590 regression testing.
591
592 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
593
594 * whitespace.el: Fix double evaluation.
595 (whitespace-space, whitespace-hspace, whitespace-tab)
596 (whitespace-newline, whitespace-trailing, whitespace-line)
597 (whitespace-space-before-tab, whitespace-indentation)
598 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
599 obsolete defvars.
600 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
601 (whitespace-color-on): Use a single font-lock-add-keywords call.
602 Fix double-evaluation of face variables.
603
604 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
605
606 * net/tramp-adb.el (tramp-adb-parse-device-names):
607 Use `start-process' instead of `call-process'. Otherwise, the
608 function might be blocked under MS Windows. (Bug#13299)
609
610 2013-03-17 Leo Liu <sdl.web@gmail.com>
611
612 Extend eldoc to display info in the mode-line. (Bug#13978)
613 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
614 (eldoc-mode-line-string): New variable.
615 (eldoc-minibuffer-message): New function.
616 (eldoc-message-function): New variable.
617 (eldoc-message): Use it.
618 (eldoc-display-message-p)
619 (eldoc-display-message-no-interference-p):
620 Support eldoc-post-insert-mode.
621
622 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
623 (eval-expression): Run it.
624
625 2013-03-17 Roland Winkler <winkler@gnu.org>
626
627 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
628 strings in the list of return values.
629
630 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
631
632 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
633 radix before checking for HMS forms.
634
635 2013-03-16 Leo Liu <sdl.web@gmail.com>
636
637 * progmodes/scheme.el: Add indentation and font-locking for λ.
638 (Bug#13975)
639
640 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
641
642 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
643 token before point (bug#13942).
644
645 2013-03-16 Leo Liu <sdl.web@gmail.com>
646
647 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
648
649 2013-03-16 Eli Zaretskii <eliz@gnu.org>
650
651 * startup.el (command-line-normalize-file-name): Fix handling of
652 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
653 <xfq.free@gmail.com> in
654 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
655
656 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
657
658 Sync with Tramp 2.2.7.
659
660 * net/trampver.el: Update release number.
661
662 2013-03-14 Tassilo Horn <tsdh@gnu.org>
663
664 * doc-view.el Fix bug#13887.
665 (doc-view-insert-image): Don't modify overlay associated to
666 non-live windows, and implement horizontal centering of image in
667 case it's smaller than the window.
668 (doc-view-new-window-function): Force redisplay of new windows on
669 doc-view buffers.
670
671 2013-03-13 Karl Fogel <kfogel@red-bean.com>
672
673 * saveplace.el (save-place-alist-to-file): Don't sort
674 `save-place-alist', just pretty-print it (bug#13882).
675
676 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
677
678 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
679 whether `default-file-name-coding-system' is bound. It isn't in
680 XEmacs.
681
682 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
683
684 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
685 backquotes for `obsolete' (bug#13929).
686
687 * international/mule.el (find-auto-coding): Include file name in
688 obsolescence warning (bug#13922).
689
690 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
691
692 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
693 for CFEngine 3-specific indentation.
694 (cfengine3-indent-line): Use it. Fix up category regex.
695 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
696
697 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
698
699 * type-break.el (type-break-file-name):
700 * textmodes/remember.el (remember-data-file):
701 * strokes.el (strokes-file):
702 * shadowfile.el (shadow-initialize):
703 * saveplace.el (save-place-file):
704 * ps-bdf.el (bdf-cache-file):
705 * progmodes/idlwave.el (idlwave-config-directory):
706 * net/quickurl.el (quickurl-url-file):
707 * international/kkc.el (kkc-init-file-name):
708 * ido.el (ido-save-directory-list-file):
709 * emulation/viper.el (viper-custom-file-name):
710 * emulation/vip.el (vip-startup-file):
711 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
712 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
713
714 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
715
716 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
717 * language/thai-word.el: Switch to UTF-8.
718
719 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
720
721 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
722
723 2013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
724
725 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
726 Use with-current-buffer and don't move point.
727 (net-utils-run-simple): Remove useless code.
728 (net-utils-remove-ctl-m): Remove unused custom.
729
730 2013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
731
732 * international/characters.el (glyphless-set-char-table-range): New fun.
733 (update-glyphless-char-display): Use it (bug#13744).
734
735 2013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
736
737 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
738 namespaces in the syntax, indent closer for hanging brace
739 correctly, allow single-quote delimited 'strings', and make
740 `cfengine3-mode' the default.
741
742 2013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
743
744 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
745 Use lexical-binding. Fix up docstring according to conventions.
746 (gdbmi-debug-mode): New var.
747 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
748 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
749 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
750 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
751 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
752 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
753 (gdbmi-bnf-incomplete-record-result): New functions.
754 (gdb-car<): Remove function.
755 (gdbmi-record-list): Remove variable.
756 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
757 (gdbmi-bnf-result-state-configs): New const.
758 (gud-gdbmi-marker-filter): Rewrite.
759 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
760 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
761 Add `token' argument.
762 (gdb-done, gdb-error): New functions.
763 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
764
765 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
766
767 * term/xterm.el (xterm--report-background-handler): Don't burp
768 upon timeout.
769 (xterm--version-handler): Extract from terminal-init-xterm.
770 (xterm--query): Don't mishandle timeout. Remove debugging messages.
771 Allow multiple handlers.
772 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
773
774 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
775 (xterm--report-background-handler, xterm--query): New functions.
776 (terminal-init-xterm): Use them.
777
778 2013-03-11 Michael R. Mauger <michael@mauger.com>
779
780 * progmodes/sql.el Version 3.2
781 Please note that my address changed to <michael@mauger.com>;
782 the <mmaug@yahoo.com> address remains active.
783 (sql-connection-alist): Updates documentation to fix bug#13715.
784 (sql-connect): Handle missing `sql-connection-alist' correctly.
785 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
786 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
787 property.
788 (sql-default-value): New function.
789 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
790 values were not used.
791 (sql-rename-buffer): Make sure alternate buffer name has no text
792 properties.
793 (sql-input-sender, sql-execute-feature): Fetch variable with
794 `buffer-local-value' rather than `with-current-buffer'.
795 (sql-*): Use #' function syntax consistently.
796 (sql-*): Use message/error/user-error consistently.
797
798 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
799
800 * xt-mouse.el (xterm-mouse-event-read): Remove.
801 (xterm-mouse--read-event-sequence-1000)
802 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
803
804 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
805
806 * term/xterm.el (xterm-function-map): Support format used with
807 formatOtherKeys=1 (bug#13839).
808
809 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
810 (with-no-warnings): Use `declare'.
811
812 * whitespace.el (whitespace-enable-predicate): New variable.
813 (whitespace-enable-predicate): Use it.
814
815 * comint.el (comint-send-input, comint-snapshot-last-prompt)
816 (comint-output-filter, comint-update-fence):
817 Use with-silent-modifications.
818
819 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
820
821 * replace.el (occur-read-regexp-defaults-function): New var.
822 (occur-read-regexp-defaults): New defun.
823 (occur-read-primary-args): Propagate above change (bug#13892).
824
825 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
826
827 * mouse.el (mouse-drag-track): Remove left-over debugging code.
828
829 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
830
831 Major rewrite due to changed D-Bus interface of GVFS 1.14.
832
833 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
834 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
835 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
836 New defconst.
837 (tramp-gvfs-file-name-handler-alist) [directory-files]
838 [directory-files-and-attributes, file-exists-p, file-modes]:
839 Use Tramp default handler.
840 [file-acl, file-selinux-context, process-file, set-file-acl]:
841 [set-file-modes, set-file-selinux-context, shell-command]:
842 [start-file-process]: Remove handler.
843 [verify-visited-file-modtime]: New handler.
844 (tramp-gvfs-dbus-string-to-byte-array)
845 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
846 calls of `dbus-string-to-byte-array' and
847 `tramp-gvfs-dbus-byte-array-to-string'.
848 (tramp-gvfs-handle-copy-file)
849 (tramp-gvfs-handle-delete-directory)
850 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
851 (tramp-gvfs-handle-file-directory-p)
852 (tramp-gvfs-handle-file-executable-p)
853 (tramp-gvfs-handle-file-name-all-completions)
854 (tramp-gvfs-handle-file-readable-p)
855 (tramp-gvfs-handle-file-writable-p)
856 (tramp-gvfs-handle-insert-directory)
857 (tramp-gvfs-handle-insert-file-contents)
858 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
859 (tramp-gvfs-handle-set-visited-file-modtime)
860 (tramp-gvfs-handle-write-region): Rewrite.
861 (tramp-gvfs-handle-file-acl)
862 (tramp-gvfs-handle-file-selinux-context)
863 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
864 (tramp-gvfs-handle-set-file-modes)
865 (tramp-gvfs-handle-set-file-selinux-context)
866 (tramp-gvfs-handle-shell-command)
867 (tramp-gvfs-handle-start-file-process)
868 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
869 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
870 over the symlinks. Fix user handling.
871 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
872 of the D-Bus signals.
873 (tramp-gvfs-connection-mounted-p): Handle different names of the
874 D-Bus methods.
875 (tramp-gvfs-mount-spec-entry): New defun.
876 (tramp-gvfs-mount-spec): Use it.
877 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
878 there is a share name. Handle different names of the D-Bus
879 signals and methods. Set connection properties needed for
880 `tramp-check-cached-permissions'.
881 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
882 Return t or nil.
883
884 * net/tramp.el (tramp-backtrace): Move up.
885 (tramp-error): Dump a backtrace into the debug buffer when
886 `tramp-verbose > 9.
887 (tramp-file-mode-type-map, tramp-file-mode-from-int)
888 (tramp-file-mode-permissions, tramp-get-local-uid)
889 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
890 tramp-sh.el.
891
892 * net/tramp-sh.el (tramp-file-mode-type-map)
893 (tramp-check-cached-permissions, tramp-file-mode-from-int)
894 (tramp-file-mode-permissions, tramp-get-local-uid)
895 (tramp-get-local-gid): Move to tramp.el.
896
897 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
898
899 Separate mouse-1-click-follows-link from mouse-drag-region.
900 * mouse.el (mouse--down-1-maybe-follows-link): New function.
901 (key-translation-map): Use it to implement mouse-1-click-follows-link.
902 (mouse-drag-line, mouse-drag-track):
903 Remove mouse-1-click-follows-link code.
904 (mouse--remap-link-click-p): Remove.
905
906 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
907
908 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
909 (hi-lock-read-regexp-defaults): New defun.
910 (hi-lock-line-face-buffer, hi-lock-face-buffer)
911 (hi-lock-face-phrase-buffer): Propagate above change.
912 Update docstring (bug#13892).
913
914 * subr.el (find-tag-default-as-regexp): New defun.
915 * replace.el (read-regexp): Propagate above change.
916
917 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
918
919 * calc/calc-units.el (calc-convert-units): Fix the way that default
920 new units are stored.
921
922 2013-03-07 Matthias Meulien <orontee@gmail.com>
923
924 * bookmark.el: Define a face to highlight bookmark names in
925 bookmark menu buffers, where the default is a bold face similarly
926 to buffer names in buffer menu buffers.
927 (bookmark-menu-bookmark): New face to highlight bookmark names.
928 (bookmark-insert-location): Remove duplicated text property to
929 conform to buffer list (see `list-buffers').
930 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
931 `bookmark-menu-bookmark' to bookmark names.
932
933 2013-03-07 Matthias Meulien <orontee@gmail.com>
934 Karl Fogel <kfogel@red-bean.com>
935
936 * bookmark.el: Display the bookmark list header similarly to the
937 buffer list header (see `list-buffers'), where the default is now
938 an immovable/immutable header line.
939 (bookmark-bmenu-use-header-line): New variable.
940 (bookmark-bmenu-inline-header-height): New name for
941 `bookmark-bmenu-header-height', to avoid confusion with the code
942 for the new immovable header. All references changed.
943 (bookmark-bmenu-set-header): New function.
944 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
945 Conditionalize header construction accordingly.
946 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
947 the inline header height.
948 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
949 Conditionalize the skipping of the inline header height.
950
951 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
952
953 * progmodes/js.el (js--multi-line-declaration-indentation):
954 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
955
956 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
957
958 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
959 Only propertize regexp when not inside a string (Bug#13885).
960
961 2013-03-06 Alan Mackenzie <acm@muc.de>
962
963 Correct the position of point in some line-up functions.
964 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
965 (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
966 point at column 0 rather than at a random place in the line.
967
968 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
969
970 * net/tramp-compat.el (tramp-compat-delete-directory):
971 Implement TRASH argument.
972
973 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
974
975 Keep pre-existing highlighting in completion candidates (Bug#13250).
976 * minibuffer.el (completions-first-difference): State that the
977 face is "added" in the docstring.
978 (completions-common-part): Same. And don't inherit from default.
979 (completion-hilit-commonality): Prepend 'completions-common-part
980 and 'completion-first-difference faces to the 'face property,
981 instead of replacing the value(s).
982 (completion--insert-strings): Same with 'completions-annotations face.
983 (completion-hilit-commonality): Use 'face instead of
984 'font-lock-face, because it gets priority if the completion
985 strings already have 'face set.
986
987 2013-03-04 Alan Mackenzie <acm@muc.de>
988
989 Replace `last-command-event' by `last-command-char' in XEmacs.
990 * progmodes/cc-defs.el (c-last-command-char): New macro.
991 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
992 (c-semi&comma-no-newlines-before-nonblanks)
993 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
994 in place of `last-command-event'.
995 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
996 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
997 (c-electric-paren, c-electric-continued-statement): Use the new
998 macro in place of `last-command-event'.
999
1000 2013-03-04 Glenn Morris <rgm@gnu.org>
1001
1002 * files.el (inhibit-local-variables-regexps):
1003 Add .diff and .patch. (Bug#13862)
1004
1005 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
1006
1007 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
1008 whether the "su" command is available on the device.
1009
1010 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
1011
1012 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
1013 (tramp-adb-handle-process-file): Remove superfluous setting.
1014 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
1015 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
1016 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
1017
1018 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
1019
1020 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
1021 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
1022 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
1023 Use dict-key rather than dict-name for the error message.
1024
1025 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1026
1027 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
1028 when reverting (bug#13831).
1029
1030 2013-03-01 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1031
1032 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
1033 Always expand affix-file before storing to protect against changed
1034 `default-directory'.
1035 (ispell-print-if-debug): Make sure message is printed at the end
1036 of the debug buffer.
1037
1038 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
1039
1040 * net/tramp.el (tramp-obsolete-methods): New defconst.
1041 (tramp-warned-obsolete-methods): New defvar.
1042 (tramp-find-method): Check for obsolete methods. Map them to a
1043 replacement method if appropriate.
1044
1045 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
1046 Remove methods.
1047 (top): Remove completion functions for "scp1", "scp2", "ssh1",
1048 "ssh2" and "plink1".
1049
1050 2013-02-28 Dale Sedivec <dale@codefu.org>
1051
1052 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
1053 Return valid syntax-table property value when converting
1054 quotes within text from string syntax to punctuation syntax (bug#13844).
1055
1056 2013-02-28 Juri Linkov <juri@jurta.org>
1057
1058 * dired-aux.el (dired-diff): If file at point is a backup file,
1059 use its original as the default value, and reverse the order
1060 of arguments to the `diff' call. Doc fix. (Bug#13772)
1061
1062 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
1063
1064 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
1065 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
1066
1067 2013-02-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1068
1069 Initial support for hunspell dictionaries auto-detection (Bug#13639)
1070
1071 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
1072 Ask hunspell about available and default dictionaries.
1073 (ispell-parse-hunspell-affix-file): Extract relevant info from
1074 hunspell affix file.
1075 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
1076 `ispell-dictionary-alist' entry for given dictionary after info
1077 provided by `ispell-parse-hunspell-affix-file'.
1078 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
1079 of parsed hunspell dicts and associated affix files.
1080 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
1081 of parsed hunspell dicts and associated parameters.
1082 (ispell-set-spellchecker-params):
1083 Call `ispell-find-hunspell-dictionaries' if hunspell and not
1084 previously done.
1085 (ispell-start-process):
1086 Call `ispell-hunspell-fill-dictionary-entry' for current
1087 dictionary if it is not initialized.
1088
1089 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
1090
1091 * imenu.el: Comment nitpicks.
1092
1093 2013-02-28 Sam Steingold <sds@gnu.org>
1094
1095 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
1096 See <http://stackoverflow.com/questions/14720205>.
1097
1098 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1099
1100 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
1101 (net-utils-mode): Use it.
1102 (net-utils--revert-cmd): New var.
1103 (net-utils-run-simple): Set it, and remove bogus interactive spec.
1104 (traceroute): Use net-utils-run-simple.
1105
1106 2013-02-28 Glenn Morris <rgm@gnu.org>
1107
1108 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
1109
1110 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
1111
1112 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
1113 (doc-view-fallback-mode): Remove overlays here.
1114 (doc-view-toggle-display): Instead of here. Don't throw away
1115 image-mode-winprops-alist.
1116 (doc-view-goto-page): Don't mess with hscroll.
1117
1118 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1119
1120 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
1121 &optional (bug#13819).
1122
1123 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
1124
1125 * net/tramp-adb.el (tramp-adb-parse-device-names)
1126 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
1127
1128 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
1129
1130 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1131 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
1132 defined. POSIX environments fall back to the "C" locale then and
1133 emit a warning, which shall be suppressed.
1134
1135 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
1136
1137 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
1138 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
1139
1140 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
1141
1142 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
1143
1144 2013-02-25 Juri Linkov <juri@jurta.org>
1145
1146 * replace.el (read-regexp): Let-bind `default' to the first
1147 element of `defaults' if it's a list, otherwise it should be
1148 a string or nil. Let-bind `suggestions' to `defaults' if it's
1149 a list, otherwise make a list with the string value. Doc fix.
1150 (Bug#13805)
1151
1152 2013-02-25 Eli Zaretskii <eliz@gnu.org>
1153
1154 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
1155 that match "\`\.#", to avoid compiling lock files, even if they
1156 are readable (as they are on MS-Windows).
1157
1158 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
1159
1160 * files.el (basic-save-buffer): Remove redundant directory-creation.
1161
1162 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
1163
1164 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
1165 Add option to force `pi' to remain symbolic.
1166 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
1167 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
1168 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
1169 derivatives, when necessary.
1170
1171 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
1172
1173 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
1174 (ps-mode-octal-region): Use string-make-unibyte.
1175
1176 2013-02-23 Glenn Morris <rgm@gnu.org>
1177
1178 * emulation/viper-cmd.el (viper-submit-report):
1179 * progmodes/ps-mode.el (ps-mode-maintainer-address):
1180 * progmodes/vera-mode.el (vera-mode-help-address):
1181 * textmodes/artist.el (artist-maintainer-address):
1182 * textmodes/reftex.el (reftex-report-bug):
1183 * vc/ediff-util.el (ediff-submit-report):
1184 Add bug-gnu-emacs to bug report address.
1185
1186 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
1187 Remove bug report entries.
1188 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
1189
1190 * emacs-lisp/bytecomp.el (byte-compile-level): New.
1191 (byte-compile-file, byte-compile-from-buffer):
1192 Use separate input/output buffers for each level of recursive
1193 byte-compile-file calls. (Bug#13787)
1194
1195 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
1196
1197 * net/tramp.el (tramp-methods): Fix docstring.
1198 (tramp-ssh-controlmaster-options): Rename it from
1199 `tramp-ssh-controlmaster-template'. Return a string.
1200 (tramp-default-method): Adapt check for
1201 `tramp-ssh-controlmaster-options'.
1202
1203 * net/tramp-sh.el (tramp-methods):
1204 Replace `tramp-ssh-controlmaster-template' by "%c".
1205 (tramp-do-copy-or-rename-file-out-of-band)
1206 (tramp-maybe-open-connection): Use it in format spec. Ensure,
1207 that it is applied for the first hop only.
1208
1209 2013-02-22 Juri Linkov <juri@jurta.org>
1210
1211 * isearch.el (isearch-lazy-highlight-new-loop):
1212 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
1213 to `isearch-other-end' if it is not nil. (Bug#13402)
1214
1215 * replace.el (replace-highlight): Let-bind `isearch-other-end'
1216 to `match-beg'.
1217
1218 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
1219 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
1220 and `isearch-error' to nil.
1221
1222 2013-03-16 Fabián Ezequiel Gallina <fgallina@cuca>
1223
1224 * progmodes/python.el (python-info-current-defun):
1225 Enhance match-data cluttering prevention.
1226
1227 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
1228
1229 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
1230
1231 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1232 Handle multibyte file names.
1233
1234 2013-02-22 Glenn Morris <rgm@gnu.org>
1235
1236 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
1237 (sgml-transformation-function): Give it a :set function.
1238 (sgml-tag): Doc fix.
1239
1240 * cmuscheme.el (scheme-buffer):
1241 * progmodes/inf-lisp.el (inferior-lisp-buffer):
1242 * progmodes/tcl.el (inferior-tcl-buffer):
1243 * textmodes/tex-mode.el (tex-command): Doc fixes.
1244
1245 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
1246
1247 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
1248
1249 2013-02-21 Bastien Guerry <bzg@gnu.org>
1250
1251 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
1252
1253 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
1254
1255 * progmodes/python.el (python-info-current-defun):
1256 Enhance match-data cluttering prevention.
1257
1258 2013-02-21 Glenn Morris <rgm@gnu.org>
1259
1260 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
1261 loaded while outline-regexp is let bound. (Bug#9584)
1262
1263 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
1264
1265 * progmodes/python.el (python-info-current-defun): Fix failed
1266 defun name retrieval because of unwanted match-data cluttering.
1267
1268 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
1269
1270 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
1271 defconst. Apply independent check for ControlPersist.
1272
1273 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
1274 temporarily, via "env".
1275
1276 2013-02-21 Glenn Morris <rgm@gnu.org>
1277
1278 * info.el (Info-enable-edit): Remove.
1279 (Info-edit): Disable it rather than using Info-enable.
1280 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
1281 (Info-cease-edit): Make editing of Info files obsolete.
1282
1283 * informat.el (Info-tagify):
1284 Handle buffers not visiting files. (Bug#13763)
1285
1286 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
1287
1288 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
1289
1290 2013-02-21 Glenn Morris <rgm@gnu.org>
1291
1292 * files.el (basic-save-buffer): Move check for existing parent
1293 directory after hooks. (Bug#13773)
1294
1295 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
1296
1297 * simple.el (command-execute): Move from C. Add obsolete check.
1298 (extended-command-history): Move from C.
1299
1300 2013-02-20 Ulrich Müller <ulm@gentoo.org>
1301
1302 * jka-cmpr-hook.el (jka-compr-compression-info-list)
1303 (jka-compr-mode-alist-additions): Handle .txz suffix for
1304 XZ-compressed tar archives (bug#13770).
1305
1306 2013-02-20 Bastien Guerry <bzg@gnu.org>
1307
1308 * outline.el (outline-regexp, outline-heading-end-regexp):
1309 Make variables, not options (bug#13731).
1310
1311 2013-02-20 Glenn Morris <rgm@gnu.org>
1312
1313 * image.el (image-current-frame): Change from variable to function.
1314 (image-show-frame): Rename from image-nth-frame. Update callers.
1315 * image-mode.el (image-multi-frame): New variable.
1316 (image-mode-map, image-mode, image-goto-frame):
1317 Use image-multi-frame rather than image-current-frame.
1318 (image-mode, image-goto-frame): Use image-current-frame as
1319 function rather than as variable.
1320
1321 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
1322 * emacs-lisp/cl-macs.el (cl--make-type-test)
1323 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
1324
1325 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
1326
1327 * net/tramp-cache.el (tramp-get-hash-table): New defun.
1328 (tramp-get-file-property, tramp-set-file-property)
1329 (tramp-get-connection-property, tramp-set-connection-property): Use it.
1330 (tramp-flush-file-property, tramp-flush-directory-property):
1331 Rename argument to KEY.
1332 (tramp-flush-connection-property): Simplify a little bit.
1333 (tramp-connection-property-p): New defun.
1334 (top): Reapply saved values only if there isn't a corresponding
1335 entry in `tramp-connection-properties'.
1336
1337 2013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
1338
1339 * progmodes/python.el (python-indent-context):
1340 Fix python-info-line-ends-backslash-p call.
1341 (python-info-line-ends-backslash-p)
1342 (python-info-beginning-of-backslash): Respect line-number argument.
1343 (python-info-current-line-comment-p):
1344 Fix behavior when not at beginning-of-line.
1345 (python-util-position): Remove function.
1346 (python-util-goto-line): New function.
1347
1348 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
1349
1350 * eshell/em-unix.el (eshell/su): Require tramp.
1351 (eshell/sudo): Require tramp. Remove now unnecessary check.
1352
1353 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
1354 `tramp-current-connection' in order to avoid an error when several
1355 commands are invoked in a short time in eshell and friends.
1356
1357 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
1358
1359 Cleanup some of EIEIO's namespace.
1360 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
1361 Use it to define all the class-* and object-* field accessors (renamed
1362 to eieio--class-* and eieio--object-*). Update all uses.
1363 (eieio--class-num-slots, eieio--object-num-slots): Rename from
1364 class-num-slots and object-num-slots.
1365 (eieio--check-type): New macro.
1366 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
1367 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
1368 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
1369 (object-assoc-list-safe): Use it.
1370 (eieio-defclass): Tighten regexp.
1371 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
1372 Remove unreachable code.
1373 (object-class-fast): Declare obsolete.
1374 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
1375 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
1376 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
1377 Rename from class-name, object-name, object-set-name-string,
1378 object-class, object-class-name, class-parents, class-children,
1379 class-precedence-list, class-parent; with obsolete alias.
1380 (class-of, class-direct-superclasses, class-direct-subclasses):
1381 Declare obsolete.
1382 (eieio-defmethod): Use `memq'; remove unreachable code.
1383 * emacs-lisp/eieio-base.el (eieio-persistent-read):
1384 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
1385 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
1386
1387 2013-02-18 Aidan Gauland <aidalgol@no8wireless.co.nz>
1388
1389 * eshell/em-cmpl.el: Correct "context-related help" keybinding in
1390 commentary.
1391
1392 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
1393
1394 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
1395 Use font-lock-keyword-face for macros and special forms (bug#8345).
1396
1397 2013-02-17 Didier Verna <didier@didierverna.net>
1398
1399 * net/network-stream.el (network-stream-open-starttls):
1400 Check that response to the starttls-command is non-nil. (Bug#13706)
1401
1402 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
1403
1404 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
1405 Don't assume all identifier chars have syntax word.
1406 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1407 Remove bar-not-symbol. Adjust callers.
1408 (lisp-mode-variables): Don't set a font-lock-syntax-table.
1409
1410 2013-02-17 Leo Liu <sdl.web@gmail.com>
1411
1412 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
1413
1414 2013-02-17 Glenn Morris <rgm@gnu.org>
1415
1416 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
1417
1418 * image-mode.el (image-mode-map): Add image-dired menu entry.
1419
1420 * image-dired.el (tumme): Make this alias obsolete.
1421
1422 2013-02-16 Glenn Morris <rgm@gnu.org>
1423
1424 * image.el (image-animated-types): Remove.
1425 (image-multi-frame-p): Rename from image-animated-p, and generalize.
1426 (image-animated-p): Make obsolete alias.
1427 (image-animate, image-nth-frame, image-animate-timeout):
1428 Use image-multi-frame-p.
1429 (image-animate-timeout): If no delay, use image-default-frame-delay.
1430 * image-mode.el (image-mode, image-toggle-animation):
1431 Use image-multi-frame-p. (Bug#763, bug#10739)
1432 (image-mode): Adjust startup message for a multi-frame image.
1433
1434 * image-mode.el (image-mode-map): Give it a menu.
1435
1436 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
1437
1438 * net/tramp-cache.el (tramp-connection-properties): New customer
1439 option.
1440 (tramp-get-connection-property): Use it.
1441
1442 * net/tramp-compat.el (top): Require 'trampver.
1443
1444 * net/tramp-sh.el (tramp-remote-process-environment):
1445 Set tramp-autoload cookie.
1446
1447 2013-02-16 Kevin Ryde <user42@zip.com.au>
1448
1449 * info-look.el (info-lookup-select-mode): If major-mode has no
1450 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
1451
1452 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
1453
1454 * replace.el (read-regexp): Tighten the regexp that matches tag.
1455 When tag is retrieved with `find-tag-default', use regexp that
1456 matches tag at point. Also update docstring (Bug#13687).
1457
1458 2013-02-16 Eli Zaretskii <eliz@gnu.org>
1459
1460 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
1461 add watch for the file, not its parent directory, since w32notify
1462 sets up the watch for the directory internally. (Bug#13725)
1463
1464 2013-02-16 Glenn Morris <rgm@gnu.org>
1465
1466 * image.el (image-default-frame-delay): New variable.
1467 (image-animated-p): Use image-default-frame-delay.
1468 (image-minimum-frame-delay): New constant.
1469 (image-animate-timeout): Use image-minimum-frame-delay.
1470
1471 * image.el (image-nth-frame): New, split from image-animate-timeout.
1472 (image-animate-timeout): Use image-nth-frame.
1473 * image-mode.el (image-goto-frame, image-next-frame)
1474 (image-previous-frame): New commands.
1475 (image-mode-map): Add new frame commands.
1476
1477 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
1478
1479 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
1480 If col-desc already has help-echo, use it. (Bug#13563)
1481
1482 2013-02-16 Glenn Morris <rgm@gnu.org>
1483
1484 * image.el (image-current-frame): New variable.
1485 (image-animate-timeout): Set image-current-frame.
1486 * image-mode.el (image-mode): For animated images,
1487 display a frame counter via mode-line-process.
1488
1489 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
1490
1491 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
1492
1493 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
1494
1495 2013-02-15 Alan Mackenzie <acm@muc.de>
1496
1497 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
1498 global minor mode has been enabled, call the minor mode function
1499 for a new buffer once only, after the major mode hook, whilst
1500 allowing that hook explicitly to disable the minor mode.
1501 (MODE-disable-in-buffer): New (generated) function.
1502 (disable-MODE): New (generated) buffer local variable.
1503
1504 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
1505
1506 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
1507 `iswitchb-next-match' and `iswitchb-prev-match' resply.
1508 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
1509 `ido-next-match' and `ido-prev-match' resply.
1510 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
1511 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
1512 `icomplete-backward-completions' (Bug#13708).
1513
1514 2013-02-15 Glenn Morris <rgm@gnu.org>
1515
1516 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
1517
1518 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
1519
1520 * net/goto-addr.el (goto-address-fontify): Add start and end args.
1521 (goto-address-fontify-region): Use them instead of narrowing, so
1522 syntax-ppss has access to the whole buffer.
1523
1524 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
1525
1526 * progmodes/python.el: Explain how to restore "cc-mode"-like
1527 forward-sexp movement in header documentation (Bug#13642).
1528 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
1529 comments and strings (GH bug 114).
1530
1531 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
1532
1533 * progmodes/python.el (python-info-current-defun): Fix current
1534 defun detection (Bug#13618).
1535
1536 2013-02-15 Chong Yidong <cyd@gnu.org>
1537
1538 * xml.el (xml-parse-string): Fix typo in handling of bad character
1539 references.
1540
1541 2013-02-15 Glenn Morris <rgm@gnu.org>
1542
1543 * play/fortune.el (fortune-compile): Simplify and fix previous change.
1544
1545 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
1546
1547 * net/tramp.el (tramp-debug-message):
1548 Add `tramp-condition-case-unless-debug'.
1549 (tramp-debug-on-error): New defvar.
1550 (tramp-condition-case-unless-debug): New defun.
1551 (tramp-file-name-handler): Use it.
1552
1553 2013-02-14 Juri Linkov <juri@jurta.org>
1554
1555 * info.el (Info-isearch-filter): Treat non-nil values of
1556 `search-invisible' including its default value `open'
1557 like the value `t' to match hidden text. (Bug#13402)
1558
1559 2013-02-14 Glenn Morris <rgm@gnu.org>
1560
1561 * help-fns.el (find-lisp-object-file-name): Give special treatment
1562 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
1563
1564 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
1565
1566 * net/quickurl.el (quickurl-save-urls):
1567 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
1568
1569 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
1570
1571 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
1572 depth for unfinished percent literal. Not using it in the caller.
1573 (ruby-move-to-block): Jump over multiline literals of all types,
1574 ignoring code-looking contents inside them.
1575 (ruby-add-log-current-method): Improve performance at the expense
1576 of accuracy. `ruby-block-contains-point' is relatively slow, so
1577 only use it for method and singleton class blocks.
1578
1579 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
1580
1581 Use ControlMaster where applicable. (Bug#13677)
1582
1583 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
1584 replacing `tramp-detect-ssh-controlmaster'.
1585 (tramp-default-method): Use it.
1586
1587 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
1588 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
1589 arguments.
1590 [scpc, rsyncc]: Remove methods.
1591 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
1592 and "ssh2_old".
1593 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
1594 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
1595
1596 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1597
1598 * emacs-lisp/package.el (package--initialized): Move before first use.
1599
1600 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
1601
1602 * icomplete.el (icomplete-hide-common-prefix): New user option.
1603 (icomplete-first-match): New face.
1604 (icomplete-completions): Correct handling of "complete but not
1605 unique" (Bug#12638).
1606
1607 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
1608
1609 * descr-text.el (describe-char): Display the script (bug#13698).
1610
1611 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1612
1613 * tmm.el: Use lexical-binding and current-active-maps.
1614 (tmm-menubar): Use map-keymap and pcase.
1615 (tmm--completion-table): New function.
1616 (tmm-prompt): Use it to fix the menu order.
1617 (tmm-get-keybind): Use current-active-maps.
1618
1619 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
1620
1621 Add dired-hide-details-mode. (Bug#6799)
1622
1623 * locate.el (locate-mode): Set parent mode property to dired-mode.
1624
1625 * find-dired.el (find-dired): Call dired-insert-set-properties on
1626 initial information line. Set process mark on end of buffer.
1627 (find-dired-sentinel):
1628 Call dired-insert-set-properties on summary.
1629
1630 * dired.el (dired-hide-details-hide-symlink-targets)
1631 (dired-hide-details-hide-information-lines): New options.
1632 (dired-insert-directory):
1633 Set properties after final treatment of output.
1634 (dired-insert-set-properties):
1635 Set dired-hide-details-* properties.
1636 (dired-mode-map): Bind dired-hide-details-mode.
1637 (dired-mode): Set buffer-invisibility-spec to a list.
1638 (dired-next-line): Skip hidden lines.
1639 (dired-previous-line): Use dired-next-line.
1640 (dired-hide-details-mode): New minor mode.
1641 (dired-hide-details-update-invisibility-spec): New function.
1642
1643 2013-02-13 Glenn Morris <rgm@gnu.org>
1644
1645 * play/yow.el: Move to obsolete/. (Bug#9384)
1646
1647 2013-02-13 Juri Linkov <juri@jurta.org>
1648
1649 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
1650 to select `ediff-control-frame' and set input focus correctly on Xfce.
1651 (Bug#12218)
1652
1653 2013-02-13 Juri Linkov <juri@jurta.org>
1654
1655 * image-mode.el (image-mode-map):
1656 * doc-view.el (doc-view-mode-map):
1657 * vc/ediff-util.el (ediff-setup-keymap):
1658 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
1659
1660 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
1661
1662 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
1663 performance. Instead of recalculating indentation fully for each
1664 line, sum up indentation depth based only on visited lines.
1665 (ruby-parse-partial): Increase the depth after "do" even when END
1666 is right after it.
1667 (ruby-parse-partial): When END is in the middle of a percent
1668 literal, increase the depth if the delimiter chars belong to the
1669 paren syntax class.
1670
1671 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
1672
1673 * play/fortune.el (fortune-compile): Also make the compiled file
1674 if it does not exist at all, not just if it is old. (Bug#5338)
1675
1676 2013-02-13 Glenn Morris <rgm@gnu.org>
1677
1678 * emacs-lisp/package.el (package-menu-execute): Doc fix.
1679
1680 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
1681
1682 * lisp/emacs-lisp/package.el (package-menu-execute):
1683 Add optional noquery argument. (Bug#13625)
1684
1685 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
1686
1687 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
1688 if DIR exists and PARENTS is non-nil.
1689
1690 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
1691
1692 * progmodes/js.el (js--multi-line-declaration-indentation):
1693 Silence byte-compiler warning.
1694
1695 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
1696
1697 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
1698
1699 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
1700 only if it doesn't exist.
1701
1702 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1703 Set process marker.
1704
1705 2013-02-12 Tassilo Horn <tsdh@gnu.org>
1706
1707 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
1708 UserInstallation when calling soffice to work around LibreOffice
1709 bug 37531.
1710
1711 2013-02-12 Glenn Morris <rgm@gnu.org>
1712
1713 * files.el (basic-save-buffer):
1714 Offer to create a non-existing directory. (Bug#3016)
1715
1716 * calc/calc-graph.el (calc-graph-show-dumb):
1717 * calendar/calendar.el (calendar-mode-map):
1718 * cus-edit.el (custom-mode-map):
1719 * ehelp.el (electric-help-map):
1720 * emulation/vip.el (vip-mode-map):
1721 * epa.el (epa-key-list-mode-map):
1722 * info.el (Info-mode-map):
1723 * mail/rmail.el (rmail-mode-map):
1724 * mail/rmailsum.el (rmail-summary-mode-map):
1725 * man.el (Man-mode-map):
1726 * net/newst-plainview.el (newsticker-mode-map):
1727 * progmodes/cpp.el (cpp-edit-mode-map):
1728 * progmodes/grep.el (grep-mode-map):
1729 * progmodes/idlw-help.el (idlwave-help-mode-map):
1730 * simple.el (special-mode-map):
1731 * startup.el (splash-screen-keymap):
1732 * view.el (view-mode-map):
1733 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
1734
1735 2013-02-11 Elias Pipping <pipping@lavabit.com>
1736
1737 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
1738 (bug#13679).
1739
1740 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
1741
1742 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
1743
1744 2013-02-11 Glenn Morris <rgm@gnu.org>
1745
1746 * vc/diff.el (diff-use-labels): New variable.
1747 (diff-no-select): Use --label rather than -L, and first
1748 check that it is supported. (Bug#11067)
1749
1750 * files.el (enable-dir-local-variables): New variable.
1751 (hack-dir-local-variables): Respect enable-dir-local-variables.
1752 * tutorial.el (help-with-tutorial):
1753 Ignore directory-local variables. (Bug#11127)
1754
1755 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
1756 (vc-svn-global-switches): ... to here. (Bug#13513)
1757
1758 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
1759
1760 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
1761 Handle "foo (bar, default: xxx): " prompts.
1762
1763 2013-02-10 Chong Yidong <cyd@gnu.org>
1764
1765 * files.el (basic-save-buffer-1): Do not set
1766 buffer-file-coding-system-explicit (Bug#4533).
1767
1768 * mail/emacsbug.el (report-emacs-bug): Change binding of
1769 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
1770
1771 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
1772
1773 * calc/calc.el (calc-allow-units-as-numbers): New variable.
1774 * calc/calc-units.el (calc-convert-units): Use new variable.
1775
1776 2013-02-09 Eli Zaretskii <eliz@gnu.org>
1777
1778 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
1779
1780 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
1781 buffer-file-type.
1782
1783 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
1784 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
1785 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
1786 coding-system-for-write instead.
1787
1788 * jka-compr.el (jka-compr-write-region): Don't bind
1789 buffer-file-type.
1790
1791 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
1792 buffer-file-type.
1793
1794 * files.el (file-name-buffer-file-type-alist): Remove defvar.
1795 (insert-file-contents-literally): Remove reference to
1796 file-name-buffer-file-type-alist.
1797
1798 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
1799 make-obsolete.
1800 (find-buffer-file-type-match, find-buffer-file-type): Remove.
1801 (find-buffer-file-type-coding-system): Remove references to
1802 find-buffer-file-type-match, find-buffer-file-type, and
1803 buffer-file-type.
1804 Don't put find-buffer-file-type-coding-system into
1805 file-coding-system-alist.
1806 (find-file-binary, find-file-text): Bind coding-system-for-read
1807 instead of file-name-buffer-file-type-alist.
1808
1809 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
1810
1811 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
1812 converter (Bug#13622).
1813 (doc-view-unoconv-program): Make obsolete alias.
1814 (doc-view-odf->pdf-converter-program): New variable.
1815 (doc-view-odf->pdf-converter-function): New variable.
1816 (doc-view-mode-p): Use it.
1817 (doc-view-odf->pdf-converter-unoconv):
1818 Rename from `doc-view-odf->pdf-converter-unoconv'.
1819 (doc-view-odf->pdf-converter-soffice): New function.
1820 (doc-view-convert-current-doc):
1821 Use `doc-view-odf->pdf-converter-function'.
1822
1823 2013-02-09 Chong Yidong <cyd@gnu.org>
1824
1825 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
1826 view-echo-area-messages (Bug#13340).
1827
1828 * help.el (view-echo-area-messages): Use display-buffer.
1829
1830 * dired-x.el (dired-do-run-mail): Prompt for confirmation
1831 (Bug#13561).
1832
1833 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
1834
1835 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
1836 Eval body right away, now that we do eager macroexpansion (bug#13605).
1837
1838 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
1839 (fundamental-mode): Use run-mode-hooks.
1840
1841 * eshell/esh-proc.el (eshell/kill): Fix last change.
1842 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
1843
1844 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
1845
1846 * eshell/esh-proc.el (eshell/kill): Rewrite.
1847
1848 * eshell/em-ls.el (show-almost-all): Declare.
1849 (eshell-do-ls): Add support for -A argument.
1850
1851 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
1852
1853 * icomplete.el (icomplete-forward-completions)
1854 (icomplete-backward-completions): Handle corner case (bug#13602).
1855
1856 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
1857
1858 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
1859 be nil. Handle this. (Bug#13636)
1860
1861 2013-02-07 Richard Stallman <rms@gnu.org>
1862
1863 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
1864 `save-buffer-coding-system'.
1865
1866 2013-02-07 Alan Mackenzie <acm@muc.de>
1867
1868 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
1869 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
1870 (c-parse-state-get-strategy): Don't return 'BOD any more.
1871 (c-append-lower-brace-pair-to-state-cache):
1872 Extra parameter HERE instead of narrowing.
1873 Widen to top of buffer before searching backwards for a brace pair.
1874 (c-state-push-any-brace-pair): Add HERE parameter to function call.
1875 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
1876 Narrow to parameter HERE, in place of being called narrowed.
1877 (c-remove-stale-state-cache): Extra parameter HERE in place of
1878 narrowing. Check there's an open brace in the cache before
1879 searching for its match.
1880 (c-invalidate-state-cache-1): Add HERE parameter to function call.
1881 (c-parse-state-1): Don't narrow here for 'forward strategy,
1882 instead passing extra parameter HERE to several functions.
1883 Remove 'BOD strategy.
1884
1885 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
1886
1887 * emacs-lisp/package.el (describe-package-1): Tell what archive is
1888 used to install the package.
1889
1890 2013-02-06 Glenn Morris <rgm@gnu.org>
1891
1892 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
1893 if we can't get user input. (Bug#6567)
1894
1895 * startup.el (command-line): If simple.el is missing,
1896 test and warn about for some possible causes.
1897
1898 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
1899
1900 * cus-start.el (all): Add ns-use-native-fullscreen.
1901
1902 2013-02-05 Glenn Morris <rgm@gnu.org>
1903
1904 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
1905
1906 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
1907 Fix directory creation in fallback case.
1908
1909 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1910
1911 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
1912 (vc-update-change-log): Use dolist.
1913
1914 2013-02-04 Chong Yidong <cyd@gnu.org>
1915
1916 * thingatpt.el: Rewrite the URL detection routines, absorbing some
1917 code from ffap.el.
1918 (thing-at-point-beginning-of-url-regexp): New var.
1919 (thing-at-point-uri-schemes): Update list of URI schemes.
1920 (thing-at-point-url-regexp): Variable deleted.
1921 (thing-at-point-markedup-url-regexp): Disallow newlines.
1922 (thing-at-point-newsgroup-regexp)
1923 (thing-at-point-newsgroup-heads)
1924 (thing-at-point-default-mail-uri-scheme): New variables.
1925 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
1926 method to find the possible bounds of the URI at point.
1927 New optional argument to find ill-formed URIs.
1928 (thing-at-point-url-at-point): Rewrite. New arguments for finding
1929 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
1930 the scheme-adding heuristics from ffap-url-at-point.
1931 (thing-at-point--bounds-of-well-formed-url): New function.
1932 Do parens matching to decide whether to include parens in the URI
1933 (Bug#9153).
1934
1935 * ffap.el: Require thingatpt.
1936 (ffap-url-at-point): Delegate URI detection to thing-at-point.
1937 All URI-valid characters are now recognized (Bug#5673).
1938 (ffap-string-at-point): Use use-region-p.
1939 (ffap-url-regexp): Extra character is handled by thing-at-point.
1940 (ffap-string-at-point-mode-alist): Allow parentheses.
1941 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
1942 Convert to aliases; code moved to thingatpt.el.
1943 (ffap-gnus-hook): Use setq-local.
1944
1945 2013-02-04 Glenn Morris <rgm@gnu.org>
1946
1947 * emacs-lisp/ert.el (ert--explain-format-atom):
1948 Don't try to print non-characters as characters. (Bug#13543)
1949
1950 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
1951
1952 * net/tramp.el (tramp-debug-message): Extend function exclude list.
1953 (tramp-backtrace): New defun.
1954 (tramp-handle-insert-file-contents): Use `visit' when inserting
1955 the local copy.
1956
1957 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
1958 Use `remote-file-name-inhibit-cache'.
1959
1960 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
1961
1962 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
1963 (bug#13614).
1964
1965 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
1966 current-load-list (bug#13366).
1967
1968 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
1969
1970 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1971 Identify g++ template instantiation trace. (Bug#12287)
1972 (compilation-mode-hook, compilation-start-hook)
1973 (compilation-window-height): Simplify docstrings. (Bug#13379)
1974
1975 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1976
1977 * mouse.el (mouse-drag-track): Always deactivate the mark before
1978 running the final event's command since that command is in charge of
1979 activating the mark if needed (bug#13523).
1980
1981 2013-02-02 Juri Linkov <juri@jurta.org>
1982
1983 * replace.el (perform-replace): Move let-bindings of isearch-*
1984 variables deeper to the loop that searches for the next match.
1985 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
1986 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
1987 (Bug#13579)
1988
1989 * isearch.el (isearch-search-fun-default): Check for null
1990 first element of isearch-cmds as a precaution when it's used
1991 with inactive isearch.
1992
1993 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
1994
1995 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
1996 error when buffer in question is narrowed so position 1 is out of
1997 visible part.
1998
1999 2013-02-02 Glenn Morris <rgm@gnu.org>
2000
2001 * textmodes/remember.el (remember-clipboard): Doc fix.
2002
2003 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
2004
2005 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
2006 properties (bug#13179).
2007
2008 2013-02-02 Juri Linkov <juri@jurta.org>
2009
2010 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
2011 instead of hard-coded default face `match'. (Bug#9438)
2012
2013 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
2014
2015 * vc/vc-arch.el (vc-arch-registered):
2016 * vc/vc-bzr.el (vc-bzr-registered):
2017 * vc/vc-cvs.el (vc-cvs-registered):
2018 * vc/vc-git.el (vc-git-registered):
2019 * vc/vc-hg.el (vc-hg-registered):
2020 * vc/vc-mtn.el (vc-mtn-registered):
2021 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
2022 (Bug#13139)
2023
2024 * info.el (Info-next-reference, Info-prev-reference): Add numeric
2025 prefix argument. (Bug#11656)
2026
2027 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
2028
2029 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
2030
2031 2013-02-01 Glenn Morris <rgm@gnu.org>
2032
2033 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
2034 if the backend is known not to support it.
2035
2036 * imenu.el (imenu-default-create-index-function):
2037 Tweak infinite loop test to check for forward motion as well as none.
2038
2039 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
2040
2041 * net/soap-client.el (soap-invoke): Encode the string for
2042 `url-request-data' as UTF-8.
2043 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
2044
2045 2013-02-01 Glenn Morris <rgm@gnu.org>
2046
2047 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
2048
2049 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
2050
2051 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
2052
2053 * net/tramp.el (tramp-tramp-file-p): Comment check for
2054 `string-as-unibyte'. The function does not exist on XEmacs, and
2055 likely we need another approach.
2056
2057 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
2058 `tramp-gw-*' variables are bound.
2059
2060 2013-01-31 Glenn Morris <rgm@gnu.org>
2061
2062 * files.el (basic-save-buffer-2): Choose coding system for
2063 writing the file before backing it up, to reduce delay between
2064 backing up and writing the new version. (Bug#13522)
2065
2066 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
2067
2068 * simple.el (cycle-spacing): New command.
2069 (just-one-space): Use it.
2070
2071 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
2072
2073 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
2074 (opascal-newline-always-indents): Remove custom.
2075 (opascal-tab, opascal-newline): Remove commands.
2076 (opascal-new-comment-line): Insert "\n" instead of calling newline.
2077 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
2078 (opascal-save-match-data): Remove, use save-match-data instead.
2079 (opascal-save-state): Use with-silent-modifications.
2080
2081 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
2082 (bug#13585).
2083
2084 2013-01-30 Juri Linkov <juri@jurta.org>
2085
2086 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
2087 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
2088 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
2089
2090 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2091
2092 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
2093 column if we're just deleting the backslashes.
2094 (makefile-fill-paragraph): Use eolp.
2095
2096 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
2097
2098 * autorevert.el (auto-revert-use-notify): Fix docstring.
2099
2100 2013-01-30 Leo Liu <sdl.web@gmail.com>
2101
2102 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
2103
2104 2013-01-30 Glenn Morris <rgm@gnu.org>
2105
2106 * mouse.el (mouse-drag-line): Avoid pushing same event onto
2107 unread-command-events twice in some cases. This tries to implement
2108 the 2012-07-26 changes in a different way. (Bug#13560)
2109
2110 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
2111
2112 * progmodes/python.el
2113 (python-pdbtrack-comint-output-filter-function): Enhancements on
2114 stacktrace detection. (thanks @gnovak)
2115
2116 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2117
2118 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
2119 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
2120 Use defvar-local.
2121 (jit-lock-register): Use setq-local.
2122
2123 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
2124
2125 * calc-units.el (math-default-units-table): Remove initial value.
2126 (calc-convert-units): Treat expressions where all the units cancel as
2127 if they didn't have units.
2128
2129 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
2130
2131 * net/tramp.el (tramp-process-connection-type): Fix docstring.
2132 (tramp-completion-reread-directory-timeout): Fix type.
2133 (tramp-connection-min-time-diff): New defcustom.
2134
2135 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
2136
2137 2013-01-30 Glenn Morris <rgm@gnu.org>
2138
2139 * imenu.el (imenu-default-create-index-function):
2140 Put back a version of the infinite loop test removed 2013-01-23.
2141
2142 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
2143
2144 * progmodes/python.el (python-shell-parse-command):
2145 Find python-shell-interpreter with modified environment.
2146
2147 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2148
2149 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
2150
2151 2013-01-29 Alan Mackenzie <acm@muc.de>
2152
2153 Amend to fontify /regexp/s in actions correctly.
2154 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
2155 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
2156 are no longer included.
2157 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
2158 What used to be these variables without "-line" in the name.
2159 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
2160 (c-awk-non-arith-op-bra-re): Now also matches {.
2161 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
2162 "return", and "case".
2163 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
2164 by /.
2165 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
2166 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
2167
2168 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
2169
2170 * autorevert.el (auto-revert-use-notify):
2171 Use `custom-initialize-default' for initialization. (Bug#13583)
2172
2173 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
2174
2175 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2176 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
2177 in `tramp-file-name-handler'.
2178 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
2179 compatibility.
2180 (tramp-compute-multi-hops): Check, whether
2181 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
2182
2183 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2184
2185 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
2186 (bug#13297).
2187
2188 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
2189
2190 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
2191 checks made superfluous by the \_< operator.
2192 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
2193 temporarily) broken indentation.
2194 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2195 Highlight nested constants, too. \_< broke that.
2196
2197 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
2198
2199 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
2200 instead of "\\b".
2201
2202 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
2203
2204 * autorevert.el (auto-revert-handler): Notifications which result
2205 from a saved file shall not be taken into account. (Bug#13557)
2206
2207 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
2208
2209 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
2210 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
2211 (lisp-mode): Pass t for it. (Bug#13556)
2212
2213 2013-01-25 Alan Mackenzie <acm@muc.de>
2214
2215 AWK Mode: Fix indentation bug at top level. Bug #12274.
2216
2217 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
2218 just before CASE 5D.
2219
2220 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
2221
2222 * net/socks.el (socks-nslookup-host): Use string-to-number.
2223
2224 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
2225
2226 * autorevert.el (auto-revert-remote-files)
2227 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
2228 (auto-revert-notify-enabled, auto-revert-use-notify)
2229 (auto-revert-notify-watch-descriptor-hash-list)
2230 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
2231 (auto-revert-notify-event-descriptor)
2232 (auto-revert-notify-event-action)
2233 (auto-revert-notify-event-file-name): Doc fix.
2234 (global-auto-revert-mode): Reorder checks.
2235 (auto-revert-notify-rm-watch): Respect changed values of
2236 `auto-revert-notify-watch-descriptor-hash-list'.
2237 (auto-revert-notify-add-watch): Check for
2238 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
2239 `inotify-add-watch'. Watch `default-directory' instead of
2240 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
2241 has a changed meaning now. (Bug#13540)
2242 (auto-revert-notify-handler): Change implementation wrt events
2243 returning from a directory.
2244 (auto-revert-handler): Reorder implementation for checks of remote
2245 files.
2246 (auto-revert-buffers): Fix parentheses error.
2247
2248 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
2249
2250 * progmodes/python.el: Enhancements to header documentation about
2251 skeletons. (Bug#5716)
2252
2253 * imenu.el (imenu-default-create-index-function): Remove useless
2254 infinite loop check. (Bug#13438)
2255
2256 2013-01-25 Alan Mackenzie <acm@muc.de>
2257
2258 Fix a bug in the state cache mechanism. Refactor this a bit.
2259
2260 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
2261 `cache-pos' element from the return value.
2262 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
2263 buffer to enable proper searching from beyond HERE. Amend the
2264 test for detecting the sought brace pair. Amend the value written
2265 to the "brace desert cache" when the brace isn't found.
2266 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
2267 and several other variables analogously.
2268 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
2269 parameter to a locally calculated variable.
2270 (c-parse-state-1): Change the calling conventions to the two
2271 defuns involving `cache-pos'.
2272
2273 2013-01-25 Chong Yidong <cyd@gnu.org>
2274
2275 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
2276
2277 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
2278
2279 * paren.el (show-paren-function): Make sure to set 'priority and
2280 'face only if the overlay does exist.
2281
2282 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
2283
2284 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
2285
2286 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
2287 basic attributes.
2288 (tramp-sh-handle-set-file-acl): Improve error checking.
2289
2290 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
2291
2292 * doc-view.el (doc-view-display): Force mode line update until all
2293 document is converted. Suggested by Stefan Monnier (Bug#13164).
2294
2295 2013-01-23 Bastien Guerry <bzg@gnu.org>
2296
2297 * paren.el (show-paren-function): Make sure an overlay exists
2298 before trying to delete it. Also use `pos' as a position only
2299 when it is an integer.
2300
2301 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
2302
2303 * play/gametree.el (gametree-break-line-here): Use point-marker.
2304
2305 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
2306
2307 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2308 Mark descriptive parts with `display' property.
2309
2310 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2311
2312 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
2313 New variable to map standard dict names to hunspell ones.
2314 (ispell-set-spellchecker-params): Make sure specific dict names
2315 are used for standard dicts with hunspell.
2316
2317 2013-01-21 Tassilo Horn <tsdh@gnu.org>
2318
2319 * textmodes/reftex-cite.el (reftex-format-citation): Add format
2320 chars for note (%N) and url (%U).
2321 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
2322
2323 2013-01-21 Juri Linkov <juri@jurta.org>
2324
2325 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
2326 in addition to existing separate binding `meta f10' in `global-map'.
2327 (Bug#13484)
2328
2329 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
2330
2331 Improve XEmacs compatibility.
2332
2333 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
2334
2335 * net/tramp-adb.el (top): Require `time-date'.
2336 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
2337 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
2338 Use `tramp-file-name-handler'.
2339 (tramp-adb-maybe-open-connection):
2340 Use `tramp-compat-set-process-query-on-exit-flag'.
2341
2342 * net/tramp-sh.el (tramp-sh-handle-file-acl):
2343 Use `tramp-compat-funcall'.
2344
2345 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
2346 `tramp-compat-funcall'.
2347
2348 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
2349
2350 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
2351 reimplementation using "adb shell command ..." instead of running
2352 remote shell interactively.
2353
2354 2013-01-20 Glenn Morris <rgm@gnu.org>
2355
2356 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
2357 Add native profiler menu entries.
2358
2359 * profiler.el (profiler-running-p): New function.
2360 (profiler-cpu-profile): Use profiler-running-p.
2361 (profiler-report-mode-map): Add some more menu entries.
2362
2363 2013-01-19 Glenn Morris <rgm@gnu.org>
2364
2365 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
2366 fixes 2012-12-07 change. (Bug#13499)
2367
2368 2013-01-19 Leo Liu <sdl.web@gmail.com>
2369
2370 * dired.el (dired-get-marked-files): Prune erroneous values due to
2371 last change. (Bug#13152)
2372
2373 2013-01-19 Glenn Morris <rgm@gnu.org>
2374
2375 * progmodes/etags.el (tags-table-check-computed-list):
2376 Preserve point in tags buffer. (Bug#13412)
2377
2378 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
2379
2380 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
2381 Chong Yidong <cyd@gnu.org>
2382
2383 * image-mode.el (image-next-file, image-previous-file):
2384 New commands (Bug#8453).
2385 (image-mode-map): Bind them to n and p.
2386 (image-mode--images-in-directory): New helper function.
2387
2388 2013-01-19 Chong Yidong <cyd@gnu.org>
2389
2390 * image-mode.el (image-mode-fit-frame): Add a frame argument.
2391 Suggested by Drew Adams (Bug#7730). Handle window decorations;
2392 save and restore the old window configuration.
2393
2394 2013-01-18 Leo Liu <sdl.web@gmail.com>
2395
2396 * progmodes/js.el: Tweak autoload cookie for alias.
2397
2398 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
2399
2400 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
2401 buffer local, again. This was lost with the fix on 2013-01-12.
2402
2403 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
2404
2405 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
2406 order to support several eshell buffers in parallel.
2407
2408 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
2409
2410 * autorevert.el (auto-revert-use-notify): In the :set function, do
2411 not modify `kill-buffer-hook'.
2412 (auto-revert-notify-rm-watch):
2413 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
2414 (auto-revert-notify-add-watch): Do not call
2415 `auto-revert-notify-rm-watch', but add it to a buffer local
2416 `kill-buffer-hook'.
2417
2418 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2419
2420 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
2421 call to `eval' rather than a backquoted lambda.
2422
2423 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2424
2425 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
2426 to return an explicit nil.
2427 (advice--remove-function): Change accordingly.
2428
2429 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
2430 the use of nadvice.el.
2431
2432 * progmodes/which-func.el (which-function): Silence imenu errors
2433 (bug#13433).
2434
2435 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
2436
2437 * progmodes/sql.el (sql-imenu-generic-expression):
2438 (sql-mode-font-lock-object-name): Match schema qualified names.
2439 (sql-connect): Use string keys.
2440 (sql-product-interactive): Wait for interpreter prompt.
2441 (sql-comint-oracle): Set process coding based on NLS_LANG.
2442
2443 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
2444
2445 * progmodes/sql.el (sql-output-to-send): Remove, unused.
2446 (sql-interactive-remove-continuation-prompt):
2447 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
2448
2449 2013-01-14 Leo Liu <sdl.web@gmail.com>
2450
2451 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
2452 (Bug#13420)
2453
2454 2013-01-14 Glenn Morris <rgm@gnu.org>
2455
2456 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2457 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
2458
2459 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
2460
2461 * progmodes/python.el (python-nav-end-of-statement):
2462 Fix cornercase when handling multiline strings.
2463
2464 2013-01-13 Richard Stallman <rms@gnu.org>
2465
2466 * mail/sendmail.el (mail-position-on-field): Add doc string.
2467
2468 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
2469 Get current message boundaries and pass them to
2470 message-forward-make-body-mime. Minor style changes.
2471
2472 2013-01-13 Eli Zaretskii <eliz@gnu.org>
2473
2474 * cus-start.el (all): Avoid warnings about
2475 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
2476
2477 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
2478
2479 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
2480
2481 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2482
2483 * jit-lock.el (jit-lock-debug-mode): New minor mode.
2484 (jit-lock--debug-fontifying): New var.
2485 (jit-lock--debug-fontify): New function.
2486 * subr.el (condition-case-unless-debug): Don't prevent catching the
2487 error, just let the debbugger run.
2488 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
2489 timer code and don't drop errors silently.
2490
2491 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
2492
2493 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
2494 `permanent-local' property.
2495 (auto-revert-notify-handler): Use `file-equal-p'.
2496
2497 2013-01-12 Eli Zaretskii <eliz@gnu.org>
2498
2499 * autorevert.el (auto-revert-notify-handler): Fix filtering of
2500 file notification by ACTION. For filtering by file name, compare
2501 only the non-directory part of the file name.
2502
2503 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
2504
2505 * autorevert.el: Use cl-lib instead of cl.
2506
2507 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
2508 (vc-bzr-checkin): Use it.
2509 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
2510 will preserve match-data.
2511
2512 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
2513
2514 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
2515 (js--declaration-keyword-re): New var.
2516 (js--multi-line-declaration-indentation): New function.
2517 (js--proper-indentation): Use it.
2518
2519 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
2520
2521 * calc/calc.el (calc-highlight-selections-with-faces)
2522 (calc-dispatch):
2523 * comint.el (comint-history-isearch-message):
2524 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
2525 * ffap.el (ffap-string-at-point-region, ffap-next)
2526 (ffap-string-at-point, ffap-string-around)
2527 (ffap-copy-string-as-kill, ffap-highlight-overlay)
2528 (ffap-literally):
2529 * font-lock.el (font-lock-keywords-alist)
2530 (font-lock-removed-keywords-alist):
2531 * help-mode.el (help-xref-symbol-regexp):
2532 * info.el (Info-find-emacs-command-nodes):
2533 * international/mule.el (add-to-coding-system-list):
2534 * isearch.el (isearch-message-function, isearch-fail-pos):
2535 * misearch.el (multi-isearch-next-buffer-function):
2536 * newcomment.el (comment-box):
2537 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
2538 (pr-setting-database):
2539 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
2540 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
2541 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
2542 (pike-font-lock-keywords-3):
2543 * progmodes/compile.el (compile):
2544 * progmodes/etags.el (tags-table-files)
2545 (tags-table-files-function, tags-included-tables-function):
2546 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
2547 (gdb-restore-windows):
2548 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
2549 (ps-n-up-filling-database):
2550 * server.el (server-buffer, server-log):
2551 * simple.el (newline, delete-backward-char, delete-forward-char)
2552 (minibuffer-history-isearch-message, kill-line, track-eol)
2553 (temporary-goal-column):
2554 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
2555 (flyspell-default-deplacement-commands):
2556 * textmodes/ispell.el (ispell-accept-output):
2557 * textmodes/sgml-mode.el (html-tag-help):
2558 * vc/compare-w.el (compare-ignore-whitespace)
2559 (compare-ignore-case, compare-windows-dehighlight):
2560 * vc/diff.el (diff):
2561 * whitespace.el (whitespace-point)
2562 (whitespace-font-lock-refontify, whitespace-bob-marker)
2563 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
2564
2565 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
2566
2567 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
2568 (auto-revert-notify-rm-watch): Ignore errors.
2569 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
2570 inotify, and '(size last-write-time) for w32notify.
2571 Set buffer-local `auto-revert-use-notify' to nil when adding a file
2572 watch fails - this is a fallback to the file modification check.
2573 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
2574 (auto-revert-notify-event-action)
2575 (auto-revert-notify-event-file-name): New defuns.
2576 (auto-revert-notify-handler): Use them. Implement first
2577 plausibility checks.
2578 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
2579
2580 2013-01-11 Julien Danjou <julien@danjou.info>
2581
2582 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
2583 max are almost equal. Also return the correct value for V which is
2584 already between 0 and 1.
2585
2586 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
2587
2588 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
2589
2590 2013-01-11 Eli Zaretskii <eliz@gnu.org>
2591
2592 * autorevert.el (auto-revert-notify-rm-watch)
2593 (auto-revert-notify-add-watch): Fix typos in w32notify function
2594 names.
2595
2596 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
2597
2598 * autorevert.el (auto-revert-notify-enabled): Move up.
2599 (auto-revert-use-notify): New defcustom.
2600 (auto-revert-mode, global-auto-revert-mode)
2601 (auto-revert-notify-add-watch, auto-revert-handler)
2602 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
2603 `auto-revert-notify-enabled'.
2604
2605 2013-01-10 Elias Pipping <pipping@exherbo.org>
2606
2607 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
2608 * doc-view.el (doc-view-document->bitmap):
2609 Use doc-view-single-page-converter-function instead of
2610 single-page-converter arg; adjust callers.
2611
2612 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
2613
2614 * progmodes/which-func.el (which-function): Understand Semantic's use
2615 of overlays in imenu--index-alist.
2616
2617 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
2618
2619 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
2620 (Man-man-k-use-anchor): New var.
2621 (Man-parse-man-k): New function.
2622 (Man-completion-table): Use it.
2623 (man): Flush the completion cache between uses.
2624
2625 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
2626
2627 * autorevert.el: Add file watch support.
2628 (auto-revert-notify-enabled): New defconst.
2629 (auto-revert-notify-watch-descriptor-hash-list)
2630 (auto-revert-notify-watch-descriptor)
2631 (auto-revert-notify-modified-p): New defvars.
2632 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
2633 (auto-revert-notify-handler): New defuns.
2634 (auto-revert-mode, global-auto-revert-mode): Remove file watches
2635 when mode is disabled.
2636 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
2637 (auto-revert-buffers): Add file watches for active buffers.
2638
2639 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
2640
2641 * cus-start.el (toplevel): Only allow float values for
2642 scroll-up-aggressively and scroll-down-aggressively.
2643 Allow any number for line-spacing.
2644
2645 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2646
2647 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
2648 (doc-view-pdf->png-converter-function): Use mupdf if available.
2649 (doc-view-djvu->png-converter-function)
2650 (doc-view-ps->png-converter-function): Remove.
2651 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
2652 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
2653 (doc-view-already-converted-p): Adjust accordingly.
2654 (doc-view-mode-p): Simplify.
2655 (doc-view-enlarge): Use setq-local.
2656 (doc-view-pdf->png-converter-ghostscript)
2657 (doc-view-djvu->png-converter-ddjvu)
2658 (doc-view-pdf->png-converter-mupdf): Rework to call
2659 doc-view-start-process directly.
2660 (doc-view-pdf/ps->png): Simplify accordingly.
2661 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
2662 (doc-view-document->bitmap): Rename from doc-view-document->png.
2663 (doc-view-convert-current-doc): Merge pdf and djvu cases.
2664 (doc-view-set-slice-from-bounding-box): Fix completion table.
2665 (doc-view-mode): Use add-hook for after-revert-hook.
2666
2667 2013-01-10 Glenn Morris <rgm@gnu.org>
2668
2669 * emacs-lisp/authors.el (authors-ignored-files)
2670 (authors-valid-file-names, authors-renamed-files-alist):
2671 Add some more entries.
2672
2673 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2674
2675 * image-mode.el (image-mode-winprops): Don't throw away the fallback
2676 `t' pseudo-window entry.
2677
2678 2013-01-10 Alan Mackenzie <acm@muc.de>
2679
2680 Fix bugs in the c-parse-state mechanism. Reuse some markers
2681 instead of continually generating new ones.
2682
2683 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
2684 (c-state-old-cpp-end-marker): New variables.
2685 (c-append-lower-brace-pair-to-state-cache): Start a backward
2686 search for "}" definitively outside CPP constructs.
2687 (c-remove-stale-state-cache): Inform the caller of a need to
2688 search back for a brace pair in certain circumstances.
2689 (c-state-maybe-marker): New macro.
2690 (c-parse-state): Reuse markers when appropriate.
2691
2692 2013-01-10 Glenn Morris <rgm@gnu.org>
2693
2694 * simple.el (execute-extended-command): Doc fix.
2695 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
2696
2697 2013-01-10 Chong Yidong <cyd@gnu.org>
2698
2699 * faces.el (read-face-name): Doc fix.
2700
2701 2013-01-10 Roland Winkler <winkler@gnu.org>
2702
2703 * emacs-lisp/crm.el: Allow any regexp for separators.
2704 (crm-default-separator): All spaces around the default comma separator.
2705 (crm--completion-command): New macro.
2706 (crm-completion-help, crm-complete, crm-complete-word): Use it.
2707 (crm-complete-and-exit): Handle non-single-char separators.
2708
2709 2013-01-09 Elias Pipping <pipping@lavabit.com>
2710
2711 * doc-view.el: Add support for DjVu (bug#13164).
2712 (doc-view-djvu->png-converter-function): New config var.
2713 (doc-view-single-page-converter-function, doc-view--image-type)
2714 (doc-view--image-file-extension): New vars.
2715 (doc-view-mode): Initialize them.
2716 (doc-view-goto-page): Use them.
2717 (doc-view-mode-p): Add support for ddjvu.
2718 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
2719 (doc-view-set-up-single-converter): New funs.
2720 (doc-view-pdf/ps->png): Extend for djvu.
2721 (doc-view-document->png): Rename from doc-view-pdf->png.
2722 (doc-view-convert-current-doc): Handle djvu.
2723 (doc-view-insert-image, doc-view-display)
2724 (doc-view-already-converted-p): Don't hardcode png.
2725 (doc-view-set-doc-type): Recognize djvu docs.
2726
2727 2013-01-09 Elias Pipping <pipping@lavabit.com>
2728
2729 * doc-view.el: Add support for mupdf converter (bug#13164).
2730 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
2731 (doc-view-ps->png-converter-function): New config vars.
2732 (doc-view-pdf->png-converter-ghostscript)
2733 (doc-view-ps->png-converter-ghostscript)
2734 (doc-view-pdf->png-converter-mupdf): New functions.
2735 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
2736
2737 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
2738
2739 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
2740 first in session cache: When `tramp-own-remote-path' is in
2741 `tramp-remote-path', the remote path is only set in the session
2742 cache.
2743
2744 2013-01-09 Glenn Morris <rgm@gnu.org>
2745
2746 * emacs-lisp/trace.el (trace-function-foreground)
2747 (trace-function-background): Doc fix.
2748
2749 2013-01-09 Juri Linkov <juri@jurta.org>
2750
2751 * international/mule-cmds.el (read-char-by-name): Move let-binding
2752 of completion-ignore-case around completing-read to fix regression
2753 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
2754 `string-match-p' using the nil value of `case-fold-search' and
2755 `completion-ignore-case' in `completion-pcm--all-completions'.
2756 (Bug#12615).
2757
2758 2013-01-09 Glenn Morris <rgm@gnu.org>
2759
2760 * progmodes/compile.el (compilation-parse-errors):
2761 Fix typo. (Bug#13369)
2762
2763 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
2764
2765 * comint.el (comint-send-input): Check size of buffer before
2766 waiting for process output, in case already accepted. (Bug#13290)
2767
2768 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
2769
2770 Spelling fixes.
2771 * net/tramp-adb.el (tramp-adb-get-toolbox):
2772 Fix misspelling of 'unknown'.
2773
2774 2013-01-08 Juri Linkov <juri@jurta.org>
2775
2776 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
2777 * progmodes/flymake.el (flymake-errline, flymake-warnline):
2778 Use underline style wave on terminals that support it. (Bug#13000)
2779
2780 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2781
2782 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
2783 the predicate returns nil.
2784
2785 * simple.el: Use lexical-binding.
2786 (primitive-undo): Use pcase.
2787 (minibuffer-history-isearch-push-state): Use a closure.
2788
2789 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2790
2791 * simple.el (primitive-undo): Move from undo.c.
2792
2793 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2794
2795 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
2796 (cvs-mode-remove-handled): Use it (bug#13380).
2797
2798 * emacs-lisp/nadvice.el (advice--tweak): New function.
2799 (advice--remove-function, advice--subst-main): Use it.
2800
2801 * emacs-lisp/advice.el: Update commentary.
2802
2803 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
2804
2805 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2806 Remove spurious entry.
2807
2808 2013-01-08 Glenn Morris <rgm@gnu.org>
2809
2810 * net/tramp.el (tramp-default-host-alist): Add :version.
2811
2812 2013-01-08 Juri Linkov <juri@jurta.org>
2813
2814 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
2815 single completion. (Bug#12456)
2816 (info--manual-names): Expand node completions into an explicit list
2817 before appending it to another list. Filter out internal buffers
2818 with the leading space in the buffer name. (Bug#10771)
2819
2820 2013-01-08 Juri Linkov <juri@jurta.org>
2821
2822 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
2823 that defaults to the Top node.
2824 (Info-goto-node, Info-read-node-name): Doc fix to mention that
2825 the short format (FILENAME) goes to the Top node.
2826 (Info-build-node-completions): Rename arg `file' to `filename'.
2827 (Bug#13365)
2828
2829 2013-01-07 Bastien Guerry <bzg@gnu.org>
2830
2831 * menu-bar.el (menu-bar-search-documentation-menu):
2832 Use `apropos-user-option' and fix the help message.
2833
2834 2013-01-07 Bastien Guerry <bzg@gnu.org>
2835
2836 * apropos.el (apropos-do-all): Update docstring.
2837 (apropos-user-option-button): New face.
2838 (apropos-user-option): Rename from `apropos-variable' and update
2839 docstring.
2840 (apropos-variable): Rewrite, now show all variables by default.
2841 (apropos-print): Mention "User option" instead of "Variable" when
2842 printing doc for user options. (Bug#13276)
2843
2844 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
2845
2846 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
2847 Handle filename correctly, when parsing "source -> target" symlink
2848 output.
2849 (tramp-adb-handle-set-file-times): New defun.
2850
2851 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
2852
2853 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
2854 advice list when the interactive-spec of ad-Advice-* changes.
2855
2856 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
2857
2858 * wid-edit.el (widget-default-get): Work for inlined elements.
2859 (Bug#12670)
2860
2861 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
2862
2863 * net/tramp.el (tramp-default-host-alist): New defcustom.
2864 (tramp-find-host): Use it.
2865 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
2866 `eshell-directory-change-hook'.
2867
2868 * net/tramp-adb.el (top): Add adb specific entry in
2869 `tramp-default-host-alist'.
2870 (tramp-adb-file-name-host): Remove function.
2871 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
2872 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
2873
2874 * net/tramp-sh.el: Move eshell integration code to tramp.el.
2875
2876 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
2877
2878 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
2879
2880 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
2881
2882 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
2883 consist of more than one digit.
2884 (tramp-adb-file-name-handler-alist):
2885 Use `tramp-handle-file-exists-p' consistently.
2886 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
2887 (tramp-adb-handle-file-exists-p): Remove function.
2888 (tramp-adb-file-name-host): New defun.
2889 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
2890 Use it.
2891 (tramp-adb-maybe-open-connection): Set "remote-path" property.
2892
2893 2013-01-06 Chong Yidong <cyd@gnu.org>
2894
2895 * vc/vc.el (vc-next-action): Detect buffer modifications
2896 conflicting with locking VCS operation (Bug#11490).
2897
2898 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
2899
2900 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
2901
2902 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
2903 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
2904
2905 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
2906
2907 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
2908 parsing of ls output using regular expression (handle filenames
2909 with spaces). Use virtual device number.
2910 (tramp-do-parse-file-attributes-with-ls): New defun (Code
2911 cleanup).
2912
2913 2013-01-04 Daiki Ueno <ueno@gnu.org>
2914
2915 * epg.el: Silence byte-compiler warnings.
2916 (epg--start): Use delete-char instead of delete-backward-char.
2917 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
2918
2919 2013-01-04 Daiki Ueno <ueno@gnu.org>
2920
2921 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
2922 Suggested by Eli Zaretskii <eliz@gnu.org>.
2923
2924 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
2925
2926 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
2927 non-negative integers. Otherwise, the default values are used.
2928 (tramp-convert-file-attributes): Convert uid and gid to integers.
2929
2930 2013-01-04 Glenn Morris <rgm@gnu.org>
2931
2932 * term.el (term-handle-colors-array): Ensure face attributes
2933 are fully specified, not nil. (Bug#13337)
2934
2935 * term.el (term-default-fg-color, term-default-bg-color):
2936 Fix custom type.
2937
2938 * progmodes/etags.el (tags-compression-info-list): Doc fix.
2939 (tag-find-file-of-tag-noselect): Check auto-compression-mode
2940 rather than 'jka-compr being loaded. (Bug#13338)
2941
2942 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
2943
2944 * icomplete.el (icomplete-completions):
2945 Honor icomplete-prospects-height once more following
2946 2012-11-29 changes. (Bug#13224)
2947
2948 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
2949
2950 * subr.el (internal--called-interactively-p--get-frame): Find aliases
2951 of called-interactively-p as well (bug#13237).
2952
2953 * view.el (view--enable, view--disable): Rename from view-mode-enable
2954 and view-mode-disable and assume it's called from view-mode.
2955 (view-mode-enable, view-mode-disable): Redefine as obsolete
2956 compatibility layer above view-mode.
2957 (view-mode-enter): Call `view-mode'.
2958
2959 * files.el (after-find-file): Call `view-mode'.
2960
2961 * doc-view.el (doc-view-scale-internally): New var.
2962 (doc-view-enlarge, doc-view-insert-image): Obey it.
2963
2964 2013-01-03 Daiki Ueno <ueno@gnu.org>
2965
2966 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
2967 exist. (Bug#13344)
2968
2969 2013-01-03 Glenn Morris <rgm@gnu.org>
2970
2971 * mail/rmail.el (rmail-set-header-1): Ignore case.
2972 Handle multi-line headers. (Bug#13330)
2973
2974 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
2975 Handle paragraph starting at beginning of buffer.
2976
2977 * subr.el (eval-after-load): Don't purecopy the form, so that it
2978 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
2979
2980 * emacs-lisp/byte-run.el (defun): Place cl declarations
2981 after any interactive spec. (Bug#13265)
2982
2983 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
2984
2985 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
2986 defun. Don't check for DECL if DOCSTRING isn't a string.
2987 (defun): Likewise.
2988
2989 2013-01-02 Glenn Morris <rgm@gnu.org>
2990
2991 * eshell/em-cmpl.el (eshell-pcomplete):
2992 More thoroughly imitate pcomplete. (Bug#13293)
2993
2994 * files.el (parse-colon-path): Doc fix. (Bug#12351)
2995 Return nil for empty path elements. (Bug#13296)
2996
2997 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
2998
2999 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
3000 order to improve efficiency (Based on Daniel Colascione's
3001 <dancol@dancol.org> patch). (Bug#13182)
3002
3003 2013-01-02 Glenn Morris <rgm@gnu.org>
3004
3005 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
3006
3007 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
3008
3009 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
3010 neither DOCSTRING nor DECL was given. (Bug#13316)
3011
3012 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
3013
3014 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
3015 `error' call.
3016 (tramp-do-copy-or-rename-file): Ignore errors when calling
3017 `set-file-extended-attributes'.
3018
3019 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3020 Add handler for `file-acl'.
3021 (tramp-smb-handle-file-acl): New defun.
3022
3023 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
3024
3025 * calc/README: Mention ISO 8601 week-numbering dates.
3026
3027 2013-01-01 Martin Rudalics <rudalics@gmx.at>
3028
3029 * view.el (view-mode-enable): New argument run-view-mode-hook.
3030 Run view-mode-hook only when it's non-nil (Bug#13315).
3031 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
3032 argument t.
3033
3034 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
3035
3036 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
3037 (No device connected, invalid device name). (Bug #13299)
3038
3039 2012-12-31 Martin Rudalics <rudalics@gmx.at>
3040
3041 * window.el (window-resizable--p): Rename to window-resizable-p.
3042 (window-resize-no-error): New function.
3043
3044 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
3045 broken in fix from 2012-12-28.
3046
3047 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
3048
3049 * subr.el (special-form-p): Don't signal errors on undef aliases.
3050
3051 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
3052
3053 * calc/calc-forms.el (math-parse-date): Try using
3054 `math-parse-iso-date' when it looks like it might be needed.
3055 Allow times of 24:00.
3056 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
3057 of 24:00.
3058
3059 2012-12-30 Glenn Morris <rgm@gnu.org>
3060
3061 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
3062 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
3063 (rmail-summary-displayed, rmail-summary): Declare.
3064 (mairix-rmail-display): Just require rmail.
3065
3066 2012-12-30 Chong Yidong <cyd@gnu.org>
3067
3068 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
3069 check for the tarball contents.
3070
3071 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
3072
3073 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
3074 tarfile content listings (Bug#13136).
3075
3076 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
3077
3078 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
3079 Insert the undecoded text of the message being forwarded. (Bug#9521)
3080
3081 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
3082
3083 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
3084 integers, if they are real numbers. (Bug#13282)
3085
3086 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
3087 Return `t' on success.
3088
3089 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3090 Add handler for `set-file-selinux-context'.
3091
3092 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
3093
3094 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
3095 (tramp-sh-handle-set-file-acl): Return `t' on success.
3096
3097 2012-12-29 Eli Zaretskii <eliz@gnu.org>
3098
3099 * files.el (backup-buffer-copy, basic-save-buffer-2):
3100 If set-file-extended-attributes fails, fall back on set-file-modes
3101 instead of signaling an error. (Bug#13298)
3102 (basic-save-buffer): Likewise.
3103
3104 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
3105
3106 * progmodes/python.el: Support other commands triggering
3107 python-indent-line so indentation cycling continues to work.
3108 (python-indent-trigger-commands): New defcustom.
3109 (python-indent-line): Use it.
3110
3111 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
3112
3113 * progmodes/python.el (python-shell-send-region): Add blank lines
3114 for non sent code so backtraces remain correct.
3115
3116 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
3117
3118 * progmodes/python.el: Remove cl dependency.
3119 (python-syntax-count-quotes): Replace incf call.
3120 (python-fill-string): Replace setf call.
3121
3122 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
3123
3124 * info.el (info-other-window): New arg, for consistency with info.
3125
3126 2012-12-28 Martin Rudalics <rudalics@gmx.at>
3127
3128 * mail/rmail.el (rmail-maybe-display-summary):
3129 Rewrite (Bug#13066).
3130
3131 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
3132
3133 * epg.el (epg--start): Modify process-environment locally.
3134
3135 2012-12-28 Daiki Ueno <ueno@gnu.org>
3136
3137 * epg.el: Support pinentry-curses.
3138 Suggested by Werner Koch in
3139 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
3140 (epg-agent-file, epg-agent-mtime): New variable.
3141 (epg--start): Record the modified time of gpg-agent socket file,
3142 to restore Emacs frame after pinentry-curses termination.
3143 (epg-wait-for-completion): Restore Emacs frame here.
3144
3145 2012-12-27 Juri Linkov <juri@jurta.org>
3146
3147 * info.el (Info-file-completions): New variable.
3148 (Info-read-node-name-1): Complete node names in the Info file
3149 when a file name is given. Call `Info-build-node-completions'
3150 with a file name.
3151 (Info-build-node-completions): Add new arg `file'. When it is
3152 non-nil, visit it in a temporary buffer and cache its completions in
3153 `Info-current-file-completions'. Move most of the function body to
3154 `Info-build-node-completions-1'.
3155 (Info-build-node-completions-1): New function with the body from
3156 `Info-build-node-completions'. (Bug#12456)
3157
3158 2012-12-27 Juri Linkov <juri@jurta.org>
3159
3160 * frame.el (frame-maximization-style): Remove user option.
3161 (cycle-frame-maximized): Remove function.
3162 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
3163 (toggle-frame-fullscreen): New command bound to <f11> instead of
3164 `toggle-frame-maximized'.
3165 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
3166
3167 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
3168
3169 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
3170
3171 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3172 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3173 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
3174 for `file-accessible-directory-p'. (Bug#13275)
3175
3176 2012-12-27 Sam Steingold <sds@gnu.org>
3177
3178 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
3179 continuations, see <http://stackoverflow.com/questions/3582436>.
3180
3181 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
3182
3183 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
3184 "module" and "def" to have indentation before them.
3185 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
3186
3187 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
3188
3189 2012-12-27 Alan Mackenzie <acm@muc.de>
3190
3191 Speed up fontification where there's large brace blocks.
3192 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
3193 to a call of c-beginning-of-decl-1.
3194
3195 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
3196
3197 * comint.el (comint-adjust-window-point): New function.
3198 (comint-postoutput-scroll-to-bottom):
3199 Call comint-adjust-window-point (Bug#13248).
3200
3201 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
3202
3203 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
3204 Rakefile regexp.
3205 (auto-mode-alist): Associate .gemspec files with ruby-mode
3206 (https://bugs.ruby-lang.org/issues/5453).
3207
3208 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
3209
3210 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
3211 Suppress coloring, if possible (required for BusyBox based systems like
3212 CyanogenMod).
3213 (tramp-adb-handle-file-attributes)
3214 (tramp-adb-handle-insert-directory)
3215 (tramp-adb-handle-file-name-all-completions): Use it.
3216 (tramp-adb-get-toolbox): New defun. Check for remote shell
3217 implementation (BusyBox or Toolbox).
3218
3219 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
3220
3221 * startup.el (initial-buffer-choice): Allow function as value
3222 (Bug#13251).
3223 (command-line-1): Handle case where initial-buffer-choice
3224 specifies a function.
3225 * server.el (server-execute): Handle case where
3226 initial-buffer-choice specifies a function.
3227
3228 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
3229
3230 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
3231 its own function.
3232 (smtpmail-try-auth-methods): Forget the user name/password if the
3233 login is unsuccessful (bug#12424).
3234
3235 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
3236
3237 * notifications.el (notifications-notify): Protect body with
3238 `with-demoted-errors'.
3239
3240 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3241 Check properties of remote device. Restart connection, if there is a
3242 change.
3243
3244 2012-12-21 Chong Yidong <cyd@gnu.org>
3245
3246 * sort.el (sort-subr): Doc fix (Bug#13056).
3247
3248 2012-12-21 Bastien Guerry <bzg@gnu.org>
3249
3250 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
3251
3252 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
3253
3254 * simple.el (process-file): Overwrite stderr file, if exists.
3255
3256 2012-12-21 Daiki Ueno <ueno@gnu.org>
3257
3258 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
3259 (epg-error): Set `error-message' property.
3260
3261 2012-12-21 Chong Yidong <cyd@gnu.org>
3262
3263 * international/mule-cmds.el (read-char-by-name): Signal an error
3264 if the user does not supply a valid character (Bug#13177).
3265
3266 * simple.el (transpose-subr-1): Preserve marker positions by
3267 changing the insertion sequence (Bug#13122).
3268
3269 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3270
3271 * simple.el (kill-region): Deactivate mark even for empty regions
3272 (Bug#13169).
3273
3274 2012-12-21 Chong Yidong <cyd@gnu.org>
3275
3276 * help-fns.el (describe-variable): Make sure we get the right
3277 buffer name (Bug#13105). Suggested by Kelly Dean.
3278
3279 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
3280
3281 * comint.el (comint-redirect-previous-input-string): New variable.
3282 (comint-redirect-setup, comint-redirect-cleanup)
3283 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
3284 (comint-redirect-preoutput-filter): Fix verbose message.
3285
3286 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
3287
3288 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
3289 is too long for Tramp. See discussion in
3290 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
3291
3292 * progmodes/compile.el (compilation-start): Remove line escape
3293 template.
3294
3295 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
3296
3297 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
3298 Adjust comment.
3299
3300 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
3301
3302 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
3303 following non-comment text (bug#13207).
3304 (lm-header-multiline): Continuation lines need to be indented more than
3305 the first line.
3306 (lm-homepage): New function.
3307 (lm-with-file): Don't be confused if narrowing is in effect.
3308
3309 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
3310
3311 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
3312 very beginning of a hunk (e.g. killing the first line).
3313
3314 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
3315
3316 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
3317 and text properties from returned ACL string.
3318 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
3319 for "setfacl" command.
3320
3321 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
3322
3323 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
3324 `tramp-cleanup-this-connection', when the process has died.
3325 (Bug#13151)
3326
3327 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3328
3329 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
3330
3331 2012-12-17 Kevin Ryde <user42@zip.com.au>
3332
3333 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
3334
3335 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
3336
3337 Add support for preserving ACL entries of files.
3338
3339 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
3340 `set-file-acl' handlers.
3341
3342 * net/tramp-adb.el (tramp-adb-handle-copy-file):
3343 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3344
3345 * net/tramp-compat.el (tramp-compat-copy-file):
3346 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3347
3348 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3349 Add `file-acl' and `set-file-acl' handlers.
3350 (tramp-gvfs-handle-copy-file):
3351 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3352 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
3353 New defuns.
3354
3355 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3356 Add `file-acl' and `set-file-acl' handlers.
3357 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
3358 (tramp-sh-handle-set-file-acl): New defuns.
3359 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
3360 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3361
3362 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3363 Add `file-acl' and `set-file-acl' handlers.
3364 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
3365
3366 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3367
3368 * help-macro.el (make-help-screen): Instead of switch-to-buffer
3369 use pop-to-buffer with NORECORD argument t. As buffer name, use
3370 *Metahelp* with a leading space (Bug#13190).
3371
3372 2012-12-16 Romain Francoise <romain@orebokech.com>
3373
3374 * files.el (file-extended-attributes)
3375 (set-file-extended-attributes): New functions.
3376 (backup-buffer): Use them to handle both SELinux context and ACL
3377 entries.
3378 (backup-buffer-copy): Work with an alist of extended attributes,
3379 rather than an SELinux context.
3380 (basic-save-buffer-2): Ditto.
3381
3382 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
3383
3384 * battery.el (battery-bsd-apm): New function.
3385
3386 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
3387
3388 * calc/calc.el (calc-standard-date-formats): Adjust one of the
3389 standard date formats.
3390
3391 2012-12-15 Juri Linkov <juri@jurta.org>
3392
3393 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
3394 `isearch-insert-char-by-name'.
3395 (with-isearch-suspended): New defmacro with body mostly from
3396 `isearch-edit-string' except the part that sets
3397 `isearch-new-string' and `isearch-new-message'.
3398 (isearch-edit-string): Use new macro `with-isearch-suspended' with
3399 body that sets `isearch-new-string' and `isearch-new-message'.
3400 (isearch-insert-char-by-name): New command.
3401 * international/mule-cmds.el (read-char-by-name): Let-bind
3402 `enable-recursive-minibuffers' to t.
3403 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
3404
3405 2012-12-15 Juri Linkov <juri@jurta.org>
3406
3407 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
3408 (Bug#13175)
3409
3410 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
3411
3412 * dired-x.el (dired-guess-shell-command): Put colon at the end of
3413 the prompt. (Bug#13045)
3414
3415 2012-12-14 Glenn Morris <rgm@gnu.org>
3416
3417 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
3418 Try to include filename in non-bytecomp warning. (Bug#13132)
3419
3420 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
3421
3422 Fix permissions bugs with setgid directories etc. (Bug#13125)
3423 * files.el (backup-buffer): Don't rely on 9th output of
3424 file-attributes, as it's now a placeholder. Instead, use the new
3425 optional arg of file-ownership-preserved-p.
3426 (file-ownership-preserved-p): New optional arg GROUP.
3427 Fix mishandling of setuid directories that would cause this
3428 function to return t when it should have returned nil.
3429 Document what happens if the file does not exist, and when
3430 it's not known whether the ownership will be preserved.
3431 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
3432 Likewise.
3433 (tramp-get-local-gid): Use group-gid for integer, as that's
3434 faster and more reliable.
3435
3436 2012-12-14 Julien Danjou <julien@danjou.info>
3437
3438 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
3439 Update keywords list, data type and PL/pgSQL.
3440
3441 2012-12-14 Dave Abrahams <dave@boostpro.com>
3442
3443 * vc/ediff-util.el (ediff-buffer-type): New function.
3444 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
3445 rather than taking it as as argument.
3446 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
3447
3448 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
3449
3450 * json.el: Add pretty-print option (bug#12634).
3451 (json-encoding-separator, json-encoding-default-indentation)
3452 (json--encoding-current-indentation, json-encoding-pretty-print)
3453 (json-encoding-lisp-style-closings): New vars.
3454 (json--with-indentation): New macro.
3455 (json-encode-hash-table, json-encode-alist, json-encode-plist)
3456 (json-encode-array): Use it to obey json-encoding-pretty-print.
3457 (json-pretty-print-buffer, json-pretty-print): New commands.
3458
3459 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
3460
3461 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3462 Extract `ruby-syntax-propertize-expansions'.
3463 (ruby-syntax-propertize-expansions): Only change syntax on
3464 certain string delimiters, to punctuation. This way the common
3465 functions like forward-word and thing-at-point still work.
3466 (ruby-match-expression-expansion): Improve readability.
3467 (ruby-block-contains-point): New function.
3468 (ruby-add-log-current-method): Handle several edge cases.
3469
3470 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
3471
3472 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
3473 unload-feature finishes even when aborting an ongoing edebug session.
3474 Also, do not worry about edebug-mode, unload-feature takes care of it.
3475
3476 2012-12-13 Andreas Schwab <schwab@suse.de>
3477
3478 * net/tls.el (tls-program): Update customize type.
3479
3480 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
3481
3482 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
3483 (edebug-setup-hook, cl-read-load-hooks): Use it.
3484 (edebug-unload-function): New function. (Bug#13163)
3485
3486 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
3487
3488 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
3489 Otherwise, there could be errors in autoloading. (Bug#13151)
3490
3491 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
3492
3493 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
3494 sequences.
3495
3496 2012-12-13 Alan Mackenzie <acm@muc.de>
3497
3498 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
3499 * progmodes/cc-engine.el (c-backward-comments): Add code to work
3500 around `forward-comment' not recognizing ^M as whitespace.
3501
3502 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
3503
3504 * progmodes/python.el (python-skeleton-class)
3505 (python-skeleton-def): Do not add space after defun name.
3506
3507 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3508
3509 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
3510 (cl--symbol-function): Remove (now that funbound is like nil).
3511
3512 2012-12-12 Glenn Morris <rgm@gnu.org>
3513
3514 * button.el (button--area-button-p): Fix typo.
3515
3516 2012-12-12 Sam Steingold <sds@gnu.org>
3517
3518 * frame.el (frame-maximization-style): New user option.
3519 (toggle-frame-maximized): Toggle frame maximization according to
3520 `frame-maximization-style', bound to <f11>.
3521 (cycle-frame-maximized): Cycle between all maximization styles and
3522 non-maximized frame, bound to shift-<f11>.
3523
3524 2012-12-12 David Cadé <codename68@gmail.com>
3525
3526 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
3527
3528 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
3529
3530 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
3531 (eieio-override-prin1): Don't quote kewords and booleans.
3532 (object-write) <eieio-default-superclass>: Don't put closing parens
3533 on new line, avoid needless empty lines, align values that are objects
3534 with the slot keyword (instead of beginning on the same line).
3535 (eieio-list-prin1): Align value with slot keyword; increase
3536 eieio-print-depth before printing members of the list.
3537
3538 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3539
3540 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
3541 a display text-property.
3542 (report-emacs-bug-hook): Don't bother deleting it any more.
3543
3544 * hilit-chg.el (highlight-save-buffer-state): Delete.
3545 Use with-silent-modifications instead.
3546 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
3547
3548 * button.el: Handle buttons in display text-properties.
3549 (button--area-button-p, button--area-button-string):
3550 Use (STRING . STRING-POS) representation instead of just STRING.
3551
3552 2012-12-11 Eli Zaretskii <eliz@gnu.org>
3553
3554 * makefile.w32-in (compile4-SH): Fix a typo that caused term
3555 subdirectory be skipped.
3556
3557 2012-12-11 Glenn Morris <rgm@gnu.org>
3558
3559 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
3560
3561 * progmodes/f90.el (f90-line-continued, f90-indent-region):
3562 Treat preprocessor lines embedded in continuations like comments.
3563 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
3564
3565 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
3566
3567 * calc/calc.el (calc-standard-date-formats): Add more date
3568 formats.
3569 * calc/calc-forms.el (math-parse-iso-date): New function.
3570 (math-parse-date): Use `math-parse-iso-date' when appropriate.
3571 (math-parse-iso-date-validate): Add extra error checking.
3572 (calc-date-notation): Add ability to access new date formats.
3573
3574 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3575
3576 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
3577 font-lock as well as when there's no text-property.
3578
3579 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
3580
3581 * hi-lock.el: Refine the choice of default face.
3582 (hi-lock-keyword->face): New function. Use it wherever we used
3583 cadadadr instead.
3584 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
3585 (hi-lock--last-face): Remove var.
3586 (hi-lock--unused-faces): New var to replace it.
3587 (hi-lock-read-face-name): Use/maintain it.
3588 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
3589 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
3590 if it has another face.
3591
3592 2012-12-10 Eli Zaretskii <eliz@gnu.org>
3593
3594 * subr.el (w32notify-handle-event): New function.
3595 (inotify-handle-event): Doc fix.
3596
3597 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3598
3599 * subr.el (inotify-event-p, inotify-handle-event): New functions.
3600
3601 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
3602
3603 * simple.el (just-one-space): Doc fix.
3604
3605 2012-12-10 Eli Zaretskii <eliz@gnu.org>
3606
3607 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
3608
3609 2012-12-10 Le Wang <l26wang@gmail.com>
3610
3611 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
3612 narrowed buffer (bug#12361).
3613
3614 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
3615
3616 * vc/vc-hooks.el (vc-state): Doc fix.
3617
3618 2012-12-10 Glenn Morris <rgm@gnu.org>
3619
3620 * mail/rmail.el (rmail-maybe-display-summary):
3621 Preserve buffer, in case select-window changes it. (Bug#13066)
3622
3623 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3624
3625 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
3626 cl-load-hook where they belong.
3627
3628 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3629
3630 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
3631
3632 2012-12-09 Eli Zaretskii <eliz@gnu.org>
3633
3634 Parallelize byte compilation on MS-Windows.
3635 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
3636 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
3637 (WINS_BASIC): Define as concatenation of the above.
3638 (compile): Subdivide into 4 separate and independent jobs that can
3639 be run in parallel.
3640 (compile0-CMD, compile0-SH): New targets for compiling
3641 COMPILE_FIRST files, which are prerequisites for the rest of the
3642 byte-compilation.
3643 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
3644 New targets for parallel compilation with cmd.exe.
3645 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
3646 compiling under a Unixy shell.
3647
3648 2012-12-09 Chong Yidong <cyd@gnu.org>
3649
3650 * simple.el (set-mark-default-inactive): Delete this
3651 accidentally-introduced option.
3652 (set-mark-command, exchange-point-and-mark): Remove calls.
3653
3654 2012-12-09 Glenn Morris <rgm@gnu.org>
3655
3656 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
3657 Respect a defcustom's :set function, if appropriate. (Bug#109)
3658 (eval-defun): Doc fix.
3659
3660 2012-12-08 Juri Linkov <juri@jurta.org>
3661
3662 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
3663 (Info-fontify-node, Info-bookmark-make-record): Remove the
3664 file extension from Info-current-file (Bug#13016).
3665
3666 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3667
3668 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
3669 point, still provide some default.
3670 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
3671 names, since we don't use it right now. Actually return the list.
3672 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
3673
3674 2012-12-07 Chong Yidong <cyd@gnu.org>
3675
3676 * novice.el (disabled-command-function): Remove a spurious help
3677 xref (Bug#13043). Suggested by Kelly Dean.
3678
3679 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
3680 syntax is specified (Bug#13025).
3681
3682 * info.el (Info-set-mode-line): Remove the file extension from
3683 Info-current-file if there is one (Bug#13016).
3684
3685 2012-12-07 Glenn Morris <rgm@gnu.org>
3686
3687 * mail/rmail.el (rmail-mime-decoded): New permanent local.
3688 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
3689 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
3690 and rmail-mime-decoded. (Bug#9841)
3691
3692 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
3693 (batch-unrmail, unrmail): Doc fixes.
3694 (unrmail): Respect unrmail-mbox-format.
3695 * mail/rmail.el (rmail-mbox-format): New option.
3696 (rmail-show-message-1): Respect rmail-mbox-format.
3697
3698 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3699
3700 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
3701
3702 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3703
3704 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
3705 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
3706 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
3707 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
3708 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
3709 (cl-progv): Don't rely on dynamic scoping to find the body.
3710 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
3711 (cl--proclaims-deferred): Rename from the "cl-" prefix.
3712 (cl-declaim): Use backquotes.
3713 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
3714 Use "cl--" prefix for the object's tag.
3715
3716 * ses.el: Use advice-add/remove.
3717 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
3718 (copy-region-as-kill, yank): Use advice-add.
3719 (ses-unload-function): Use advice-remove.
3720
3721 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
3722
3723 * button.el: Make them work in header-lines (bug#12817).
3724 (button-map): Add bindings for header-line and mode-line use.
3725 (button-get, button-put, button-label): `button' may now be a string.
3726 (button-activate): Don't make it a defsubst.
3727 (button--area-button-p, button--area-button-string): New functions.
3728 (make-text-button): Fix the return value when `beg' was a string.
3729 (push-button): Handle the mode-line case.
3730
3731 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3732
3733 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
3734 (sql-signum): Remove. Use `cl-signum' instead.
3735 (sql-read-passwd): Remove; use read-passwd instread.
3736 (sql-get-login-ext): Use read-string.
3737 (sql-get-login): Use dolist and pcase.
3738 (sql--completion-table): Rename from sql-try-completion.
3739 Use complete-with-action.
3740 (sql-mode): Don't change abbrev-all-caps globally.
3741 (sql-connect): Don't rely on dynamic scoping for `new-name'.
3742 (sql-postgres-completion-object): Initialize vars in their `let'.
3743 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
3744 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
3745 (sql-comint-interbase): Use a single append, without setq.
3746 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
3747
3748 * hi-lock.el: Rework the default face and the serialize regexp code.
3749 (hi-lock--auto-select-face-defaults): Remove.
3750 (hi-lock-string-serialize-serial): Remove.
3751 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
3752 make weak.
3753 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
3754 equal string.
3755 (hi-lock-set-pattern): Adjust accordingly.
3756 (hi-lock--regexps-at-point): Simplify accordingly.
3757 (hi-lock--auto-select-face-defaults): Remove.
3758 (hi-lock--last-face): New var to replace it.
3759 (hi-lock-read-face-name): Rewrite (bug#11095).
3760 (hi-lock-unface-buffer): Arrange for the face to be the next default.
3761
3762 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
3763
3764 * net/tramp.el (tramp-replace-environment-variables):
3765 Hide compiler warning.
3766 (tramp-file-name-for-operation): Remove `executable-find',
3767 `start-process', `call-process' and `call-process-region'.
3768
3769 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
3770
3771 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
3772 compatibility.
3773
3774 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
3775
3776 2012-12-06 Chong Yidong <cyd@gnu.org>
3777
3778 * ffap.el (ffap-replace-file-component): Fix typo.
3779
3780 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3781
3782 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
3783 fix open-paren-like token test (bug#12785).
3784
3785 2012-12-06 Glenn Morris <rgm@gnu.org>
3786
3787 * mail/rmailsum.el (rmail-new-summary): Tweak for
3788 rmail-maybe-display-summary changing buffer. (Bug#13066)
3789
3790 2012-12-06 Juri Linkov <juri@jurta.org>
3791
3792 * info.el (Info-fontify-node): Don't hide the last newline.
3793 (Bug#12272)
3794
3795 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
3796
3797 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
3798 so as to enable message-read-from-minibuffer to expand mail aliases.
3799
3800 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3801
3802 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
3803 the `intangible' property.
3804 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
3805
3806 2012-12-05 Deniz Dogan <deniz@dogan.se>
3807
3808 * net/rcirc.el (rcirc-urls): Update documentation.
3809 (rcirc-condition-filter): New function.
3810 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
3811 and exclude consecutive duplicate URLs (Bug#6082).
3812
3813 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
3814
3815 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3816 Check return code of copy command.
3817
3818 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
3819 Use group `tramp'. Add version.
3820
3821 2012-12-05 Chong Yidong <cyd@gnu.org>
3822
3823 * ffap.el (ffap-url-regexp): Don't require matching at front of
3824 string (Bug#4952).
3825 (ffap-url-p): If only a substring matches, return that.
3826 (ffap-url-at-point): Use the return value of ffap-url-p.
3827 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
3828 (find-file-at-point, dired-at-point, dired-at-point-prompter)
3829 (ffap-guess-file-name-at-point): Likewise.
3830 (ffap-replace-file-component): Fix typo.
3831
3832 * info.el (info-display-manual): Add existing Info buffers, whose
3833 files may not be in Info-directory-list, to the completion.
3834 (info--manual-names): New helper function.
3835
3836 2012-12-05 Glenn Morris <rgm@gnu.org>
3837
3838 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
3839 New functions, for detecting and resolving conflicts. (Bug#10709)
3840
3841 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
3842
3843 * hi-lock.el (hi-lock-auto-select-face): New user variable.
3844 (hi-lock-auto-select-face-defaults): New buffer local variable.
3845 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
3846 (hi-lock-unface-buffer): Prompt user with useful defaults.
3847 With prefix arg, unhighlight all hi-lock patterns in buffer.
3848
3849 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3850
3851 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
3852
3853 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
3854
3855 * Makefile.in (TRAMP_SRC):
3856 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
3857
3858 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
3859
3860 * net/tramp-adb.el: New package.
3861
3862 2012-12-04 Chong Yidong <cyd@gnu.org>
3863
3864 * terminal.el: Move to obsolete/.
3865
3866 * longlines.el: Move to obsolete/.
3867
3868 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
3869 Remove code referring to longlines mode.
3870
3871 2012-12-03 Juri Linkov <juri@jurta.org>
3872
3873 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
3874
3875 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3876
3877 * textmodes/ispell.el (ispell-init-process)
3878 (ispell-start-process, ispell-internal-change-dictionary):
3879 Make sure personal dictionary name is expanded after initial
3880 `default-directory' value. Use expanded strings for
3881 keep/restart checks and for value (Bug#13019).
3882
3883 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
3884
3885 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
3886
3887 2012-12-03 Leo Liu <sdl.web@gmail.com>
3888
3889 * files.el (dir-locals-read-from-file): Check file non-empty
3890 before reading. (Bug#13038)
3891
3892 2012-12-03 Glenn Morris <rgm@gnu.org>
3893
3894 * jka-cmpr-hook.el (jka-compr-get-compression-info):
3895 Remove any version extension before checking filename. (Bug#13006)
3896 (jka-compr-compression-info-list): Belated :version bump.
3897
3898 2012-12-03 Chong Yidong <cyd@gnu.org>
3899
3900 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
3901
3902 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
3903 (buffer-menu): Doc fix (Bug#12294).
3904
3905 2012-12-03 Roland Winkler <winkler@gnu.org>
3906
3907 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
3908 of diary-show-all-entries in the diary buffer (Bug#12994).
3909
3910 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
3911
3912 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
3913 "<STDIN>". This is binary safe.
3914
3915 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
3916
3917 * calc/calc-forms.el (math-absolute-from-iso-dt)
3918 (math-date-to-iso-dt, math-parse-iso-date-validate)
3919 (math-iso-dt-to-date): New functions.
3920 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
3921 (math-fd-isoweekday): New variables.
3922 (calc-date-notation, math-parse-standard-date, math-format-date)
3923 (math-format-date-part): Add support for more formatting codes.
3924
3925 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
3926
3927 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
3928 current buffer's file name when called interactively (Bug#12488).
3929
3930 2012-12-02 Juri Linkov <juri@jurta.org>
3931
3932 * info.el (info-display-manual): Don't clobber an existing Info
3933 buffer (Bug#10770). Add completion (Bug#10771).
3934
3935 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
3936
3937 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
3938 before using it for comparison (Bug#5297).
3939
3940 2012-12-01 Jari Aalto <jari.aalto@cante.net>
3941
3942 * textmodes/css-mode.el (css-current-defun-name): New function.
3943 (css-mode): Use it.
3944
3945 * textmodes/sgml-mode.el (html-current-defun-name): New function.
3946 (html-mode): Use it.
3947
3948 2012-12-01 Chong Yidong <cyd@gnu.org>
3949
3950 Modularize add-log-current-defun (Bug#2224).
3951 Suggested by Jari Aalto.
3952
3953 * vc/add-log.el (add-log-current-defun-function): Doc fix.
3954 (add-log-current-defun): Move mode-specific code to other files.
3955 (add-log-lisp-like-modes, add-log-c-like-modes)
3956 (add-log-tex-like-modes): Variables deleted.
3957
3958 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
3959 (lisp-mode-variables): Use it.
3960
3961 * progmodes/cc-mode.el (c-common-init):
3962 * progmodes/cperl-mode.el (cperl-mode): Set a value for
3963 add-log-current-defun-function.
3964
3965 * progmodes/m4-mode.el (m4-current-defun-name): New function.
3966 (m4-mode): Use it.
3967
3968 * progmodes/perl-mode.el (perl-current-defun-name): New.
3969 (perl-mode): Use it.
3970
3971 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
3972 Use lisp-current-defun-name.
3973
3974 * textmodes/tex-mode.el (tex-current-defun-name): New.
3975 (tex-common-initialization): Use it.
3976
3977 * textmodes/texinfo.el (texinfo-current-defun-name): New.
3978 (texinfo-mode): Use it.
3979
3980 2012-12-01 Chong Yidong <cyd@gnu.org>
3981
3982 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
3983 * progmodes/autoconf.el (autoconf-mode):
3984 * progmodes/js.el (js-mode):
3985 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
3986 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
3987 * progmodes/perl-mode.el (perl-mode):
3988 * progmodes/sh-script.el (sh-mode, sh-set-shell):
3989 * textmodes/css-mode.el (css-mode):
3990 * textmodes/sgml-mode.el (html-mode, sgml-mode)
3991 (sgml-tags-invisible, sgml-guess-indent):
3992 * textmodes/tex-mode.el (tex-common-initialization)
3993 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
3994 (doctex-mode, plain-tex-mode, latex-mode):
3995 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
3996
3997 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
3998
3999 * vc/vc-hg.el (vc-hg-next-revision):
4000 Ensure use of default "tip" output format. (Bug#6968)
4001
4002 2012-12-01 Kim F. Storm <storm@cua.dk>
4003
4004 * startup.el (fancy-startup-tail): Add a clickable link
4005 (Bug#2176).
4006
4007 2012-12-01 Chong Yidong <cyd@gnu.org>
4008
4009 * startup.el (fancy-startup-tail): Improve the message about
4010 auto-save files (Bug#2176).
4011
4012 * files.el (recover-session): Improve the descriptive message, and
4013 use substitute-command-keys.
4014
4015 2012-12-01 Glenn Morris <rgm@gnu.org>
4016
4017 * ido.el (ido-file-internal):
4018 Handle other-window, other-frame for dired. (Bug#13036)
4019
4020 2012-11-30 Glenn Morris <rgm@gnu.org>
4021
4022 * icomplete.el (icomplete-separator): Fix :version.
4023
4024 2012-11-30 Chong Yidong <cyd@gnu.org>
4025
4026 * shell.el (shell): For C-u M-x shell, use an inactive shell
4027 buffer as the default (Bug#1975).
4028 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
4029 (shell-mode): Use them to reapply ansi colorization if Shell mode
4030 is re-enabled.
4031
4032 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
4033
4034 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
4035
4036 2012-11-30 Samuel Bronson <naesten@gmail.com>
4037
4038 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
4039 flag to xargs, for compatibility with BSD xargs (Bug#11703).
4040
4041 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
4042
4043 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
4044 by move-to-column (Bug#3234).
4045
4046 2012-11-30 Chong Yidong <cyd@gnu.org>
4047
4048 * longlines.el (longlines-wrap-line, longlines-encode-region):
4049 Preserve text properties (Bug#1425).
4050
4051 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
4052
4053 * vc/vc.el (vc-register): Allow registering a file which is
4054 already registered with a different backend (Bug#10589).
4055
4056 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
4057 Stefan Monnier <monnier@iro.umontreal.ca>
4058
4059 * icomplete.el: Change separator; add ido-style commands.
4060 (icomplete-show-key-bindings): Remove custom var.
4061 (icomplete-get-keys): Remove function.
4062 (icomplete-forward-completions, icomplete-backward-completions):
4063 New commands.
4064 (icomplete-minibuffer-map): New var.
4065 (icomplete-minibuffer-setup): Use it.
4066 (icomplete-exhibit): Don't delay if the list of completions is known.
4067 (icomplete-separator): New custom.
4068 (icomplete-completions): Use it.
4069 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
4070 (minibuffer-force-complete-and-exit): New command.
4071 (minibuffer--complete-and-exit): New function extracted from
4072 minibuffer-complete-and-exit.
4073 (minibuffer-complete-and-exit): Use it.
4074
4075 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
4076 error message when the file doesn't exist (bug#12974).
4077
4078 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
4079
4080 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
4081
4082 2012-11-29 Glenn Morris <rgm@gnu.org>
4083
4084 * files.el (hack-dir-local-variables): Warn if try to set
4085 coding via dir-locals, since it doesn't work. (Bug#7169)
4086
4087 Add desktop support for restoring vc-dir buffers. (Bug#10606)
4088 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
4089 Set buffer-local value of desktop-save-buffer.
4090 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
4091 New functions.
4092 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
4093 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
4094
4095 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
4096 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
4097 Doc fix.
4098 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
4099 Doc fixes.
4100
4101 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
4102
4103 * calc/calc-forms.el (calc-date-notation): Fix regexp
4104 used to find time codes. Fix symbol for seconds.
4105
4106 2012-11-27 Glenn Morris <rgm@gnu.org>
4107
4108 * emacs-lisp/derived.el (derived-mode-make-docstring):
4109 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
4110
4111 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4112
4113 * textmodes/table.el (table-insert): Don't use `symbol-name' on
4114 lexically scoped variables (bug#13005).
4115
4116 2012-11-27 Glenn Morris <rgm@gnu.org>
4117
4118 * vc/vc-hooks.el (vc-mistrust-permissions):
4119 Default to t, to avoid data-loss. (Bug#11490)
4120
4121 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
4122
4123 * progmodes/python.el (python-indent-guess-indent-offset):
4124 If indentation is guessed make python-indent-offset buffer-local.
4125
4126 Fix Imenu regression.
4127 * progmodes/python.el (python-nav-beginning-of-defun):
4128 Fix forward movement when statement(s) separates point from defun.
4129 (python-imenu-prev-index-position): New function.
4130
4131 2012-11-27 Eli Zaretskii <eliz@gnu.org>
4132
4133 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
4134
4135 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
4136 Don't set buffer-file-type. Return nil. (Bug#12989)
4137
4138 2012-11-27 Glenn Morris <rgm@gnu.org>
4139
4140 * hippie-exp.el (hippie-expand-try-functions-list):
4141 Re-autoload it. (Bug#12982)
4142
4143 2012-11-27 Eli Zaretskii <eliz@gnu.org>
4144
4145 * descr-text.el (describe-char-padded-string):
4146 Call internal-char-font only on GUI frames. (Bug#11964)
4147
4148 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
4149
4150 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
4151 and obsoletion message.
4152
4153 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4154
4155 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
4156 the constructs to keep outside of the `cl-block' (bug#12977).
4157
4158 2012-11-27 Chong Yidong <cyd@gnu.org>
4159
4160 * mouse.el (mouse-drag-line): Even if the line is not draggable,
4161 keep reading until we get the up-event anyway, in order to process
4162 the up-event for mouse-1-click-follows-link (Bug#12971).
4163
4164 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
4165
4166 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
4167 base function is not yet defined (bug#12965).
4168 (ad-activate-advised-definition): Use ad-compile-function.
4169 (ad-activate): Use cond.
4170
4171 2012-11-25 Leo Liu <sdl.web@gmail.com>
4172
4173 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
4174 (Bug#12979)
4175
4176 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
4177
4178 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
4179 reftex-section-info-function in order to be compatible with
4180 Texinfo integration.
4181
4182 * textmodes/reftex.el (reftex-section-pre-regexp)
4183 (reftex-section-post-regexp, reftex-section-info-function):
4184 New variable.
4185 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
4186 reftex-section-post-regexp, and reftex-section-info-function in order
4187 to be compatible with Texinfo integration.
4188
4189 * textmodes/reftex-toc.el (reftex-toc-promote-action):
4190 use reftex-section-pre-regexp variable in order to be compatible with
4191 Texinfo integration.
4192
4193 2012-11-25 Chong Yidong <cyd@gnu.org>
4194
4195 * faces.el: Make face-spec-set more analogous to setq.
4196 (face-spec-set): Change the third arg to specify whether this
4197 function is being called via defface, customize, or a third party.
4198 Set the appropriate symbol properties. Clear the override spec if
4199 setting via Custom. Initialize face if necessary. (Bug#4988)
4200 (face-spec-recalc): Allow theme faces to completely replace the
4201 defface spec, in the same way as custom faces (Bug#8454).
4202
4203 * cus-face.el (custom-declare-face): Move face initialization to
4204 face-spec-set.
4205 (custom-theme-set-faces): Don't initialize the face name here, as
4206 that is now done in face-spec-set.
4207
4208 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
4209 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
4210 Simplify by using the new arg to face-spec-set.
4211
4212 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
4213 reset face-override-spec too, and use custom-declare-face.
4214
4215 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
4216
4217 * term/ns-win.el (ns-initialize-window-system): Move creation of
4218 fontsets here (Bug#11964).
4219
4220 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
4221
4222 * ses.el (ses-rename-cell): Correct bug on mode-line update after
4223 cell renaming.
4224
4225 2012-11-24 Chong Yidong <cyd@gnu.org>
4226
4227 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
4228 obsolete.
4229
4230 * custom.el (custom-theme-set-variables): Use a topological sort
4231 for ordering by custom dependencies (Bug#12952).
4232 (custom--sort-vars, custom--sort-vars-1): New functions.
4233
4234 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
4235
4236 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
4237 lexical-binding (bug#12938).
4238
4239 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
4240
4241 * image-mode.el (image-transform-check-size): Use assertions only
4242 for images of type imagemagick.
4243
4244 Otherwise no error, image-transform-fit-to-{width,height} is
4245 silently ignored, as before. Doc fix.
4246
4247 2012-11-24 Chong Yidong <cyd@gnu.org>
4248
4249 * faces.el (color-defined-p): Doc fix (Bug#12853).
4250
4251 2012-11-24 Juri Linkov <juri@jurta.org>
4252
4253 * dired.el (dired-mark): Add optional arg `interactive'.
4254 Check for `use-region-p' if `interactive' is non-nil.
4255 (dired-unmark, dired-flag-file-deletion): Add optional arg
4256 `interactive'. Call `dired-mark' with the arg `interactive'.
4257 (Bug#10624)
4258
4259 * wdired.el: Revert 2012-10-17 change partly and replace it with
4260 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
4261 (wdired-finish-edit): Add marks for new file names to
4262 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
4263 after `revert-buffer'.
4264 (wdired-do-renames): Remove calls to `dired-remove-file',
4265 `dired-add-file', `dired-add-entry'. (Bug#11795)
4266
4267 2012-11-24 Alan Mackenzie <acm@muc.de>
4268
4269 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
4270
4271 Fix bugs in the state cache. Enhance a debugging mechanism.
4272 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
4273 "brace at column zero" strategy for C++.
4274 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
4275 (c-parse-state-point): New variable.
4276 (c-record-parse-state-state): Record old parse state with
4277 `copy-tree'. Record previous value of point.
4278 (c-debug-parse-state-double-cons): New debugging function.
4279 (c-debug-parse-state): Call the above new function.
4280 (c-toggle-parse-state-debug): Output a confirmatory message.
4281
4282 * progmodes/cc-mode.el (c-before-change, c-after-change):
4283 Call c-invalidate-state-cache from `c-before-change' instead of
4284 `c-after-change'.
4285
4286 2012-11-23 Chong Yidong <cyd@gnu.org>
4287
4288 * find-cmd.el (find-constituents): Add executable, ipath,
4289 readable, samefile, writable, daystart, regextype (Bug#12856).
4290
4291 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
4292
4293 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
4294
4295 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
4296
4297 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
4298 definition. This fixes a bootstrap failure.
4299 (calc-gregorian-switch): In menu, put dates before regions.
4300 This is easier to follow, lines up better in the menu, and lets us
4301 coalesce regions that switch at the same time. Give country
4302 names, not "Vatican", as that's better for non-expert users.
4303 Use names that are stable between the date of switch and now, e.g.,
4304 Bohemia and Moravia (which existed then and now) and not
4305 Czechoslovakia (which didn't exist then and doesn't exist now).
4306 What is now the U.S. mostly did not switch at the same time as
4307 Britain, so omit the U.S. Correct spelling of "Britain".
4308 Catholic Switzerland was too much of a mess, so omit it.
4309
4310 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
4311
4312 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
4313 after the variable is changed.
4314
4315 2012-11-21 Daniel Colascione <dancol@dancol.org>
4316
4317 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
4318 in SQL declarations for font-lock.
4319 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
4320
4321 2012-11-21 Glenn Morris <rgm@gnu.org>
4322
4323 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
4324 (face-italic-p): Add optional argument "inherit".
4325
4326 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
4327 Remove -p suffix from names, for consistency with other set-face-*.
4328 (set-face-inverse-video): Fix interactive spec.
4329 * play/gamegrid.el (gamegrid-make-mono-tty-face):
4330 * textmodes/table.el (table--update-cell-face):
4331 Use set-face-inverse-video rather than now obsolete alias.
4332
4333 2012-11-21 Eli Zaretskii <eliz@gnu.org>
4334
4335 * simple.el (line-move): Don't call line-move-partial if
4336 scroll-conservatively is in effect. (Bug#12927)
4337
4338 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4339
4340 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
4341 Fallback on completion-at-point rather than
4342 pcomplete-expand-and-complete, and only if pcomplete actually failed.
4343 (eshell-cmpl-initialize): Setup completion-at-point.
4344
4345 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
4346
4347 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
4348
4349 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
4350
4351 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
4352 are remote, check out-of-band property for both.
4353
4354 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4355
4356 * window.el (switch-to-buffer): Re-add the warning that was lost in the
4357 code rewrite.
4358
4359 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
4360
4361 More minor time fixes.
4362 * calendar/time-date.el: Commentary fix.
4363 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
4364 too much other code depends on (0 0) time stamps.
4365 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
4366 Add a couple of FIXME comments.
4367
4368 Minor cleanup for times as lists of four integers.
4369 * files.el (dir-locals-directory-cache):
4370 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
4371 Doc fixes.
4372 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
4373 * ps-bdf.el (bdf-file-newer-than-time):
4374 Process four-integers time stamps, not two. Doc fixes.
4375
4376 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4377
4378 * uniquify.el (uniquify-managed): Use defvar-local.
4379 (rename-buffer, create-file-buffer): Advise with advice-add.
4380 (uniquify-unload-function): Unadvise accordingly.
4381
4382 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
4383 (trace-buffer): Don't purecopy.
4384 (trace-entry-message, trace-exit-message): Add `context' arg.
4385 (trace--timer): New var.
4386 (trace-make-advice): Adjust for use in nadvice.
4387 Add `context' argument. Delay `display-buffer' via a timer.
4388 (trace-function-internal): Use advice-add.
4389 (trace--read-args): New function.
4390 (trace-function-foreground, trace-function-background): Use it.
4391 (trace-function): Rename to trace-function-foreground and redefine as
4392 an alias to that new name.
4393 (untrace-function, untrace-all): Adjust to the use of nadvice.
4394
4395 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
4396
4397 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
4398
4399 * subr.el (called-interactively-p-functions): New var.
4400 (internal--called-interactively-p--get-frame): New macro.
4401 (called-interactively-p, interactive-p): Rewrite in Lisp.
4402 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
4403 (called-interactively-p-functions): Use it.
4404 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
4405 (called-interactively-p-functions): Use it.
4406 * allout.el (allout-called-interactively-p): Don't assume
4407 called-interactively-p is a subr.
4408
4409 2012-11-20 Glenn Morris <rgm@gnu.org>
4410
4411 * profiler.el (profiler-report-mode-map): Add a menu.
4412 No need to bind `q' because we derive from special-mode.
4413 (profiler-report-find-entry): Handle calls from the menu-bar.
4414
4415 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
4416
4417 * emacs-lisp/byte-run.el (defun-declarations-alist):
4418 Allow a compiler-macro to be a lambda expression.
4419
4420 * progmodes/python.el: Use cl-lib. Move var declarations outside of
4421 eval-when-compile.
4422 (python-syntax-context): Add compiler-macro.
4423 (python-font-lock-keywords): Simplify with De Morgan.
4424
4425 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
4426
4427 * files.el (load-file): Require match in minibuffer selection, as was
4428 the case in Emacs-20 before we changed the spec to allow .elc files
4429 (bug#12935).
4430
4431 * json.el: Don't require cl since we don't use it.
4432 * color.el: Don't require cl.
4433 (color-complement): `caddr' -> `nth 2'.
4434
4435 * calendar/time-date.el (time-to-seconds): De-obsolete.
4436
4437 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
4438
4439 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
4440 year numbers.
4441 (math-date-to-julian-dt): Adjust the initial approximation for the
4442 year to deal with the new definition of the DATE.
4443
4444 2012-11-19 Daniel Colascione <dancol@dancol.org>
4445
4446 * term/w32-win.el (cygwin-convert-path-from-windows):
4447 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
4448
4449 2012-11-18 Chong Yidong <cyd@gnu.org>
4450
4451 * filecache.el (file-cache--read-list): New function.
4452 (file-cache-add-directory-list, file-cache-add-file-list)
4453 (file-cache-delete-file-list, file-cache-delete-directory-list):
4454 Use it to read a list of files or directories (Bug#12846).
4455 (file-cache-add-file, file-cache-add-directory)
4456 (file-cache-delete-file-list, file-cache-delete-file-regexp)
4457 (file-cache-delete-directory): Print an message.
4458
4459 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
4460
4461 * calc/calc-forms.el (math-date-to-dt): Use integer date when
4462 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
4463
4464 2012-11-18 Glenn Morris <rgm@gnu.org>
4465
4466 * image.el (insert-image, insert-sliced-image): Doc fix.
4467
4468 2012-11-18 Chong Yidong <cyd@gnu.org>
4469
4470 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
4471 (Bug#12810).
4472
4473 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
4474
4475 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
4476 response when the target file is in a subdirectory (Bug#12757).
4477
4478 2012-11-18 Chong Yidong <cyd@gnu.org>
4479
4480 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
4481
4482 2012-11-18 Glenn Morris <rgm@gnu.org>
4483
4484 * emacs-lisp/cl-lib.el (face-underline-p):
4485 Use set-face-underline rather than the alias set-face-underline-p.
4486
4487 * window.el (with-temp-buffer-window): Doc fix.
4488 * subr.el (with-output-to-temp-buffer):
4489 Add doc xref to with-temp-buffer-window.
4490
4491 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
4492
4493 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
4494 * calc/calc.el (math-format-date-cache): Declare.
4495
4496 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
4497
4498 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
4499 It also uses January 1, 1 AD as its day number 1.
4500 * calc/calc-forms.el (math-julian-date-beginning)
4501 (math-julian-date-beginning-int): Implement this.
4502
4503 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
4504
4505 * descr-text.el (quail-find-key):
4506 * dired.el (desktop-file-name):
4507 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
4508 * generic-x.el (comint-mode, comint-exec):
4509 * image-dired.el (widget-forward):
4510 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
4511 (speedbar-change-expand-button-char)
4512 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
4513 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
4514 * printing.el (easy-menu-add-item, easy-menu-remove-item)
4515 (widget-field-action, widget-value-set):
4516 * speedbar.el (imenu--make-index-alist):
4517 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
4518 (ring-length, ring-insert):
4519 * vcursor.el (compare-windows-skip-whitespace):
4520 * woman.el (dired-get-filename):
4521 Declare functions.
4522
4523 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
4524
4525 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
4526
4527 * calc/calc.el (calc-gregorian-switch): New variable.
4528
4529 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
4530 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
4531 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
4532 (math-leap-year-p): Add option to distinguish between Julian
4533 and Gregorian calendars.
4534 (math-day-number): Use `math-day-in-year' to do the computations.
4535 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
4536 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
4537 to do the computations.
4538 (math-date-to-dt): Use `math-date-to-julian-dt' and
4539 `math-date-to-gregorian-dt' to do the computations.
4540 (calcFunc-weekday, math-format-date-part): Use the new version of
4541 the DATE to determine the weekday.
4542 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
4543 when necessary.
4544
4545 2012-11-17 Eli Zaretskii <eliz@gnu.org>
4546
4547 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
4548 Cygwin; otherwise use 'file:'. (Bug#12914)
4549 (cygwin-convert-path-from-windows): Declare, to avoid
4550 byte-compiler warnings.
4551
4552 2012-11-17 Andreas Politz <politza@fh-trier.de>
4553
4554 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
4555 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
4556 prefix and negative numeric prefix args (Bug#12795).
4557
4558 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
4559
4560 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
4561 Don't signal an error with a score that is too low to add to the
4562 list of top scores. (Bug#12779)
4563
4564 2012-11-17 Chong Yidong <cyd@gnu.org>
4565
4566 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
4567
4568 * filecache.el (file-cache-add-file): Handle relative file name in
4569 the argument (Bug#12694).
4570
4571 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
4572
4573 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
4574
4575 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4576
4577 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
4578
4579 * emacs-lisp/cl-lib.el: Set more meaningful version number.
4580
4581 2012-11-16 Martin Rudalics <rudalics@gmx.at>
4582
4583 * window.el (enlarge-window, shrink-window): Don't mention return
4584 value in doc-string (Bug#12896).
4585 (window--display-buffer): Don't resize frames - it won't work
4586 with all window managers and defeat pop-up-frame-alist.
4587 (display-buffer-alist): In doc-string explain that CONDITION can
4588 be a function and which arguments are passed to it (Bug#12854).
4589 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
4590 expressions (Bug#12854).
4591 (display-buffer): Pass ACTION argument to
4592 display-buffer-assq-regexp.
4593
4594 2012-11-16 Glenn Morris <rgm@gnu.org>
4595
4596 * window.el (fit-frame-to-buffer-bottom-margin)
4597 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
4598
4599 * faces.el (face-underline-p): Use face-attribute-specified-or.
4600
4601 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
4602
4603 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
4604
4605 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4606
4607 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
4608
4609 2012-11-16 Glenn Morris <rgm@gnu.org>
4610
4611 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
4612 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
4613
4614 * faces.el (face-underline-p): Doc fix. Handle :underline being
4615 things other than `t' (a string, a list).
4616 (face-inverse-video-p): Doc fix.
4617 (set-face-underline): Rename it back from set-face-underline-p.
4618 Doc fix. Allow interactive input of values other than t.
4619 (read-face-attribute): Apply formatting to :underline,
4620 since like :box and :stipple it can take list values.
4621
4622 * term.el (ansi-term): Don't let C-x escape-char binding
4623 clobber the more standard C-c binding. (Bug#12842)
4624
4625 * subr.el (set-temporary-overlay-map): Doc fix.
4626
4627 2012-11-16 Martin Rudalics <rudalics@gmx.at>
4628
4629 * window.el (record-window-buffer)
4630 (display-buffer-record-window): When copying the markers to
4631 window-point preserve window-point-insertion-type. (Bug#12588)
4632
4633 2012-11-16 Glenn Morris <rgm@gnu.org>
4634
4635 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
4636 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
4637 Use new names for hooks rather than obsolete aliases.
4638
4639 2012-11-15 Daniel Colascione <dancol@dancol.org>
4640
4641 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
4642 prefix instead of "file:" so that when FILE-NAME begins with "//",
4643 as it does when the target file is on a network share, url-handler
4644 isn't confused.
4645
4646 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4647
4648 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
4649 a preactivated advice from an old advice.el; they're not compatible!
4650
4651 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
4652
4653 * emacs-lisp/nadvice.el (advice--make-interactive-form):
4654 Fix string-spec case.
4655
4656 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
4657
4658 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4659
4660 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
4661 (advice--buffer-local-function-sample): New var.
4662 (advice--set-buffer-local, advice--buffer-local): New functions.
4663 (add-function, remove-function): Use them.
4664
4665 2012-11-15 Drew Adams <drew.adams@oracle.com>
4666
4667 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
4668
4669 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4670
4671 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
4672 potential binding of print-gensym to t, and prettify (back)quotes in
4673 case they appear in args's default values (bug#12884).
4674
4675 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4676
4677 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
4678 (advice-eval-interactive-spec): New function.
4679 (advice--make-interactive-form): Support around advice (bug#12844).
4680
4681 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
4682
4683 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
4684 more strict. Add docstring.
4685 (ruby-expression-expansion-re): Extract from
4686 `ruby-match-expression-expansion'.
4687 (ruby-syntax-propertize-function): After everything else, search
4688 for expansions in string literals, mark their insides as
4689 whitespace syntax and save match data for font-lock.
4690 (ruby-font-lock-keywords): Use the 2nd group from expression
4691 expansion matches.
4692 (ruby-match-expression-expansion): Use the match data saved to the
4693 text property in ruby-syntax-propertize-function.
4694
4695 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4696
4697 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
4698 (bug#12879).
4699
4700 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4701
4702 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
4703 start/end keyword a bit harder. Works with different values of N.
4704 Add more comments.
4705 (ruby-end-of-block): Update accordingly.
4706
4707 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4708
4709 * woman.el (woman-file-name): Don't mess with unread-command-events
4710 (bug#12861).
4711
4712 * emacs-lisp/advice.el: Layer on top of nadvice.el.
4713 Remove out of date self-require hack.
4714 (ad-do-advised-functions): Use simple `dolist'.
4715 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
4716 (ad-advice-definition): Redefine as functions.
4717 (ad-advice-classes): Move before first use.
4718 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
4719 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
4720 (ad--defalias-fset): Remove functions.
4721 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
4722 (ad-get-orig-definition): Rewrite.
4723 (ad-make-advised-definition-docstring): Change base docstring.
4724 (ad-real-orig-definition): Rewrite.
4725 (ad-map-arglists): Change name of called function.
4726 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
4727 (ad-make-advised-definition): Simplify.
4728 (ad-assemble-advised-definition): Tweak for new calling context.
4729 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
4730 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
4731 function and call ad-activate if needed.
4732 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
4733 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
4734 (ad-compile-function): Compile ad-Advice-*.
4735 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
4736 (ad-start-advice, ad-stop-advice): Remove.
4737
4738 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4739
4740 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
4741 period before class method names, not after. Remove handling of
4742 one impossible case. Add comments.
4743
4744 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4745
4746 * emacs-lisp/advice.el: Remove support for freezing.
4747 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
4748 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
4749 Remove support for `freeze'.
4750
4751 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
4752 override the default.
4753 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
4754 cl--dotimes/dolist.
4755 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
4756 `cl' is loaded.
4757
4758 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
4759 from add-advice.
4760 (advice--strip-macro): New function.
4761 (advice--defalias-fset): Use them to handle macros.
4762 (advice-add): Use them.
4763 (advice-member-p): Correctly handle macros.
4764
4765 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4766
4767 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4768 Never font-lock the beginning of singleton class as heredoc.
4769
4770 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4771
4772 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
4773
4774 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
4775
4776 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
4777 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
4778 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
4779
4780 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
4781
4782 Fix end-of-defun misbehavior.
4783 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
4784 python-beginning-of-defun-function. Handle nested defuns
4785 correctly.
4786 (python-nav-end-of-defun): Rename from
4787 python-end-of-defun-function. Ensure forward movement.
4788 (python-info-current-defun): Reimplement to work as intended
4789 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
4790 parent defuns as soon as possible.
4791
4792 2012-11-13 Glenn Morris <rgm@gnu.org>
4793
4794 * progmodes/flymake.el (flymake-error-bitmap)
4795 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
4796 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
4797
4798 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4799
4800 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
4801 backward, always stop at indentation. Reverts the change from
4802 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
4803
4804 2012-11-13 Glenn Morris <rgm@gnu.org>
4805
4806 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
4807 Add ibuffer-filter-by-derived-mode.
4808
4809 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
4810 the same name shadowing each other.
4811
4812 * window.el (with-temp-buffer-window): Doc tweak.
4813
4814 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
4815
4816 * help.el (temp-buffer-max-height):
4817 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
4818 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
4819
4820 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
4821
4822 * emacs-lisp/nadvice.el: New package.
4823 * subr.el (special-form-p): New function.
4824 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
4825 (elp-all-instrumented-list): Remove var.
4826 (elp-not-profilable): Remove elp-wrapper.
4827 (elp-profilable-p): Use autoloadp and special-form-p.
4828 (elp--advice-name): New const.
4829 (elp-instrument-function): Use advice-add.
4830 (elp--instrumented-p): New predicate.
4831 (elp-restore-function): Use advice-remove.
4832 (elp-restore-all, elp-reset-all): Use mapatoms.
4833 (elp-set-master): Use elp--instrumented-p.
4834 (elp--make-wrapper): Rename from elp-wrapper, return a function
4835 suitable for advice-add. Use cl-inf.
4836 (elp-results): Use mapatoms+elp--instrumented-p.
4837 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
4838 (debug-function-list): Remove var.
4839 (debug): Rename arg, and then let-bind it explicitly inside.
4840 (debugger-setup-buffer): Rename arg.
4841 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
4842 (debugger-frame-number): Adjust to new debug-on-entry setup.
4843 (debug--implement-debug-on-entry): Rename from
4844 implement-debug-on-entry, add argument.
4845 (debugger-special-form-p): Remove, use special-form-p instead.
4846 (debug-on-entry): Use advice-add.
4847 (debug--function-list): New function.
4848 (cancel-debug-on-entry): Use it, along with advice-remove.
4849 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
4850 (debugger-list-functions): Use debug--function-list instead of
4851 debug-function-list.
4852 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
4853 (ad-special-form-p): Remove, use special-form-p instead.
4854 (ad-set-advice-info): Use add-function and remove-function.
4855 (ad--defalias-fset): Adjust accordingly.
4856
4857 2012-11-10 Glenn Morris <rgm@gnu.org>
4858
4859 * mail/emacsbug.el (report-emacs-bug-tracker-url)
4860 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
4861 (report-emacs-bug-create-existing-bugs-buffer)
4862 (report-emacs-bug-parse-query-results)
4863 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
4864
4865 * term.el (term-default-fg-color, term-default-bg-color):
4866 Make obsolete, rather than just saying "deprecated" in the doc.
4867
4868 * term.el (term): Rename from `term-face'.
4869 (term-current-face, ansi-term-color-vector)
4870 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
4871 Update all users.
4872
4873 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
4874
4875 * server.el (server-create-window-system-frame): Handle Nextstep
4876 specially (Bug#12780).
4877
4878 2012-11-10 Glenn Morris <rgm@gnu.org>
4879
4880 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
4881 Unautoload, and make obsolete. (Bug#7449)
4882
4883 2012-11-10 Chong Yidong <cyd@gnu.org>
4884
4885 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
4886 rename from diff-remove-trailing-whitespace (Bug#12831).
4887
4888 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4889
4890 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
4891 miscompilation of trace.el.
4892
4893 2012-11-10 Glenn Morris <rgm@gnu.org>
4894
4895 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
4896
4897 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4898
4899 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
4900 (bug#12812).
4901
4902 2012-11-10 Chong Yidong <cyd@gnu.org>
4903
4904 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
4905 a defcustom with an appropriate :set function.
4906 (minibuffer-default--in-prompt-regexps): New function.
4907
4908 2012-11-10 Glenn Morris <rgm@gnu.org>
4909
4910 * emacs-lisp/cl.el (define-setf-expander, defsetf)
4911 (define-modify-macro): Doc fixes.
4912
4913 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
4914 (gv-define-simple-setter): Update doc of `fix-return'.
4915
4916 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4917
4918 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
4919 twice when `fix-return' is set (bug#12813).
4920
4921 * emacs-lisp/cl.el (defsetf): Pass the third arg to
4922 gv-define-simple-setter (bug#12812).
4923
4924 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
4925 (bug#12756).
4926
4927 2012-11-10 Glenn Morris <rgm@gnu.org>
4928
4929 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
4930
4931 * emacs-lisp/cl-extra.el (cl-prettyexpand):
4932 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
4933 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
4934 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
4935
4936 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
4937
4938 2012-11-10 Leo Liu <sdl.web@gmail.com>
4939
4940 * ido.el (ido-set-matches-1): Improve flex matching performance by
4941 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
4942
4943 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4944
4945 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
4946 (ad--defalias-fset): New function.
4947 (ad-safe-fset): Remove.
4948 (ad-make-freeze-definition): Use cl-letf*.
4949
4950 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4951
4952 * subr.el (dolist): Don't bind VAR in RESULT.
4953
4954 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
4955 (fset, documentation): Don't save real def since we don't advise.
4956 (ad-do-advised-functions): Remove problematic `result-form'.
4957 (ad-safe-fset): `ad-real-fset' => `fset'.
4958 (ad-read-advised-function): Don't assume that ad-do-advised-functions
4959 uses CL's dolist internally.
4960 (ad-arglist): Remove unused arg `name'.
4961 (ad-docstring, ad-make-advised-docstring):
4962 `ad-real-documentation' => `documentation'.
4963 (warning-suppress-types): Declare.
4964 (ad-set-arguments): Simple CSE.
4965 (ad-recover-normality): Sanity check.
4966
4967 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
4968 (funcall '(lambda ..) ..) into ((lambda ..) ..).
4969
4970 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
4971
4972 * ses.el: symbol to coordinate mapping is made by symbol property
4973 `ses-cell'. This means that the same mapping is done for all SES
4974 sheets. That is good enough for cells with standard A1 names, but
4975 not for named cell. So a hash map is added for the latter.
4976 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
4977 (ses-sym-rowcol): Use hashmap for named cell.
4978 (ses-is-cell-sym-p): New defun.
4979 (ses-decode-cell-symbol): New defun.
4980 (ses-create-cell-variable): Add cell to hashmap when name is not
4981 A1-like.
4982 (ses-rename-cell): Check that cell new name is not already in
4983 spreadsheet with the use of ses-is-cell-sym-p
4984 (ses-rename-cell): Use hash map for named cells, but accept also
4985 renaming back to A1-like.
4986
4987 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4988
4989 * emacs-lisp/advice.el: Use new dynamic docstrings.
4990 (ad-make-advised-definition-docstring, ad-advised-definition-p):
4991 Use dynamic-docstring-function instead of ad-advice-info.
4992 (ad--make-advised-docstring): New function extracted from
4993 ad-make-advised-docstring.
4994 (ad-make-advised-docstring): Use it.
4995 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
4996 from sql-help.
4997 (sql-help): Use it with dynamic-docstring-function.
4998
4999 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
5000
5001 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5002
5003 * files.el (hack-one-local-variable--obsolete): New function.
5004 (hack-one-local-variable): Use it for obsolete settings.
5005
5006 * subr.el (locate-user-emacs-file): If both old and new name exist, use
5007 the new name.
5008
5009 * progmodes/js.el (js--filling-paragraph): New var.
5010 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
5011 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
5012 less sneaky.
5013
5014 2012-11-08 Julien Danjou <julien@danjou.info>
5015
5016 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
5017 `auto-mode-alist' (Bug#12835).
5018
5019 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5020
5021 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
5022 (perl--prettify-symbols-alist): New const.
5023 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
5024 New functions.
5025 (perl-font-lock-keywords-2): Use them.
5026 (perl-electric-noindent-p): New function.
5027 (perl-mode): Use it to set up electric-indent-mode.
5028 (perl-electric-terminator, perl-indent-command): Mark obsolete.
5029 (perl-mode-map): Remove bindings for them.
5030 (perl-imenu-generic-expression, perl-outline-level):
5031 Match functions&packages in column>0.
5032
5033 * env.el (env--substitute-vars-regexp): New const.
5034 (substitute-env-vars): Use it. Add `only-defined' arg.
5035 * net/tramp.el (tramp-replace-environment-variables): Use it.
5036
5037 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
5038 Byte-compile *before* eval in eval-and-compile.
5039 (byte-compile-log-warning): Remove redundant inhibit-read-only.
5040 (byte-compile-file-form-autoload): Don't hide actual definition.
5041 (byte-compile-maybe-guarded): Accept `functionp' as well.
5042
5043 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
5044
5045 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
5046
5047 * notifications.el (notifications-get-server-information-method):
5048 New defconst.
5049 (notifications-get-capabilities): Fix docstring.
5050 (notifications-get-server-information): New defun.
5051
5052 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5053
5054 * textmodes/ispell.el (ispell-region): Standard re-indent for better
5055 readability.
5056
5057 * textmodes/ispell.el: Experimental support for support debugging.
5058 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
5059 buffer for ispell.
5060 (ispell-print-if-debug): New function to print stuff to
5061 `ispell-debug-buffer' if debugging is enabled.
5062 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
5063 show some debugging info.
5064 (ispell-buffer-with-debug): New function that creates a debugging
5065 buffer and calls `ispell-buffer' with debugging enabled.
5066
5067 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
5068 comment in autoconf mode. (Bug#12768)
5069
5070 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
5071
5072 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
5073 frame-first-window, frame-root-window, frame-selected-window,
5074 minibuffer-selected-window, minibuffer-window,
5075 window-absolute-pixel-edges, window-at, window-body-height,
5076 window-body-width, window-display-table, window-combination-limit,
5077 window-frame, window-fringes, window-inside-absolute-pixel-edges,
5078 window-inside-edges, window-inside-pixel-edges, window-left-child,
5079 window-left-column, window-margins, window-next-buffers,
5080 window-next-sibling, window-new-normal, window-new-total,
5081 window-normal-size, window-parameter, window-parameters, window-parent,
5082 window-pixel-edges, window-point, window-prev-buffers,
5083 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
5084 window-start, window-text-height, window-top-child, window-top-line,
5085 window-total-height, window-total-width and window-use-time to the list
5086 of functions without side-effects.
5087 (toplevel): Add window-valid-p to the list of error-free functions
5088 without side-effects.
5089
5090 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5091
5092 * textmodes/ispell.el (ispell-program-name):
5093 Update spellchecker parameters when customized.
5094
5095 2012-11-04 Glenn Morris <rgm@gnu.org>
5096
5097 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
5098
5099 2012-11-04 Chong Yidong <cyd@gnu.org>
5100
5101 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
5102 same-window-* variables.
5103
5104 2012-11-04 Juri Linkov <juri@jurta.org>
5105
5106 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
5107 (isearch-describe-key, isearch-describe-mode): Use a display
5108 action instead of binding same-window-* variables (Bug#10040).
5109
5110 2012-11-03 Glenn Morris <rgm@gnu.org>
5111
5112 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
5113 Rename handler properties back from cl-- to cl-. (Bug#12788)
5114
5115 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
5116
5117 2012-11-03 Eli Zaretskii <eliz@gnu.org>
5118
5119 * term/pc-win.el: Don't load term/internal from here.
5120
5121 * loadup.el: Load term/internal from here.
5122
5123 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
5124
5125 * progmodes/python.el (inferior-python-mode): Fix hang in
5126 jit-lock (Bug#12645).
5127
5128 2012-11-03 Martin Rudalics <rudalics@gmx.at>
5129
5130 * window.el (switch-to-visible-buffer)
5131 (switch-to-buffer-preserve-window-point): Fix doc-strings.
5132
5133 2012-11-03 Glenn Morris <rgm@gnu.org>
5134
5135 * emacs-lisp/cl-lib.el (cl--random-time):
5136 Rename from cl-random-time. (Bug#12773)
5137 (cl--gensym-counter, cl--random-state): Update callers.
5138 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
5139
5140 2012-11-03 Chong Yidong <cyd@gnu.org>
5141
5142 * cus-start.el: Make cursor-type customizable (Bug#11633).
5143
5144 2012-11-02 Glenn Morris <rgm@gnu.org>
5145
5146 * filecache.el: No need to load find-lisp when compiling.
5147 (find-lisp-find-files): Autoload it.
5148 (file-cache-add-directory-recursively): Don't require find-lisp.
5149
5150 * image.el (image-type-from-file-name): Trivial simplification.
5151
5152 * emacs-lisp/bytecomp.el (byte-compile-eval):
5153 Decouple "noruntime" and "cl-functions" warnings.
5154
5155 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
5156
5157 * play/gomoku.el (gomoku-display-statistics): Update mode line
5158 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
5159
5160 2012-10-31 Martin Rudalics <rudalics@gmx.at>
5161
5162 * window.el (quit-restore-window): If the window has been
5163 created on an existing frame and ended up as the sole window on
5164 that frame, do not delete it (Bug#12764).
5165
5166 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
5167
5168 * progmodes/sh-script.el (sh--inside-noncommand-expression):
5169 Rename from sh--inside-arithmetic-expression, handle more cases
5170 (bug#11263).
5171
5172 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
5173 (sh-font-lock-open-heredoc): Use it (bug#12770).
5174
5175 2012-10-30 Glenn Morris <rgm@gnu.org>
5176
5177 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
5178
5179 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
5180
5181 2012-10-29 Chong Yidong <cyd@gnu.org>
5182
5183 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
5184 function key is stored in a keyboard macro (Bug#4894).
5185
5186 * thingatpt.el (number-at-point): Apply a thing-at-point property.
5187
5188 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5189
5190 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
5191 header comments".
5192 (diff-unified->context, diff-context->unified)
5193 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
5194
5195 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
5196
5197 * files.el (find-alternate-file): Only ask one question (bug#12487).
5198
5199 2012-10-29 Chong Yidong <cyd@gnu.org>
5200
5201 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
5202 Suggested by Dan Nicolaescu (Bug#6326).
5203
5204 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
5205
5206 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5207
5208 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
5209
5210 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
5211
5212 * face-remap.el (face-remap-add-relative): Handle the case where a
5213 face-remapping-alist entry is a cons cell (Bug#12762).
5214
5215 2012-10-29 Kevin Ryde <user42@zip.com.au>
5216
5217 * woman.el (woman-parse-numeric-value): Handle picas correctly
5218 (Bug#12639).
5219
5220 2012-10-29 Glenn Morris <rgm@gnu.org>
5221
5222 * emacs-lisp/cl.el (defsetf): Doc fix.
5223
5224 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5225
5226 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
5227 syntax to the matching opener, if any (bug#12547).
5228 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
5229 matching open as a "case-(".
5230 (sh-smie-rc-grammar): Add a corresponding rule for it.
5231
5232 2012-10-28 Daniel Hackney <dan@haxney.org>
5233
5234 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
5235 "PKGNAME-autoloads.el" in case we created it.
5236
5237 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5238
5239 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
5240 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
5241 (completion--twq-all): Disable too-strict assertions.
5242
5243 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
5244
5245 2012-10-27 Eli Zaretskii <eliz@gnu.org>
5246
5247 * profiler.el (profiler-report-make-entry-part): Fix help-echo
5248 text to match the real keybindings.
5249
5250 2012-10-27 Juri Linkov <juri@jurta.org>
5251
5252 * wdired.el (wdired-keep-marker-rename): New defcustom.
5253 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
5254 (Bug#11795)
5255
5256 * dired.el (dired-keep-marker-rename): Add reference to
5257 `wdired-keep-marker-rename' in the docstring.
5258 Add default character value ?R to display initially in
5259 Customization UI instead of ?@.
5260
5261 2012-10-27 Martin Rudalics <rudalics@gmx.at>
5262
5263 * window.el (display-buffer): In doc-string describe
5264 window-height and window-width alist entries.
5265
5266 * time.el (display-time-world): Restore fit-window-to-buffer
5267 behavior.
5268
5269 2012-10-27 Chong Yidong <cyd@gnu.org>
5270
5271 * subr.el (insert-buffer-substring-as-yank): Doc fix.
5272
5273 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
5274
5275 * minibuffer.el (completion-category-overrides): New completion
5276 category `bookmark' (bug#11131).
5277
5278 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5279
5280 * emacs-lisp/advice.el (ad-assemble-advised-definition):
5281 Silence bogus compiler warnings for ad-do-it.
5282
5283 * bookmark.el (bookmark-completing-read): Set the completion category
5284 to `bookmark' (bug#11131).
5285
5286 2012-10-26 Bastien <bzg@altern.org>
5287 Stefan Monnier <monnier@iro.umontreal.ca>
5288
5289 * face-remap.el: Use lexical-binding.
5290 (text-scale-adjust): Improve docstring. Use itself for the temporary
5291 overlay-map bindings, so as to repeat the "Use..." message each time.
5292
5293 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5294
5295 * emacs-lisp/macroexp.el (macroexp--expand-all):
5296 Obey byte-compile-warning-enabled-p (bug#12486).
5297
5298 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
5299 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
5300
5301 2012-10-26 Martin Rudalics <rudalics@gmx.at>
5302
5303 * mouse.el (mouse-drag-line): Move last form into preceding when
5304 clause (Bug#12731).
5305
5306 * help.el (resize-temp-buffer-window): Fix doc-string.
5307
5308 2012-10-25 David Engster <deng@randomsample.de>
5309
5310 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
5311 Remove. This feature is already integrated in imenu.
5312
5313 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
5314 always loaded. Require `speedbar' unconditionally.
5315
5316 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5317
5318 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
5319
5320 * minibuffer.el (minibuffer-force-complete): Fix thinko.
5321
5322 * net/ldap.el (ldap-search-internal): The official ldif format starts
5323 with a "version: 1" header (bug#12724).
5324
5325 * emacs-lisp/package.el (package-installed-p): Warn if not ready
5326 (bug#12721).
5327
5328 2012-10-25 Glenn Morris <rgm@gnu.org>
5329
5330 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
5331
5332 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5333
5334 * minibuffer.el (minibuffer-force-complete): Use one more marker
5335 for the temporary-overlay-map command (bug#12619).
5336
5337 2012-10-24 Chong Yidong <cyd@gnu.org>
5338
5339 * time.el (display-time-world-mode): Derive from special-mode.
5340 (display-time-world): Use display-buffer (Bug#12708).
5341 (display-time-world-mode-map): Variable deleted.
5342 (display-time-world-display): Wrap the final delete-char inside
5343 inhibit-read-only.
5344
5345 2012-10-24 Chong Yidong <cyd@gnu.org>
5346
5347 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
5348 Doc fix.
5349
5350 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
5351
5352 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5353
5354 * minibuffer.el (completion--all-sorted-completions-location): New var.
5355 (completion--cache-all-sorted-completions)
5356 (completion--flush-all-sorted-completions): Use it.
5357 (completion-in-region, completion-in-region--postch)
5358 (completion-at-point, completion-help-at-point): Use markers in
5359 completion-in-region--data (bug#12619).
5360
5361 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5362
5363 * progmodes/compile.el (compilation-start): Try to handle common
5364 quoting of `cd' argument (bug#12640).
5365
5366 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
5367 (bug#12671).
5368
5369 2012-10-23 Glenn Morris <rgm@gnu.org>
5370
5371 * progmodes/gud.el (gud-menu-map):
5372 Check gdb-active-process is bound. (Bug#12358)
5373
5374 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5375
5376 * repeat.el (repeat): Set real-this-command (bug#12232).
5377
5378 * htmlfontify.el (hfy-post-html-hook):
5379 * filesets.el (filesets-cache-fill-content-hook):
5380 * arc-mode.el (archive-extract-hook):
5381 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
5382 * net/rcirc.el (rcirc-sentinel-functions)
5383 (rcirc-receive-message-functions, rcirc-activity-functions)
5384 (rcirc-print-functions):
5385 * net/dbus.el (dbus-event-error-functions):
5386 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
5387 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
5388 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
5389 * term/sun.el (sun-raw-prefix-hooks):
5390 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
5391
5392 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
5393
5394 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5395 Set `tramp-chunksize' to 1. This improves the performance.
5396 (tramp-smb-wait-for-output): Add timeout to
5397 `tramp-accept-process-output' calls.
5398
5399 2012-10-23 Chong Yidong <cyd@gnu.org>
5400
5401 * faces.el (font-list-limit): Define as an obsolete variable.
5402
5403 * startup.el (command-line):
5404 * cus-start.el: Don't refer to font-list-limit.
5405
5406 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
5407
5408 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5409
5410 * subr.el (internal-temp-output-buffer-show): Rename from
5411 temp-output-buffer-show, since previously compiled files expect this name.
5412
5413 2012-10-23 Glenn Morris <rgm@gnu.org>
5414
5415 * image.el (image-type-from-file-name): If multiple types match,
5416 return the first one that is supported. (Bug#9045)
5417
5418 2012-10-22 Glenn Morris <rgm@gnu.org>
5419
5420 * image.el (imagemagick-enabled-types): Doc fix.
5421
5422 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
5423
5424 * progmodes/which-func.el (which-func-current): The hash-table may have
5425 an explicit nil (bug#12338).
5426
5427 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5428
5429 * electric.el (electric-pair-delete-selection-self-insert-function):
5430 Rename to electric-pair-will-use-region, return a boolean.
5431 (electric-pair-mode): Adjust accordingly. Don't require delsel.
5432
5433 * delsel.el (delete-selection-helper): Use a function instead of a hook.
5434 (delete-selection-pre-hook): Use use-region-p.
5435 (delete-selection-self-insert-function): Remove.
5436 (self-insert-command): Obey self-insert-uses-region-functions.
5437 (self-insert-iso): Revert to previous setting, since we don't actually
5438 know what that command does.
5439 (delete-selection-self-insert-hooks): Remove.
5440
5441 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
5442
5443 * delsel.el (delete-selection-helper): New function, extracted from
5444 delete-selection-pre-hook.
5445 (delete-selection-pre-hook): Use it.
5446 (delete-selection-self-insert-function): New function.
5447 (delete-selection-self-insert-hooks): New hook.
5448 (self-insert-command, self-insert-iso): Use it.
5449 * electric.el (electric-pair-syntax): New function, extracted from
5450 electric-pair-post-self-insert-function.
5451 (electric-pair-post-self-insert-function): Use it.
5452 (electric-pair-delete-selection-self-insert-function): New function.
5453 (electric-pair-mode): Require delsel and setup
5454 delete-selection-self-insert-hooks (bug#11520).
5455
5456 2012-10-20 Chong Yidong <cyd@gnu.org>
5457
5458 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
5459 no changes to show (Bug#12586).
5460
5461 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
5462 list explicitly (Bug#12571).
5463
5464 2012-10-20 Arne Jørgensen <arne@arnested.dk>
5465
5466 * progmodes/flymake.el (flymake-create-temp-inplace):
5467 Use file-truename.
5468
5469 2012-10-20 Eli Zaretskii <eliz@gnu.org>
5470
5471 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
5472
5473 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
5474
5475 * calc/calc-units.el (math-extract-units): Properly extract powers
5476 of units.
5477
5478 2012-10-20 Daniel Colascione <dancol@dancol.org>
5479
5480 * frame.el (make-frame): Set x-display-name as we used to in order
5481 to unbreak creating an X11 frame from an Emacs daemon started
5482 without a display.
5483
5484 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5485
5486 * minibuffer.el (minibuffer-force-complete): Make the next completion use
5487 the same completion-field (bug#12221).
5488
5489 2012-10-19 Martin Rudalics <rudalics@gmx.at>
5490
5491 * emacs-lisp/debug.el (debug): Record height of debugger window
5492 also when debugger will be back (Bug#8789).
5493
5494 2012-10-18 Chong Yidong <cyd@gnu.org>
5495
5496 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
5497 Convert to defcustom.
5498 (gdb-get-source-file): Don't bind pop-up-windows.
5499
5500 * progmodes/gud.el (gud-display-line): Don't specially re-use
5501 other frames for the gdb-mi case (Bug#12648).
5502
5503 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5504
5505 * emacs-lisp/advice.el: Clean up commentary a bit.
5506 (ad-do-advised-functions, ad-with-originals): Use `declare'.
5507 (byte-code-function-p): Never redefine.
5508
5509 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
5510
5511 2012-10-18 Glenn Morris <rgm@gnu.org>
5512
5513 * dired.el (dired-sort-toggle): Some ls implementations only allow
5514 a single option string. (Bug#12666)
5515
5516 * minibuffer.el (completion-cycle-threshold): Doc fix.
5517
5518 2012-10-17 Kenichi Handa <handa@gnu.org>
5519
5520 * international/mule.el (set-keyboard-coding-system):
5521 Recover input meta mode when the new coding system doesn not use 8-bit.
5522 Supply TERMINAL arg to set-input-meta-mode.
5523
5524 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
5525
5526 * wdired.el (wdired-old-marks): New variable.
5527 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
5528 (wdired-do-renames): Move point with renamed file and don't lose
5529 mark status (Bug#11795).
5530
5531 2012-10-16 Juri Linkov <juri@jurta.org>
5532
5533 * replace.el (query-replace-help): Mention multi-buffer replacement
5534 keys in the Help message. (Bug#12655)
5535
5536 2012-10-15 Chong Yidong <cyd@gnu.org>
5537
5538 * emacs-lisp/byte-run.el (defsubst): Doc fix.
5539
5540 2012-10-14 Eli Zaretskii <eliz@gnu.org>
5541
5542 * window.el (display-buffer): Doc fix.
5543
5544 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5545 Adjust the msft regexp to the output of Studio 2010, and move msft
5546 before edg-1. See the discussion on emacs-devel,
5547 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
5548 for the details.
5549
5550 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
5551
5552 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
5553 (oset): Move uses of object-class-fast macro after its definition.
5554
5555 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
5556
5557 2012-10-13 Chong Yidong <cyd@gnu.org>
5558
5559 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
5560 enabled, re-enable it (Bug#11963).
5561
5562 2012-10-13 Martin Rudalics <rudalics@gmx.at>
5563
5564 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
5565 non-nil, restore window configuration (Bug#12623).
5566
5567 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5568
5569 * help-fns.el (describe-variable, describe-function-1):
5570 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
5571
5572 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
5573
5574 2012-10-12 Glenn Morris <rgm@gnu.org>
5575
5576 * mail/rmailsum.el (rmail-header-summary):
5577 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
5578
5579 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
5580
5581 * progmodes/python.el (python-mode-map):
5582 Replace subtitute-key-definition with proper command remapping.
5583 (python-nav--up-list): Fix behavior for blocks on the same level.
5584
5585 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5586
5587 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
5588
5589 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
5590 changes to the format of load-history.
5591
5592 * international/mule-cmds.el (read-char-by-name): Move let-binding of
5593 completion-ignore-case in case that var is buffer-local (bug#12615).
5594
5595 2012-10-11 Kenichi Handa <handa@gnu.org>
5596
5597 * international/eucjp-ms.el: Re-generated.
5598
5599 2012-10-10 Kenichi Handa <handa@gnu.org>
5600
5601 * select.el (xselect--encode-string): If a coding is specified for
5602 selection, and that is compatible with COMPOUND_TEXT, use it.
5603
5604 2012-10-10 Martin Rudalics <rudalics@gmx.at>
5605
5606 * window.el (switch-to-buffer-preserve-window-point): New option.
5607 (switch-to-buffer):
5608 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
5609
5610 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5611
5612 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
5613 Don't document nil as a useful value (bug#12583).
5614
5615 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
5616
5617 * net/tramp.el (tramp-debug-message):
5618 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
5619 (with-tramp-progress-reporter): Rename from
5620 `tramp-with-progress-reporter'.
5621 (with-tramp-file-property, with-tramp-connection-property):
5622 Move from tramp-cache.el, rename from `with-file-property' and
5623 `with-connection-property', respectively.
5624
5625 * net/tramp-cache.el: Remove `with-file-property' and
5626 `with-connection-property'.
5627
5628 * net/tramp.el:
5629 * net/tramp-gvfs.el:
5630 * net/tramp-sh.el:
5631 * net/tramp-smb.el: Adapt callees.
5632
5633 * net/trampver.el: Update release number.
5634
5635 2012-10-09 Glenn Morris <rgm@gnu.org>
5636
5637 * w32-fns.el (set-message-beep):
5638 * term/w32-win.el (set-message-beep): Update declarations.
5639
5640 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5641
5642 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
5643 (mode-line-widen, mode-line-input-method-map)
5644 (mode-line-coding-system-map, mode-line-remote)
5645 (mode-line-unbury-buffer, mode-line-bury-buffer)
5646 (mode-line-next-buffer, mode-line-previous-buffer):
5647 Replace save-selected-window+select-window => with-selected-window.
5648
5649 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
5650 * progmodes/cc-vars.el (bq-process): Remove, unused.
5651
5652 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
5653
5654 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
5655
5656 Implemented `backward-up-list'-like navigation.
5657 * progmodes/python.el (python-nav-up-list)
5658 (python-nav-backward-up-list): New functions.
5659 (python-mode-map): Define substitute key for backward-up-list to
5660 python-nav-backward-up-list.
5661
5662 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5663
5664 * progmodes/python.el (python-fill-paragraph): Rename from
5665 python-fill-paragraph-function. Fixed fill-paragraph for
5666 decorators (Bug#12605).
5667
5668 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5669
5670 * progmodes/python.el (python-shell-output-filter): Handle extra
5671 carriage return in OSX (Bug#12409).
5672
5673 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5674
5675 Fix shell handling of unbalanced quotes and parens in output.
5676 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
5677 (python-syntax-propertize-function): Use it.
5678 (python-shell-output-syntax-table): New var.
5679 (inferior-python-mode): Prevent unbalanced parens/quotes from
5680 previous output mess with current input context.
5681
5682 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
5683
5684 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
5685 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
5686
5687 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
5688
5689 * ffap.el (ffap-replace-file-component): Support Tramp file name
5690 syntax, not only ange-ftp's one.
5691
5692 2012-10-08 Glenn Morris <rgm@gnu.org>
5693
5694 * cus-start.el (message-log-max): Set :version.
5695
5696 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
5697
5698 2012-10-08 Martin Rudalics <rudalics@gmx.at>
5699
5700 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
5701 the minibuffer window (Bug#10851).
5702
5703 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5704
5705 Enhancements on forward-sexp movement.
5706 * progmodes/python.el (python-nav-beginning-of-statement)
5707 (python-nav-end-of-statement): Return point-marker.
5708 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
5709 (python-info-current-symbol)
5710 (python-info-statement-starts-block-p): Rename from
5711 python-info-beginning-of-block-p.
5712 (python-info-statement-ends-block-p): Rename from
5713 python-info-end-of-block-p.
5714 (python-info-beginning-of-statement-p)
5715 (python-info-end-of-statement-p)
5716 (python-info-beginning-of-block-p, python-info-end-of-block-p):
5717 New functions.
5718
5719 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5720
5721 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
5722 frame-selected-windows.
5723
5724 2012-10-08 Daniel Colascione <dancol@dancol.org>
5725
5726 * battery.el (battery-status-function): Check for
5727 w32-battery-status itself, not system-time windows-nt.
5728
5729 * frame.el: Require cl-lib.
5730 (display-format-alist): New variable mapping frame types to
5731 functions that initialize them.
5732 (window-system-for-display): New function: interprets
5733 display-format-alist.
5734 (make-frame-on-display): Remove existing display-selection logic
5735 and just forward to make-frame, which will now DTRT.
5736 (make-frame): Restructure to use window-system-for-display to
5737 figure out how to create a frame on a given display.
5738 (display-mouse-p): Look for frame-type w32, not a particular
5739 system-type.
5740
5741 * loadup.el: Load w32 lisp code when we have the w32 feature.
5742
5743 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
5744 system-type windows-nt.
5745
5746 * server.el (server-create-window-system-frame): Look for window
5747 type.
5748 (server-proces-filter): Only force a window system when windows-nt
5749 _and_ w32. Explain why.
5750
5751 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
5752 of window systems we configure for the mode.
5753
5754 * startup.el (command-line): Mark window system is initialized
5755 after we've done it.
5756
5757 * common-win.el (x-select-text): Look for w32, not windows-nt.
5758
5759 * ns-win.el: Require cl-lib. Add ourselves to
5760 display-format-alist.
5761 (ns-initialize-window-system): Assert we're not initialized twice.
5762
5763 * w32-win.el: Enable lexical binding; require cl-lib; add
5764 ourselves to display-format-alist.
5765 (w32-handle-dropped-file): Convert incoming dropped files from
5766 Windows paths to Cygwin ones before passing them on to the rest of
5767 Emacs.
5768 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
5769 (w32-initialize-window-system): Assert we're not initialized twice.
5770
5771 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
5772 (x-initialize-window-system): Assert we're not initialized twice.
5773
5774 * w32-common-fns.el: New File.
5775 (w32-version, w32-using-nt, w32-get-clipboard-data)
5776 (w32-set-clipboard-data, x-set-selection, x-get-selection)
5777 (w32-charset-info-alist, x-last-selected, text)
5778 (x-get-selection-value, x-selection-value): Move here.
5779
5780 * w32-fns.el: Require w32-common-fns.
5781 (w32-version, w32-using-nt, w32-get-clipboard-data)
5782 (w32-set-clipboard-data, x-set-selection, x-get-selection)
5783 (w32-charset-info-alist, x-last-selected, text)
5784 (x-get-selection-value, x-selection-value): Move to
5785 w32-common-fns.
5786
5787 * w32-vars.el:
5788 (w32-allow-system-shell, w32-system-shells): Define only in
5789 non-cygwin case.
5790
5791 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5792
5793 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
5794 (read-passwd): Remove a few more potential sources of leaks.
5795
5796 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5797
5798 * progmodes/python.el (inferior-python-mode)
5799 (python-shell-make-comint): Fix initialization of local
5800 variables copied from parent buffer.
5801
5802 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
5803
5804 * term/ns-win.el (ns-read-file-name): Update declaration to match
5805 nsfns.m.
5806 (ns-respond-to-change-font): Change fontsize separately so we are sure
5807 it is set when font is acted upon.
5808
5809 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5810
5811 Enhancements to indentation.
5812 * progmodes/python.el (python-indent-context): Give priority to
5813 inside-string context. Make comments indentation markers.
5814 (python-indent-region): Do not mess with strings, unless it's the
5815 enclosing set of quotes.
5816
5817 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5818
5819 * window.el (internal--before-save-selected-window)
5820 (internal--after-save-selected-window): New functions extracted from
5821 save-selected-window. Make sure we return the `alist' we construct.
5822 (save-selected-window): Use them.
5823
5824 * textmodes/tex-mode.el (tex-recenter-output-buffer):
5825 Use with-selected-window.
5826
5827 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
5828 forms that define macros (bug#12593).
5829
5830 2012-10-07 Kenichi Handa <handa@gnu.org>
5831
5832 * international/mule-conf.el (compound-text-with-extensions):
5833 Add :mime-charset property as x-ctext.
5834
5835 2012-10-07 Stefan Merten <smerten@oekonux.de>
5836
5837 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
5838 (rst-indent-literal-normal, rst-indent-literal-minimized)
5839 (rst-indent-comment): Correct :version tag.
5840 (rst-official-cvs-rev): Correct version string.
5841
5842 2012-10-07 Glenn Morris <rgm@gnu.org>
5843
5844 * mail/rmailmm.el (rmail-mime-process-multipart):
5845 Do not confuse a multipart message with an epilogue
5846 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
5847
5848 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5849
5850 Fix shell output retrieval and comint-prompt-regexp init.
5851 * progmodes/python.el (inferior-python-mode):
5852 (python-shell-make-comint): Fix initialization of
5853 comint-prompt-regexp from copied file local variables.
5854 (python-shell-fetched-lines): Remove var.
5855 (python-shell-output-filter-in-progress): Rename from
5856 python-shell-fetch-lines-in-progress.
5857 (python-shell-output-filter-buffer): Rename from
5858 python-shell-fetch-lines-string.
5859 (python-shell-fetch-lines-filter): Delete function.
5860 (python-shell-output-filter): New function.
5861 (python-shell-send-string-no-output): Use them.
5862
5863 2012-10-07 Glenn Morris <rgm@gnu.org>
5864
5865 * hi-lock.el (hi-lock-process-phrase):
5866 Try to make it less fragile. (Bug#7161)
5867
5868 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
5869
5870 2012-10-06 Glenn Morris <rgm@gnu.org>
5871
5872 * ehelp.el (electric-help-mode): Use help-mode rather than
5873 non-existent mode `help'.
5874 (electric-help-map): Use button-buffer-map. (Bug#10917)
5875
5876 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
5877 (reftex-create-bibtex-footer): Fix custom types.
5878
5879 * progmodes/sh-script.el (sh-indent-after-continuation):
5880 Add explicit :group.
5881
5882 * textmodes/rst.el (rst-preferred-decorations)
5883 (rst-shift-basic-offset): Clarify obsolescence versions.
5884
5885 * profiler.el (profiler): Add missing group :version tag.
5886 * avoid.el (mouse-avoidance-banish-position):
5887 * proced.el (proced-renice-command):
5888 * calc/calc.el (calc-ensure-consistent-units):
5889 * calendar/icalendar.el (icalendar-import-format-uid):
5890 * net/tramp.el (tramp-save-ad-hoc-proxies):
5891 * progmodes/bug-reference.el (bug-reference-bug-regexp):
5892 * progmodes/flymake.el (flymake-error-bitmap)
5893 (flymake-warning-bitmap, flymake-fringe-indicator-position):
5894 * progmodes/sh-script.el (sh-indent-after-continuation):
5895 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
5896 (verilog-before-save-font-hook, verilog-after-save-font-hook):
5897 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
5898 (vhdl-array-index-record-field-in-sensitivity-list)
5899 (vhdl-indent-comment-like-next-code-line):
5900 * textmodes/reftex-vars.el (reftex-ref-style-alist)
5901 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
5902 (reftex-cite-key-separator, reftex-create-bibtex-header)
5903 (reftex-create-bibtex-footer):
5904 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
5905 (rst-indent-literal-normal, rst-indent-literal-minimized)
5906 (rst-indent-comment): Add missing custom :version tags.
5907
5908 * calendar/timeclock.el (timeclock-modeline-display):
5909 Add missing obsolete alias for renamed user option.
5910
5911 * strokes.el (strokes-modeline-string):
5912 * emulation/crisp.el (crisp-mode-modeline-string):
5913 * eshell/esh-mode.el (eshell-status-in-modeline):
5914 Aliases to defcustoms must come before the defcustom.
5915
5916 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
5917 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
5918 (cal-tex-cursor-week-monday): Doc fixes.
5919 (cal-tex-cursor-week2-summary): Doc fix.
5920 Rename from cal-tex-cursor-week-at-a-glance.
5921
5922 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
5923 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
5924
5925 * calendar/calendar.el (calendar-mode-map):
5926 Add cal-tex-cursor-week2-summary.
5927
5928 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
5929
5930 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
5931
5932 * subr.el (read-passwd-map): New var.
5933 (read-passwd): Use `read-string' again.
5934 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
5935
5936 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
5937
5938 * register.el (append-to-register, prepend-to-register):
5939 Deactivate mark, as does `copy-to-register' (bug#12389).
5940
5941 2012-10-06 Chong Yidong <cyd@gnu.org>
5942
5943 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
5944
5945 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
5946
5947 * international/characters.el: Fix simple mistake ((car chars) ->
5948 elt), delete duplicated code.
5949
5950 2012-10-06 Glenn Morris <rgm@gnu.org>
5951
5952 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
5953
5954 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
5955
5956 * color.el (color-hsl-to-rgb): Fix incorrect results for
5957 small and large hue values. (Bug#12559)
5958
5959 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
5960
5961 Enhancements to docstring formatting when filling paragraphs.
5962 * progmodes/python.el (python-fill-docstring-style): Rename from
5963 python-fill-string-style. Added new style.
5964 (python-fill-string): Use new style. Better checks for
5965 docstrings.
5966
5967 2012-10-05 Glenn Morris <rgm@gnu.org>
5968
5969 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
5970
5971 * color.el (color-name-to-rgb, color-rgb-to-hex)
5972 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
5973 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
5974 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
5975 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
5976
5977 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
5978
5979 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
5980
5981 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
5982 to get the correct size across symlinks.
5983
5984 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
5985
5986 2012-10-04 Juri Linkov <juri@jurta.org>
5987
5988 * replace.el (query-replace-interactive): Declare obsolete.
5989 (query-replace-read-from): Add the last incremental search string
5990 to the list of default values accessible via M-n.
5991 (map-query-replace-regexp): Use `read-regexp'.
5992 (query-replace, query-replace-regexp, query-replace-regexp-eval)
5993 (map-query-replace-regexp, replace-string, replace-regexp):
5994 Fix docstrings to replace mentions of `query-replace-interactive'
5995 with alternatives. (Bug#12526)
5996
5997 2012-10-04 Juri Linkov <juri@jurta.org>
5998
5999 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
6000 (dired-pop-to-buffer): Declare obsolete.
6001 (dired-mark-pop-up): Doc fix.
6002
6003 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
6004
6005 Allow user to set docstring style for fill-paragraph.
6006 * progmodes/python.el
6007 (python-fill-comment-function, python-fill-string-function)
6008 (python-fill-decorator-function, python-fill-paren-function):
6009 Remove :safe for defcustoms.
6010 (python-fill-string-style): New defcustom
6011 (python-fill-paragraph-function): Enhance context detection.
6012 (python-fill-string): Honor python-fill-string-style settings.
6013
6014 2012-10-04 Martin Rudalics <rudalics@gmx.at>
6015
6016 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
6017 after setting its buffer (Bug#10805).
6018
6019 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
6020
6021 Fix cornercase for string syntax.
6022 * progmodes/python.el (python-syntax-propertize-function):
6023 Simplify and enhance the regexp for unescaped quotes. Now it also
6024 matches quotes in weird situations like the single quote in
6025 "something\"'".
6026 (python-syntax-stringify): Simplify num-quotes detecting code.
6027
6028 2012-10-03 Glenn Morris <rgm@gnu.org>
6029
6030 * help-macro.el (three-step-help):
6031 Revert 2012-09-29 change. (Bug#12567)
6032
6033 2012-10-03 Martin Rudalics <rudalics@gmx.at>
6034
6035 * menu-bar.el (kill-this-buffer): Don't do anything when
6036 `menu-frame' is not alive or visible (Bug#8184).
6037
6038 * emacs-lisp/debug.el (debug): When quitting the debugger window
6039 restore current buffer (Bug#12502).
6040
6041 2012-10-02 Chong Yidong <cyd@gnu.org>
6042
6043 * progmodes/hideif.el (hif-lookup, hif-defined):
6044 Handle semantic-c-takeover-hideif.
6045
6046 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
6047
6048 Change sampling interval units from ms to ns.
6049 * profiler.el (profiler-sampling-interval): Change units
6050 from ms to ns, multiplying the default by 1000000 so that
6051 it remains 1 ms.
6052 (profiler-report-cpu-line-format): Give enough room for
6053 the maximum counters on 64-bit hosts.
6054 (profiler-report-render-calltree-1): Call them "CPU samples",
6055 not "Time (ms)", since they are not milliseconds now (and
6056 never really were).
6057
6058 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6059
6060 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
6061 Fix querying BBDB for entries without a last name (Bug#11580).
6062
6063 2012-10-02 Chong Yidong <cyd@gnu.org>
6064
6065 * emacs-lisp/eieio.el: Restore Version header.
6066
6067 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6068
6069 * vc/diff-mode.el (diff--auto-refine-data): New var.
6070 (diff-hunk): Use it to delay refinement.
6071 (diff-mode): Remove overlays when we turn off font-lock.
6072
6073 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
6074 (table-initialize-table-fixed-width-mode)
6075 (table-set-table-fixed-width-mode): Remove functions.
6076 (table-command-list): Move initialization into declaration.
6077 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
6078 (table-with-cache-buffer): Use `declare'.
6079 (table-span-cell): Simplify via CSE.
6080 (table-fixed-width-mode): Use define-minor-mode.
6081 (table-call-interactively, table-funcall, table-apply): Remove.
6082 (table-function): New function, to replace them.
6083
6084 * bookmark.el (bookmark-search-pattern): Remove var.
6085 (bookmark-read-search-input): Remove function.
6086 (bookmark-bmenu-search): Reimplement using a minibuffer.
6087
6088 * faces.el (modeline): Remove obsolete face name.
6089
6090 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
6091 and give a non-nil default value.
6092 (add-change-log-entry): Simplify accordingly.
6093
6094 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
6095
6096 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
6097 (vc-git-log-edit-toggle-amend): New function.
6098 (vc-git-log-edit-toggle-signoff): New function.
6099 (vc-git-log-edit-mode): New major mode.
6100 (vc-git-log-edit-mode-map): Keymap for it.
6101 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
6102
6103 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
6104 header names.
6105 (log-edit-toggle-header): New function.
6106 (log-edit-extract-headers): Accept function values in HEADERS alist.
6107
6108 2012-10-01 David Engster <deng@randomsample.de>
6109
6110 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
6111 from symbol property and change message to be more consistent with
6112 Emacs proper.
6113 (eieio-describe-generic): Add filename for each implementation.
6114 Fix indices for generic and normal methods.
6115 (eieio-method-def, eieio-class-def): New buttons.
6116 (eieio-help-find-method-definition)
6117 (eieio-help-find-class-definition): New functions.
6118 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
6119 class, constructor and method definitions.
6120
6121 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
6122 information in symbol property.
6123 (scoped-class): Remove.
6124 (eieio-slot-name-index, call-next-method): Check if it is bound.
6125
6126 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
6127
6128 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
6129 (eieio-custom-mode): New major mode.
6130 (eieio-customize-object): Use it.
6131
6132 2012-10-01 Eric Ludlam <zappo@gnu.org>
6133
6134 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
6135 specifying the expected class, and whether subclassing is allowed.
6136 (eieio-persistent-convert-list-to-object):
6137 (eieio-persistent-validate/fix-slot-value)
6138 (eieio-persistent-slot-type-is-class-p): New functions.
6139 (eieio-named::slot-missing): Doc fix.
6140
6141 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
6142 Stop using unused publd variable.
6143
6144 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
6145 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
6146 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
6147 (eieio-speedbar-handle-click): Do not specify a class for the
6148 method. Fixes method invocation order problems with EDE.
6149
6150 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6151
6152 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
6153 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
6154
6155 2012-10-01 Karl Fogel <kfogel@red-bean.com>
6156
6157 * bookmark.el (bookmark-version-control): Give tags in the
6158 :type choices (Bug#12309), and improve doc string.
6159 (bookmark-write-file): Bind `print-circle' to `t' to allow
6160 circular custom bookmark types. (Bug#12503)
6161
6162 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
6163
6164 Revert the FOLLOW-SYMLINKS change for file-attributes.
6165 * files.el (remote-file-name-inhibit-cache, after-find-file):
6166 * time.el (display-time-file-nonempty-p): Undo last change.
6167
6168 * profiler.el (profiler-sampling-interval): Change default back to 1.
6169 See Stefan Monnier in
6170 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
6171
6172 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
6173
6174 Shell output catching a la gud-gdb.
6175 * progmodes/python.el (python-shell-fetch-lines-in-progress)
6176 (python-shell-fetch-lines-string, python-shell-fetched-lines):
6177 New Vars.
6178 (python-shell-fetch-lines-filter): New function.
6179 (python-shell-send-string-no-output): Use them.
6180
6181 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
6182
6183 * profiler.el (profiler-sampling-interval): Rename from
6184 profiler-sample-interval.
6185 (profiler-sampling-interval): Default to 10.
6186 (profiler-find-profile): New command (was profiler-find-log).
6187 (profiler-find-profile-other-window): New command.
6188 (profiler-find-profile-other-frame): New command.
6189 (profiler-profile): Introduce API-level data structure.
6190
6191 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
6192
6193 file-attributes has a new optional arg FOLLOW-SYMLINKS.
6194 * files.el (remote-file-name-inhibit-cache):
6195 * time.el (display-time-file-nonempty-p): Use it.
6196 * files.el (after-find-file): Don't chase links before calling
6197 file-exists-p, as file-exists-p already does the right thing.
6198
6199 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
6200
6201 Merge from standalone RefTeX repository.
6202
6203 The following ChangeLog entries are shortened versions of the
6204 original ones with file paths adapted. A not so strongly edited
6205 version of the original ChangeLog can be found in the commit log.
6206
6207 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
6208 (reftex-arg-cite): Use `reftex-cite-key-separator'.
6209 Correctly handle new value type returned by `reftex-citation'.
6210
6211 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
6212 that entries with whitespace at various places are found.
6213 Doc fix. Include entries that are cross-referenced from cited entries.
6214 Include @String definitions in the resulting bib file. Add header
6215 and footer defined in `reftex-create-bibtex-header' and
6216 `reftex-create-bibtex-footer'.
6217 (reftex-do-citation): Make it possible again to insert
6218 non-existent entries. Save match data when asking for optional
6219 arguments. Return all keys, not just the first one.
6220 (reftex-all-used-citation-keys): Fix regexp to correctly extract
6221 all citations in the same line.
6222 (reftex-parse-bibtex-entry): Accept additional optional argument
6223 `raw' and keep quotes or braces if it is non-nil. Match fields
6224 containing hyphens besides word constituents.
6225 (reftex-get-string-refs): New function.
6226 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
6227 and ask if it should be reread in case it did.
6228 (reftex-pop-to-bibtex-entry)
6229 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
6230 entries with spaces or tabs in front of arguments.
6231 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6232 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
6233 Match entries containing numbers and symbol constituents.
6234 (reftex-do-citation, reftex-figure-out-cite-format):
6235 Use `reftex-cite-key-separator'.
6236
6237 * textmodes/reftex-dcr.el: Move provide statement to end of file.
6238 (reftex-mouse-view-crossref): Explain why point is set.
6239
6240 * textmodes/reftex-global.el: Whitespace changes.
6241
6242 * textmodes/reftex-index.el: Move provide statement to end of
6243 file.
6244 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
6245 (reftex-index-visit-phrases-buffer): Set marker when visiting
6246 buffer. This allows for returning from the phrases file to the
6247 file one was just editing instead of the file where the last
6248 phrases was added from.
6249 (reftex-index-phrases-syntax-table): New variable. Give ?\"
6250 punctuation syntax as it usually is not used as string quote in
6251 TeX-related modes and may occur unmatched. The change also
6252 prevents fontification of quoted content.
6253 (reftex-index-phrases-mode): Use it.
6254
6255 * textmodes/reftex-parse.el (reftex-parse-from-file):
6256 Move backward one char if a `\' was matched after a section macro.
6257 (reftex-parse-from-file): Use beginning of match instead of end as
6258 bound.
6259
6260 * textmodes/reftex-ref.el: Adapt creation of
6261 `reftex-<package>-<macro>' functions to new structure of
6262 `reftex-ref-style-alist'.
6263 (reftex-reference): Use `reftex-ref-style-list' function.
6264 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
6265 reference macro if `reftex-ref-macro-prompt' is non-nil.
6266 (reftex-reference): Pass refstyle to `reftex-format-special'.
6267 Determine reference macro by looking at
6268 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
6269 Use only one special format function.
6270 (reftex-varioref-vref, reftex-fancyref-fref)
6271 (reftex-fancyref-Fref): Remove definitions. The functions are now
6272 generated from `reftex-ref-style-alist'.
6273 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
6274 Remove.
6275 (reftex-format-special): New function.
6276
6277 * textmodes/reftex-sel.el
6278 (reftex-select-cycle-ref-style-internal): Adapt to new structure
6279 of `reftex-ref-style-alist'. Remove code for testing macro type.
6280 (reftex-select-toggle-varioref)
6281 (reftex-select-toggle-fancyref): Remove.
6282 (reftex-select-cycle-ref-style-internal)
6283 (reftex-select-cycle-ref-style-forward)
6284 (reftex-select-cycle-ref-style-backward): New functions.
6285 (reftex-select-label-map): Use `v' and `V' for general cycling
6286 through reference styles. Add `p' for switching between number
6287 and page reference types.
6288
6289 * textmodes/reftex-toc.el (reftex-re-enlarge):
6290 Call `enlarge-window' only if there is something to do because in Emacs
6291 the horizontal version throws an error even if the parameter is 0.
6292
6293 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
6294 (reftex-plug-into-AUCTeX): Doc fix.
6295 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
6296 string. Adapt to new name.
6297 (reftex-ref-style-alist): Change structure so that it is not
6298 possible to use multiple different package names within a style.
6299 Remove the symbols for symbols for macro type distinction.
6300 Add characters for macro selection.
6301 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
6302 (reftex-create-bibtex-footer): New variables.
6303 (reftex-format-ref-function): Mention third argument of special
6304 format function.
6305 (reftex-ref-style-alist, reftex-ref-style-default-list):
6306 New variables.
6307 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
6308 to new implementation. Mark as obsolete. Add compatibility code
6309 for honoring the variable values in case they are set.
6310 (reftex-cite-format-builtin, reftex-bibliography-commands):
6311 Add support for ConTeXt.
6312 (reftex-format-ref-function, reftex-format-cite-function):
6313 Fix custom type.
6314 (reftex-cite-key-separator): New variable.
6315
6316 * textmodes/reftex.el (reftex-syntax-table-for-bib)
6317 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
6318 `reftex-syntax-table' because parens have to retain their paren
6319 syntax in order for parsing of BibTeX entries like @book(...) to
6320 work.
6321 (reftex-in-comment): Do not error out if `comment-start-skip' is
6322 not set. Deal correctly with escaped comment characters.
6323 (reftex-tie-multifile-symbols): Add doc string.
6324 Initialize `reftex-ref-style-list'.
6325 (reftex-untie-multifile-symbols): Add doc string.
6326 (reftex-add-index-macros): Doc fix.
6327 (reftex-ref-style-activate, reftex-ref-style-toggle)
6328 (reftex-ref-style-list): New functions.
6329 (reftex-mode-menu): Use them. Adapt to new structure of
6330 `reftex-ref-style-alist'.
6331 (reftex-select-with-char): Kill the RefTeX Select buffer when
6332 done.
6333 (reftex-remove-if): New function.
6334 (reftex-erase-all-selection-and-index-buffers)
6335 (reftex-mode-menu): Reference styles are now computed from
6336 `reftex-ref-style-alist'. Fix typo.
6337 (reftex-report-bug): New function.
6338 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
6339 algorithms with O(n log n). Introduce optional argument SORT (not
6340 yet used).
6341
6342 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
6343
6344 Enhancements for triple-quote string syntax.
6345 * progmodes/python.el (python-syntax-propertize-function):
6346 Match both quote cases in one regexp.
6347 (python-syntax-stringify): Handle matches properly.
6348
6349 2012-09-30 Juri Linkov <juri@jurta.org>
6350
6351 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
6352 to nil around the call to `insert' to prevent
6353 directory time modification by lock_file. (Bug#2295)
6354 * tar-mode.el (tar-summarize-buffer): Idem.
6355
6356 2012-09-30 Juri Linkov <juri@jurta.org>
6357
6358 * facemenu.el (list-colors-sort): Add option "Luminance".
6359 (list-colors-sort-key): Implement it.
6360
6361 * vc/diff-mode.el (diff-refine-removed):
6362 * vc/ediff-init.el (ediff-fine-diff-A):
6363 * vc/smerge-mode.el (smerge-refined-removed):
6364 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
6365
6366 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
6367
6368 * term/ns-win.el (x-file-dialog): New function.
6369
6370 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
6371
6372 * ido.el (ido-max-directory-size): Default to nil; the current
6373 default is small for POSIX systems, and impractical on Windows 7
6374 now that lstat returns directory sizes for NTFS.
6375
6376 2012-09-30 Martin Rudalics <rudalics@gmx.at>
6377
6378 In buffer display functions handle window-height/window-width
6379 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
6380 * window.el (window--display-buffer): New argument ALIST.
6381 Obey window-height and window-width alist entries.
6382 (window--try-to-split-window): New argument ALIST.
6383 Bind window-combination-limit to t when the window's size shall be
6384 changed and window-combination-limit equals `window-size'.
6385 (display-buffer-in-atom-window)
6386 (display-buffer-in-major-side-window)
6387 (display-buffer-in-side-window, display-buffer-same-window)
6388 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6389 (display-buffer-pop-up-window, display-buffer-below-selected)
6390 (display-buffer-at-bottom, display-buffer-in-previous-window)
6391 (display-buffer-use-some-window): Adjust all callers of
6392 window--display-buffer and window--try-to-split-window.
6393 (fit-frame-to-buffer): New option.
6394 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
6395 is non-nil.
6396 (display-buffer-in-major-side-window): Evaluate window-height /
6397 window-width alist entries.
6398
6399 * help.el (temp-buffer-resize-frames)
6400 (temp-buffer-resize-regexps): Remove options.
6401 (temp-buffer-resize-mode): Adjust doc-string.
6402 (resize-temp-buffer-window): Don't consult
6403 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
6404 temp-buffer-resize-frames.
6405
6406 * dired.el (dired-mark-pop-up):
6407 Call display-buffer-below-selected with a fit-window-to-buffer alist
6408 entry.
6409
6410 2012-09-30 Chong Yidong <cyd@gnu.org>
6411
6412 * server.el (server-host): Document the security implications.
6413 (server-auth-key): Doc fix.
6414
6415 * startup.el (initial-buffer-choice): Doc fix.
6416
6417 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
6418
6419 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
6420 restriction change.
6421
6422 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
6423
6424 * help-fns.el (help-fns--obsolete): Fix last change.
6425
6426 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
6427
6428 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
6429 (minor-mode-map-alist): Remove redundant code.
6430
6431 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
6432 visited in a buffer.
6433 (cvs-insert-visited-file): New function.
6434 (find-file-hook): Use it.
6435
6436 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
6437
6438 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
6439 chose face.
6440 (log-edit-empty-buffer-p): Don't require a space after a header.
6441
6442 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
6443
6444 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
6445
6446 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
6447 a proper minor-mode.
6448
6449 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
6450
6451 2012-09-29 Glenn Morris <rgm@gnu.org>
6452
6453 * winner.el (winner-mode): Remove variable (let define-minor-mode
6454 handle it).
6455 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
6456 Doc fixes.
6457 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
6458 (winner-mode): Use define-minor-mode.
6459
6460 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
6461 the full definition in loaddefs, rather than duplicating it.
6462
6463 * help-macro.el (three-step-help): No need to autoload defcustom.
6464
6465 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
6466 (inferior-lisp-program, inferior-lisp-load-command)
6467 (inferior-lisp-prompt, inferior-lisp-mode-hook):
6468 No need to autoload defcustoms.
6469
6470 * hippie-exp.el (hippie-expand-try-functions-list)
6471 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
6472 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
6473 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
6474 (hippie-expand-only-buffers): No need to autoload defcustoms.
6475 * progmodes/vhdl-mode.el (vhdl-line-expand):
6476 Explicitly load hippie-exp, so it does not get autoloaded
6477 while hippie-expand-try-functions-list is let-bound.
6478
6479 2012-09-28 Glenn Morris <rgm@gnu.org>
6480
6481 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
6482
6483 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
6484 Only "cl.el" counts as cl these days.
6485
6486 2012-09-28 Juri Linkov <juri@jurta.org>
6487
6488 Display archive errors in the echo area instead of inserting
6489 to the file buffer.
6490
6491 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
6492 to STDERR-TEST that can be a regexp matching a successful output.
6493 Create a temporary file and redirect stderr to it. Search for
6494 STDERR-TEST in the stderr output and display it in the echo area
6495 if no match is found.
6496 (archive-extract-by-file): New function like
6497 `archive-extract-by-stdout' but extracting archives to files
6498 and looking for successful matches in stdout. Function body is
6499 mostly copied from `archive-rar-extract'.
6500 (archive-rar-extract): Use `archive-extract-by-file'.
6501 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
6502
6503 2012-09-28 Leo Liu <sdl.web@gmail.com>
6504
6505 * pcomplete.el (pcomplete-show-completions):
6506 Use minibuffer-message to make pcomplete usable in minibuffer.
6507
6508 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
6509
6510 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6511
6512 * type-break.el: Use lexical-binding.
6513 (type-break-mode): Use define-minor-mode.
6514
6515 * emacs-lisp/pcase.el (pcase--mark-used): New.
6516 (pcase--u1): Use it (bug#12512).
6517
6518 * custom.el (load-theme): Set buffer-file-name so the load is recorded
6519 in load-history with the right file name.
6520
6521 2012-09-28 Tassilo Horn <tsdh@gnu.org>
6522
6523 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
6524 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
6525 (doc-view-get-bounding-box): Make bounding box slicing work for
6526 ODF and DVI documents.
6527
6528 2012-09-28 Glenn Morris <rgm@gnu.org>
6529
6530 * type-break.el (type-break-mode, type-break-interval)
6531 (type-break-good-rest-interval, type-break-keystroke-threshold):
6532 No need to autoload.
6533 (type-break-good-rest-interval, type-break-keystroke-threshold):
6534 Add :set-after.
6535
6536 2012-09-28 Chong Yidong <cyd@gnu.org>
6537
6538 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
6539 Add :version tag.
6540
6541 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6542
6543 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
6544
6545 2012-09-27 Glenn Morris <rgm@gnu.org>
6546
6547 * faces.el (x-display-name): Declare (for without-x builds).
6548
6549 * linum.el (linum-format): Don't autoload it. Improve :type.
6550
6551 * progmodes/tcl.el: Don't require outline when compiling.
6552 (outline-regexp, outline-level): Declare.
6553 * textmodes/sgml-mode.el: Don't require outline when compiling.
6554 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
6555
6556 * term.el (term-ansi-reset):
6557 Try setting term-ansi-face-already-done to nil. (Bug#11785)
6558
6559 * vc/vc.el (vc-next-action): Only gripe about committing read-only
6560 files for RCS and SCCS. (Bug#9781)
6561
6562 2012-09-27 Chong Yidong <cyd@gnu.org>
6563
6564 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
6565 change; value should be t.
6566
6567 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6568
6569 * image-mode.el: Use lexical-binding.
6570 (image-mode-winprops): Use t to stand for the window of
6571 a buffer that's not displayed.
6572 * doc-view.el (doc-view-new-window-function): Handle the new
6573 t in winprops.
6574 (doc-view-enlarge): Make it a real nop if the size is not changed.
6575 (doc-view-display): Handle the case where the buffer is not (yet?)
6576 displayed in any window.
6577 (doc-view-saved-settings): New var.
6578 (doc-view-mode): Use it.
6579 (doc-view-fallback-mode): Set it.
6580
6581 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
6582 Set lexical-binding.
6583 (minibuffer-eldef-shorten-default): New var.
6584 (minibuffer-default-in-prompt-regexps): Use it for new default.
6585 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
6586
6587 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
6588
6589 * international/uni-bidi.el:
6590 * international/uni-category.el:
6591 * international/uni-name.el:
6592 * international/uni-numeric.el: Regenerate.
6593
6594 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
6595 Stefan Monnier <monnier@iro.umontreal.ca>
6596
6597 * profiler.el: New file.
6598
6599 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
6600
6601 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
6602 (testcover-reinstrument): Simplify with CSE.
6603
6604 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
6605
6606 * window.el (temp-buffer-window-setup): Fix typo in docstring.
6607
6608 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
6609
6610 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
6611 (verilog-auto-input, verilog-auto-insert-lisp)
6612 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
6613 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
6614 (verilog-auto-unused, verilog-auto-wire)
6615 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
6616 newline. Reported by Andrew Jones.
6617 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
6618 Reported by Brad Dobbie.
6619 (verilog-batch-delete-trailing-whitespace):
6620 Create verilog-batch-delete-trailing-whitespace.
6621 Reported by Brad Dobbie.
6622 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
6623 parameters from another module. Reported by Dan Katz.
6624 (verilog-auto, verilog-auto-assign-modport)
6625 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
6626 AUTOINOUTMODPORT for UVM interface module shell generation.
6627 Reported by Brad Dobbie.
6628 (verilog-auto-inst-interfaced-ports): Make default nil, as more
6629 standard behavior.
6630 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
6631 Reported by Matt Martin.
6632
6633 2012-09-25 Martin Rudalics <rudalics@gmx.at>
6634
6635 * window.el (window--resize-child-windows): When resizing child
6636 windows proportionally, process them in reverse order to
6637 preserve the "when splitting a window the new one gets the odd
6638 line" behavior.
6639 (window--resize-root-window-vertically): When resizing the
6640 minibuffer window try to affect only windows at the bottom of the
6641 frame. (Bug#12419)
6642
6643 2012-09-25 Chong Yidong <cyd@gnu.org>
6644
6645 * subr.el (declare): Doc fix.
6646
6647 * help-fns.el (help-fns--obsolete): Handle macros properly.
6648
6649 2012-09-25 Chong Yidong <cyd@gnu.org>
6650
6651 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
6652 this function obsolete.
6653
6654 * calendar/cal-x.el (calendar-two-frame-setup)
6655 (calendar-only-one-frame-setup, calendar-one-frame-setup):
6656 * calendar/calendar.el (american-calendar, european-calendar)
6657 (calendar-for-loop):
6658 * comint.el (comint-dynamic-simple-complete)
6659 (comint-dynamic-complete-as-filename, comint-unquote-filename):
6660 * desktop.el (desktop-load-default):
6661 * dired-x.el (dired-omit-here-always)
6662 (dired-hack-local-variables, dired-default-directory):
6663 * emacs-lisp/derived.el (derived-mode-class):
6664 * emacs-lisp/timer.el (timer-set-time-with-usecs):
6665 * emacs-lock.el (toggle-emacs-lock):
6666 * epa.el (epa-display-verify-result):
6667 * epg.el (epg-sign-keys, epg-start-sign-keys)
6668 (epg-passphrase-callback-function):
6669 * eshell/esh-util.el (eshell-for):
6670 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
6671 (eshell-add-to-window-buffer-names):
6672 * files.el (locate-file-completion):
6673 * imenu.el (imenu-example--create-c-index)
6674 (imenu-example--create-lisp-index)
6675 (imenu-example--lisp-extract-index-name)
6676 (imenu-example--name-and-position):
6677 * international/mule-cmds.el (princ-list):
6678 * international/mule-diag.el (decode-codepage-char):
6679 * international/mule-util.el (detect-coding-with-priority):
6680 * iswitchb.el (iswitchb-read-buffer):
6681 * mail/mailalias.el (mail-complete):
6682 * mail/sendmail.el (mail-sent-via):
6683 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
6684 (mouse-major-mode-menu):
6685 * password-cache.el (password-read-and-add):
6686 * pcomplete.el (pcomplete-parse-comint-arguments):
6687 * progmodes/sh-script.el (sh-maybe-here-document):
6688 * replace.el (query-replace-regexp-eval):
6689 * savehist.el (savehist-load):
6690 * simple.el (choose-completion-delete-max-match):
6691 * term.el (term-dynamic-simple-complete):
6692 * vc/ediff-init.el (ediff-check-version):
6693 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
6694 * vc/vc.el (vc-diff-switches-list):
6695 * view.el (view-return-to-alist-update): Likewise.
6696
6697 * subr.el (eval-next-after-load, makehash, insert-string)
6698 (assoc-ignore-representation, assoc-ignore-case): Use declare to
6699 mark obsolete.
6700 (mode-line-inverse-video): Variable deleted.
6701
6702 * international/mule-util.el (string-to-sequence): Remove.
6703
6704 * calendar/calendar.el (calendar-version):
6705 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
6706 (icalendar-convert-diary-to-ical):
6707 * cus-edit.el (custom-mode):
6708 * ansi-color.el (ansi-color-unfontify-region):
6709 * international/latin1-disp.el (latin1-char-displayable-p):
6710 * progmodes/cwarn.el (turn-on-cwarn-mode):
6711 * progmodes/which-func.el (which-func-update-1):
6712 Use define-obsolete-function-alias.
6713
6714 * net/newst-backend.el (newsticker-cache-filename):
6715 * net/newst-treeview.el (newsticker-groups-filename):
6716 Fix incorrect obsolescence declaration.
6717
6718 * allout.el (allout-passphrase-hint-string): Likewise.
6719 (allout-init): Use a declare form to mark obsolete.
6720
6721 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
6722 this applies to functions.
6723
6724 * iswitchb.el (iswitchb-read-buffer): Move code of
6725 iswitchb-define-mode-map here, and delete that obsolete function.
6726
6727 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
6728 font-lock-reference-face.
6729
6730 2012-09-25 Glenn Morris <rgm@gnu.org>
6731
6732 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
6733 Doc fixes.
6734
6735 * eshell/em-term.el (eshell-term-name):
6736 Default to term-term-name. (Bug#12485)
6737
6738 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
6739
6740 * progmodes/python.el (python-shell-send-buffer): Better handling
6741 of "if __name__ == '__main__':" conditionals when sending the buffer.
6742
6743 2012-09-24 Glenn Morris <rgm@gnu.org>
6744
6745 * eshell/esh-cmd.el (eshell-find-alias-function):
6746 Tighten up file-name regexp. (Bug#12499)
6747
6748 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
6749
6750 Enhancements for triple-quote string syntax.
6751 * progmodes/python.el (python-quote-syntax): Remove.
6752 (python-syntax-propertize-function): New value.
6753 (python-syntax-count-quotes, python-syntax-stringify):
6754 New functions.
6755
6756 2012-09-24 Chong Yidong <cyd@gnu.org>
6757
6758 * mail/supercite.el (sc-version): Remove obsolete function.
6759 (sc-describe): Don't mark as obsolete, since it is bound.
6760 (sc-submit-bug-report): Remove.
6761
6762 * vc/log-edit.el (cvs-changelog-full-paragraphs)
6763 (cvs-commit-buffer-require-final-newline): Remove.
6764 (log-edit-require-final-newline)
6765 (log-edit-changelog-full-paragraphs): Default to t.
6766
6767 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
6768 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
6769 * vc/vc.el (vc-checkout-carefully): Likewise.
6770
6771 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
6772 (emerge-version): Remove.
6773
6774 * progmodes/compile.el (compile-internal): Remove.
6775 (compilation-parse-errors-function): Fix typo.
6776
6777 * international/mule.el (set-char-table-default): Remove.
6778 (set-coding-priority, make-coding-system, generic-char-p)
6779 (charset-list, charset-bytes, charset-id): Use declare to mark
6780 functions as obsolete.
6781
6782 * vc/pcvs-defs.el (cvs-buffer-name-alist)
6783 (cvs-invert-ignore-marks): Remove references to obsolete vars.
6784 * vc/vc-hooks.el (vc-default-registered): Don't use
6785 vc-master-templates.
6786
6787 * font-lock.el (font-lock-reference-face):
6788 Use define-obsolete-variable-alias.
6789
6790 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
6791 * calendar/calendar.el (calendar-font-lock-keywords):
6792 * calendar/diary-lib.el (diary-font-lock-keywords)
6793 (diary-fancy-font-lock-keywords):
6794 * textmodes/reftex-sel.el (reftex-insert-docstruct):
6795 * textmodes/reftex-index.el (reftex-insert-index):
6796 * textmodes/reftex-cite.el (reftex-format-bib-entry):
6797 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6798 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
6799 * progmodes/prolog.el (prolog-font-lock-keywords):
6800 * progmodes/idlwave.el (idlwave-idl-keywords):
6801 * progmodes/ada-mode.el (ada-font-lock-keywords):
6802 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
6803
6804 2012-09-24 Glenn Morris <rgm@gnu.org>
6805
6806 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
6807
6808 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
6809
6810 * progmodes/python.el (python-indent-line): More consistent cursor
6811 movement behavior.
6812
6813 2012-09-23 Stefan Merten <smerten@oekonux.de>
6814
6815 * textmodes/rst.el: Fix compiler warning.
6816
6817 2012-09-23 Roland Winkler <winkler@gnu.org>
6818
6819 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
6820 Transcribe also LaTeX hyphenation.
6821 (bibtex-reformat): Bug fix. Do not quote twice the elements of
6822 bibtex-reformat-previous-options.
6823
6824 2012-09-23 Roland Winkler <winkler@gnu.org>
6825
6826 * proced.el (proced-renice-command): New variable.
6827 (proced-marked-processes): New function.
6828 (proced-with-processes-buffer): New macro.
6829 (proced-send-signal): Use them.
6830 (proced-renice): New command bound to r.
6831
6832 2012-09-23 Roland Winkler <winkler@gnu.org>
6833
6834 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
6835 ibuffer-saved-filter-groups has one element, shortcut the call of
6836 completing-read. (Bug#12331)
6837
6838 2012-09-23 Chong Yidong <cyd@gnu.org>
6839
6840 * bindings.el (mode-line-toggle-read-only):
6841 * bs.el (bs-toggle-readonly):
6842 * buff-menu.el (Buffer-menu-toggle-read-only):
6843 * dired.el (dired-toggle-read-only):
6844 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
6845
6846 2012-09-23 Chong Yidong <cyd@gnu.org>
6847
6848 * image.el (image-type-available-p): Adapt to init-image-library
6849 argument changes.
6850
6851 2012-09-22 Juri Linkov <juri@jurta.org>
6852
6853 * dired.el (dired-mode-map): Add [remap read-only-mode] for
6854 `dired-toggle-read-only'. (Bug#12462)
6855
6856 2012-09-22 Martin Rudalics <rudalics@gmx.at>
6857
6858 * subr.el (temp-output-buffer-show): New function.
6859 (with-output-to-temp-buffer): Call temp-output-buffer-show
6860 instead of internal-temp-output-buffer-show.
6861
6862 2012-09-22 Chong Yidong <cyd@gnu.org>
6863
6864 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
6865 (Bug#12462).
6866
6867 * repeat.el (repeat): Doc fix (Bug#12348).
6868
6869 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
6870 (Bug#10909).
6871
6872 * simple.el (shell-command-on-region): Doc fix.
6873 (read-only-mode): Doc fix.
6874
6875 2012-09-22 Eli Zaretskii <eliz@gnu.org>
6876
6877 * emacs-lisp/timer.el (run-with-idle-timer)
6878 (timer-activate-when-idle): Warn against reinvoking an idle timer
6879 from within its own timer action. (Bug#12447)
6880
6881 2012-09-22 Martin Rudalics <rudalics@gmx.at>
6882
6883 * cus-start.el (window-combination-limit): Add new optional
6884 values.
6885 * window.el (temp-buffer-window-show)
6886 (window--try-to-split-window): Handle new values of
6887 window-combination-limit (Bug#1806).
6888 (split-window): Test window-combination-limit for t instead of
6889 non-nil.
6890 (display-buffer-at-bottom): New buffer display action function.
6891 * help.el (temp-buffer-resize-regexps): New option.
6892 (temp-buffer-resize-mode): Rewrite doc-string.
6893 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
6894 Don't resize reused window. Suggested by Glenn Morris.
6895
6896 2012-09-22 Stefan Merten <smerten@oekonux.de>
6897
6898 * textmodes/rst.el: Revamp section title faces.
6899 (rst-official-version)
6900 (rst-package-emacs-version-alist): Sync with official version
6901 V1.4.0.
6902 (rst-faces-defaults, rst-set-level-default)
6903 (rst-level-face-max, rst-level-face-base-color)
6904 (rst-level-face-base-light, rst-level-face-format-light)
6905 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
6906 (rst-adornment-faces-alist): Match new setup.
6907 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
6908 (rst-level-5, rst-level-6): New faces.
6909
6910 2012-09-22 Chong Yidong <cyd@gnu.org>
6911
6912 * simple.el (undo): Handle indirect buffers (Bug#8207).
6913
6914 2012-09-21 Leo Liu <sdl.web@gmail.com>
6915
6916 IDO: Disable match re-ordering for buffer switching.
6917 * ido.el (ido-buffer-disable-smart-matches): New variable.
6918 (ido-set-matches-1): Use it. (Bug#2042)
6919
6920 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
6921
6922 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
6923 Fix 2011-05-17 change. (Bug#12418)
6924
6925 2012-09-21 Leo Liu <sdl.web@gmail.com>
6926
6927 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
6928
6929 2012-09-21 Glenn Morris <rgm@gnu.org>
6930
6931 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
6932 Be more robust about locating simple.el.
6933
6934 2012-09-21 Glenn Morris <rgm@gnu.org>
6935
6936 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
6937
6938 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
6939
6940 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
6941
6942 2012-09-20 Juri Linkov <juri@jurta.org>
6943
6944 * replace.el (query-replace-read-from): Use `read-regexp' instead
6945 of `read-from-minibuffer' when `regexp-flag' is non-nil.
6946 (occur-read-primary-args): Use `read-regexp' instead of
6947 `read-string'.
6948 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
6949 `read-from-minibuffer'.
6950 * isearch.el (isearch-occur): Use `read-regexp' instead of
6951 `read-string'.
6952 * dired.el (dired-read-regexp): Use `read-regexp' instead of
6953 `read-from-minibuffer'.
6954 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
6955 of `read-string'. (Bug#7567)
6956
6957 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
6958 and allow accepting a list of strings prepended to a list of
6959 standard default values. Doc fix. (Bug#12321)
6960
6961 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
6962
6963 * replace.el (read-regexp): Don't add ": " when PROMPT already
6964 ends with a colon and space. (Bug#12321)
6965
6966 2012-09-20 Tassilo Horn <tsdh@gnu.org>
6967
6968 * doc-view.el (doc-view-display): Better fix for the cl-assertion
6969 error.
6970
6971 2012-09-20 Stefan Merten <smerten@oekonux.de>
6972
6973 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
6974 Fixes feature request bug#11711.
6975 (rst-mode): Create `imenu-create-index-function'.
6976 (rst-get-stripped-line): Delete after refactoring.
6977 (rst-section-tree, rst-section-tree-rec)
6978 (rst-section-tree-point): Refactor and document properly.
6979 (rst-imenu-find-adornments-for-position)
6980 (rst-imenu-convert-cell, rst-imenu-create-index):
6981 New function.
6982
6983 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6984
6985 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
6986 (macroexp--expand-all): Use it.
6987 (macroexp--funcall-and-return): Remove by folding it into its sole
6988 caller (macroexp--warn-and-return).
6989 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
6990 Use macroexp--obsolete-warning.
6991
6992 * calc/calc.el: Fix last change by removing the whole chunk, since it
6993 was only needed back when Calc was not bundled.
6994
6995 2012-09-20 Martin Rudalics <rudalics@gmx.at>
6996
6997 * emacs-lisp/debug.el (debug): Restore assignment to
6998 debugger-old-buffer removed on 2012-09-08.
6999
7000 2012-09-20 Juri Linkov <juri@jurta.org>
7001
7002 * dired-aux.el (dired-diff): Remove (require 'diff) since
7003 `diff-latest-backup-file' is now autoloaded.
7004
7005 2012-09-20 Chong Yidong <cyd@gnu.org>
7006
7007 * vc/diff.el (diff-latest-backup-file): Autoload.
7008
7009 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7010
7011 * calc/calc.el: Remove redundant autoload shape check.
7012 (sel-mode): Don't defvar.
7013 (calc-get-stack-element): Add `sel-mode' arg instead.
7014 (calc-top, calc-top-list): Pass it this additional argument.
7015 * calc/calc-store.el (calc-store-map):
7016 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
7017 (calc-map-equation, calc-outer-product, calc-inner-product):
7018 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
7019
7020 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
7021
7022 2012-09-19 Juri Linkov <juri@jurta.org>
7023
7024 * dired-aux.el (dired-diff): Add (require 'diff) because
7025 `diff-latest-backup-file' is not autoloaded.
7026 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
7027 of `dired-get-filename' to t to not report error when there is
7028 no default file on the current line.
7029
7030 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7031
7032 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
7033 macroexp--eval-if-compile.
7034 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
7035 (macroexp--expand-all): Use them (bug#12371).
7036
7037 * doc-view.el (doc-view-guess-paper-size)
7038 (doc-view-scale-bounding-box): Fix unbound `caddr'.
7039
7040 2012-09-19 Tassilo Horn <tsdh@gnu.org>
7041
7042 New feature: set optimal slice from BoundingBox information.
7043 * doc-view.el (doc-view-mode-map): Add keybinding.
7044 (doc-view-menu): Add menu entry.
7045 (doc-view-set-slice): Adapt docstring.
7046 (doc-view-get-bounding-box, doc-view-guess-paper-size)
7047 (doc-view-scale-bounding-box)
7048 (doc-view-set-slice-from-bounding-box): New functions.
7049 (doc-view-paper-sizes): New defvar.
7050
7051 2012-09-19 Glenn Morris <rgm@gnu.org>
7052
7053 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
7054 (byte-compile-log-warning): Autoload. (Bug#12371)
7055
7056 * calendar/calendar.el (calendar-american-month-header)
7057 (calendar-european-month-header, calendar-iso-month-header)
7058 (calendar-month-header): New options.
7059 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
7060 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
7061
7062 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
7063
7064 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
7065
7066 2012-09-18 Juri Linkov <juri@jurta.org>
7067
7068 * dired-aux.el (dired-diff): Restore original functionality of
7069 getting the default value, but keep new feature of using the
7070 latest existing backup file (`diff-latest-backup-file').
7071
7072 2012-09-18 Juri Linkov <juri@jurta.org>
7073
7074 * dired.el (dired-mark): If the region is active in Transient Mark
7075 mode, mark all files in the active region. Doc fix.
7076 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
7077 Doc fix. (Bug#10624)
7078
7079 2012-09-18 Juri Linkov <juri@jurta.org>
7080
7081 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
7082 attributes for M-n are pulled from the file at point.
7083 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
7084 Suggested by Drew Adams. (Bug#10624)
7085
7086 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
7087
7088 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
7089 whitespace after "end".
7090 (ruby-do-end-to-brace): Collapse block to one line if it fits
7091 within fill-column.
7092
7093 2012-09-18 Martin Rudalics <rudalics@gmx.at>
7094
7095 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
7096 value.
7097 (debug): Don't remove debugger window when debugger is expected
7098 to be back.
7099
7100 2012-09-18 Chong Yidong <cyd@gnu.org>
7101
7102 * custom.el (defface): Doc fix.
7103
7104 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
7105
7106 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
7107
7108 * progmodes/compile.el (compilation-start): Use compilation-always-kill
7109 to initialize query-on-exit; then test that instead (bug#12288).
7110
7111 2012-09-17 Stefan Merten <smerten@oekonux.de>
7112
7113 * textmodes/rst.el: Add support for `testcover'.
7114 (rst-defcustom-testcover, rst-testcover-add-compose)
7115 (rst-testcover-add-1value): New functions.
7116 (rst-portable-mark-active-p): Replace by `use-region-p'.
7117 (rst-update-section, rst-classify-adornment)
7118 (rst-find-title-line): Mark `1value' forms.
7119 (rst-classify-adornment): Remove superfluous form.
7120 (rst-update-section, rst-get-adornments-around)
7121 (rst-adornment-complete-p, rst-get-next-adornment)
7122 (rst-adjust, rst-promote-region)
7123 (rst-display-adornments-hierarchy, rst-straighten-adornments)
7124 (rst-find-pfx-in-region, rst-section-tree-rec)
7125 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
7126 (rst-toc-node, rst-toc, rst-forward-section)
7127 (rst-iterate-leftmost-paragraphs)
7128 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
7129 (rst-bullet-list-region)
7130 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
7131 (rst-compile-find-conf, rst-compile)
7132 (rst-repeat-last-character): Fix style.
7133
7134 2012-09-17 Chong Yidong <cyd@gnu.org>
7135
7136 * comint.el (comint--complete-file-name-data): Don't add a space
7137 if the status is `sole'; that adds a gratuitous space in the
7138 completion-cycling case (Bug#12092).
7139
7140 * pcomplete.el (pcomplete-completions-at-point): Likewise.
7141
7142 2012-09-17 Richard Stallman <rms@gnu.org>
7143
7144 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
7145 only in the mime-shown mode, not in raw mode.
7146 (rmail-mime): Toggle off mime by displaying the message without
7147 mime processing. (Bug#12305)
7148
7149 * mail/rmail.el (rmail-retry-failure):
7150 Turn off mime processing first. (Bug#12037)
7151
7152 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
7153
7154 2012-09-17 Chong Yidong <cyd@gnu.org>
7155
7156 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
7157 (shell-dynamic-complete-functions): Convert to defcustom.
7158 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
7159
7160 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
7161 * comint.el (comint-prompt-read-only):
7162 * custom.el (defcustom):
7163 * hi-lock.el (hi-lock-mode):
7164 * ibuffer.el (ibuffer-formats):
7165 * ielm.el (ielm-prompt-read-only):
7166 * novice.el (disable-command):
7167 * saveplace.el (toggle-save-place):
7168 * speedbar.el (speedbar-supported-extension-expressions):
7169 * startup.el (auto-save-list-file-prefix, init-file-user)
7170 (after-init-hook, inhibit-startup-echo-area-message):
7171 * strokes.el (strokes-help):
7172 * time-stamp.el (time-stamp):
7173 * calendar/calendar.el (calendar, diary-file):
7174 * calendar/diary-lib.el (diary-mail-entries, diary)
7175 (diary-list-entries-hook):
7176 * calendar/holidays.el (holidays, calendar-holidays):
7177 * calendar/lunar.el (lunar-phases):
7178 * calendar/solar.el (sunrise-sunset):
7179 * emulation/edt.el (edt-load-keys):
7180 * emulation/viper.el (viper-mode):
7181 * eshell/em-alias.el (eshell-command-aliases-list):
7182 * eshell/esh-util.el (eshell-convert-numeric-arguments):
7183 * international/ogonek.el (ogonek-information):
7184 * net/tramp-cmds.el (tramp-bug):
7185 * net/quickurl.el (quickurl-reread-hook-postfix):
7186 * play/decipher.el (decipher-font-lock-keywords):
7187 * progmodes/cc-styles.el (c-set-style):
7188 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
7189 * progmodes/inf-lisp.el (inferior-lisp-prompt):
7190 * progmodes/octave-mod.el (octave-mode):
7191 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
7192 * progmodes/verilog-mode.el (verilog-read-defines):
7193 * textmodes/two-column.el (2C-mode): Likewise.
7194
7195 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
7196
7197 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
7198 that holds many addresses.
7199
7200 2012-09-16 Chong Yidong <cyd@gnu.org>
7201
7202 * align.el (align-areas): Call the indication function with
7203 positions instead of markers for arguments (Bug#12343).
7204
7205 * files.el (parse-colon-path): Use split-string (Bug#12351).
7206
7207 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
7208 (display-buffer-function): Mark as obsolete.
7209
7210 * progmodes/compile.el (compilation-parse-errors): Accept list
7211 values similar to font-lock-keywords (Bug#12136).
7212 Suggested by Oleksandr Manzyuk.
7213 (compilation-error-regexp-alist): Doc fix.
7214
7215 2012-09-15 Glenn Morris <rgm@gnu.org>
7216
7217 * version.el (emacs-bzr-version-bzr): New function.
7218 (emacs-bzr-get-version): Add optional EXTERNAL argument.
7219
7220 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
7221 checkouts, check the parent dirstate matches the branch.
7222 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
7223 empty string.
7224
7225 * version.el (emacs-bzr-version): Doc fix.
7226 (emacs-bzr-version-dirstate): New function.
7227 (emacs-bzr-get-version): For lightweight checkouts, if the parent
7228 is local try and check that it matches the branch. If not, just
7229 use dirstate information. (Bug#12441)
7230
7231 2012-09-14 Juri Linkov <juri@jurta.org>
7232
7233 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
7234 (Bug#12399)
7235
7236 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7237
7238 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
7239
7240 * emacs-lisp/edebug.el: Miscellaneous cleanup.
7241 Remove obsolete byte-compiler hack that tried to silence some warnings.
7242 (edebug-submit-bug-report): Remove.
7243 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
7244 Remove aliases, use the un-prefixed name instead.
7245 (edebug-pop-to-buffer): Consider other frames.
7246 (edebug-original-read):: Make it more obvious that it's always defined.
7247 (edebug--make-form-data-entry, edebug--form-data-name)
7248 (edebug--form-data-begin, edebug--form-data-end): Rename from the
7249 single-dashed name, and implement with cl-defstruct.
7250 (edebug-set-form-data-entry): Use the standard accessors.
7251 (edebug-make-top-form-data-entry): Use push.
7252 (edebug-no-match): Drop useless `funcall'.
7253 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
7254 to functions.
7255 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
7256 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
7257 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
7258 (easy-menu-define, with-custom-print): Remove redundant specs.
7259 (edebug-outside-overriding-local-map)
7260 (edebug-outside-overriding-terminal-local-map): Remove, unused.
7261 (edebug--display): Bind unread-command-events directly to nil rather
7262 than binding it to unread-command-events and later setting it to nil.
7263 (edebug--display): Kill edebug-eval-buffer here...
7264 (edebug--recursive-edit): ...rather than here.
7265 Bind standard-output and standard-input.
7266 (edebug-eval): Check cl-macroexpand-all is fboundp.
7267 (edebug-temp-display-freq-count): Fix last change.
7268
7269 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
7270 * subr.el (noreturn, 1value): Add `debug' spec.
7271 * emacs-lisp/advice.el: Require cl-lib.
7272 (ad-copy-tree): Remove, use copy-tree instead.
7273 (ad-dolist): Remove use dolist or cl-dolist instead.
7274 (ad-do-return): Remove, use cl-return instead.
7275 (defadvice): Add `debug' spec.
7276
7277 2012-09-13 Juri Linkov <juri@jurta.org>
7278
7279 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
7280 (Bug#12399)
7281
7282 2012-09-13 Glenn Morris <rgm@gnu.org>
7283
7284 * calc/calc.el (math-compose-expr):
7285 * calc/calc-ext.el (math-compose-expr):
7286 * progmodes/cc-defs.el (cl-macroexpand-all):
7287 * progmodes/cc-langs.el (delete-duplicates, mapcan)
7288 (cl-macroexpand-all): Update declarations.
7289
7290 * vc/vc.el: No need to require ediff.
7291 (ediff-load-version-control): Declare.
7292 (ediff-vc-internal): Fix declaration.
7293 (vc-version-ediff): Require ediff.
7294
7295 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
7296
7297 Use a more backwards-compatible timer format (Bug#12430).
7298 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
7299 being right after USECS, as that better supports old code that
7300 inadvisedly looked directly at the timer vector.
7301
7302 2012-09-13 Kenichi Handa <handa@gnu.org>
7303
7304 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
7305 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
7306 `coding-priority' property of these language environment.
7307
7308 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
7309
7310 Fix glitches caused by addition of psec to timers (Bug#12430).
7311 * image.el (image-animate-timer):
7312 * time.el (display-time-world-timer):
7313 Use timer--function and timer--args rather than raw access to
7314 timer vector.
7315
7316 2012-09-13 Glenn Morris <rgm@gnu.org>
7317
7318 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
7319 If not compiling a file, try using load-file-name.
7320
7321 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
7322
7323 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
7324 Fix last change.
7325 (edebug-update-eval-list): Use `push'.
7326
7327 * emacs-lisp/edebug.el: Use lexical-binding.
7328 Remove the "edebug-" prefix from non-dynamically-scoped variables.
7329 Mark unused args with underscore.
7330 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
7331 (edebug-form-data): Use defvar-local.
7332 (edebug-make-before-and-after-form, edebug-make-after-form):
7333 Use backquote.
7334 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
7335 Not dynamically scoped any more.
7336 (edebug--enter-trace): Add arguments `function' and `args'.
7337 Rename from edebug-enter-trace.
7338 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
7339 (edebug--update-coverage): Add `after-index' and `value' args.
7340 Rename from edebug-update-coverage.
7341 (edebug-slow-after): Call it accordingly.
7342 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
7343 edebug-recursive-edit.
7344 (edebug--display): Call it accordingly. Add args `value',
7345 `offset-index', and `arg-mode'. Rename from edebug-display.
7346 (edebug-debugger, edebug): Call it accordingly.
7347 (edebug-eval-display-list): Use dolist.
7348
7349 2012-09-12 Juri Linkov <juri@jurta.org>
7350
7351 * info.el (Info-search): Don't check for isearch-mode and
7352 isearch-regexp before let-binding search-spaces-regexp to
7353 Info-search-whitespace-regexp.
7354 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
7355 search-whitespace-regexp if isearch-lax-whitespace or
7356 isearch-regexp-lax-whitespace is non-nil.
7357 (Info-mode): Don't set local variable search-whitespace-regexp.
7358 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
7359
7360 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7361
7362 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
7363 (debugger-env-macro): Remove support for unread-command-char.
7364
7365 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
7366 the temporary map re-appearing on emulation-mode-map-alists.
7367
7368 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
7369 since 22.1.
7370
7371 * ehelp.el (with-electric-help): Accept functions in
7372 electric-help-form-to-execute.
7373 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
7374 And replace unread-command-char -> unread-command-events.
7375
7376 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
7377
7378 Sync with Tramp 2.2.6.
7379
7380 * net/tramp.el (tramp-accept-process-output): Don't use
7381 JUST-THIS-ONE in the XEmacs case.
7382
7383 * net/trampver.el: Update release number.
7384
7385 2012-09-12 Martin Rudalics <rudalics@gmx.at>
7386
7387 * emacs-lisp/debug.el (debugger-previous-window-height):
7388 New variable.
7389 (debug): When debugger-jumping-flag is non-nil try to restore
7390 height of debugger window. (Bug#8789)
7391
7392 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7393
7394 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
7395 overriding-local-map and pre/post-command-hook here.
7396 (edebug-recursive-edit): Do it here instead (bug#12345).
7397 (edebug-outside-unread-command-char): Remove all uses of
7398 unread-command-char.
7399
7400 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
7401 inhibit-debugger is bound instead.
7402
7403 2012-09-11 Bastien Guerry <bzg@gnu.org>
7404
7405 * subr.el (set-temporary-overlay-map): Add a docstring.
7406 (Bug#12346)
7407
7408 2012-09-11 Bastien Guerry <bzg@gnu.org>
7409
7410 * minibuffer.el (completion-table-subvert): Fix docstring.
7411 (Bug#12347)
7412
7413 2012-09-11 Bastien Guerry <bzg@gnu.org>
7414
7415 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
7416
7417 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
7418
7419 * progmodes/sql.el: Version 3.1
7420 (sql-db2-escape-newlines): New variable.
7421 (sql-escape-newlines-filter): Use it.
7422
7423 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
7424
7425 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
7426
7427 2012-09-10 Dan Nicolaescu <dann@gnu.org>
7428
7429 * vc/diff-mode.el (diff-mode-menu):
7430 Bind diff-remove-trailing-whitespace.
7431
7432 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7433
7434 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
7435 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
7436 (emacs-lisp-byte-code-mode): New functions.
7437 (eval-sexp-add-defvars): Don't skip defvars in column >0.
7438 (eval-defun-2): Remove bogus interactive spec.
7439 (lisp-indent-line): Remove redundant whole-exp code, now done in
7440 indent-according-to-mode.
7441 (save-match-data): Remove redundant indent data.
7442
7443 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
7444 Use `declare'.
7445
7446 2012-09-09 Juri Linkov <juri@jurta.org>
7447
7448 * replace.el (replace-regexp-lax-whitespace): New defcustom.
7449 (replace-lax-whitespace, query-replace-regexp)
7450 (query-replace-regexp-eval, replace-regexp): Doc fix.
7451 (perform-replace, replace-highlight): Let-bind
7452 isearch-lax-whitespace to replace-lax-whitespace and
7453 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
7454
7455 * isearch.el (isearch-query-replace): Let-bind
7456 replace-lax-whitespace to isearch-lax-whitespace and
7457 replace-regexp-lax-whitespace to
7458 isearch-regexp-lax-whitespace. (Bug#10885)
7459
7460 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
7461
7462 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
7463
7464 2012-09-09 Alan Mackenzie <acm@muc.de>
7465
7466 * progmodes/cc-engine.el (c-state-cache-init):
7467 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
7468 (c-record-parse-state-state):
7469 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
7470
7471 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
7472
7473 * register.el (register-separator): Rename from
7474 separator-register. All uses changed. Doc fix.
7475 (register): Fix version.
7476
7477 2012-09-09 Chong Yidong <cyd@gnu.org>
7478
7479 * replace.el (query-replace-map): Bind four new symbols for
7480 requesting window scrolling.
7481
7482 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
7483 query-replace-map (Bug#8948).
7484
7485 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
7486
7487 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
7488 since they are now in query-replace-map.
7489
7490 * window.el (scroll-other-window-down): Make the arg optional.
7491
7492 2012-09-09 Chong Yidong <cyd@gnu.org>
7493
7494 * files.el (hack-local-variables-confirm): Use quit-window to kill
7495 the *Local Variables* buffer.
7496
7497 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
7498
7499 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
7500 not just expect to be at its beginning. Adjust callees.
7501 Succeed when do-end block has no space before the pipe character.
7502 (ruby-brace-to-do-end): When the original block is one-liner,
7503 convert to multiline. Reindent the result.
7504
7505 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
7506
7507 * register.el (register): New group.
7508 (separator-register): New user option.
7509 (increment-register): Route it to `append-to-register', if
7510 register contains text. Implication is that `C-x r +' can now be
7511 used for appending to a text register (bug#12217).
7512 (append-to-register, prepend-to-register): Add separator based on
7513 `separator-register'.
7514
7515 2012-09-08 Alan Mackenzie <acm@muc.de>
7516
7517 AWK Mode: make auto-newline work when there's "==" in the pattern.
7518 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
7519 correctly.
7520 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
7521 Test more rigorously for "=" token.
7522
7523 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
7524
7525 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
7526 Only fail when reached LIMIT.
7527
7528 2012-09-08 Chong Yidong <cyd@gnu.org>
7529
7530 * dired.el (dired-mode-map): Don't bind M-=.
7531
7532 * dired-aux.el (dired-diff): Use backup file as default.
7533
7534 2012-09-08 Drew Adams <drew.adams@oracle.com>
7535
7536 * subr.el (add-to-history): Fix delete usage (Bug#12314).
7537
7538 2012-09-08 Chong Yidong <cyd@gnu.org>
7539
7540 * subr.el (syntax-after, syntax-class): Doc fix.
7541
7542 2012-09-08 Martin Rudalics <rudalics@gmx.at>
7543
7544 * window.el (display-buffer-in-previous-window): New buffer
7545 display action function.
7546
7547 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
7548 (debugger-previous-window): New variable.
7549 (debug): Rewrite using display-buffer-in-previous-window,
7550 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
7551
7552 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
7553
7554 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
7555
7556 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
7557
7558 * progmodes/python.el (python-shell-send-string):
7559 When default-directory is remote, create temp file on remote
7560 filesystem.
7561 (python-shell-send-file): When file is remote, pass local view of
7562 file paths to remote Python interpreter. (Bug#12340)
7563
7564 2012-09-07 Chong Yidong <cyd@gnu.org>
7565
7566 * window.el (switch-to-buffer): Doc fix (Bug#12181).
7567
7568 * files.el (after-find-file): Don't fail on a read-only buffer if
7569 require-final-newline is `visit' or `visit-save' (Bug#11156).
7570
7571 * subr.el (read-char-choice): Allow quitting via ESC ESC.
7572
7573 * userlock.el (ask-user-about-supersession-threat):
7574 Use read-char-choice (Bug#12093).
7575
7576 2012-09-07 Chong Yidong <cyd@gnu.org>
7577
7578 * subr.el (buffer-narrowed-p): New function.
7579
7580 * ses.el (ses-widen):
7581 * simple.el (count-words--buffer-message):
7582 * net/browse-url.el (browse-url-of-buffer): Use it.
7583
7584 * simple.el (count-words-region): Don't signal an error if there
7585 is a non-nil prefix arg and the mark is not set.
7586
7587 * help.el (describe-key-briefly): Allow the message to be seen
7588 when invoked from the minibuffer (Bug#7014).
7589
7590 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
7591
7592 * progmodes/ruby-mode.el (ruby-end-of-defun)
7593 (ruby-beginning-of-defun): Simplify, allow indentation before
7594 block beginning and end keywords.
7595 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
7596 (ruby-end-of-defun): Expect that the point is at the beginning of
7597 the defun.
7598
7599 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7600
7601 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
7602 (bug#12367).
7603 (cl--make-usage-args): Strip _ from argument names.
7604
7605 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7606
7607 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
7608 obsolete alias speedbar-key-map.
7609 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
7610 (vhdl-index-menu-init): Don't use obsolete variable
7611 font-lock-maximum-size.
7612
7613 2012-09-06 Chong Yidong <cyd@gnu.org>
7614
7615 * frame.el (window-system-version): Mark as obsolete.
7616
7617 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
7618 of obsolete variable speedbar-key-map.
7619
7620 2012-09-06 Juri Linkov <juri@jurta.org>
7621
7622 * replace.el (replace-lax-whitespace): New defcustom.
7623 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7624 (replace-string, replace-regexp): Mention it in docstrings.
7625 (perform-replace, replace-highlight): Let-bind
7626 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
7627 to the values of replace-lax-whitespace and regexp-flag.
7628 Don't let-bind search-whitespace-regexp. (Bug#10885)
7629
7630 * isearch.el (isearch-query-replace): Let-bind
7631 replace-lax-whitespace instead of let-binding
7632 replace-search-function and replace-re-search-function.
7633 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
7634 and isearch-regexp-lax-whitespace to lazy-highlight variables.
7635 (isearch-toggle-symbol): Set isearch-regexp to nil
7636 in isearch-word mode (like in isearch-toggle-word).
7637
7638 2012-09-06 Juri Linkov <juri@jurta.org>
7639
7640 * replace.el (replace-search-function)
7641 (replace-re-search-function): Set default values to nil.
7642 (perform-replace): Let-bind isearch-related variables based on
7643 replace-related values, call `isearch-search-fun' and let-bind
7644 the result to `search-function'. Remove code that sets
7645 `search-function' and `search-string' separately for
7646 `delimited-flag'.
7647 (replace-highlight): Add new argument `delimited-flag' and
7648 rename other arguments to the names used in `perform-replace'.
7649 Let-bind `isearch-word' to the argument `delimited-flag'.
7650 (Bug#10885, bug#10887)
7651
7652 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
7653
7654 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
7655 ruby-beginning-of-indent, simplify, allow all keywords to have
7656 indentation before them.
7657 (ruby-beginning-of-indent): Adjust for above. Search until the
7658 found point is not inside a string or comment.
7659 (ruby-font-lock-keywords): Allow symbols to start with "@"
7660 character, give them higher priority than variables.
7661 (ruby-syntax-propertize-function)
7662 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
7663 matchers. Expression expansions are not comments when inside a
7664 string, and there comment syntax status is irrelevant.
7665 (ruby-match-expression-expansion): New function. Check that
7666 expression expansion is inside a string, and it's not escaped.
7667 (ruby-font-lock-keywords): Use it.
7668
7669 2012-09-05 Martin Rudalics <rudalics@gmx.at>
7670
7671 * help.el (temp-buffer-max-height): New default value.
7672 (temp-buffer-resize-frames): New option.
7673 (resize-temp-buffer-window): Optionally resize frame.
7674
7675 * window.el (fit-frame-to-buffer-bottom-margin): New option.
7676 (fit-frame-to-buffer): New function.
7677
7678 2012-09-05 Glenn Morris <rgm@gnu.org>
7679
7680 * emulation/cua-rect.el (cua--init-rectangles):
7681 * textmodes/picture.el (picture-mode-map):
7682 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
7683 like forward-char and backward-char. (Bug#12317)
7684
7685 2012-09-05 Leo Liu <sdl.web@gmail.com>
7686
7687 * progmodes/flymake.el (flymake-warning-re): New variable.
7688 (flymake-parse-line): Use it.
7689
7690 2012-09-05 Glenn Morris <rgm@gnu.org>
7691
7692 * calendar/holidays.el (holiday-christian-holidays):
7693 Rename an entry. (Bug#12289)
7694
7695 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7696
7697 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
7698 (bug#12222).
7699
7700 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7701
7702 * loadup.el: Load macroexp. Remove hack.
7703 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
7704 (macroexp--expand-all): Use it to get better warnings.
7705 (macroexp--backtrace, macroexp--trim-backtrace-frame)
7706 (internal-macroexpand-for-load): New functions.
7707 (macroexp--pending-eager-loads): New var.
7708 (emacs-startup-hook): New hack to replace one in loadup.el.
7709 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
7710 (cl--compiler-macro-cXXr): Move to top, before they can be used.
7711 (cl-psetf): Simplify.
7712 (cl-defstruct): Add indent rule.
7713
7714 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
7715
7716 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
7717 over `user-mail-address' for the SMTP MAIL FROM envelope.
7718 (smtpmail-via-smtp): Ditto.
7719
7720 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
7721
7722 * progmodes/ruby-mode.el: Clean up keybindings.
7723 (ruby-mode-map): Don't bind ruby-electric-brace,
7724 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
7725 backward-kill-word, reindent-then-newline-and-indent.
7726 (ruby-mark-defun): Remove.
7727 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
7728 (ruby-mode): Set local beginning-of-defun-function and
7729 end-of-defun-function values.
7730
7731 2012-09-03 Martin Rudalics <rudalics@gmx.at>
7732
7733 * window.el (temp-buffer-window-setup-hook)
7734 (temp-buffer-window-show-hook): New hooks.
7735 (temp-buffer-window-setup, temp-buffer-window-show)
7736 (with-temp-buffer-window): New functions.
7737 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
7738 (special-display-popup-frame): Make sure the window used shows BUFFER.
7739
7740 * help.el (temp-buffer-resize-mode): Fix doc-string.
7741 (resize-temp-buffer-window): New optional argument WINDOW.
7742
7743 * files.el (recover-file, save-buffers-kill-emacs):
7744 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
7745
7746 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
7747
7748 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
7749 remote definition of `default-directory', ensure we can connect.
7750
7751 2012-09-02 Juri Linkov <juri@jurta.org>
7752
7753 Toggle whitespace matching mode with M-s SPC.
7754 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
7755
7756 * isearch.el (search-whitespace-regexp): Doc fix.
7757 Remove cons cell customization.
7758 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
7759 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
7760 New variables.
7761 (isearch-forward, isearch-forward-regexp): Doc fix.
7762 (isearch-toggle-lax-whitespace): New command.
7763 (search-forward-lax-whitespace, search-backward-lax-whitespace)
7764 (re-search-forward-lax-whitespace)
7765 (re-search-backward-lax-whitespace): New functions.
7766 (isearch-whitespace-regexp): Remove function.
7767 (isearch-query-replace): Let-bind replace-search-function and
7768 replace-re-search-function.
7769 (isearch-occur): Let-bind search-spaces-regexp according to the
7770 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
7771 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
7772 condition for C-q SPC.
7773 (isearch-search-fun-default): Use new functions mentioned above.
7774 (isearch-search-forward, isearch-search-backward): Remove functions.
7775 (isearch-search): Don't let-bind search-spaces-regexp.
7776 (isearch-lazy-highlight-space-regexp): Remove variable.
7777 (isearch-lazy-highlight-lax-whitespace)
7778 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
7779 (isearch-lazy-highlight-new-loop): Use them.
7780 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
7781
7782 2012-09-02 Chong Yidong <cyd@gnu.org>
7783
7784 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
7785
7786 2012-09-02 Glenn Morris <rgm@gnu.org>
7787
7788 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
7789
7790 2012-09-01 Glenn Morris <rgm@gnu.org>
7791
7792 * term.el: Tidy up menu definitions.
7793 (term-mode-map): Use easymenu for In/Out, Complete menus.
7794 (term-pager-break-map): Initialize in the defvar.
7795 (term-terminal-menu, term-signals-menu): Define with easymenu.
7796 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
7797 (term-pager-menu): New, extracted from term-process-pager.
7798 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
7799 (term-update-mode-line): Propertize line/char and page items.
7800 (term-process-pager): Move keymap initialization elsewhere.
7801
7802 2012-09-01 Martin Rudalics <rudalics@gmx.at>
7803
7804 * window.el (switch-to-prev-buffer): Handle additional values of
7805 BURY-OR-KILL argument. Don't switch in minibuffer window.
7806 (switch-to-next-buffer): Don't switch in minibuffer window.
7807 (quit-restore-window): New function based on quit-window.
7808 Handle additional values of former KILL argument.
7809 (quit-window): Call quit-restore-window with appropriate
7810 interpretation of KILL argument.
7811 (display-buffer-below-selected): New buffer display action
7812 function.
7813
7814 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
7815
7816 * minibuffer.el (completion-at-point-functions): Complete docstring
7817 (bug#12254).
7818
7819 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
7820
7821 Better seed support for (random).
7822 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
7823 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
7824 * play/mpuz.el, play/tetris.el, play/zone.el:
7825 * calc/calc-comb.el (math-init-random-base):
7826 * play/blackbox.el (bb-init-board):
7827 * play/life.el (life):
7828 * server.el (server-use-tcp):
7829 * type-break.el (type-break):
7830 Remove unnecessary call to (random t).
7831 * net/sasl.el (sasl-unique-id-function):
7832 Change (random t) to (random), now that the latter is more random.
7833 * play/life.el (life-initialized): Remove no-longer-needed var.
7834
7835 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
7836
7837 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
7838 Consider frame's buffer predicate when choosing the buffer.
7839 (Bug#12081)
7840
7841 2012-08-30 Richard Stallman <rms@gnu.org>
7842
7843 * simple.el (special-mode-map): Delete binding for `z'.
7844
7845 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
7846
7847 * progmodes/compile.el (compilation-always-kill): Doc fix.
7848
7849 2012-08-30 Chong Yidong <cyd@gnu.org>
7850
7851 * window.el (display-buffer-reuse-frames): Make the obsolescence
7852 message more informative.
7853
7854 2012-08-30 Glenn Morris <rgm@gnu.org>
7855
7856 * paren.el (show-paren-delay):
7857 Add a :set function. Doc fix. (Bug#12297)
7858
7859 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
7860
7861 * progmodes/compile.el (compilation-always-kill): New var.
7862 (compilation-start): Use it.
7863
7864 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7865
7866 * simple.el (read-only-mode): Move from files.el for bootstrapping.
7867 * files.el (read-only-mode): Move to simple.el.
7868
7869 * files.el (read-only-mode): New minor mode.
7870 (toggle-read-only): Use it and mark obsolete.
7871 (find-file--read-only):
7872 * vc/vc.el (vc-next-action, vc-checkout):
7873 * vc/vc-cvs.el (vc-cvs-checkout):
7874 * obsolete/vc-mcvs.el (vc-mcvs-update):
7875 * ffap.el (ffap--toggle-read-only): Update callers.
7876
7877 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
7878
7879 * eshell/esh-ext.el (eshell-external-command): Do not examine
7880 remote shell scripts.
7881 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
7882
7883 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
7884 "/usr/local/sbin".
7885
7886 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7887
7888 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
7889
7890 2012-08-28 Leo Liu <sdl.web@gmail.com>
7891
7892 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
7893 completion-at-point. (Bug#12220)
7894
7895 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
7896
7897 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
7898
7899 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7900
7901 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
7902 be buffer-local; add delete-trailing-whitespace (bug#12259).
7903
7904 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
7905
7906 * progmodes/hideif.el (hif-compress-define-list):
7907 Fix typo. (Bug#11951)
7908
7909 2012-08-28 Dan Nicolaescu <dann@gnu.org>
7910
7911 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
7912 buffer local setting.
7913
7914 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
7915 rcirc-encode-coding-system.
7916
7917 2012-08-28 Leo Liu <sdl.web@gmail.com>
7918
7919 * net/rcirc.el (rcirc-split-message): New function.
7920 (rcirc-send-message): Use it. (Bug#12051)
7921
7922 2012-08-28 Juri Linkov <juri@jurta.org>
7923
7924 * info.el (Info-fontify-node): Hide empty lines at the end of
7925 the node. (Bug#12272)
7926
7927 2012-08-27 Drew Adams <drew.adams@oracle.com>
7928
7929 * dired.el (dired-pop-to-buffer): Make window start at beginning
7930 of buffer (Bug#12281).
7931
7932 2012-08-26 Chong Yidong <cyd@gnu.org>
7933
7934 * window.el (special-display-regexps, special-display-frame-alist)
7935 (special-display-buffer-names, special-display-function)
7936 (display-buffer-reuse-frames): Mark as obsolete.
7937
7938 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
7939
7940 * help.el (help-print-return-message): Don't treat
7941 display-buffer-reuse-frames specially.
7942
7943 2012-08-26 Chong Yidong <cyd@gnu.org>
7944
7945 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
7946 New variable, replacing gdb-frame-parameters.
7947 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
7948 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
7949 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
7950 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
7951 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
7952 the functions directly with gdb-display-buffer-other-frame-action.
7953 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
7954 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
7955 (gdb-display-stack-buffer, gdb-display-locals-buffer)
7956 (gdb-display-registers-buffer): Define directly.
7957 (def-gdb-display-buffer): Macro deleted.
7958 (gdb-display-buffer): Remove second and third args, callers don't
7959 use them. Defer to the default display-buffer behavior, apart
7960 from making windows dedicated.
7961 (gdb-setup-windows): Don't call display-buffer unnecessarily.
7962
7963 * progmodes/gud.el (gud-display-line): Just use display-buffer.
7964
7965 * window.el (display-buffer-pop-up-frame): Handle a
7966 pop-up-frame-parameters alist entry.
7967 (display-buffer): Document it.
7968
7969 2012-08-26 Chong Yidong <cyd@gnu.org>
7970
7971 * isearch.el (search-whitespace-regexp): Make string and nil
7972 values apply to both ordinary and regexp search. Allow a cons
7973 cell value to distinguish between the two.
7974 (isearch-whitespace-regexp, isearch-search-forward)
7975 (isearch-search-backward): New functions.
7976 (isearch-occur, isearch-search-fun-default, isearch-search)
7977 (isearch-lazy-highlight-new-loop): Use them.
7978 (isearch-forward, isearch-forward-regexp): Doc fix.
7979
7980 2012-08-26 Chong Yidong <cyd@gnu.org>
7981
7982 * faces.el (help-argument-name): Always inherit from italic
7983 (Bug#12213).
7984
7985 2012-08-25 Martin Rudalics <rudalics@gmx.at>
7986
7987 * window.el (window--even-window-heights): Even heights when
7988 WINDOW and the selected window form a vertical combination.
7989 (display-buffer-use-some-window): Provide that window used gets
7990 sized back by quit-window. (Bug#11880) and (Bug#12091)
7991
7992 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
7993
7994 Fix file time stamp problem with bzr and CVS (Bug#12001).
7995 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
7996 in the file's time stamp, since the version control system loses
7997 that information.
7998
7999 2012-08-22 Juri Linkov <juri@jurta.org>
8000
8001 * info.el (Info-fontify-node): Hide the suffix of the
8002 Info file name in the header line. (Bug#12187)
8003
8004 2012-08-22 Glenn Morris <rgm@gnu.org>
8005
8006 * calendar/cal-tex.el (cal-tex-weekly-common):
8007 Restore leading blank page.
8008
8009 2012-08-22 Le Wang <l26wang@gmail.com>
8010
8011 * misc.el (forward-to-word, backward-to-word): Activate or extend
8012 the region under `shift-select-mode'. (Bug#12231)
8013
8014 2012-08-22 Bastien Guerry <bzg@gnu.org>
8015
8016 * progmodes/executable.el (executable-prefix): Set to "#!" instead
8017 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
8018 gives details on why the space is never needed.
8019
8020 2012-08-22 Martin Rudalics <rudalics@gmx.at>
8021
8022 * window.el (walk-window-tree, window-with-parameter):
8023 New optional argument MINIBUF to control whether these functions
8024 should run on the minibuffer window.
8025 (window-at-side-list): Don't operate on minibuffer window.
8026 (window-in-direction): Simplify and rewrite doc-string.
8027 (window--size-ignore): Rename to window--size-ignore-p.
8028 Update callers.
8029 (display-buffer-in-atom-window, window--major-non-side-window)
8030 (window--major-side-window, display-buffer-in-major-side-window)
8031 (delete-side-window, display-buffer-in-side-window):
8032 New functions.
8033 (window--side-check, window-deletable-p, delete-window)
8034 (delete-other-windows, split-window): Handle side windows and
8035 atomic windows appropriately.
8036 (window--display-buffer): Call display-buffer-record-window also
8037 when the window buffer did not change.
8038
8039 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
8040
8041 * help-fns.el (help-fns--key-bindings):
8042 Abbreviate non-symbol remap targets. (Bug#12174)
8043
8044 2012-08-22 Martin Rudalics <rudalics@gmx.at>
8045
8046 * dired.el (dired-mark-remembered): Don't clobber point.
8047 (Bug#11795)
8048
8049 2012-08-22 Glenn Morris <rgm@gnu.org>
8050
8051 * progmodes/bug-reference.el (bug-reference): New custom group.
8052 (bug-reference-bug-regexp): Make it a defcustom.
8053
8054 2012-08-22 Daiki Ueno <ueno@unixuser.org>
8055
8056 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
8057 (js-paren-indent-offset, js-square-indent-offset)
8058 (js-curly-indent-offset): Add :safe (Bug#12257).
8059
8060 2012-08-22 Edward O'Connor <hober0@gmail.com>
8061
8062 * json.el (json-key-format): Add error properties.
8063 (json-encode-key): New function.
8064 (json-encode-hash-table, json-encode-alist, json-encode-plist):
8065 Use json-encode-key.
8066
8067 2012-08-22 Glenn Morris <rgm@gnu.org>
8068
8069 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
8070 (cal-tex-leftday, cal-tex-rightday): Remove functions.
8071 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
8072 Update for above change.
8073
8074 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
8075
8076 * cus-face.el (custom-face-attributes): Fix customize type for the
8077 :underline attribute. (Bug#11805)
8078
8079 2012-08-21 Martin Rudalics <rudalics@gmx.at>
8080
8081 * window.el (window-point-1, set-window-point-1): Remove.
8082 (window-in-direction, record-window-buffer)
8083 (set-window-buffer-start-and-point, split-window-below)
8084 (window--state-get-1, display-buffer-record-window):
8085 Replace calls to window-point-1 and set-window-point-1 by calls to
8086 window-point and set-window-point respectively.
8087
8088 2012-08-21 Glenn Morris <rgm@gnu.org>
8089
8090 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
8091 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
8092 Use it.
8093
8094 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
8095 (cal-tex-shortday): New function.
8096 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
8097 (cal-tex-cursor-filofax-daily): Use the above.
8098
8099 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
8100 New functions.
8101 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
8102 (cal-tex-cursor-filofax-week): Use them.
8103
8104 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
8105 New constants.
8106 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
8107 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
8108
8109 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
8110 (cal-tex-end-document): Don't rely on buffer name.
8111
8112 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
8113 Use cal-tex-vspace.
8114 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
8115 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
8116 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
8117 Use cal-tex-arg.
8118
8119 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
8120 (cal-tex-cursor-week, cal-tex-cursor-week2)
8121 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
8122 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
8123 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
8124 (cal-tex-insert-preamble, cal-tex-b-document)
8125 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
8126 Improve cal-tex-cmd usage.
8127
8128 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
8129 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
8130 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
8131 (cal-tex-weekly-paper): New function.
8132 (cal-tex-cursor-week, cal-tex-cursor-week2)
8133 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
8134 (cal-tex-cursor-day): Use it.
8135
8136 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
8137 (cal-tex-cursor-filofax-week): Remove leading blank page.
8138
8139 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
8140 Add autoload cookie. For now at least, don't use color, since
8141 no other cal-tex function does.
8142
8143 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
8144 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
8145 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
8146
8147 2012-08-21 Juri Linkov <juri@jurta.org>
8148
8149 * info.el (Info-file-attributes): New variable.
8150 (info-insert-file-contents): Add file attributes to
8151 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
8152 `Info-toc-nodes' when previous modtime of the Info file is less
8153 than new modtime.
8154 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
8155 of info.el. (Bug#12230)
8156
8157 2012-08-20 Glenn Morris <rgm@gnu.org>
8158
8159 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
8160 * calendar/holidays.el (calendar-holiday-list):
8161 Report errors with display-warning rather than beep'n'sleep.
8162
8163 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
8164
8165 * net/tramp.el (tramp-accept-process-output): Accept only output
8166 from PROC. Otherwise, process filters and sentinels might be
8167 confused. (Bug#12145)
8168
8169 2012-08-20 Chong Yidong <cyd@gnu.org>
8170
8171 * descr-text.el (describe-text-properties-1): Use overlays-in to
8172 report on empty overlays (Bug#3322).
8173
8174 2012-08-20 Glenn Morris <rgm@gnu.org>
8175
8176 * mail/rmailout.el (rmail-output-read-file-name):
8177 Trap and report errors in rmail-output-file-alist elements.
8178
8179 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
8180 since most non-font-lock faces are not also variables).
8181
8182 2012-08-20 Edward Reingold <reingold@iit.edu>
8183
8184 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
8185 New function. (Bug12160)
8186
8187 2012-08-19 Glenn Morris <rgm@gnu.org>
8188
8189 * mail/rmailout.el (rmail-output-read-file-name):
8190 Fix previous change (when the alist is nil or does not match).
8191
8192 2012-08-19 Chong Yidong <cyd@gnu.org>
8193
8194 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
8195 (Bug#12228).
8196
8197 2012-08-18 Chong Yidong <cyd@gnu.org>
8198
8199 * simple.el (yank-handled-properties): New defcustom.
8200 (yank-excluded-properties): Add font-lock-face and category.
8201 (yank): Doc fix.
8202
8203 * subr.el (remove-yank-excluded-properties):
8204 Obey yank-handled-properties. The special handling of font-lock-face
8205 and category is now done this way, instead of being hard-coded.
8206 (insert-for-yank-1): Remove font-lock-face handling.
8207 (yank-handle-font-lock-face-property)
8208 (yank-handle-category-property): New function.
8209
8210 2012-08-17 Glenn Morris <rgm@gnu.org>
8211
8212 * mail/rmailout.el (rmail-output-read-file-name):
8213 Check rmail-output-file-alist against the full message body
8214 in the correct rmail buffer. (Bug#12214)
8215
8216 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
8217
8218 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
8219 Eliminate superfluous prompt. (Bug#12203)
8220
8221 2012-08-17 Chong Yidong <cyd@gnu.org>
8222
8223 * mouse.el (mouse-appearance-menu): If x-select-font returns a
8224 font spec, set the font directly (Bug#3228).
8225
8226 2012-08-17 Martin Rudalics <rudalics@gmx.at>
8227
8228 * window.el (delete-window): Fix last fix.
8229
8230 2012-08-16 Martin Rudalics <rudalics@gmx.at>
8231
8232 * window.el (window-valid-p): Move to window.c.
8233 (window-child, window-child-count, window-last-child)
8234 (window-normalize-window, window-combined-p)
8235 (window-combinations, window-atom-root, window-min-size)
8236 (window-sizable, window-sizable-p, window-size-fixed-p)
8237 (window-min-delta, window-max-delta, window--resizable)
8238 (window--resizable-p, window-resizable, window-total-size)
8239 (window-full-height-p, window-full-width-p, window-body-size)
8240 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
8241 (minimize-window, window-deletable-p, delete-window)
8242 (delete-other-windows, set-window-buffer-start-and-point)
8243 (next-buffer, previous-buffer, split-window, balance-windows-2)
8244 (set-window-text-height, window-buffer-height)
8245 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
8246 (truncated-partial-width-window-p): Minor code adjustments.
8247 In doc-strings state whether the argument window has to denote a
8248 live, valid or any window.
8249
8250 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
8251
8252 * progmodes/subword.el (subword-forward-function)
8253 (subword-backward-function, subword-forward-regexp)
8254 (subword-backward-regexp): New variables.
8255 (subword-forward, subword-forward-internal, subword-backward-internal):
8256 Use new variables, eg so that different "word" definitions
8257 can be easily used. (Bug#11411)
8258
8259 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8260
8261 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
8262 for composite selectors.
8263 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
8264 operation just because we can't find a previous revision.
8265
8266 2012-08-15 Chong Yidong <cyd@gnu.org>
8267
8268 * frame.el (set-frame-font): Accept font objects.
8269
8270 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8271
8272 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
8273
8274 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
8275
8276 * man.el (Man-overstrike-face, Man-underline-face)
8277 (Man-reverse-face): Remove variables.
8278 (Man-overstrike, Man-underline, Man-reverse): New faces.
8279 (Man-fontify-manpage): Use them instead of the variables.
8280 (Man-cleanup-manpage): Comment change.
8281 (Man-ansi-color-map): New variable.
8282 (Man-fontify-manpage): Use it.
8283 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
8284
8285 Implement ANSI SGR parameters 22-27 (bug#12146).
8286 * ansi-color.el (ansi-colors): Doc fix.
8287 (ansi-color-context, ansi-color-context-region): Doc fix.
8288 (ansi-color--find-face): New function.
8289 (ansi-color-apply, ansi-color-apply-on-region): Use it.
8290 Rename the local variable `face' to `codes' since it is now a list of
8291 ansi codes. Doc fix.
8292 (ansi-color-get-face): Remove.
8293 (ansi-color-parse-sequence): New function, derived from
8294 ansi-color-get-face.
8295 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
8296 codes 22-27.
8297
8298 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
8299
8300 * subr.el (read-passwd): Allow use from a minibuffer.
8301
8302 2012-08-14 Eli Zaretskii <eliz@gnu.org>
8303
8304 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
8305 inside comments and strings as identifiers.
8306
8307 * progmodes/gud.el (gud-tooltip-print-command): Quote the
8308 expression to evaluate. This allows to evaluate expressions with
8309 embedded whitespace.
8310 (gud-tooltip-tips): Add a blank before the newline in the
8311 message-box text, for the benefit of message-box emulation on
8312 MS-Windows.
8313
8314 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
8315 messages from GDB, pop them up in a tooltip to give feedback to
8316 user.
8317 (gdb-tooltip-print-1): Quote the expression to evaluate.
8318 This allows to evaluate expressions with embedded whitespace.
8319 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
8320 if the TTY name is nil or empty (which happens when communicating
8321 with the inferior via pipes, e.g. on MS-Windows).
8322 (gdb-internals): If GDB sends a "&\n" empty debugging message,
8323 don't send that to the GUD buffer.
8324
8325 2012-08-14 Glenn Morris <rgm@gnu.org>
8326
8327 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
8328 Optimize away setq-default with no args, as for setq. (Bug#12195)
8329
8330 2012-08-14 Chong Yidong <cyd@gnu.org>
8331
8332 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
8333
8334 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
8335 (Bug#12085).
8336
8337 2012-08-14 Glenn Morris <rgm@gnu.org>
8338
8339 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
8340
8341 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
8342
8343 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
8344 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8345 Use cached shell name.
8346
8347 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
8348
8349 * progmodes/python.el (python-shell-send-string):
8350 (python-shell-send-setup-code): Do not use `format' with `message'.
8351
8352 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
8353
8354 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
8355 (ruby-percent-literal-beg-re): New constant.
8356 (ruby-syntax-general-delimiters-goto-beg): Rename to
8357 `ruby-syntax-enclosing-percent-literal', improve literal type check.
8358 (ruby-syntax-propertize-general-delimiters): Rename to
8359 `ruby-syntax-propertize-percent-literal', it's a shorter and more
8360 popular term. Adjust comments everywhere.
8361 (ruby-syntax-propertize-percent-literal): Only propertize when not
8362 inside a simple string or comment. When the literal is unclosed,
8363 leave the text after it unpropertized.
8364 (ruby-syntax-methods-before-regexp): New constant.
8365 (ruby-syntax-propertize-function): Use it to recognize regexps.
8366 Don't look at the text after regexp, just use the whitelist.
8367
8368 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
8369
8370 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
8371 non-nil always load the compiled file if it exists. (Bug#12197)
8372
8373 2012-08-14 Chong Yidong <cyd@gnu.org>
8374
8375 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
8376 (hi-lock-set-pattern): When deciding whether to use font lock or
8377 overlays, look at font-lock-mode instead of font-lock-fontified
8378 (Bug#12168).
8379 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
8380 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
8381
8382 2012-08-14 Daiki Ueno <ueno@unixuser.org>
8383
8384 * subr.el (internal--after-with-selected-window): Fix typo
8385 (Bug#12193).
8386
8387 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
8388
8389 Use `completion-table-dynamic' for completion functions.
8390 * progmodes/python.el
8391 (python-shell-completion--do-completion-at-point)
8392 (python-shell-completion--get-completions):
8393 Remove functions.
8394 (python-shell-completion-complete-at-point): New function.
8395 (python-completion-complete-at-point): Use it.
8396
8397 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
8398
8399 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
8400 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
8401
8402 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
8403
8404 * subr.el (function-get): Refine `autoload' arg so it can also
8405 autoload functions for gv.el (bug#12191).
8406 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
8407 autoloads macros.
8408
8409 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
8410 Prefer pcase-let over destructuring-bind.
8411 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
8412 Also, remove whitespace as we go, rather than after accumulating the
8413 various places.
8414
8415 * subr.el (internal--before-with-selected-window)
8416 (internal--after-with-selected-window): Fix typo seleted->selected.
8417 (with-selected-window): Adjust callers.
8418 Reported by Dmitry Gutov <dgutov@yandex.ru>.
8419
8420 2012-08-13 Bastien Guerry <bzg@gnu.org>
8421
8422 * window.el (special-display-popup-frame): Minor docstring
8423 enhancement. (Bug#12172)
8424
8425 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
8426
8427 * tar-mode.el (tar-header-data-end): Only ignore size for files of
8428 type 1-6.
8429 (tar-header-block-summarize, tar-get-descriptor): Handle pax
8430 extended headers.
8431
8432 * files.el (hack-local-variables-filter): Remove useless eval.
8433
8434 2012-08-13 Martin Rudalics <rudalics@gmx.at>
8435
8436 * subr.el (with-selected-window): Fix last change.
8437
8438 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8439
8440 * subr.el (internal--before-with-seleted-window)
8441 (internal--after-with-seleted-window): New functions.
8442 (with-selected-window): Use them, to replace dependency on
8443 tty-top-frame.
8444
8445 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
8446
8447 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
8448 binding for `newline'.
8449 (ruby-move-to-block): When moving backward, stop at block opening,
8450 not indentation.
8451 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
8452 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
8453 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
8454 `ruby-toggle-block'.
8455
8456 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8457
8458 * ibuffer.el (ibuffer-do-toggle-read-only):
8459 * dired.el (dired-toggle-read-only):
8460 * buff-menu.el (Buffer-menu-toggle-read-only):
8461 * bindings.el (mode-line-toggle-read-only):
8462 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
8463
8464 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
8465
8466 * descr-text.el (describe-char): Put the overlays over the
8467 "displayed as" character.
8468
8469 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
8470
8471 * calc/calc-units.el (math-default-units-table): Give an
8472 initial value.
8473 (math-put-default-units): Add options to put composite units and
8474 unit systems in the default units table.
8475 (calc-convert-units): Send composite units to
8476 `math-put-default-units' when appropriate.
8477
8478 2012-08-11 Glenn Morris <rgm@gnu.org>
8479
8480 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
8481
8482 * tutorial.el (help-with-tutorial):
8483 * emacs-lisp/copyright.el (copyright-update-directory):
8484 * emacs-lisp/autoload.el (autoload-find-generated-file)
8485 (autoload-find-file): Disable local eval: (for insurance).
8486
8487 * files.el (hack-local-variables-filter): If an eval: form is not
8488 known to be safe, and enable-local-variables is :safe, then ignore
8489 the form totally, as is done for non-eval forms. (Bug#12155)
8490 This is CVE-2012-3479.
8491
8492 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8493
8494 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
8495 (rx-form): Simplify.
8496
8497 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
8498
8499 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
8500 ?, _, and : are symbol constituents, ! is not (but kinda should be).
8501 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
8502 (ruby-syntax-propertize-function): Adjust for changes in
8503 `ruby-syntax-propertize-heredoc'.
8504
8505 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
8506
8507 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
8508 binding (use `M-;' instead).
8509 (ruby-singleton-class-p): New function.
8510 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
8511
8512 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8513
8514 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
8515
8516 2012-08-10 Chong Yidong <cyd@gnu.org>
8517
8518 * progmodes/python.el (python-shell-get-process-name): Don't mess
8519 with same-window-buffer-names.
8520
8521 * eshell/eshell.el (eshell-add-to-window-buffer-names)
8522 (eshell-remove-from-window-buffer-names): Make obsolete.
8523 (eshell-buffer-name, eshell-unload-hook): Don't use them.
8524 (eshell): Just use pop-to-buffer-same-window instead.
8525
8526 2012-08-10 Chong Yidong <cyd@gnu.org>
8527
8528 * bindings.el: Bind M-= back to count-words-region.
8529
8530 * simple.el (count-words-region): Accept a prefix arg for acting
8531 on the entire buffer.
8532 (count-words--buffer-message): New helper function.
8533
8534 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8535
8536 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
8537 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
8538 (event-start, event-end): Use posn-at-point to return a more
8539 informative posn.
8540 (posnp): New function.
8541 * mouse.el (popup-menu-normalize-position): Use it.
8542
8543 2012-08-10 Masatake YAMATO <yamato@redhat.com>
8544
8545 * mouse.el (popup-menu-normalize-position): New function.
8546 (popup-menu): Use `popup-menu-normalize-position' to normalize
8547 the form for POSITION argument.
8548
8549 * term/x-win.el (x-menu-bar-open):
8550 Use the value returend from (posn-at-point) as position
8551 passed to `popup-menu'.
8552
8553 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
8554
8555 * calc/calccomp.el (math-compose-expr): Add extra argument
8556 indicating that parentheses should be put around products in
8557 denominators. Give multiplication precedence over division during
8558 composition.
8559
8560 2012-08-09 Chong Yidong <cyd@gnu.org>
8561
8562 * man.el (Man-switches, Man-sed-command, Man-awk-command)
8563 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
8564 (Man-untabify-command, manual-program): Convert to defcustom
8565 (Bug#10429).
8566
8567 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
8568
8569 * descr-text.el (describe-char): Don't insert extra newlines
8570 (Bug#10127).
8571
8572 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
8573 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
8574
8575 * align.el (align-region): Delete temporary markers (Bug#10047).
8576 Plus some code cleanups.
8577
8578 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
8579
8580 * progmodes/python.el (python-pdbtrack-tracked-buffer)
8581 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
8582 (python-shell-internal-last-output): Use make-local-variable
8583 instead of make-variable-buffer-local.
8584
8585 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
8586
8587 * progmodes/python.el: Enhancements to forward-sexp.
8588 (python-nav-forward-sexp): Rename from
8589 python-nav-forward-sexp-function.
8590 (python-nav--forward-sexp, python-nav--backward-sexp):
8591 New functions.
8592
8593 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
8594
8595 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
8596 modes and simplification modes.
8597
8598 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
8599
8600 * delsel.el (delete-selection-pre-hook): Don't propagate the
8601 file-supersession signals (bug#12161).
8602
8603 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8604
8605 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
8606 (cl-map-extents): Add compatibility aliases (bug#12135).
8607
8608 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
8609
8610 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
8611 tests by `ignore-error'.
8612 (tramp-find-shell): Open also a new shell, when cache is already
8613 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
8614
8615 2012-08-08 Juri Linkov <juri@jurta.org>
8616
8617 * bookmark.el: Add `defaults' property to the bookmark record.
8618 (bookmark-current-buffer): Doc fix.
8619 (bookmark-make-record): Add `defaults' property with default values
8620 to the bookmark record.
8621 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
8622 with `bookmark-insert-current-bookmark'.
8623 (bookmark-set): Get `defaults' property from the bookmark record
8624 and use it in `read-from-minibuffer'.
8625 (bookmark-insert-current-bookmark): Remove function.
8626
8627 * info.el (Info-bookmark-make-record): Add `defaults' property
8628 with values of canonical Info node name, the current Info file
8629 name and the current Info node name. (Bug#12107)
8630
8631 2012-08-08 Juri Linkov <juri@jurta.org>
8632
8633 * files.el (basic-save-buffer): Use `buffer-name' as the default
8634 of `read-file-name' when buffer is not visiting a file (bug#12128).
8635
8636 2012-08-08 Juri Linkov <juri@jurta.org>
8637
8638 * info.el (Info-isearch-search): Doc fix.
8639 (Info-search): Change search-failed message from "initial node" to
8640 "end of node" (bug#12078).
8641 (Info-isearch-search): Change `isearch-string-state' to
8642 `isearch--state-string'.
8643
8644 2012-08-08 Glenn Morris <rgm@gnu.org>
8645
8646 * language/persian.el: Remove file.
8647 * language/misc-lang.el: Move unique part of persian.el here.
8648 * loadup.el: Remove language/persian.
8649
8650 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
8651
8652 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
8653
8654 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
8655
8656 * progmodes/python.el: Fix defsubst warning.
8657 (python-syntax-context) Rename from python-info-ppss-context.
8658 (python-syntax-context-type): Rename from
8659 python-info-ppss-context-type.
8660 (python-syntax-comment-or-string-p): Rename from
8661 python-info-ppss-comment-or-string-p.
8662
8663 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
8664
8665 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
8666
8667 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
8668
8669 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
8670 a defcustom that is quoted with backquote.
8671
8672 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
8673 Fix handling of interactive spec when the body uses return.
8674 (math-do-arg-check, math-define-function-body): Use backquote forms.
8675 * calc/calc-ext.el (math-defcache): Likewise.
8676 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
8677 * allout.el (allout-new-exposure): Likewise.
8678 * calc/calcalg2.el (math-tracing-integral): Likewise.
8679 * info.el (Info-last-menu-item): Likewise.
8680 * emulation/vip.el (vip-loop): Likewise.
8681 * textmodes/artist.el (artist-funcall): Likewise.
8682 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
8683 Construct menu-item directly.
8684
8685 * progmodes/autoconf.el (font-lock-syntactic-keywords):
8686 Don't declare.
8687
8688 2012-08-07 Chong Yidong <cyd@gnu.org>
8689
8690 * simple.el (deactivate-mark): Preserve text properties when
8691 saving the primary selection (Bug#8384).
8692
8693 2012-08-07 Kevin Ryde <user42@zip.com.au>
8694
8695 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
8696 (woman-parse-numeric-value): On a bad .IP line, issue a warning
8697 and continue processing (Bug#12110).
8698
8699 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
8700
8701 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
8702 syntax-propertize-function (bug#10095).
8703
8704 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
8705
8706 * help-fns.el (help-fns--key-bindings, help-fns--signature)
8707 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
8708 describe-function-1.
8709 (describe-function-1): Use them. Move compiler macro after sig.
8710 (help-fns--compiler-macro): Use function-get. Assume we're already in
8711 standard-output. Adjust layout to new call order.
8712
8713 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
8714 re-binding a symbol that has a symbol-macro (bug#12119).
8715
8716 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
8717
8718 * language/persian.el: New file. (Bug#11812)
8719 * loadup.el: Add language/persian.el.
8720
8721 2012-08-06 Chong Yidong <cyd@gnu.org>
8722
8723 * window.el (window--maybe-raise-frame): New function.
8724 (window--display-buffer): Split off from here.
8725 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8726 (display-buffer-pop-up-window, display-buffer-use-some-window):
8727 Obey an inhibit-switch-frame action alist entry.
8728 (display-buffer): Update doc.
8729
8730 * replace.el (occur-after-change-function): Avoid losing focus by
8731 using the inhibit-switch-frame display parameter (Bug#12139).
8732
8733 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
8734
8735 Make internal shell process buffer names start with space.
8736 * progmodes/python.el (python-shell-make-comint): Add optional
8737 argument INTERNAL.
8738 (run-python-internal): Use it.
8739 (python-shell-internal-get-or-create-process): Check for new
8740 internal buffer names.
8741
8742 2012-08-06 Glenn Morris <rgm@gnu.org>
8743
8744 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
8745 Do less getting and setting of environment variables.
8746
8747 2012-08-05 Chong Yidong <cyd@gnu.org>
8748
8749 * proced.el (proced): Add substitution string to docstring to
8750 trigger autoloading of the proced library on C-h f (Bug#1768).
8751
8752 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
8753 Don't show defvars which have no second argument (Bug#8638).
8754
8755 * imenu.el (imenu-generic-expression): Move documentation here
8756 from imenu--generic-function.
8757 (imenu--generic-function): Refer to imenu-generic-expression.
8758
8759 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
8760
8761 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
8762 indentation declaration.
8763 (viper-loop): Add indentation declaration (Bug#7025).
8764
8765 2012-08-05 Chong Yidong <cyd@gnu.org>
8766
8767 * help-fns.el (describe-variable): Add hyperlink for
8768 directory-local variables files. Improve buffer-local and
8769 permanent-local reporting; suggested by MON KEY (Bug#6644).
8770
8771 * help-mode.el (help-dir-local-var-def): New button type.
8772
8773 * files.el (kill-buffer-hook): Provide a defvar.
8774
8775 2012-08-05 Glenn Morris <rgm@gnu.org>
8776
8777 * eshell/esh-ext.el (eshell/addpath):
8778 Also update eshell-path-env. (Bug#12013)
8779
8780 2012-08-05 Chong Yidong <cyd@gnu.org>
8781
8782 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
8783
8784 * fringe.el (fringe-styles): Add docstring.
8785 (fringe--check-mode): New function.
8786 (set-fringe-mode, set-fringe-style): Use it.
8787 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
8788
8789 * files.el (set-auto-mode): Fix invalid setq call.
8790
8791 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8792
8793 * isearch.el: Misc simplification; use defstruct.
8794 (isearch-mode-map): Dense maps now work like sparse ones.
8795 (isearch--state): New defstruct.
8796 (isearch-string-state, isearch-message-state, isearch-point-state)
8797 (isearch-success-state, isearch-forward-state)
8798 (isearch-other-end-state, isearch-word-state, isearch-error-state)
8799 (isearch-wrapped-state, isearch-barrier-state)
8800 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
8801 replaced by defstruct's accessors.
8802 (isearch--set-state): Rename from isearch-top-state and change
8803 calling convention.
8804 (isearch-push-state): Use new isearch--get-state.
8805 (isearch-toggle-word): Disable regexp when enabling word.
8806 (isearch-message-prefix): Remove unused arg _c-q-hack.
8807 (isearch-message-suffix): Remove unused arg _ellipsis.
8808
8809 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
8810
8811 * simple.el (list-processes--refresh): For a server use :host or
8812 :local as the address.
8813 (list-processes): Doc fix.
8814
8815 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
8816
8817 * lisp/mpc.el: Support password in host argument.
8818 (mpc--proc-connect): Parse and use new password element.
8819 Set mpc-proc variable instead of returning process.
8820 (mpc-proc): Adjust accordingly.
8821
8822 2012-08-03 Eli Zaretskii <eliz@gnu.org>
8823
8824 * whitespace.el (whitespace-display-mappings): Use Unicode
8825 codepoints, instead of emacs-mule codepoints. See
8826 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
8827 for the details.
8828
8829 * files.el (file-truename): Don't skip symlink-chasing part on
8830 windows-nt. Incorporate the resolution of 8+3 short aliases on
8831 Windows into the loop that recursively chases symlinks.
8832 Compare directory and its parent case-insensitively on MS-Windows and
8833 MS-DOS.
8834
8835 2012-08-03 Chong Yidong <cyd@gnu.org>
8836
8837 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
8838
8839 * sort.el (sort-regexp-fields): Doc fix.
8840
8841 2012-08-03 Tassilo Horn <tsdh@gnu.org>
8842
8843 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
8844 labels regex position point at the expected place.
8845
8846 2012-08-03 MON KEY <monkey@sandpframing.com>
8847
8848 * net/imap.el (imap-interactive-login, imap-authenticate)
8849 (imap-mailbox-lsub, imap-mailbox-list)
8850 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
8851 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
8852 (imap-parse-response): Doc fix.
8853
8854 2012-08-03 João Távora <joaotavora@gmail.com>
8855
8856 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
8857 if sexp scanning does not move point (Bug#5734).
8858
8859 2012-08-02 Tassilo Horn <tsdh@gnu.org>
8860
8861 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
8862 Add listings, minted, and ctable packages.
8863 (reftex-label-alist-builtin): Move listings, minted, and ctable
8864 entries before LaTeX.
8865 (reftex-label-alist): Docfix.
8866
8867 2012-08-02 Bastien Guerry <bzg@gnu.org>
8868
8869 * replace.el (occur): Fix docstring (bug#12122).
8870
8871 2012-08-02 Glenn Morris <rgm@gnu.org>
8872
8873 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
8874
8875 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
8876
8877 Obsolete alias inactivate-current-input-method-function (Bug#10150).
8878 * international/mule-cmds.el: Create
8879 inactivate-current-input-method-function as an obsolete alias for
8880 deactivate-current-input-method-function. See Katsumi Yamaoka in
8881 <http://bugs.gnu.org/10150#46>.
8882
8883 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
8884
8885 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
8886 of nested `if's.
8887
8888 2012-08-01 Glenn Morris <rgm@gnu.org>
8889
8890 * progmodes/autoconf.el (autoconf-definition-regexp):
8891 Add AH_TEMPLATE, adjust submatch numbering.
8892 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
8893 (autoconf-current-defun-function): Update for above change.
8894 (autoconf-current-defun-function): First skip to end of current word.
8895
8896 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
8897
8898 * calendar/cal-html.el (cal-html-insert-agenda-days):
8899 Fix typo. (Bug#12018)
8900
8901 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
8902
8903 Shell processes: enhancements to startup and CEDET compatibility.
8904 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
8905 (python-shell-make-comint): accept-process-output at startup.
8906 (run-python-internal): Set inferior-python-mode-hook to nil.
8907 (python-shell-internal-get-or-create-process): call sit-for.
8908 (python-preoutput-result): Add obsolete alias.
8909 (python-shell-internal-send-string): Use it.
8910 (python-shell-send-setup-code): Remove call to
8911 accept-process-output.
8912
8913 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
8914
8915 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
8916 (Bug#12108)
8917
8918 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
8919
8920 * calc-mode.el (calc-basic-simplification-mode): Rename from
8921 `calc-limited-simplification-mode'.
8922 (calc-alg-simplification-mode): New function.
8923 (calc-set-simplify-mode): Adjust message.
8924
8925 * calc.el (calc-set-mode-line): Adjust mode line display for
8926 basic simplification mode.
8927
8928 * calc-help.el (calc-m-prefix-help): Update help message.
8929
8930 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
8931 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
8932
8933 2012-07-31 Bastien Guerry <bzg@gnu.org>
8934
8935 * man.el (man): Fix comment. (bug#12101)
8936
8937 2012-07-31 Martin Rudalics <rudalics@gmx.at>
8938
8939 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
8940 Don't return a non-nil value when no suitable buffer was found.
8941
8942 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
8943
8944 * progmodes/python.el (run-python-internal): Disable font lock for
8945 internal shells.
8946
8947 2012-07-30 Stefan Merten <smerten@oekonux.de>
8948
8949 * textmodes/rst.el: Silence `checkdoc-ispell'.
8950 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
8951 (rst-official-version, rst-official-cvs-rev)
8952 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
8953 (rst-mode-map): New key binding.
8954
8955 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
8956
8957 Update .PHONY listings in makefiles.
8958 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
8959 autoloads, update-subdirs, updates, bzr-update, update-authors,
8960 compile-onefile, compile-calc, backup-compiled-files,
8961 compile-after-backup, compile-one-process, mh-autoloads,
8962 bootstrap-clean, distclean, maintainer-clean.
8963
8964 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
8965
8966 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
8967 (calc-set-mode-line): Don't display "AlgSimp ".
8968
8969 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
8970 (calc-lim-simplify-mode): New function.
8971 (calc-set-simplify-mode): Default to 'alg.
8972 (calc-default-simplify-mode): Make algebraic simplifications
8973 the default.
8974
8975 * calc/calc-ext.el (calc-init-extensions): Remove binding for
8976 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
8977
8978 * calc/calc-help.el (calc-m-prefix-help): Change messages to
8979 indicate new simplification modes.
8980
8981 * calc/README: Mention new default simplification mode.
8982
8983 * calc/calc.el (math-normalize-error): New variable.
8984 (math-normalize): Set `math-normalize-error' to t
8985 when there's an error.
8986
8987 * calc/calc-alg.el (math-simplify): Don't simplify when
8988 `math-normalize' returns an error.
8989
8990 2012-07-29 Eli Zaretskii <eliz@gnu.org>
8991
8992 * international/mule-cmds.el (set-locale-environment): Revert last
8993 change, since display-graphic-p returns nil when this function is
8994 called during startup. Instead...
8995
8996 * term/w32console.el (terminal-init-w32console): ...setup the
8997 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
8998
8999 2012-07-29 Juri Linkov <juri@jurta.org>
9000
9001 * simple.el (goto-line): Don't display default line number in the
9002 prompt because it should be displayed by `read-number' (bug#9952).
9003 Add the current line number to the defaults of `goto-line' to
9004 allow its easier modification by users with `M-n' (bug#9201).
9005
9006 * subr.el (read-number): Support multiple default values like in
9007 other minibuffer reading functions. Replace `read' with
9008 `string-to-number' for consistency with `number-to-string'.
9009
9010 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
9011
9012 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
9013 * emulation/viper-init.el (viper-deactivate-input-method-action):
9014 Rename from viper-inactivate-input-method-action.
9015 (viper-deactivate-input-method):
9016 Rename from viper-inactivate-input-method.
9017 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
9018 * international/mule-cmds.el (deactivate-input-method):
9019 Rename from inactivate-input-method.
9020 Also run input-method-deactivate-hook.
9021 (deactivate-current-input-method-function):
9022 Rename from inactivate-current-input-method-function.
9023 (input-method-deactivate-hook): New hook.
9024 (input-method-inactivate-hook): Mark obsolete.
9025 (inactivate-input-method): Mark obsolete.
9026
9027 * international/quail.el (quail-activate):
9028 Also run quail-deactivate-hook.
9029 (quail-deactivate): Rename from quail-inactivate.
9030 * international/robin.el (robin-activate):
9031 Also run robin-deactivate-hook.
9032 (robin-deactivate): Rename from robin-inactivate.
9033
9034 2012-07-29 Chong Yidong <cyd@gnu.org>
9035
9036 * simple.el (indicate-copied-region): New function.
9037 (kill-ring-save): Split off from here.
9038
9039 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
9040 (kill-rectangle): Set deactivate-mark to t on read-only error.
9041
9042 * register.el (copy-to-register, copy-rectangle-to-register):
9043 Deactivate the mark, and use indicate-copied-region (Bug#10056).
9044 (append-to-register, prepend-to-register): Call indicate-copied-region.
9045
9046 2012-07-29 Juri Linkov <juri@jurta.org>
9047
9048 * simple.el (async-shell-command-buffer): New defcustom.
9049 (shell-command): Use it. (Bug#4719)
9050
9051 2012-07-28 Eli Zaretskii <eliz@gnu.org>
9052
9053 * international/mule-cmds.el (set-locale-environment): In a
9054 console session on MS-Windows, set up keyboard and terminal
9055 encoding from the OEM codepage, not the ANSI codepage.
9056 (Bug#12055)
9057
9058 2012-07-28 Chong Yidong <cyd@gnu.org>
9059
9060 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
9061 gdb-get-location.
9062
9063 2012-07-28 Leo Liu <sdl.web@gmail.com>
9064
9065 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
9066 the alist (bug#12029).
9067
9068 2012-07-28 Eli Zaretskii <eliz@gnu.org>
9069
9070 * makefile.w32-in (custom-deps, finder-data, updates, compile)
9071 (compile-always, compile-first)
9072 ($(lisp)/calendar/cal-loaddefs.el)
9073 ($(lisp)/calendar/diary-loaddefs.el)
9074 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
9075 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
9076 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
9077 instead of on update-subdirs.
9078 (bootstrap-clean): Delete $(lisp)/subdirs.el.
9079
9080 2012-07-28 Chong Yidong <cyd@gnu.org>
9081
9082 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
9083 directory if vc-deduce-backend returns nil (Bug#7350).
9084
9085 * simple.el (delete-trailing-lines): New option.
9086 (delete-trailing-whitespace): Obey it (Bug#11879).
9087
9088 2012-07-28 David Engster <deng@randomsample.de>
9089
9090 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
9091 Explanation of new 'symbol-qnames feature in doc-strings.
9092 (xml-maybe-do-ns): Return expanded names as plain symbols if
9093 'symbol-qnames was provided in XML-NS argument (Bug#11916).
9094 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
9095
9096 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
9097
9098 Consistent completion in inferior python with emacs -nw.
9099 * progmodes/python.el (inferior-python-mode): replace "<tab>"
9100 binding in inferior-python-mode-map with "\t".
9101 (python-shell-completion-complete-at-point)
9102 (python-completion-complete-at-point): Remove interactive spec.
9103
9104 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
9105
9106 * calc/calccomp.el (math-compose-expr): Undo previous change.
9107
9108 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
9109
9110 * progmodes/python.el (python-mode-map): Add keybinding for
9111 run-python.
9112 (python-shell-make-comint): Fix pop-to-buffer call.
9113 (run-python): Autoload. New arg SHOW.
9114 (python-shell-get-or-create-process): Do not pop python process
9115 buffer.
9116
9117 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
9118
9119 * notifications.el (notifications-on-action-signal)
9120 (notifications-on-closed-signal): Use also the bus address for the map.
9121 (notifications-notify, notifications-close-notification)
9122 (notifications-get-capabilities): Add optional argument BUS.
9123
9124 2012-07-27 Tassilo Horn <tsdh@gnu.org>
9125
9126 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
9127 Add support for the lstlisting and minted environments, and for the
9128 ctable macro.
9129 * textmodes/reftex.el (reftex-compile-variables): Also recognize
9130 labels written in keyvals syntax.
9131
9132 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
9133
9134 * calc/calccomp.el (math-compose-expr): Use parentheses when
9135 there is a product in the denominator of a fraction.
9136
9137 2012-07-26 Eli Zaretskii <eliz@gnu.org>
9138
9139 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
9140 ($(lisp)/calendar/diary-loaddefs.el)
9141 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
9142 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
9143 Fixes failures in parallel bootstrap because subdirs.el is being
9144 rewritten while the autoload files are built at the same time,
9145 which needs to load subdirs.el.
9146
9147 2012-07-26 Martin Rudalics <rudalics@gmx.at>
9148
9149 * mouse.el (popup-menu): Fix doc-string and re-indent code.
9150 (mouse-drag-line): Don't exit tracking when a switch-frame or
9151 switch-window event occurs (Bug#12006).
9152
9153 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9154
9155 * mouse.el (popup-menu): Fix last change.
9156
9157 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9158
9159 Autoload from Lisp with more care. Follow aliases when looking for
9160 function properties.
9161 * subr.el (autoloadp): New function.
9162 (symbol-file): Use it.
9163 (function-get): New function.
9164 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
9165 autoload-do-load.
9166 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
9167 (lisp-indent-function):
9168 * emacs-lisp/gv.el (gv-get):
9169 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
9170 * emacs-lisp/byte-opt.el (byte-optimize-form):
9171 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
9172 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
9173 Use function-get.
9174 * emacs-lisp/cl.el: Don't propagate function properties any more.
9175
9176 * speedbar.el (speedbar-add-localized-speedbar-support):
9177 * emacs-lisp/disass.el (disassemble-internal):
9178 * desktop.el (desktop-load-file):
9179 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
9180 (describe-function-1):
9181 * emacs-lisp/find-func.el (find-function-noselect):
9182 * emacs-lisp/elp.el (elp-instrument-function):
9183 * emacs-lisp/advice.el (ad-has-proper-definition):
9184 * apropos.el (apropos-safe-documentation, apropos-macrop):
9185 * emacs-lisp/debug.el (debug-on-entry):
9186 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
9187 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
9188 * calc/calc.el (name): Use autoloadp & autoload-do-load.
9189
9190 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
9191
9192 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
9193 function, not an obsolete variable (Bug#12046).
9194
9195 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
9196
9197 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
9198
9199 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
9200
9201 * emacs-lisp/pp.el (pp-display-expression): Select old selected
9202 window only if it is still live (Bug#12034).
9203
9204 2012-07-25 Martin Rudalics <rudalics@gmx.at>
9205
9206 * subr.el (redirect-frame-focus): Add advertised calling
9207 convention (Bug#12030).
9208
9209 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
9210
9211 Prefer typical American spelling for "acknowledgment".
9212 * vc/add-log.el (change-log-acknowledgment): Rename from
9213 change-log-acknowledgement, with an alias for the old name.
9214
9215 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
9216
9217 * calc-alg.el (math-simplify-divide): Don't cross multiply
9218 in an equation when the lhs is a variable.
9219
9220 2012-07-24 Julien Danjou <julien@danjou.info>
9221
9222 * net/netrc.el (netrc-find-service-number, netrc-store-data):
9223 Remove, unused.
9224
9225 2012-07-23 Eli Zaretskii <eliz@gnu.org>
9226
9227 * startup.el (command-line): Don't display an empty user name in
9228 the error message about non-existent home directory, when
9229 init-file-user was set to an empty string. See
9230 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
9231 for the details and context.
9232
9233 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
9234
9235 * ses.el (ses-cell-formula-aset): New macro.
9236 (ses-cell-references-aset): New macro.
9237 (ses-cell-p): New function.
9238 (ses-rename-cell): Do no longer rely on complex operations like
9239 ses-cell-set-formula or ses-set-cell to change the cell and handle
9240 the undo at the same time, but rather use lower level new macros
9241 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
9242 the undo directly. Refresh the mode line.
9243
9244 2012-07-21 Leo Liu <sdl.web@gmail.com>
9245
9246 * progmodes/cc-cmds.el (c-defun-name):
9247 Use match-string-no-properties instead for consistency.
9248
9249 2012-07-20 Leo Liu <sdl.web@gmail.com>
9250
9251 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
9252 (Bug#7879)
9253
9254 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
9255
9256 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
9257
9258 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
9259 * progmodes/bug-reference.el, misearch.el: Provide themselves
9260 (bug#11915).
9261
9262 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
9263 of narrowed buffer (bug#11966).
9264
9265 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
9266
9267 * ses.el (ses-rename-cell): Set new name also in reference list of
9268 cells of which the renamed cell depends.
9269
9270 2012-07-20 Masatake YAMATO <yamato@redhat.com>
9271
9272 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
9273 to check whether menu-bar is shown or not. If not shown,
9274 show the menu-bar as a popup menu instead of using tmm.
9275 * mouse.el (popup-menu): Accept `point' as `position' argument.
9276
9277 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
9278
9279 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
9280 up inside string symbol literal (bug#11923).
9281
9282 2012-07-20 Eli Zaretskii <eliz@gnu.org>
9283
9284 * startup.el (fancy-startup-text): Read the whole tutorial, not
9285 just its first 256 bytes. Prevents gibberish in display of the
9286 tutorial title.
9287
9288 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
9289
9290 Drop idle buffer compaction due to an absence of the
9291 proved efficiency.
9292 * compact.el: Remove.
9293
9294 2012-07-19 Sam Steingold <sds@gnu.org>
9295
9296 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
9297 vc-bzr-pull & vc-bzr-merge-branch.
9298 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
9299 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
9300 for consistency with compilation-error-regexp-alist.
9301 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
9302 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
9303 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
9304 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
9305
9306 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
9307
9308 * emacs-lisp/chart.el: Use lexical-binding.
9309 (chart-emacs-storage): Don't hardcode the list of entries.
9310
9311 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
9312
9313 Next round of tweaks caused by Fgarbage_collect changes.
9314 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
9315
9316 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
9317
9318 Compact buffers when idle.
9319 * compact.el: New file.
9320
9321 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
9322
9323 * subr.el (eventp): Presume that if it looks vaguely like an event,
9324 it's an event (bug#10190).
9325
9326 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
9327
9328 Enhancements to ppss related code (thanks Stefan).
9329 * progmodes/python.el (python-indent-context)
9330 (python-indent-calculate-indentation, python-indent-dedent-line)
9331 (python-indent-electric-colon, python-nav-forward-block)
9332 (python-mode-abbrev-table)
9333 (python-info-assignment-continuation-line-p): Simplify checks
9334 for ppss context.
9335 (python-info-continuation-line-p): Cleanup.
9336 (python-info-ppss-context): Do not catch 'quote.
9337 (python-info-ppss-context-type)
9338 (python-info-ppss-comment-or-string-p): Simplify.
9339
9340 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
9341
9342 * progmodes/python.el: Enhancements to eldoc support.
9343 (python-info-current-symbol): New function.
9344 (python-eldoc-at-point): Use python-info-current-symbol.
9345 (python-info-current-defun): Fix cornercase on first defun scan.
9346 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
9347 and signal error when no inferior python process is available.
9348
9349 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
9350
9351 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
9352 assume it's always t.
9353 (vc-git-registered): Remove caching, the function is only called
9354 once.
9355 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
9356
9357 2012-07-18 Chong Yidong <cyd@gnu.org>
9358
9359 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
9360
9361 * simple.el (count-words): Report on narrowing (Bug#9959).
9362
9363 * bindings.el: Bind M-= to count-words.
9364
9365 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
9366
9367 2012-07-18 Masatake YAMATO <yamato@redhat.com>
9368
9369 * progmodes/sh-script.el (sh-imenu-generic-expression):
9370 Capture a function with `function' keyword and without parentheses
9371 like "function FOO" (bug#11856).
9372
9373 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
9374
9375 * window.el (split-window-sensibly): Make WINDOW argument
9376 optional.
9377
9378 2012-07-18 Chong Yidong <cyd@gnu.org>
9379
9380 * subr.el (keyboard-translate): Doc fix (Bug#7261).
9381
9382 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
9383 and make C-x 8 RET exit isearch (Bug#11439).
9384
9385 * international/iso-transl.el: Move isearch-mode-map key
9386 definitions to isearch.el.
9387
9388 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
9389
9390 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
9391 (eieio-defclass): Use gv-define-setter when possible.
9392
9393 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
9394
9395 Reflect recent changes in Fgarbage_collect.
9396 * emacs-lisp/chart.el (chart-emacs-storage): Change to
9397 reflect new format of data returned by Fgarbage_collect.
9398
9399 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9400
9401 New utility functions + python-info-ppss-context fix (Bug#11910).
9402 * progmodes/python.el (python-info-beginning-of-block-statement-p)
9403 (python-info-ppss-comment-or-string-p): New functions.
9404 (python-info-ppss-context): Small fix for string check.
9405
9406 2012-07-17 Juri Linkov <juri@jurta.org>
9407
9408 * dired-aux.el (dired-do-async-shell-command): Doc fix.
9409 (dired-do-async-shell-command): Don't add `*' at the end of the
9410 command (Bug#11815).
9411 (dired-do-shell-command): Doc fix.
9412 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
9413 Join the individual commands using either "&" or ";" as the
9414 separator depending on the values of these trailing characters.
9415 At the end re-add the trailing "&". (Bug#10598)
9416
9417 * simple.el (async-shell-command): Sync the interactive spec with
9418 `shell-command'. Doc fix.
9419 (shell-command): Doc fix.
9420
9421 2012-07-17 Juri Linkov <juri@jurta.org>
9422
9423 * descr-text.el (describe-char): Fix format args. (Bug#10129)
9424
9425 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9426
9427 Final renames and doc fixes for movement commands (bug#11899).
9428 * progmodes/python.el (python-nav-beginning-of-statement):
9429 Rename from python-nav-statement-start.
9430 (python-nav-end-of-statement): Rename from
9431 python-nav-statement-end.
9432 (python-nav-beginning-of-block): Rename from
9433 python-nav-block-start.
9434 (python-nav-end-of-block): Rename from python-nav-block-end.
9435
9436 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9437
9438 * progmodes/python.el (python-shell-send-string-no-output):
9439 Allow accept-process-output to quit, keeping shell process ready for
9440 future interactions (Bug#11868).
9441
9442 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
9443
9444 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
9445
9446 * emacs-lisp/elint.el (elint-find-args-in-code):
9447 Use help-function-arglist, so as to handle lexical byte-code.
9448
9449 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
9450 change (bug#11826).
9451
9452 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
9453
9454 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
9455 Avoid spuriously marking the buffer as modified because of c-is-sws.
9456
9457 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
9458 as not-a-comment (bug#11946).
9459
9460 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
9461 for uninterned vars.
9462
9463 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
9464 Use read-event since we don't really want to read chars but bytes.
9465
9466 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
9467 $$..$$ but also $..$ using regexps (bug#11953).
9468 Use tex-verbatim for \url and \path.
9469 (tex-font-lock-keywords): Define as defconst like the others.
9470 (tex-common-initialization): Don't use font-lock-syntax-table any more.
9471
9472 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
9473
9474 * international/mule-cmds.el (ucs-insert): Make it an obsolete
9475 alias for insert-char.
9476
9477 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
9478
9479 * progmodes/python.el: Simplified imenu implementation.
9480 (python-nav-jump-to-defun): Remove command.
9481 (python-mode-map): Use `imenu' instead.
9482 (python-nav-list-defun-positions-cache)
9483 (python-imenu-include-defun-type, python-imenu-make-tree)
9484 (python-imenu-subtree-root-label, python-imenu-index-alist):
9485 Remove vars.
9486 (python-nav-list-defun-positions, python-nav-read-defun)
9487 (python-imenu-tree-assoc, python-imenu-make-element-tree)
9488 (python-imenu-make-tree, python-imenu-create-index):
9489 Remove functions.
9490 (python-mode): Update to interact with imenu by setting
9491 `imenu-extract-index-name-function' only.
9492
9493 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
9494
9495 * progmodes/python.el: Enhancements to navigation commands.
9496 (python-nav-backward-sentence)
9497 (python-nav-forward-sentence): Remove.
9498 (python-nav-backward-statement, python-nav-forward-statement)
9499 (python-nav-statement-start, python-nav-statement-end)
9500 (python-nav-backward-block, python-nav-forward-block)
9501 (python-nav-block-start, python-nav-block-end)
9502 (python-nav-forward-sexp-function)
9503 (python-info-current-line-comment-p)
9504 (python-info-current-line-empty-p): New functions.
9505 (python-indent-context): Use `python-nav-statement-start'.
9506
9507 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
9508
9509 * eshell/em-ls.el (eshell/ls): Use `apply'.
9510
9511 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
9512 multi-hops, instead of Tramp internals.
9513
9514 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
9515
9516 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
9517 when F1 and F2 are located on different hosts.
9518
9519 2012-07-14 Chong Yidong <cyd@gnu.org>
9520
9521 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
9522 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
9523 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
9524 (xterm-mouse--read-event-sequence-1000)
9525 (xterm-mouse--read-event-sequence-1006): New functions. For old
9526 mouse protocol, handle M-mouse-X events correctly.
9527 (xterm-mouse-event): New arg specifying mouse protocol.
9528 (turn-on-xterm-mouse-tracking-on-terminal)
9529 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
9530 sequence to toggle extended coordinates on newer XTerms.
9531 This appears to be harmless on terminals which do not support this.
9532
9533 2012-07-14 Leo Liu <sdl.web@gmail.com>
9534
9535 Add fringe bitmap indicators for flymake. (Bug#11253)
9536 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
9537 (flymake-make-overlay): New arg BITMAP.
9538 (flymake-error-bitmap, flymake-warning-bitmap)
9539 (flymake-fringe-indicator-position): New user variables.
9540
9541 * fringe.el: New bitmap exclamation-mark.
9542
9543 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
9544
9545 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
9546 also (Bug#7879).
9547
9548 2012-07-14 Chong Yidong <cyd@gnu.org>
9549
9550 * electric.el (electric-pair-post-self-insert-function): Fix pair
9551 insertion in empty-region case (Bug#11520).
9552
9553 2012-07-14 Chong Yidong <cyd@gnu.org>
9554
9555 * bindings.el: Consolidate ctl-x-r-map bindings.
9556 Bind copy-rectangle-as-kill to C-x r w.
9557
9558 * rect.el, register.el: Move bindings to bindings.el.
9559
9560 2012-07-14 Reuben Thomas <rrt@sc3d.org>
9561
9562 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
9563
9564 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
9565
9566 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
9567
9568 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
9569
9570 * bindings.el (top): Use `mapc' instead of `mapcar'.
9571
9572 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
9573
9574 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
9575
9576 * progmodes/sql.el (sql-comint): Suppress the check for program on
9577 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
9578 (Bug#11908)
9579
9580 2012-07-13 Chong Yidong <cyd@gnu.org>
9581
9582 * bindings.el: Assign a non-nil permanent-local property to
9583 per-buffer variables which lack a default value (Bug#11930).
9584
9585 * help-fns.el (describe-variable): In the "automatically becomes
9586 local" notice, take note of permanent-local variables.
9587
9588 2012-07-13 Chong Yidong <cyd@gnu.org>
9589
9590 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
9591 to allow printing the message when called from Lisp.
9592
9593 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9594 Remove toggle-read-only.
9595
9596 * bs.el (bs-toggle-readonly):
9597 * buff-menu.el (Buffer-menu-toggle-read-only):
9598 Remove with-no-warnings around toggle-read-only.
9599
9600 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
9601 Remove with-no-warnings around toggle-read-only.
9602 (ffap-read-only, ffap-read-only-other-window)
9603 (ffap-read-only-other-frame): Callers changed.
9604
9605 * help-mode.el: Don't require view package.
9606 (help-mode-finish): Set buffer-read-only instead of calling
9607 toggle-read-only.
9608
9609 * bindings.el (mode-line-toggle-read-only):
9610 * dired.el (dired-toggle-read-only):
9611 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
9612 with non-nil second arg.
9613
9614 * emacs-lisp/eieio-custom.el (eieio-customize-object):
9615 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
9616 directly.
9617
9618 2012-07-12 Eli Zaretskii <eliz@gnu.org>
9619
9620 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
9621 not incf.
9622
9623 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
9624
9625 More CL cleanups and reduction of use of cl.el.
9626 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
9627 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
9628 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
9629 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
9630 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
9631 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
9632 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
9633 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
9634 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
9635 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
9636 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
9637 * eshell/em-cmpl.el, eshell/em-banner.el:
9638 * calendar/parse-time.el: Use cl-lib.
9639 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
9640 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
9641 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
9642 * term/ns-win.el, term.el, shell.el, ps-samp.el:
9643 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
9644 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
9645 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
9646 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
9647 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
9648 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
9649 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
9650 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
9651 `lambda' rather than with `quote'.
9652 (eshell-do-opt): Adjust accordingly.
9653 (eshell-process-option): Simplify.
9654 * eshell/esh-var.el:
9655 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
9656 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
9657 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
9658 to `pcase--dontcare'.
9659 * emacs-lisp/cl.el (labels): Mark obsolete.
9660 (cl--letf, letf): Move to cl-lib.
9661 (cl--letf*, letf*): Remove.
9662 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
9663 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
9664 (cl-progv): Rewrite.
9665 (cl--letf, cl-letf): Move from cl.el.
9666 (cl-letf*): New macro.
9667 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
9668
9669 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
9670
9671 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
9672
9673 2012-07-11 Chong Yidong <cyd@gnu.org>
9674
9675 * vc/log-edit.el (log-edit-vc-backend): New variable.
9676 (log-edit): Doc fix.
9677
9678 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
9679 argument of log-edit to set up all local variables.
9680 (vc-start-logentry): New optional arg specifying VC backend.
9681
9682 * vc/vc.el (vc-checkin): Use it.
9683 (vc-deduce-fileset): Handle Log Edit buffers.
9684 (vc-diff): Make first argument optional too.
9685
9686 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
9687
9688 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
9689
9690 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
9691 command, just in case. The function is not needed anymore.
9692 (eshell-external-command): Do not call `eshell-remote-command'.
9693
9694 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
9695
9696 Reduce use of (require 'cl).
9697 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
9698 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
9699 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
9700 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
9701 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
9702 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
9703 * battery.el, avoid.el, abbrev.el: Use cl-lib.
9704 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
9705 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
9706 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
9707 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
9708 * calculator.el, autorevert.el, apropos.el: Don't require CL.
9709 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
9710 (byte-compile-unfold-bcf, byte-compile-check-variable):
9711 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
9712 (byte-compile-nilconstp):
9713 * emacs-lisp/autoload.el (make-autoload): Use pcase.
9714 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
9715
9716 * emacs-lisp/gv.el (cond): Make it a valid place.
9717 (if): Simplify slightly.
9718
9719 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
9720 (pcase--self-quoting-p): New function.
9721 (pcase--u1): Use it.
9722
9723 2012-07-10 Glenn Morris <rgm@gnu.org>
9724
9725 * emacs-lisp/authors.el (authors-fixed-entries):
9726 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
9727
9728 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
9729
9730 Rename configure.in to configure.ac (Bug#11603).
9731 * emacs-lisp/authors.el (authors-canonical-file-name):
9732 * progmodes/autoconf.el (autoconf-mode):
9733 Prefer configure.ac to configure.in.
9734
9735 2012-07-08 Chong Yidong <cyd@gnu.org>
9736
9737 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
9738 Implement the mouse-1-click-follows-link handling properly.
9739
9740 * info.el (Info-link-keymap): Use follow-link mechanism for
9741 header-line links (Bug#374).
9742
9743 * simple.el (deactivate-mark): Do not set the primary selection
9744 if another program has acquired it (Bug#11772).
9745
9746 2012-07-07 Kevin Ryde <user42@zip.com.au>
9747
9748 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
9749 (woman-decode-region): Replace escaped-escapes without destroying
9750 bold or underline (Bug#11552).
9751 (woman2-process-escapes): Handle nofill regions (Bug#11591).
9752
9753 2012-07-07 Chong Yidong <cyd@gnu.org>
9754
9755 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
9756 (interprogram-cut-function, interprogram-paste-function):
9757 Mention that we typically mean the clipboard.
9758
9759 2012-07-06 Glenn Morris <rgm@gnu.org>
9760
9761 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
9762
9763 * files.el (toggle-read-only): Restrict message to interactive use.
9764
9765 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
9766
9767 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
9768
9769 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
9770
9771 2012-07-06 Glenn Morris <rgm@gnu.org>
9772
9773 * Makefile.in (compile-one-process): Rename from "recompile".
9774
9775 * Makefile.in (bzr-update): "compile" is the same as "recompile
9776 autoloads", but parallelizable, so use that instead.
9777
9778 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
9779
9780 * window.el (quit-window): Always restore window height when
9781 it's saved in quit-restore parameter (Bug#11810).
9782
9783 2012-07-06 Glenn Morris <rgm@gnu.org>
9784
9785 * simple.el (kill-whole-line): Doc tweak.
9786
9787 2012-07-06 Eli Zaretskii <eliz@gnu.org>
9788
9789 * files.el (file-relative-name): Compare file names
9790 case-insensitively if on MS-Windows or MS-DOS, or if
9791 read-file-name-completion-ignore-case is non-nil. Don't use
9792 case-fold-search for this purpose. (Bug#11827)
9793
9794 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
9795
9796 * calendar/cal-dst.el (calendar-current-time-zone):
9797 Return calendar-current-time-zone-cache if non-nil.
9798
9799 2012-07-17 Masatake YAMATO <yamato@redhat.com>
9800 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
9801
9802 * calendar/cal-dst.el (calendar-current-time-zone):
9803 Return calendar-current-time-zone-cache if non-nil.
9804
9805 2012-07-06 Glenn Morris <rgm@gnu.org>
9806
9807 * Makefile.in (cvs-update): Remove old alias.
9808
9809 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
9810
9811 Sync with Tramp 2.2.6-pre.
9812
9813 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
9814 compatible declaration.
9815
9816 * net/tramp-cmds.el (tramp-append-tramp-buffers):
9817 Protect `list-load-path-shadows' call.
9818
9819 * net/tramp-compat.el (top): Require packages, which aren't
9820 autoloaded anymore for XEmacs. Protect call of
9821 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
9822 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
9823 it hurts at least for SXEmacs.
9824 (tramp-compat-temporary-file-directory): In XEmacs, there is no
9825 standard-value for `temporary-file-directory'.
9826
9827 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
9828 Redirect stderr to /dev/null.
9829 (tramp-sh-handle-write-region): uid and gid can be floats.
9830 Reported by Russell Sim <russell.sim@gmail.com>.
9831 (tramp-sh-handle-vc-registered): Hide errors.
9832 (tramp-vc-file-name-handler): Use dummy results for `process-file'
9833 and `start-file-process'.
9834 (tramp-maybe-open-connection): Check also whether `non-essential'
9835 is bound.
9836
9837 2012-07-04 Chong Yidong <cyd@gnu.org>
9838
9839 * xml.el (xml--parse-buffer): Use xml-syntax-table.
9840 (xml-parse-tag): Likewise, and avoid changing entity tables.
9841 (xml-syntax-table): Define from scratch, making sure not to give
9842 x2000 and other Unicode spaces whitespace syntax, since those are
9843 not spaces in XML.
9844 (xml-parse-fragment): Delete unused function.
9845 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
9846 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
9847 (xml-entity-ref, xml-pe-reference-re)
9848 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
9849 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
9850 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
9851 (xml-entity-value-re): Use syntax references in regexps where
9852 possible; no need to define inside a let-binding.
9853 (xml-parse-dtd): Use xml-pe-reference-re.
9854 (xml-entity-or-char-ref-re): New defconst.
9855 (xml-parse-string, xml-substitute-special): Use it.
9856
9857 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9858
9859 * files.el (locate-dominating-file): Allow `name' to be a predicate.
9860 (find-file--read-only): New function.
9861 (find-file-read-only, find-file-read-only-other-window)
9862 (find-file-read-only-other-frame): Use it.
9863 (insert-file-contents-literally): Don't `fset'.
9864 (get-free-disk-space): Use locate-dominating-file.
9865
9866 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
9867 function is already compiled.
9868
9869 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
9870
9871 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
9872
9873 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
9874 files on the same host.
9875
9876 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
9877
9878 * help-fns.el (describe-function-1): Only call
9879 help-fns--autoloaded-p when we have a file name. (Bug#11848)
9880
9881 2012-07-03 Chong Yidong <cyd@gnu.org>
9882
9883 * xml.el: Protect parser against XML bombs.
9884 (xml-entity-expansion-limit): New variable.
9885 (xml-parse-string, xml-substitute-special): Use it.
9886 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
9887
9888 2012-07-03 Glenn Morris <rgm@gnu.org>
9889
9890 * progmodes/bug-reference.el (bug-reference-bug-regexp):
9891 Allow linking to specific messages in debbugs reports (eg 123#5).
9892
9893 2012-07-02 Chong Yidong <cyd@gnu.org>
9894
9895 * xml.el: Fix entity and character reference expansion, allowing
9896 them to expand into markup as per XML spec.
9897 (xml-default-ns): New variable.
9898 (xml-entity-alist): Use XML spec definitions for lt and amp.
9899 (xml-parse-region): Make first two arguments optional.
9900 Discard text properties.
9901 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
9902 All callers changed.
9903 (xml-parse-tag): Call xml-parse-tag-1. For backward
9904 compatibility, this function should not modify buffer contents.
9905 (xml-parse-tag-1): Fix opening-tag regexp.
9906 (xml-parse-string): Rewrite, handling entity and character
9907 references properly.
9908 (xml--entity-replacement-text): Signal an error if a parameter
9909 entity is undefined.
9910
9911 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
9912
9913 * comint.el (comint-output-filter): Filter out repeated prompts.
9914
9915 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
9916 and file-name-absolute-p.
9917 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
9918 internal calls.
9919
9920 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
9921
9922 Spelling fixes.
9923 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
9924 Rename from byte-compile--refiy-function. All uses changed.
9925
9926 2012-07-01 Chong Yidong <cyd@gnu.org>
9927
9928 * xml.el (xml--parse-buffer): New function. Move most of
9929 xml-parse-region here.
9930 (xml-parse-region): Copy region into a temporary buffer, since
9931 parameter entity substitution requires changing buffer contents.
9932 Use xml--parse-buffer.
9933 (xml-parse-file): Use xml--parse-buffer.
9934 (xml-parse-dtd): Make parameter entity substitution work right.
9935 Use proper regexps for ELEMENT declarations (Bug#7172).
9936
9937 2012-06-30 Glenn Morris <rgm@gnu.org>
9938
9939 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
9940
9941 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
9942 Remove outdated and unnecessary dbus declarations.
9943
9944 2012-06-30 Eli Zaretskii <eliz@gnu.org>
9945
9946 * emacs-lisp/timer.el (timer-until): Subtract results of
9947 float-time, instead of taking float-time of the result of
9948 time-subtract, since float-time signals an error for negative time
9949 arguments.
9950
9951 2012-06-30 Chong Yidong <cyd@gnu.org>
9952
9953 * xml.el (xml-*-re): Convert defvars into defconsts, and
9954 eval-and-compile them so eval-and-compile works on derivatives.
9955 (xml--entity-replacement-text): Use eval-and-comple.
9956
9957 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
9958
9959 * vc/vc-git.el (vc-git-registered): Use cache property
9960 `git-registered'.
9961 (vc-git-mode-line-string): Call `vc-working-revision' instead of
9962 `vc-git-working-revision' in order to benefit from the cache.
9963 (vc-git-root): Use cache property `git-root'. (Bug#11757)
9964
9965 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
9966
9967 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
9968 removed (likely outside Emacs). (Bug#11757)
9969
9970 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
9971
9972 * emacs-lisp/cl-lib.el: Require macroexp.
9973
9974 2012-06-30 Chong Yidong <cyd@gnu.org>
9975
9976 * xml.el: Implement XML parameter entities.
9977 (xml-parameter-entity-alist): New variable.
9978 (xml-parse-region, xml-parse-fragment): Preserve previous values
9979 of xml-entity-alist and xml-parameter-entity-alist, so that
9980 repeated calls on different documents do not change them.
9981 (xml-parse-tag): Fix doctype regexp.
9982 (xml--entity-replacement-text): New function.
9983 (xml-parse-dtd): Use it. Don't handle system entities; doing that
9984 properly requires url retrieval which is unimplemented.
9985 (xml-escape-string): Doc fix.
9986
9987 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
9988
9989 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
9990
9991 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
9992
9993 * fringe.el (fringe-mode): Doc fix.
9994
9995 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
9996
9997 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
9998 is non-nil.
9999 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
10000 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
10001
10002 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
10003
10004 * calendar/cal-dst.el (calendar-current-time-zone):
10005 Return calendar-current-time-zone-cache if non-nil.
10006
10007 2012-06-29 Masatake YAMATO <yamato@redhat.com>
10008
10009 * progmodes/which-func.el (which-func-format):
10010 Add mouse-face. (Bug#11698)
10011
10012 2012-06-29 Leo Liu <sdl.web@gmail.com>
10013
10014 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
10015
10016 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
10017
10018 * minibuffer.el (minibuffer-confirm-exit-commands):
10019 Add completion-at-point (bug#11725).
10020
10021 2012-06-29 Glenn Morris <rgm@gnu.org>
10022
10023 * progmodes/f90.el (f90-font-lock-keywords-2):
10024 Add some preprocessor elements. (Bug#10499)
10025
10026 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
10027
10028 * progmodes/cperl-mode.el (cperl-update-syntaxification):
10029 Use syntax-propertize (bug#11739).
10030
10031 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
10032
10033 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
10034
10035 2012-06-28 Julien Danjou <julien@danjou.info>
10036
10037 * term.el (term-handle-colors-array): Use a set of new faces to
10038 color the terminal. Also uses :inverse-video property.
10039 (term-default-fg-color): Set to nil by default, deprecate in favor
10040 of `term-face'.
10041 (term-default-bg-color): Set to nil by default, deprecate in favor
10042 of `term-face'.
10043 (term-current-face): Use `term-face' by default.
10044 (term-bold-attribute): Variable deleted.
10045
10046 2012-06-28 Glenn Morris <rgm@gnu.org>
10047
10048 * simple.el (completion-list-mode-finish):
10049 Don't use toggle-read-only. (Since completion-list-mode has
10050 a special mode-class, it wasn't doing anything extra anyway.)
10051
10052 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
10053
10054 Make inlining of other-mode interpreted functions work (bug#11799).
10055 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
10056 (byte-compile): Use it to fix compilation of lexical-binding closures.
10057 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
10058 function, if needed.
10059
10060 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10061
10062 * help-mode.el (help-make-xrefs): Don't just withstand
10063 cyclic-variable-indirection but any error in documentation-property.
10064
10065 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
10066 memory use.
10067 * bindings.el (bindings--define-key): New function.
10068 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
10069 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
10070 * bindings.el: Use it to purecopy define-key bindings.
10071
10072 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
10073
10074 * emacs-lisp/cl.el (flet): Mark obsolete.
10075 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
10076 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
10077 * progmodes/js.el (js-c-fill-paragraph):
10078 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
10079 (ebrowse-switch-member-buffer-to-derived-class):
10080 * play/5x5.el (5x5-solver): Use cl-flet.
10081
10082 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
10083 (cl--symbol-function): New macro.
10084 (cl--letf, cl--letf*): Use it.
10085
10086 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
10087 Strip "toggle-" if any.
10088
10089 2012-06-27 Glenn Morris <rgm@gnu.org>
10090
10091 * info.el (Info-default-directory-list): Move here from paths.el.
10092 * paths.el: Remove file, which is now empty.
10093 * loadup.el: No longer load "paths".
10094
10095 * custom.el (custom-initialize-delay): Doc fix.
10096
10097 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10098 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
10099 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
10100 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
10101 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
10102 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
10103 * eshell/eshell.el (eshell-defgroup): Remove alias.
10104
10105 2012-06-27 Chong Yidong <cyd@gnu.org>
10106
10107 * help.el (help-enable-auto-load): New variable.
10108
10109 * help-fns.el (help-fns--autoloaded-p): New function.
10110 (describe-function-1): Refer to a function as "autoloaded" if it
10111 was autoloaded at any time in the past. Perform autoloading if
10112 help-enable-auto-load is non-nil.
10113
10114 2012-06-26 Eli Zaretskii <eliz@gnu.org>
10115
10116 * makefile.w32-in (compile, compile-always): Depend on
10117 update-subdirs, not on subdirs.el. Otherwise, several different
10118 sub-targets of 'bootstrap' running in parallel could
10119 simultaneously write to subdirs.el, producing a garbled file.
10120
10121 2012-06-26 Sam Steingold <sds@gnu.org>
10122
10123 * files.el (file-name-base): New convenience function.
10124 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
10125 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
10126 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
10127 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
10128 * textmodes/ispell.el, textmodes/reftex-ref.el:
10129 * textmodes/tex-mode.el: Use it.
10130 Did not touch cedet and org because they are maintained elsewhere.
10131
10132 2012-06-26 Martin Rudalics <rudalics@gmx.at>
10133
10134 * calendar/calendar.el (calendar-exit): Don't try to delete or
10135 iconify last frame. See:
10136 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
10137
10138 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
10139
10140 * server.el (server-process-filter): Remember dir in the
10141 process's `server-client-directory' properties.
10142
10143 2012-06-24 Chong Yidong <cyd@gnu.org>
10144
10145 * xml.el (xml-parse-tag): Correctly handle comment embedded in
10146 non-tag text.
10147
10148 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
10149
10150 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
10151
10152 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10153
10154 * help-fns.el (describe-variable): Don't croak when doc is not found.
10155 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
10156 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
10157 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
10158 * emacs-lisp/smie.el (smie-next-sexp): CSE.
10159 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
10160 ((lambda ..) ..).
10161 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
10162
10163 2012-06-23 Chong Yidong <cyd@gnu.org>
10164
10165 * info.el (Info-mouse-follow-link): Accept symbol values of
10166 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
10167 (Info-fontify-node): Use Info-link-keymap for all navigation
10168 buttons, with link-args property to perform the desired action.
10169 (Info-link-keymap): Doc fix.
10170 (Info-next-link-keymap, Info-prev-link-keymap)
10171 (Info-up-link-keymap): Delete now-unused keymaps.
10172
10173 2012-06-23 Chong Yidong <cyd@gnu.org>
10174
10175 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
10176
10177 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
10178 system abbrevs.
10179
10180 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
10181
10182 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10183
10184 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
10185 (bug#11719).
10186
10187 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
10188 the requote function doesn't work properly (bug#11714).
10189
10190 2012-06-23 Glenn Morris <rgm@gnu.org>
10191
10192 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
10193
10194 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10195
10196 Further GV/CL cleanups.
10197 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
10198 gv-expander.
10199 (gv--defun-declaration): New function.
10200 (defun-declarations-alist): Use it.
10201 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
10202 (gv-place): Autoload.
10203 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
10204 original definition of dotimes and dolist.
10205 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
10206 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
10207 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
10208 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
10209 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
10210 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
10211 to the function's definition.
10212 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
10213 * window.el:
10214 * files.el:
10215 * faces.el:
10216 * env.el: Don't use CL.
10217
10218 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
10219
10220 Support higher-resolution time stamps (Bug#9000).
10221
10222 * calendar/time-date.el (with-decoded-time-value): New arg
10223 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
10224 (encode-time-value): New optional arg PICO. New type 3.
10225 (time-to-seconds) [!float-time]: Support the new picoseconds
10226 component if it's used.
10227 (seconds-to-time, time-subtract, time-add):
10228 Support ps-resolution time stamps as well.
10229
10230 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
10231 (timerp): Timer vectors now have length 9, not 8.
10232 (timer--time): Support new-style (4-part) time stamps.
10233 (timer-next-integral-multiple-of-time): Time stamps now have
10234 picosecond resolution, so take a bit more care about rounding.
10235 (timer-relative-time, timer-inc-time): New optional arg psecs.
10236 (timer-set-time-with-usecs): Set psecs to 0.
10237 (timer--activate): Check psecs component, too.
10238
10239 * proced.el (proced-time-lessp): Support ps-resolution stamps.
10240
10241 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10242
10243 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
10244 Move the non-essential binding to the post/pre-command-hook where it is
10245 more obviously correct.
10246
10247 * subr.el (read-passwd): Don't use a history at all.
10248 * savehist.el (savehist-save): Remove password saved accidentally
10249 because of the above bug.
10250
10251 2012-06-22 Bastien Guerry <bzg@gnu.org>
10252
10253 * files.el (toggle-read-only): Display a message telling whether
10254 the buffer is read-only or not (bug#11726).
10255
10256 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10257
10258 * emacs-lisp/gv.el: New file.
10259 * subr.el (push, pop): Extend to generalized variables.
10260 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
10261 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
10262 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
10263 gv-define-simple-setter, and gv-define-expander.
10264 Remove setf-methods defined in gv. Rename cl-setf -> setf.
10265 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
10266 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
10267 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
10268 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
10269 gv-letplace.
10270 (cl-defstruct): Don't define setf-method any more.
10271 * emacs-lisp/cl.el (flet): Don't autoload.
10272 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
10273 (define-setf-expander, defsetf, define-modify-macro)
10274 (cl-struct-setf-expander): Move from cl-lib.el.
10275 * emacs-lisp/syntax.el:
10276 * emacs-lisp/ewoc.el:
10277 * emacs-lisp/smie.el:
10278 * emacs-lisp/cconv.el:
10279 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
10280 (timer--time): Use gv-define-simple-setter.
10281 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
10282 to avoid coding-system problems in subr.el. Adjust all users.
10283 (macroexp--maxsize, macroexp-small-p): New functions.
10284 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
10285 * scroll-bar.el (scroll-bar-mode):
10286 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
10287 (normal-erase-is-backspace-mode): Don't use the `eq' place.
10288 * winner.el (winner-configuration, winner-make-point-alist)
10289 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
10290 * files.el (locate-file-completion-table): Avoid list*.
10291
10292 2012-06-22 Chong Yidong <cyd@gnu.org>
10293
10294 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
10295 (dired-create-files): Doc fix (Bug#11329).
10296 (dired-do-copy): Doc fix (Bug#11334).
10297 (dired-mark-read-string): Doc fix (Bug#11553).
10298
10299 * dired.el (dired-recursive-copies, dired-recursive-deletes):
10300 Doc fix (Bug#11326).
10301 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
10302 (dired-dwim-target): Doc fix.
10303
10304 * wdired.el (wdired-mode): Doc fix.
10305
10306 2012-06-22 Glenn Morris <rgm@gnu.org>
10307
10308 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
10309 (pcmpl-rpm-cache-stamp-file): New constant.
10310 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
10311 (pcmpl-rpm-packages): Optionally cache list of packages.
10312
10313 * pcmpl-rpm.el (pcmpl-rpm): New group.
10314 (pcmpl-rpm-query-options): New option.
10315 (pcmpl-rpm-packages): No need to inline it.
10316 Use pcmpl-rpm-query-options.
10317
10318 * calendar/calendar.el (calendar-in-read-only-buffer):
10319 Avoid some needless mode changes.
10320
10321 2012-06-21 Chong Yidong <cyd@gnu.org>
10322
10323 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
10324 (desktop-path): Remove . from the default value (Bug#10977).
10325 (desktop-read): Use user-emacs-directory if desktop-path is nil.
10326
10327 2012-06-20 Chong Yidong <cyd@gnu.org>
10328
10329 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
10330
10331 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
10332
10333 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
10334 (bug#11201).
10335
10336 2012-06-20 Chong Yidong <cyd@gnu.org>
10337
10338 * term.el (term-window-width): Handle the case of a missing right
10339 fringe (Bug#8837).
10340 (term-check-size): Use window-text-height (Bug#5445).
10341 (term-mode): Use define-derived-mode. Minor cleanups.
10342 Set font-lock-defaults (Bug#7692).
10343 (term-move-columns, term-insert-char, term-emulate-terminal)
10344 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
10345
10346 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
10347
10348 * net/ange-ftp.el (ange-ftp-get-passwd):
10349 Bind `enable-recursive-minibuffers'.
10350 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
10351
10352 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
10353
10354 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
10355
10356 2012-06-19 Glenn Morris <rgm@gnu.org>
10357
10358 * progmodes/python.el (python-mode): Derive from prog-mode.
10359
10360 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
10361
10362 * emulation/edt.el (edt-default-menu-bar-update-buffers)
10363 (edt-user-menu-bar-update-buffers): New functions.
10364 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
10365
10366 2012-06-19 Chong Yidong <cyd@gnu.org>
10367
10368 * subr.el (with-selected-window): Preserve the selected window's
10369 terminal's top-frame (Bug#4702).
10370
10371 * window.el (save-selected-window): Likewise.
10372
10373 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10374
10375 * progmodes/python.el (python-rx-constituents): Move backquote.
10376 (python-skeleton-define, python-define-auxiliary-skeleton):
10377 Use `declare'.
10378
10379 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
10380
10381 * minibuffer.el (read-file-name-default): Revert the patch from
10382 2012-06-17.
10383
10384 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10385
10386 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
10387 (pcase--u1, pcase--q1): Don't use apply-partially.
10388
10389 2012-06-18 Glenn Morris <rgm@gnu.org>
10390
10391 * progmodes/python.el (python-proc, python-buffer)
10392 (python-send-receive, python-send-string): Fix obsolete versions.
10393
10394 2012-06-18 Martin Rudalics <rudalics@gmx.at>
10395
10396 * window.el (special-display-p): Completely remove stringp
10397 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
10398
10399 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
10400
10401 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
10402
10403 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
10404
10405 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
10406 * net/tramp-sh.el (tramp-maybe-open-connection):
10407 Throw if `non-essential' is non-nil.
10408
10409 2012-06-17 Martin Rudalics <rudalics@gmx.at>
10410
10411 * window.el (special-display-p): Signal an error if BUFFER-NAME
10412 is not a string (Bug#11713).
10413
10414 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
10415
10416 * progmodes/python.el (python-info-beginning-of-backslash):
10417 Rename from python-info-beginning-of-backlash, as a spelling fix.
10418
10419 2012-06-17 Chong Yidong <cyd@gnu.org>
10420
10421 * term.el (term-emulate-terminal): If term-check-size is called,
10422 move point to the process mark without resetting point (Bug#4635).
10423
10424 2012-06-17 Glenn Morris <rgm@gnu.org>
10425
10426 * international/mule-cmds.el (mule-menu-keymap)
10427 (set-language-environment, set-locale-environment): Doc tweaks.
10428
10429 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
10430
10431 * cus-face.el (custom-face-attributes): Add wave-style underline
10432 attribute.
10433 * faces.el (set-face-attribute): Update docstring to describe
10434 wave-style underline attribute.
10435
10436 2012-06-16 Chong Yidong <cyd@gnu.org>
10437
10438 * term/xterm.el (terminal-init-xterm): Discard input before
10439 querying background mode (Bug#10959).
10440
10441 2012-06-16 Stefan Merten <smerten@oekonux.de>
10442
10443 * textmodes/rst.el: Added and corrected some comments.
10444 (rst-re-alist-def): Improve symbol syntax.
10445 (rst-mode-syntax-table): Correct syntax entries.
10446 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
10447 (rst-official-version, rst-official-cvs-rev): Update version
10448 information.
10449
10450 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
10451
10452 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
10453 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
10454
10455 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
10456
10457 * progmodes/python.el: New python.el merge.
10458 (python-guess-indent): Obsolete var.
10459 (python-indent-guess-indent-offset): New defcustom.
10460 (python-indent): Obsolete var.
10461 (python-indent-offset): New defcustom.
10462 (python-python-command, python-jython-command): Delete var.
10463 (python-shell-interpreter): New defcustom.
10464 (python-pdbtrack-do-tracking-p): Delete var.
10465 (python-pdbtrack-activate): New defcustom.
10466 (python-use-skeletons): Obsolete var.
10467 (python-skeleton-autoinsert): New defcustom.
10468 (inferior-python-filter-regexp, python-continuation-offset)
10469 (python-honour-comment-indentation, python-indent-string-contents)
10470 (python-jython-packages, python-mode-hook)
10471 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
10472 (python-shell-prompt-alist)
10473 (python-source-modes): Delete defcustoms.
10474 (python-check-buffer-name, python-eldoc-setup-code)
10475 (python-eldoc-string-code, python-ffap-setup-code)
10476 (python-ffap-string-code, python-fill-comment-function)
10477 (python-fill-decorator-function, python-fill-paren-function)
10478 (python-fill-string-function, python-imenu-include-defun-type)
10479 (python-imenu-make-tree, python-imenu-subtree-root-label)
10480 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
10481 (python-shell-compilation-regexp-alist)
10482 (python-shell-completion-module-string-code)
10483 (python-shell-completion-pdb-string-code)
10484 (python-shell-completion-setup-code)
10485 (python-shell-completion-string-code)
10486 (python-shell-enable-font-lock, python-shell-exec-path)
10487 (python-shell-extra-pythonpaths)
10488 (python-shell-internal-buffer-name, python-shell-interpreter-args)
10489 (python-shell-process-environment)
10490 (python-shell-prompt-block-regexp)
10491 (python-shell-prompt-output-regexp)
10492 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
10493 (python-shell-send-setup-max-wait, python-shell-setup-codes)
10494 (python-shell-virtualenv-path): New defcustoms.
10495 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
10496 (inferior-python-mode-syntax-table, python--prompt-regexp)
10497 (python-buffer, python-command python-python-command)
10498 (python-default-template, python-imports, python-indent-index)
10499 (python-indent-list, python-indent-list-length)
10500 (python-mode-running, python-pdbtrack-is-tracking-p)
10501 (python-preoutput-continuation, python-preoutput-leftover)
10502 (python-preoutput-result, python-preoutput-skip-next-prompt)
10503 (python-prev-dir/file, python-recursing)
10504 (python-saved-check-command, python-version-checked)
10505 (python-which-func-length-limit)
10506 (view-return-to-alist): Delete vars.
10507 (python-check-custom-command, python-dotty-syntax-table)
10508 (python-imenu-index-alist, python-indent-current-level)
10509 (python-indent-dedenters, python-indent-levels)
10510 (python-nav-beginning-of-defun-regexp)
10511 (python-nav-list-defun-positions-cache)
10512 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
10513 (python-shell-internal-buffer)
10514 (python-skeleton-available): New vars.
10515 (def-python-skeleton): Delete macro.
10516 (python-skeleton-define): New macro.
10517 (python-define-auxiliary-skeleton, python-rx): New macros.
10518 (python-insert-class): Delete command.
10519 (python-skeleton-class): New command.
10520 (python-insert-def): Delete command.
10521 (python-skeleton-def): New command.
10522 (python-insert-for): Delete command.
10523 (python-skeleton-for): New command.
10524 (python-insert-if): Delete command.
10525 (python-skeleton-if): New command.
10526 (python-insert-try/except, python-insert-try/finally): Delete commands.
10527 (python-skeleton-try): New command.
10528 (python-insert-while): Delete command.
10529 (python-skeleton-while): New command.
10530 (python-backspace): Delete command.
10531 (python-indent-dedent-line-backspace): New command.
10532 (python-electric-colon): Delete command.
10533 (python-indent-electric-colon): New command.
10534 (python-guess-indent): Delete command.
10535 (python-indent-guess-indent-offset): New command.
10536 (python-shift-left): Delete command.
10537 (python-indent-shift-left): New command.
10538 (python-shift-right): Delete command.
10539 (python-indent-shift-right): New command.
10540 (python-find-function): Delete command.
10541 (python-nav-jump-to-defun): New command.
10542 (python-next-statement): Delete command.
10543 (python-nav-forward-sentence): New command.
10544 (python-previous-statement): Delete command.
10545 (python-nav-backward-sentence): New command.
10546 (python-fill-paragraph): Delete command.
10547 (python-fill-paragraph-function): New command.
10548 (python-send-buffer): Delete command.
10549 (python-shell-send-buffer): New command.
10550 (python-send-defun): Delete command.
10551 (python-shell-send-defun): New command.
10552 (python-send-region, python-send-region-and-go): Delete commands.
10553 (python-shell-send-region)
10554 (python-shell-switch-to-shell): New commands.
10555 (python-send-string): Delete command.
10556 (python-shell-send-string): New command.
10557 (python-switch-to-python): Delete command.
10558 (python-shell-switch-to-shell): New command.
10559 (python-describe-symbol): Delete command.
10560 (python-eldoc-at-point): New command.
10561 (python--set-prompt-regexp, python-args-to-list)
10562 (python-after-info-look, python-check-version)
10563 (python-check-comint-prompt, python-find-imports)
10564 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
10565 (python-unload-function, python-expand-template)
10566 (python-maybe-jython, python-preoutput-filter)
10567 (python-pdbtrack-get-source-buffer)
10568 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
10569 (python-pdbtrack-toggle-stack-tracking)
10570 (python-pdbtrack-track-stack-file, python-initial-text)
10571 (python-first-word, python-comment-line-p, python-send-command)
10572 (python-setup-brm, python-sentinel, python-set-proc)
10573 (python-skip-out, python-input-filter, python-outdent-p)
10574 (python-outline-level, python-backslash-continuation-line-p)
10575 (python-end-of-block, python-end-of-statement, python-mark-block)
10576 (python-beginning-of-block, python-beginning-of-statement)
10577 (python-blank-line-p, python-beginning-of-string)
10578 (python-open-block-statement-p): Delete functions.
10579 (python-indent-line, python-indent-line-1): Delete functions.
10580 (python-indent-line): New function.
10581 (python-indentation-levels): Delete function.
10582 (python-indent-calculate-levels): New function.
10583 (python-proc): Delete function.
10584 (python-shell-get-process): New function.
10585 (python-send-receive): Delete function.
10586 (python-shell-send-string-no-output): New function.
10587 (python-module-path): Delete function.
10588 (python-ffap-module-path): New function.
10589 (python-completion-at-point)
10590 (python-symbol-completions): Delete functions.
10591 (python-completion-complete-at-point): New function.
10592 (python-load-file): Delete function.
10593 (python-shell-send-file): New function.
10594 (python-calculate-indentation): Delete function.
10595 (python-indent-calculate-indentation): New function.
10596 (python-skip-comments/blanks): Delete function.
10597 (python-util-forward-comment): New function.
10598 (python-continuation-line-p): Delete function.
10599 (python-info-continuation-line-p): New function.
10600 (python-which-func, python-current-defun): Delete function.
10601 (python-info-current-defun): New function.
10602 (python-beginning-of-defun): Delete function.
10603 (python-nav-beginning-of-defun): New function.
10604 (python-close-block-statement-p)
10605 (python-block-end-p): Delete function.
10606 (python-info-closing-block): New function.
10607 (python-comint-output-filter-function)
10608 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
10609 (python-fill-comment, python-fill-decorator, python-fill-paren)
10610 (python-fill-string, python-imenu-make-element-tree)
10611 (python-imenu-make-tree, python-imenu-tree-assoc)
10612 (python-indent-context, python-indent-dedent-line)
10613 (python-indent-line-function)
10614 (python-indent-post-self-insert-function)
10615 (python-indent-toggle-levels)
10616 (python-info-assignment-continuation-line-p)
10617 (python-info-beginning-of-backlash)
10618 (python-info-block-continuation-line-p)
10619 (python-info-closing-block-message)
10620 (python-info-line-ends-backslash-p)
10621 (python-info-looking-at-beginning-of-defun)
10622 (python-info-ppss-context, python-info-ppss-context-type)
10623 (python-nav-list-defun-positions, python-nav-read-defun)
10624 (python-nav-sentence-end, python-nav-sentence-start)
10625 (python-pdbtrack-comint-output-filter-function)
10626 (python-pdbtrack-set-tracked-buffer)
10627 (python-shell-calculate-exec-path)
10628 (python-shell-calculate-process-environment)
10629 (python-shell-completion--do-completion-at-point)
10630 (python-shell-completion--get-completions)
10631 (python-shell-completion-complete-at-point)
10632 (python-shell-completion-complete-or-indent)
10633 (python-shell-get-or-create-process)
10634 (python-shell-get-process-name)
10635 (python-shell-internal-get-or-create-process)
10636 (python-shell-internal-get-process-name)
10637 (python-shell-internal-send-string, python-shell-make-comint)
10638 (python-shell-parse-command, python-shell-send-setup-code)
10639 (python-skeleton-add-menu-items)
10640 (python-util-clone-local-variables, python-util-position)
10641 (run-python-internal, python-indentation-levels)
10642 (python-nav-beginning-of-defun)
10643 (python-completion-complete-at-point): New functions.
10644 (run-python): Change arguments. New API requirements.
10645
10646 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10647
10648 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
10649 (bug#11649).
10650
10651 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
10652 (macroexp--expand-all): Use it.
10653
10654 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
10655 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
10656 Use `cl-function' instead.
10657
10658 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
10659
10660 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
10661 Suggested by Stefan Monnier while discussing bug#11657.
10662
10663 2012-06-14 Sam Steingold <sds@gnu.org>
10664
10665 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
10666
10667 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
10668
10669 * play/doctor.el (doctor-doc): Remove parameter and use
10670 doctor-sent instead of sent.
10671 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
10672
10673 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10674
10675 * files.el: Require cl-lib.
10676 (file-name-non-special): Replace case -> cl-case.
10677
10678 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
10679
10680 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
10681 mapping from #' to function*.
10682
10683 2012-06-13 Chong Yidong <cyd@gnu.org>
10684
10685 * mouse.el (mouse-drag-track): Do not set the mark if the user
10686 releases the mouse without selecting anything (Bug#11588).
10687
10688 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10689
10690 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
10691 as well (bug#11646).
10692
10693 * loadup.el: Count byte-code functions as well.
10694
10695 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
10696 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
10697
10698 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
10699 (bug#11649). Add cl-defun and cl-defmacro.
10700
10701 2012-06-13 Drew Adams <drew.adams@oracle.com>
10702
10703 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
10704 Fix last change.
10705
10706 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
10707
10708 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
10709 Otherwise, it blocks in batch mode.
10710
10711 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
10712
10713 * help-mode.el (bookmark-make-record-default): Declare.
10714
10715 2012-06-13 Chong Yidong <cyd@gnu.org>
10716
10717 * emacs-lisp/package.el (list-packages): Compute a list of
10718 packages that are newly-available since the last list-packages
10719 invocation.
10720 (package-menu--new-package-list): New var.
10721 (package-menu--generate, package-menu--print-info)
10722 (package-menu--status-predicate, package-menu-mark-install):
10723 Handle new status label "new".
10724
10725 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10726
10727 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
10728 conversion to backquotes.
10729
10730 2012-06-12 Chong Yidong <cyd@gnu.org>
10731
10732 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
10733 Rename from gud-inhibit-global-bindings.
10734
10735 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
10736
10737 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
10738 hook from nxml-glyph-set-hook.
10739
10740 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
10741 declaration.
10742
10743 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
10744
10745 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
10746 Convert to defcustom.
10747
10748 2012-06-12 Drew Adams <drew.adams@oracle.com>
10749
10750 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
10751 New functions.
10752 (help-mode): Use them.
10753
10754 2012-06-11 Glenn Morris <rgm@gnu.org>
10755
10756 * progmodes/fortran.el (fortran-font-lock-keywords-3):
10757 Use preprocessor face for directives.
10758 (fortran-directive-re): Doc fix.
10759
10760 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10761
10762 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
10763 conversion to backquotes (bug#11652).
10764
10765 Fix compiler-expansion of CL's cXXr functions (bug#11673).
10766 * emacs-lisp/cl-lib.el (cl--defalias): New function.
10767 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
10768 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
10769 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
10770 (cl-ninth, cl-tenth): Mark them as inlinable.
10771 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
10772 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
10773 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
10774 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
10775 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
10776 (cl-list*, cl-adjoin): Don't put an autoload manually.
10777 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
10778 (cl--compiler-macro-list*): Add autoload cookie.
10779 (cl--compiler-macro-cXXr): New function.
10780
10781 * help-fns.el (help-fns--compiler-macro): New function extracted from
10782 describe-function-1; follow aliases and use `compiler-macro' property.
10783 (describe-function-1): Use it.
10784
10785 2012-06-11 Chong Yidong <cyd@gnu.org>
10786
10787 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
10788 is uninstalled, if imagemagick is installed.
10789
10790 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10791
10792 * emacs-lisp/cl-lib.el: Use lexical-binding.
10793 (cl-map-extents, cl-maclisp-member): Remove.
10794 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
10795 (cl--set-substring, cl--block-wrapper, cl--block-throw)
10796 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
10797 * emacs-lisp/cl-extra.el: Use lexical-binding.
10798 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
10799 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
10800 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
10801 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
10802 * emacs-lisp/cl-seq.el: Use lexical-binding.
10803 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
10804 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
10805 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
10806 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
10807 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
10808 CL's internals.
10809
10810 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
10811
10812 Sync with Tramp 2.2.6-pre.
10813
10814 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
10815 `print-length' and `print-level' to nil, in order to avoid
10816 truncation. Reported by Christopher Schmidt
10817 <christopher@ristopher.com>.
10818
10819 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
10820
10821 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
10822 New defmacro.
10823 (tramp-compat-copy-directory): Add optional argument
10824 COPY-CONTENTS. It is not handled yet.
10825
10826 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
10827 (tramp-ftp-file-name-p): Simplify.
10828
10829 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
10830 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
10831 connection vector.
10832
10833 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
10834 (tramp-methods): Do not use `tramp-password-end-of-line'.
10835 (tramp-completion-function-alist-putty): Handle UNIX case.
10836 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
10837 (tramp-do-file-attributes-with-stat)
10838 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
10839 gid as real numbers. They could run out of integer range on cygwin.
10840 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
10841 (tramp-sh-handle-expand-file-name): Handle hops.
10842 (tramp-open-connection-setup-interactive-shell):
10843 Use `tramp-cleanup'. Move check for busyboxes ...
10844 (tramp-find-shell): ... here. Simplify implementation.
10845 Set "remote-shell" property also for alternative shells.
10846 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
10847 If failing, a regular file would be written otherwise.
10848 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
10849 (tramp-find-inline-encoding): Cache the coding commands in the
10850 process cache. Apply test command on the remote side, if defined.
10851 (tramp-find-inline-compress): Cache the compress commands in the
10852 process cache.
10853 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
10854 when requested. Handle hops.
10855 (tramp-current-connection): New defvar.
10856 (tramp-maybe-open-connection): Use `tramp-cleanup'.
10857 Throw `suppress', if there was a failed connection shortly before.
10858 Handle user interrupt. (Bug#10187)
10859 (tramp-get-inline-compress, tramp-get-inline-coding):
10860 Read connection properties from the process cache.
10861
10862 * net/tramp-smb.el (tramp-smb-server-version)
10863 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
10864 New defconsts.
10865 (tramp-smb-prompt): Extend for powershell prompt.
10866 (tramp-smb-file-name-handler-alist): Add handlers for
10867 `process-file', `shell-command' and `start-file-process'.
10868 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
10869 (tramp-smb-winexe-shell-command-switch): New defcustoms.
10870 (tramp-smb-file-name-p): Simplify.
10871 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
10872 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
10873 (tramp-smb-shell-quote-argument): New defuns.
10874 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
10875 Implement using "tar". By this, time-stamps are preserved.
10876 (tramp-smb-handle-copy-file): Handle also the case of directories.
10877 (tramp-smb-do-file-attributes-with-stat)
10878 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
10879 Use `tramp-get-connection-buffer').
10880 (tramp-smb-handle-rename-file): Use "rename", when source and
10881 target are on the same share.
10882 (tramp-smb-maybe-open-connection): Handle wrong passwords.
10883 Use `tramp-smb-server-version'.
10884 (tramp-smb-wait-for-output): Remove prompt.
10885
10886 * net/tramp.el (top): Require 'cl.
10887 (tramp-methods, tramp-rsh-end-of-line):
10888 Remove `tramp-password-end-of-line' from docstring.
10889 (tramp-save-ad-hoc-proxies): New defcustom.
10890 (tramp-completion-function-alist): Adapt docstring.
10891 (tramp-default-password-end-of-line): Remove defcustom.
10892 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
10893 (tramp-user-regexp, tramp-file-name-regexp-unified)
10894 (tramp-file-name-regexp-url): Extend regexp by hop separator.
10895 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
10896 (tramp-remote-file-name-spec-regexp): New defconst.
10897 (tramp-file-name-structure): Extend structure for hops.
10898 (tramp-get-method-parameter): Move up.
10899 (tramp-file-name-p, tramp-dissect-file-name)
10900 (with-parsed-tramp-file-name): Handle hops.
10901 (tramp-file-name-hop): New defun.
10902 (tramp-make-tramp-file-name): New optional arg HOP.
10903 (tramp-message-show-progress-reporter-message): New defvar.
10904 (tramp-with-progress-reporter): Use it. We cannot use
10905 `tramp-message-show-message' here, because this suppresses also
10906 error buffers.
10907 (tramp-error-with-buffer): Suppress buffer view, if
10908 `tramp-message-show-message' is nil.
10909 Use `tramp-get-connection-buffer'.
10910 (tramp-cleanup): New defun.
10911 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
10912 (tramp-file-name-handler): If `debug-on-error' is set, propagate
10913 an error unchanged.
10914 (tramp-completion-handle-file-name-all-completions): Handle hops.
10915 Fix an error when called from ido.
10916 (tramp-completion-dissect-file-name): Use better local variable
10917 name. Add hop to the vector.
10918 (tramp-handle-insert-file-contents): Use progress-reporter for the
10919 whole scenario.
10920 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
10921 to `t'.
10922 (tramp-check-for-regexp): Simplify search.
10923 (tramp-enter-password): Remove it. Move implementation ...
10924 (tramp-action-password): ... here.
10925 (tramp-mode-string-to-int, tramp-local-host-p)
10926 (tramp-make-tramp-temp-file, tramp-read-passwd)
10927 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
10928 Set tramp-autoload cookie.
10929
10930 * net/trampver.el: Update release number.
10931
10932 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10933 Michael Albinus <michael.albinus@gmx.de>
10934
10935 * net/tramp.el (tramp-set-completion-function): Fix docstring.
10936 (tramp-parse-group, tramp-parse-file)
10937 (tramp-parse-shostkeys-sknownhosts): New defuns.
10938 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
10939 (tramp-parse-shosts-group, tramp-parse-sconfig)
10940 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
10941 (tramp-parse-sknownhosts, tramp-parse-hosts)
10942 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
10943 Use them.
10944 (tramp-parse-passwd-group, tramp-parse-netrc-group)
10945 (tramp-parse-putty-group): Don't narrow.
10946 (tramp-parse-putty): Make a loop.
10947 (tramp-file-name-handler): Catch the `suppress' signal.
10948
10949 2012-06-11 Chong Yidong <cyd@gnu.org>
10950
10951 * image.el (imagemagick-register-types): Put the ImageMagick entry
10952 at the end of image-type-file-name-regexps.
10953
10954 2012-06-11 Johan Bockgård <bojohan@gnu.org>
10955
10956 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
10957 (pcase, pcase-let*, pcase-dolist): Use them.
10958
10959 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10960
10961 * emacs-lisp/pcase.el (pcase--let*): New function.
10962 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
10963 (pcase--expand): Use macroexp-let².
10964
10965 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
10966
10967 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
10968 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
10969 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
10970 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
10971 * emacs-lisp/derived.el: Use pcase instead of `cl'.
10972 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
10973
10974 2012-06-10 Glenn Morris <rgm@gnu.org>
10975
10976 * mail/rmail.el (rmail-yank-current-message): Leave point at
10977 correct position. (Bug#11660)
10978
10979 2012-06-10 Chong Yidong <cyd@gnu.org>
10980
10981 * allout-widgets.el: Fix code header.
10982
10983 2012-06-10 Chong Yidong <cyd@gnu.org>
10984
10985 * cus-edit.el (customize-changed-options-previous-release):
10986 Bump to 24.1.
10987
10988 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
10989
10990 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
10991
10992 2012-06-09 Chong Yidong <cyd@gnu.org>
10993
10994 * ebuff-menu.el (electric-buffer-list): Preserve header line.
10995
10996 2012-06-09 Martin Rudalics <rudalics@gmx.at>
10997
10998 * window.el (special-display-popup-frame): Don't use
10999 window--display-buffer (Bug#11651).
11000
11001 2012-06-09 Eli Zaretskii <eliz@gnu.org>
11002
11003 Fix parallel builds: make sure loaddefs.el is not being written
11004 while Lisp files are compiled.
11005 (compile): Don't depend on 'mh-autoloads'.
11006 (compile-CMD, compile-SH): Depend on 'autoloads'.
11007 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
11008
11009 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
11010
11011 2012-06-09 Chong Yidong <cyd@gnu.org>
11012
11013 * face-remap.el (face-remap-add-relative, face-remap-set-base)
11014 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
11015 Doc fixes (Bug#11225).
11016
11017 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
11018
11019 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
11020 a function if there's a clear indication that it has a compiler-macro.
11021 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
11022 (macro-declarations-alist): Add arglist to declaration functions.
11023 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
11024 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
11025 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
11026 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
11027 Also add autoload to find the compiler macro.
11028 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
11029 (cl--compiler-macro-member, cl--compiler-macro-assoc)
11030 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
11031 (cl--compiler-macro-get): New functions, replacing calls to
11032 cl-define-compiler-macro.
11033 (cl-typep) [compiler-macro]: Use macroexp-let².
11034
11035 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
11036
11037 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
11038 string properly, fixes Bug#11473.
11039
11040 2012-06-08 Chong Yidong <cyd@gnu.org>
11041
11042 * faces.el (set-face-attribute): Doc fix.
11043 (modify-face): Don't use :bold and :italic.
11044 (error, warning, success): Tweak definitions.
11045
11046 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
11047 (custom-modified, custom-set, custom-changed, custom-themed)
11048 (custom-saved, custom-button, custom-button-mouse)
11049 (custom-button-pressed, custom-state, custom-comment-tag)
11050 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
11051 (custom-group-subtitle): Use new-style face specs.
11052 (custom-invalid-face, custom-rogue-face, custom-modified-face)
11053 (custom-set-face, custom-changed-face, custom-saved-face)
11054 (custom-button-face, custom-button-pressed-face)
11055 (custom-documentation-face, custom-state-face)
11056 (custom-comment-face, custom-comment-tag-face)
11057 (custom-variable-tag-face, custom-variable-button-face)
11058 (custom-face-tag-face, custom-group-tag-face-1)
11059 (custom-group-tag-face): Remove obsolete face alias.
11060
11061 * epa.el (epa-validity-high, epa-validity-medium)
11062 (epa-validity-low, epa-mark, epa-field-name, epa-string)
11063 (epa-field-name, epa-field-body):
11064 * font-lock.el (font-lock-comment-face, font-lock-string-face)
11065 (font-lock-keyword-face, font-lock-builtin-face)
11066 (font-lock-function-name-face, font-lock-variable-name-face)
11067 (font-lock-type-face, font-lock-constant-face):
11068 * ido.el (ido-first-match, ido-only-match, ido-subdir)
11069 (ido-virtual, ido-indicator, ido-incomplete-regexp):
11070 * speedbar.el (speedbar-button-face, speedbar-file-face)
11071 (speedbar-directory-face, speedbar-tag-face)
11072 (speedbar-selected-face, speedbar-highlight-face)
11073 (speedbar-separator-face):
11074 * whitespace.el (whitespace-newline, whitespace-space)
11075 (whitespace-hspace, whitespace-tab, whitespace-trailing)
11076 (whitespace-line, whitespace-space-before-tab)
11077 (whitespace-space-after-tab, whitespace-indentation)
11078 (whitespace-empty):
11079 * emulation/cua-base.el (cua-global-mark):
11080 * eshell/em-prompt.el (eshell-prompt):
11081 * net/newst-plainview.el (newsticker-new-item-face)
11082 (newsticker-old-item-face, newsticker-immortal-item-face)
11083 (newsticker-obsolete-item-face, newsticker-date-face)
11084 (newsticker-statistics-face, newsticker-default-face):
11085 * net/newst-reader.el (newsticker-feed-face)
11086 (newsticker-extra-face, newsticker-enclosure-face):
11087 * net/newst-treeview.el (newsticker-treeview-face)
11088 (newsticker-treeview-new-face, newsticker-treeview-old-face)
11089 (newsticker-treeview-immortal-face)
11090 (newsticker-treeview-obsolete-face)
11091 (newsticker-treeview-selection-face):
11092 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
11093 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
11094 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
11095 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
11096 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
11097 (nxml-outline-active-indicator, nxml-outline-ellipsis):
11098 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
11099 (mpuz-text):
11100 * progmodes/vera-mode.el (vera-font-lock-number)
11101 (vera-font-lock-function, vera-font-lock-interface):
11102 * textmodes/table.el (table-cell): Use new-style face specs, and
11103 don't use the old :bold and :italic attributes.
11104
11105 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
11106 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
11107 (ebrowse-member-class, ebrowse-progress): Likewise.
11108 (ebrowse-tree-mark-face, ebrowse-root-class-face)
11109 (ebrowse-file-name-face, ebrowse-default-face)
11110 (ebrowse-member-attribute-face, ebrowse-member-class-face)
11111 (ebrowse-progress-face): Remove obsolete faces.
11112
11113 * progmodes/flymake.el (flymake-errline, flymake-warnline):
11114 Inherit from error and warning faces respectively.
11115
11116 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
11117 Likewise.
11118 (flyspell-incorrect-face, flyspell-duplicate-face):
11119 Remove obsolete aliases.
11120
11121 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
11122
11123 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
11124 Avoid infloop.
11125
11126 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
11127
11128 * startup.el (argv, argi): Make lexically scoped.
11129 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
11130 * emacs-lisp/cl-macs.el: Use lexical-binding.
11131 Rename cl-bind-* to cl--bind-*.
11132 * files.el: Don't require `cl' since it doesn't use it.
11133 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
11134
11135 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
11136
11137 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
11138 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
11139 instead of calling external sort utility.
11140 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
11141
11142 2012-06-08 Eli Zaretskii <eliz@gnu.org>
11143
11144 * descr-text.el (describe-char): Mention how to insert the
11145 character, if the current input method doesn't support it.
11146 See the discussion in this thread for the details:
11147 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
11148
11149 2012-06-08 Sam Steingold <sds@gnu.org>
11150
11151 * bindings.el (global-map): Bind XF86Forward to next-buffer and
11152 XF86Back to previous-buffer.
11153 (minibuffer-local-map): Bind them to next-history-element and
11154 previous-history-element respectively.
11155 * help-mode.el (help-mode-map): Bind them to help-go-forward and
11156 help-go-back respectively.
11157 * info.el (Info-mode-map): Bind them to Info-history-forward and
11158 Info-history-back respectively.
11159 These are the keys next to Up on the ThinkPad keyboard.
11160
11161 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
11162
11163 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
11164 * emacs-lisp/cl-macs.el: Provide itself.
11165 (cl--labels-convert-cache): New var.
11166 (cl--labels-convert): New function.
11167 (cl-flet, cl-labels): New implementation with new semantics, relying on
11168 lexical-binding.
11169 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
11170 (cl-closure-vars, cl--function-convert-cache)
11171 (cl--function-convert): Move from cl-macs.el.
11172 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
11173 rename by removing the "cl-" prefix.
11174 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
11175
11176 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11177
11178 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
11179 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
11180 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
11181 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
11182 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
11183 (cl-hash-table-count): Add old compatibility aliases.
11184
11185 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
11186 Use macroexpand-all-environment instead.
11187 (cl--old-macroexpand): New var.
11188 (cl--sm-macroexpand): New function.
11189 (cl-symbol-macrolet): Use it during macro expansion.
11190 (cl--function-convert-cache): New var.
11191 (cl--function-convert): New function, extracted from
11192 cl-macroexpand-all.
11193 (cl-lexical-let): Use it.
11194
11195 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
11196 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
11197 (cl-member): Remove old alias.
11198
11199 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
11200 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
11201 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
11202 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
11203 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
11204 (cl-macroexpand-cmacs): Remove var.
11205 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
11206 Use macroexpand-all instead.
11207
11208 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11209
11210 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
11211 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
11212 (macroexp-copyable-p): New functions and macros.
11213 * emacs-lisp/edebug.el (edebug-unwrap):
11214 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
11215 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
11216 (pcase--let*): Remove.
11217 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
11218 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
11219 macroexp-const-p instead.
11220 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
11221
11222 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
11223 instead of "cl-" for internal definitions. Use macroexp-const-p.
11224 (cl-old-bc-file-form): Remove var.
11225 (cl-const-exprs-p): Remove fun.
11226 (cl-labels, cl-macrolet): Use backquote.
11227 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
11228 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
11229 (cl-define-setf-expander): Rename from cl-define-setf-method.
11230 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
11231
11232 * international/mule-cmds.el: Don't require CL.
11233 (view-hello-file): Don't use `letf'.
11234
11235 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11236
11237 * tmm.el (tmm-prompt): Use string-prefix-p.
11238 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
11239 (tmm-add-prompt): Use minibuffer-completion-help.
11240 (tmm-delete-map): Remove.
11241
11242 * subr.el (kbd): Make it its own function.
11243
11244 2012-06-07 Stefan Merten <smerten@oekonux.de>
11245
11246 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
11247 Silence compiler warnings. Fix versions.
11248 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
11249 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
11250 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
11251 (rst-package-emacs-version-alist): Correct Emacs version to
11252 represent major merge with upstream.
11253 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
11254
11255 2012-06-06 Glenn Morris <rgm@gnu.org>
11256
11257 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
11258 Only print environment variables if set.
11259
11260 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
11261
11262 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
11263 (macroexp--cons): Rename from maybe-cons.
11264 (macroexp--accumulate): Rename from macroexp-accumulate.
11265 (macroexp--all-forms): Rename from macroexpand-all-forms.
11266 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
11267 (macroexp--expand-all): Rename from macroexpand-all-1.
11268
11269 2012-06-06 Sam Steingold <sds@gnu.org>
11270
11271 * calendar/calendar.el (calendar-in-read-only-buffer):
11272 Call `special-mode' to enable the standard read-only keybindings.
11273
11274 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
11275
11276 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
11277 with "loading" messages (bug#11635).
11278
11279 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
11280
11281 * files.el (enable-remote-dir-locals): New option.
11282 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
11283
11284 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
11285 Ensure, that the temp directory is local.
11286
11287 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
11288 `temporary-file-directory'.
11289
11290 * progmodes/python.el (python-send-region): Ensure, that the
11291 temporary file is created also in the remote case.
11292
11293 2012-06-06 Glenn Morris <rgm@gnu.org>
11294
11295 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
11296 (vc-rcs-update-changelog): Use it.
11297
11298 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
11299
11300 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
11301 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
11302 (vc-sccs-diff): Replace use of the external vcdiff script.
11303
11304 2012-06-05 Glenn Morris <rgm@gnu.org>
11305
11306 * ledit.el: Move to obsolete/.
11307
11308 2012-06-05 Sam Steingold <sds@gnu.org>
11309
11310 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
11311 patch (Bug#11140).
11312
11313 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11314
11315 * emacs-lisp/cust-print.el: Move to obsolete.
11316
11317 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
11318 compiler-macro expansion.
11319
11320 Add native compiler-macro support.
11321 * emacs-lisp/macroexp.el (macroexpand-all-1):
11322 Support compiler-macros directly. Properly follow aliases and apply
11323 the compiler macros more thoroughly.
11324 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
11325 macroexpand now properly follows aliases.
11326 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
11327 (cl-compiler-macroexpand): Use new prop.
11328 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
11329
11330 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
11331
11332 2012-06-05 Martin Rudalics <rudalics@gmx.at>
11333
11334 * window.el (get-lru-window, get-mru-window, get-largest-window):
11335 New argument NOT-SELECTED to avoid picking the selected window.
11336 (window--display-buffer-1, window--display-buffer-2): Replace by
11337 new function window--display-buffer
11338 (display-buffer-same-window, display-buffer-reuse-window)
11339 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11340 Use window--display-buffer.
11341 (display-buffer-use-some-window): Remove temporary dedication
11342 hack by calling get-lru-window and get-largest-window with
11343 NOT-SELECTED argument non-nil. Call window--display-buffer.
11344
11345 2012-06-05 Glenn Morris <rgm@gnu.org>
11346
11347 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
11348 Replace external vcdiff script.
11349
11350 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11351
11352 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
11353
11354 2012-06-04 Chong Yidong <cyd@gnu.org>
11355
11356 * image.el (imagemagick-types-inhibit): Revert last change.
11357 Add INFO and M.
11358 (imagemagick-enabled-types): Remove CIN and EPS*.
11359
11360 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11361
11362 * emacs-lisp/cl-lib.el: Rename from cl.el.
11363 * emacs-lisp/cl.el: New compatibility file.
11364 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
11365 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
11366 to obey the "cl-" prefix.
11367 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
11368
11369 2012-06-03 Glenn Morris <rgm@gnu.org>
11370
11371 * emacs-lisp/authors.el (authors-aliases): Addition.
11372
11373 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
11374 Fix :version.
11375
11376 2012-06-03 Stefan Merten <smerten@oekonux.de>
11377
11378 * textmodes/rst.el: Add comments.
11379 (rst-transition, rst-adornment): New faces.
11380 (rst-adornment-faces-alist): Make default safe to reevaluate.
11381 Fixes
11382 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
11383 Improve customization tags.
11384 (rst-define-level-faces): Clarify meaning.
11385
11386 2012-06-03 Chong Yidong <cyd@gnu.org>
11387
11388 * progmodes/compile.el (compilation-mode-line-fail)
11389 (compilation-mode-line-run, compilation-mode-line-exit):
11390 New faces.
11391 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
11392
11393 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
11394
11395 * progmodes/which-func.el (which-func-update-ediff-windows):
11396 New function. Use it in ediff-select-hook (Bug#11478).
11397
11398 2012-06-03 Chong Yidong <cyd@gnu.org>
11399
11400 * bindings.el: Remove explicit help text from format-mode-line.
11401 It is now supplied by mode-line-default-help-echo.
11402 (mode-line-front-space, mode-line-end-spaces)
11403 (mode-line-misc-info): New variables.
11404 (mode-line-modes, mode-line-position): Move the default value to
11405 the variable definition.
11406 (mode-line-default-help-echo): New defcustom.
11407 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
11408 (mode-line-modified-help-echo): New functions.
11409 (mode-line-mule-info, mode-line-modified): Use them.
11410 (mode-line-eol-desc, propertized-buffer-identification):
11411 Consistency fixes for help text.
11412 (mode-line-coding-system-map): Allow using mouse-3 to invoke
11413 set-buffer-file-coding-system (Bug#289).
11414 (mode-line-mule-info-help-echo): Update help text.
11415
11416 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11417
11418 * simple.el (execute-extended-command): Set real-this-command
11419 (bug#11506).
11420
11421 2012-06-02 Chong Yidong <cyd@gnu.org>
11422
11423 Remove incorrect uses of "modeline" in comments, docstrings, and
11424 function/variable names (Bug#10329).
11425
11426 * cus-edit.el (mode-line):
11427 * dframe.el (dframe-mouse-hscroll):
11428 * emacs-lisp/re-builder.el:
11429 * emacs-lisp/easy-mmode.el (define-minor-mode):
11430 * frame.el (set-frame-name):
11431 * help.el (lookup-minor-mode-from-indicator):
11432 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
11433 * progmodes/cc-cmds.el (c-toggle-auto-newline)
11434 (c-toggle-hungry-state):
11435 * progmodes/antlr-mode.el (antlr-language-alist):
11436 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
11437 * progmodes/vhdl-mode.el (vhdl-mode):
11438 * progmodes/which-func.el (which-func, which-func-cleanup-function):
11439 * term/ns-win.el (ns-face-at-pos):
11440 * term/sup-mouse.el (sup-mouse-report):
11441 * textmodes/flyspell.el (flyspell-mode-line-string):
11442 * textmodes/ispell.el (ispell-highlight-face):
11443 * textmodes/reftex-global.el:
11444 * vc/vc-arch.el (vc-arch-mode-line-string):
11445 * vc/vc-cvs.el (vc-cvs-mode-line-string):
11446 * vc/vc-git.el (vc-git-mode-line-string):
11447 * vc/vc-hooks.el (vc-display-status)
11448 (vc-default-mode-line-string):
11449 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
11450
11451 * ansi-color.el (ansi-color-faces-vector): Change default faces.
11452
11453 * dired.el (dired-sort-set-mode-line): Rename from
11454 dired-sort-set-modeline. All callers changed.
11455
11456 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
11457 eshell-status-in-modeline.
11458
11459 * foldout.el (foldout-mode-line-string): Rename from
11460 foldout-modeline-string. All callers changed.
11461 (foldout-update-mode-line): Rename from foldout-update-modeline.
11462
11463 * subr.el (redraw-modeline): Make into obsolete alias.
11464
11465 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
11466 timeclock-modeline-display. Make old name an alias.
11467 (timeclock-update-mode-line): Likewise. All callers changed.
11468 (timeclock-mode-line-display): No need to check before using
11469 add-hook.
11470 (timeclock-relative, timeclock-day-over-hook)
11471 (timeclock-use-elapsed, timeclock-mode-string)
11472 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
11473
11474 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
11475 crisp-mode-modeline-string.
11476
11477 * play/solitaire.el (solitaire-build-mode-line): Rename from
11478 solitaire-build-modeline. All callers changed.
11479
11480 * play/zone.el (zone-hiding-mode-line): Rename from
11481 zone-hiding-modeline. All callers changed.
11482 (zone): Remove unusued `modeline-hidden-level' property.
11483
11484 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
11485 xscheme-modeline-initialize. All callers changed.
11486
11487 * strokes.el (strokes-lighter): Rename from
11488 strokes-modeline-string.
11489
11490 * textmodes/sgml-mode.el (html-face-tag-alist)
11491 (html-tag-face-alist): Use mode-line face instead of obsolete
11492 alias modeline.
11493
11494 2012-06-02 Stefan Merten <smerten@oekonux.de>
11495
11496 * textmodes/rst.el: Always require `cl'.
11497 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
11498
11499 2012-06-02 Chong Yidong <cyd@gnu.org>
11500
11501 * image.el (imagemagick-enabled-types): Rename from
11502 imagemagick-types-enable. Add many more types.
11503 (imagemagick-types-inhibit): Change default to nil.
11504 (imagemagick-filter-types): Caller changed.
11505
11506 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11507
11508 * emacs-lisp/cl-macs.el: Use backquotes.
11509 (cl-transform-function-property): Use eval-and-compile rather than
11510 abusing `require'.
11511 (defstruct): Use declare-function instead of with-no-warnings.
11512
11513 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
11514 (byte-compile-output-docform): Re-add the print-circle bindings.
11515 (byte-compile-fix-header): Use #$ just because it's shorter.
11516 (byte-compile-output-file-form): Remove defun/defmacro.
11517
11518 2012-06-01 Martin Rudalics <rudalics@gmx.at>
11519
11520 * simple.el (choose-completion): Remove now obsolete binding for
11521 owindow.
11522
11523 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
11524
11525 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
11526 in order to avoid "Stack overflow in regexp matcher".
11527
11528 2012-05-31 Glenn Morris <rgm@gnu.org>
11529
11530 * image.el: For clarity, call imagemagick-register-types at
11531 top-level, rather than relying on a custom :initialize.
11532 (imagemagick-types-enable): New option. (Bug#11557)
11533 (imagemagick-filter-types): New function. (Bug#7406)
11534 (imagemagick-register-types): Use imagemagick-filter-types.
11535 If disabling support, remove elements altogether rather
11536 than using an impossible regexp.
11537 (imagemagick-types-inhibit): Give it the default init function.
11538
11539 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11540
11541 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
11542 Handle arbitrary file name lengths (Bug#11585).
11543
11544 2012-05-31 Martin Rudalics <rudalics@gmx.at>
11545
11546 * desktop.el (desktop-read): Clear previous and next buffers for
11547 all windows and bury *Messages* buffer (bug#11556).
11548
11549 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11550
11551 Add `declare' for `defun'. Align `defmacro's with it.
11552 * emacs-lisp/easy-mmode.el (define-minor-mode)
11553 (define-globalized-minor-mode): Don't autoload the var definitions.
11554 * emacs-lisp/byte-run.el: Use lexical-binding.
11555 (defun-declarations-alist, macro-declarations-alist): New vars.
11556 (defmacro, defun): Use them.
11557 (make-obsolete, define-obsolete-function-alias)
11558 (make-obsolete-variable, define-obsolete-variable-alias):
11559 Use `declare'.
11560 (macro-declaration-function): Mark obsolete.
11561 * emacs-lisp/autoload.el: Use lexical-binding.
11562 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
11563
11564 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11565
11566 * textmodes/ispell.el (ispell-with-no-warnings):
11567 Define as a macro.
11568 (ispell-kill-ispell, ispell-change-dictionary):
11569 Use `called-interactively-p' for Emacs instead of obsolete
11570 `interactive-p'.
11571
11572 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11573
11574 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
11575 (macro-declaration-function): Move var from C code.
11576 (macro-declaration-function): Define function with defalias.
11577 * emacs-lisp/macroexp.el (macroexpand-all-1):
11578 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
11579 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
11580 defun/defmacro any more.
11581 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
11582 Provide fallback for unknown arglist.
11583 (byte-compile-arglist-warn): Change calling convention.
11584 (byte-compile-output-file-form): Move print-vars binding.
11585 (byte-compile-output-docform): Simplify accordingly.
11586 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
11587 (byte-compile-defmacro-declaration): Remove.
11588 (byte-compile-file-form-defmumble): Generalize to defalias.
11589 (byte-compile-output-as-comment): Return byte-positions.
11590 Simplify callers accordingly.
11591 (byte-compile-lambda): Use `assert'.
11592 (byte-compile-defun, byte-compile-defmacro): Remove.
11593 (byte-compile-file-form-defalias):
11594 Use byte-compile-file-form-defmumble.
11595 (byte-compile-defalias-warn): Remove.
11596
11597 2012-05-29 Stefan Merten <smerten@oekonux.de>
11598
11599 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
11600 possible. Fix authors. Improve comments. Improve loading of `cl'.
11601
11602 (rst-mode-abbrev-table): Merge definition.
11603 (rst-mode): Make sure `font-lock-defaults' is buffer local.
11604 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
11605
11606 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
11607
11608 * calendar/icalendar.el
11609 (icalendar-export-region): Export UID properly.
11610
11611 2012-05-29 Leo Liu <sdl.web@gmail.com>
11612 * calendar/icalendar.el (icalendar-import-format):
11613 Add `icalendar-import-format-uid' (Bug#11525).
11614 (icalendar-import-format-uid): New.
11615 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
11616 Export UID.
11617
11618 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
11619
11620 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
11621 different alternative patterns.
11622 (pcase-codegen): Be more careful to preserve identity.
11623 (pcase--u1): Don't forget to mark vars as used.
11624
11625 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
11626 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
11627 (byte-compile-from-buffer): ...rather than here.
11628
11629 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
11630 functions from byte-compile-function-environment.
11631
11632 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
11633
11634 * window.el (window-deletable-p): Avoid deleting the root window
11635 of a frame with an active minibuffer.
11636
11637 2012-05-29 Martin Rudalics <rudalics@gmx.at>
11638
11639 * simple.el (choose-completion): Use quit-window (Bug#11567).
11640
11641 2012-05-29 Chong Yidong <cyd@gnu.org>
11642
11643 * whitespace.el (whitespace-cleanup): Fix usage of
11644 whitespace-empty-at-bob-regexp (Bug#11492).
11645
11646 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11647
11648 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
11649 revert (Bug#11488).
11650
11651 2012-05-29 Juri Linkov <juri@jurta.org>
11652
11653 * isearch.el (isearch-mode-map): Bind `M-s _' to
11654 `isearch-toggle-symbol'. Bind `M-s c' to
11655 `isearch-toggle-case-fold'.
11656 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
11657 (isearch-forward): Add `M-s _' to the docstring.
11658 (isearch-forward-symbol, isearch-toggle-case-fold)
11659 (isearch-symbol-regexp): New functions. (Bug#11381)
11660
11661 2012-05-29 Juri Linkov <juri@jurta.org>
11662
11663 * isearch.el (isearch-word): Add docstring. (Bug#11381)
11664 (isearch-occur, isearch-search-and-update): If `isearch-word' is
11665 a function, call it to get the regexp.
11666 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
11667 property `isearch-message-prefix' instead of the string "word ".
11668 (isearch-search-fun-default): For the case of `isearch-word',
11669 return a lambda that calls re-search-forward/re-search-backward
11670 with a regexp returned by `word-search-regexp' or by the function
11671 in `isearch-word'.
11672
11673 2012-05-29 Juri Linkov <juri@jurta.org>
11674
11675 * isearch.el (isearch-search-fun-default): New function.
11676 (isearch-search-fun): Move default part to the new function
11677 `isearch-search-fun-default'.
11678 (isearch-search-fun-function): Set the default value to
11679 `isearch-search-fun-default'. (Bug#11381)
11680
11681 * comint.el (comint-history-isearch-end):
11682 Use `isearch-search-fun-default'.
11683 (comint-history-isearch-search): Use `isearch-search-fun-default'
11684 and remove spacial case for `isearch-word'.
11685 (comint-history-isearch-wrap): Remove spacial case for
11686 `isearch-word'.
11687
11688 * hexl.el (hexl-isearch-search-function):
11689 Use `isearch-search-fun-default'.
11690
11691 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
11692 Use `word-search-regexp' for `isearch-word'.
11693
11694 * misearch.el (multi-isearch-search-fun):
11695 Use `isearch-search-fun-default'.
11696
11697 * simple.el (minibuffer-history-isearch-search):
11698 Use `isearch-search-fun-default' and remove spacial case for
11699 `isearch-word'.
11700 (minibuffer-history-isearch-wrap): Remove spacial case for
11701 `isearch-word'.
11702
11703 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
11704 Remove spacial case for `isearch-word'.
11705 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
11706
11707 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11708
11709 Decrease XEmacs incompatibilities.
11710 * textmodes/flyspell.el (flyspell-check-pre-word-p):
11711 Use `string-match'.
11712 (flyspell-delete-region-overlays): Use alternative definition for
11713 XEmacs.
11714 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
11715 (flyspell-word): Use `process-kill-without-query' if XEmacs.
11716 (flyspell-mode-on): Use `interactive-p' if XEmacs.
11717 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
11718 `define-obsolete-face-alias' under XEmacs, but old method.
11719
11720 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
11721 `with-no-warnings' definition or Emacs alias.
11722 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
11723 (ispell-word): Do not use `region-p' if XEmacs.
11724
11725 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11726
11727 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
11728 Check for `ispell-dictionary-base-alist' instead of full
11729 `ispell-dictionary-alist'.
11730 (ispell-init-process): Show spellchecker when starting new Ispell
11731 process.
11732
11733 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
11734
11735 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
11736 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
11737
11738 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
11739
11740 * version.el (motif-version-string, gtk-version-string)
11741 (ns-version-string): Declare.
11742
11743 2012-05-27 Juri Linkov <juri@jurta.org>
11744
11745 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
11746 after the `eval-defun-1' specialcaseing
11747 like in `edebug-eval-defun' (bug#10181).
11748
11749 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
11750 like in `eval-defun-1'.
11751
11752 2012-05-27 Eli Zaretskii <eliz@gnu.org>
11753
11754 * mail/sendmail.el (mail-yank-region):
11755 Recognize rmail-yank-current-message in addition to insert-buffer.
11756 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
11757 a *mail* buffer created through rmail-start-mail with sendmail as
11758 mail-user-agent.
11759
11760 2012-05-27 Chong Yidong <cyd@gnu.org>
11761
11762 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
11763 Default to 256 (Bug#11267).
11764
11765 * help.el (describe-mode): Doc fix.
11766
11767 2012-05-26 Glenn Morris <rgm@gnu.org>
11768
11769 * w32-fns.el (w32-init-info): Remove.
11770 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
11771
11772 * info.el (info-initialize): For self-contained NS builds, put the
11773 included info/ directory at the front. (Bug#2791)
11774
11775 * paths.el (Info-default-directory-list): Make it a defcustom,
11776 mainly so that we can use custom-initialize-delay.
11777
11778 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
11779
11780 * subr.el (buffer-has-markers-at): Mark obsolete.
11781
11782 * subr.el (lambda): Use declare.
11783
11784 * emacs-lisp/lisp-mode.el (lambda):
11785 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
11786
11787 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11788
11789 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
11790
11791 2012-05-26 Glenn Morris <rgm@gnu.org>
11792
11793 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
11794
11795 2012-05-25 Glenn Morris <rgm@gnu.org>
11796
11797 * paths.el: Remove no-byte-compile.
11798 * loadup.el: No need to load paths.el uncompiled.
11799
11800 * image.el (imagemagick-types-inhibit): Doc fix.
11801
11802 * version.el: Remove no-byte-compile and associated formatting.
11803 * loadup.el: No need to load version.el uncompiled. AFAICS, this
11804 is ancient code from when there was an "inc-vers.el".
11805
11806 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11807
11808 * progmodes/gdb-mi.el: Minor style changes.
11809 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
11810 Turn into minor modes.
11811 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
11812 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
11813 (gdb-shell): Remove unneeded let-binding.
11814 (gdb-get-many-fields): Eliminate O(n²) behavior.
11815
11816 2012-05-25 Eli Zaretskii <eliz@gnu.org>
11817
11818 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
11819 platforms that don't link in fontset.c.
11820
11821 2012-05-25 Juri Linkov <juri@jurta.org>
11822
11823 Use the same diff color scheme as in modern VCSes (bug#10181).
11824
11825 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
11826 to avoid confusion with `diff-added' that now uses green colors.
11827 (diff-removed): Use shades of red.
11828 (diff-added): Use shades of green.
11829 (diff-changed): Leave just the yellow color.
11830 (diff-use-changed-face): New variable.
11831 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
11832 how to highlight context diff changes.
11833 (diff-refine-change): Use shades of yellow.
11834 (diff-refine-removed): New face that uses shades of red.
11835 (diff-refine-added): New face that uses shades of green.
11836 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
11837 `diff-refine-removed' in the call to `smerge-refine-subst'
11838 depending on the value of `diff-use-changed-face'.
11839
11840 * vc/smerge-mode.el (smerge-mine): Use shades of red.
11841 (smerge-other): Use shades of green.
11842 (smerge-base): Use shades of yellow.
11843 (smerge-refined-change): Empty face.
11844 (smerge-refined-removed): New face that uses shades of red.
11845 (smerge-refined-added): New face that uses shades of green.
11846 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
11847 args `props-r' and `props-a', and use them. Doc fix.
11848 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
11849 on its value use different faces `smerge-refined-change',
11850 `smerge-refined-removed', `smerge-refined-added' in the call to
11851 `smerge-refine-subst'.
11852
11853 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
11854 Add face condition `min-colors 88' with shades of red.
11855 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
11856 `min-colors 88' with shades of green.
11857 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
11858 `min-colors 88' with shades of yellow.
11859
11860 2012-05-24 Glenn Morris <rgm@gnu.org>
11861
11862 * paths.el (prune-directory-list, remote-shell-program): Move to...
11863 * files.el (prune-directory-list, remote-shell-program): ...here.
11864 For the latter, delay initialization, prefer ssh, just search PATH.
11865
11866 * paths.el (term-file-prefix): Move to faces.el (the only user).
11867 * faces.el (term-file-prefix): Move here, make it a defcustom.
11868
11869 * paths.el (news-directory, news-path, news-inews-program):
11870 Move to gnus/nnspool.el.
11871
11872 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
11873
11874 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
11875 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
11876 Make the latter a defcustom, with a delayed initialization.
11877
11878 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
11879 These were deleted from Gnus itself late 2010.
11880
11881 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
11882
11883 * progmodes/which-func.el (which-func-ff-hook):
11884 Check against user-error, not error.
11885
11886 * emacs-lisp/edebug.el (top): Do not load or set up loading of
11887 cl-specs.el, which no longer exists.
11888
11889 2012-05-22 Glenn Morris <rgm@gnu.org>
11890
11891 * info.el (info-emacs-bug): New command.
11892 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
11893 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
11894
11895 2012-05-21 Glenn Morris <rgm@gnu.org>
11896
11897 * makefile.w32-in (update-subdirs-SH):
11898 * Makefile.in (update-subdirs): Update for moved update-subdirs.
11899
11900 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
11901
11902 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
11903
11904 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11905 Simplify Maven regexp, and make sure the file can't start with a space
11906 (bug#11517).
11907
11908 2012-05-21 Glenn Morris <rgm@gnu.org>
11909
11910 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
11911 Scrap superfluous subshells.
11912
11913 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
11914
11915 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
11916 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
11917
11918 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
11919
11920 * calc/calc.el (calc-ensure-consistent-units): New variable.
11921
11922 * calc/calc-units.el (math-consistent-units-p)
11923 (math-check-unit-consistency): New functions.
11924 (calc-quick-units, calc-convert-units):
11925 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
11926 is non-nil.
11927 (calc-extract-units): Fix typo.
11928
11929 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11930
11931 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
11932
11933 * textmodes/flyspell.el: Commenting style, plus code simplifications.
11934 (flyspell-default-deplacement-commands): Don't spell check after
11935 repeated window/frame switches (e.g. triggered by mouse-movement).
11936 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
11937 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
11938 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
11939 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
11940 Remove unused vars.
11941 (flyspell-get-casechars, flyspell-get-not-casechars):
11942 Simplify; Don't bother removing a ] just to add it back.
11943 * textmodes/ispell.el (ispell-program-name): Use executable-find.
11944
11945 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11946
11947 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
11948 New functions.
11949 (math-function-table): Add support for more C functions.
11950
11951 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11952
11953 * textmodes/flyspell.el (flyspell-check-pre-word-p)
11954 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
11955 Protect delay handling for otherchars against empty otherchars.
11956
11957 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11958
11959 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
11960 their respective macro declarations.
11961 * skeleton.el (define-skeleton):
11962 * progmodes/compile.el (define-compilation-mode):
11963 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
11964 (define-ibuffer-filter):
11965 * emacs-lisp/generic.el (define-generic-mode):
11966 * emacs-lisp/easy-mmode.el (define-minor-mode)
11967 (define-globalized-minor-mode):
11968 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
11969 * emacs-lisp/byte-run.el (defsubst):
11970 * custom.el (deftheme): Add doc-string metadata.
11971
11972 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11973
11974 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
11975
11976 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11977
11978 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
11979
11980 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
11981 * emacs-lisp/cl-macs.el: Idem.
11982 * emacs-lisp/cl-specs.el: Remove.
11983
11984 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11985
11986 Minor renaming of internal CL functions and variables.
11987 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
11988 (cl--position): Rename from cl-position.
11989 (cl--delete-duplicates): Rename from cl-delete-duplicates.
11990 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
11991 (cl--random-state): Rename from *random-state*.
11992
11993 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11994
11995 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
11996 parens around the arg list (bug#11499).
11997
11998 2012-05-17 Juri Linkov <juri@jurta.org>
11999
12000 * isearch.el (word-search-regexp, word-search-backward)
12001 (word-search-forward, word-search-backward-lax)
12002 (word-search-forward-lax): Move functions from search.c
12003 (bug#10145, bug#11381).
12004
12005 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12006
12007 * textmodes/flyspell.el (flyspell-check-pre-word-p)
12008 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
12009 Delay for otherchars as for normal word components.
12010
12011 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
12012
12013 * minibuffer.el (completion--sifn-requote): Fix last change.
12014 (minibuffer-local-must-match-filename-map):
12015 Move define-obsolete-variable-alias before its var.
12016
12017 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12018
12019 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
12020
12021 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
12022 behavior.
12023 (completion--string-equal-p): New function.
12024 (completion--twq-all): Use it to get better assertion failure data.
12025
12026 Only handle ".." and '..' quoting in shell-mode (bug#11466).
12027 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
12028 (shell--requote-argument): New functions.
12029 (shell-completion-vars): Use them.
12030 (shell--parse-pcomplete-arguments): Rename from
12031 shell-parse-pcomplete-arguments.
12032 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
12033 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
12034 Obey comint-file-name-quote-list.
12035
12036 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
12037 (smie-indent-keyword): Use it.
12038
12039 2012-05-14 Stefan Merten <smerten@oekonux.de>
12040
12041 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
12042
12043 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
12044
12045 * net/rlogin.el (rlogin-mode-map): Fix last change.
12046
12047 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
12048
12049 * mail/smtpmail.el (smtpmail-send-command): Send the command and
12050 the following \r\n using a single `process-send-string', since the
12051 Lotus SMTP server refuses to accept any commands if they are sent
12052 with two `process-send-string's (Bug#11444).
12053
12054 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
12055
12056 * shell.el (shell-parse-pcomplete-arguments):
12057 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
12058
12059 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
12060
12061 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
12062 (image-transform-scale, image-transform-right-angle-fudge): New vars.
12063 (image-transform-width, image-transform-fit-width): New functions.
12064 (image-transform-properties): Use them.
12065 (image-transform-check-size): New function.
12066 (image-toggle-display-image): Use it (for testing).
12067 (image-transform-set-rotation): Reduce angle mod 360.
12068 Delete obsolete comment.
12069
12070 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
12071
12072 * image-mode.el: Fix scaling (bug#11399).
12073 (image-transform-resize): Doc fix.
12074 (image-transform-properties): Default scale is 1 and height should
12075 be an integer.
12076
12077 2012-05-13 Johan Bockgård <bojohan@gnu.org>
12078
12079 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
12080 than hard-coding `car', to fix misbehavior when moving forward.
12081
12082 2012-05-13 Chong Yidong <cyd@gnu.org>
12083
12084 * emacs-lisp/tabulated-list.el (tabulated-list-format)
12085 (tabulated-list-entries, tabulated-list-padding)
12086 (tabulated-list-sort-key): Make permanent-local.
12087
12088 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
12089 (electric-buffer-list): Put electric buffer menu
12090 command descriptions in this docstring, instead of the docstring
12091 of electric-buffer-menu-mode. Code cleanups.
12092 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
12093 Electric-buffer-menu-mode.
12094 (electric-buffer-update-highlight): Minor code cleanup.
12095
12096 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
12097
12098 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
12099 (Bug#11447)
12100
12101 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
12102
12103 Move define-obsolete-variable-alias before the var's definition.
12104 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
12105 * tooltip.el (tooltip-hook):
12106 * textmodes/reftex-toc.el (reftex-toc-map):
12107 * textmodes/reftex-sel.el (reftex-select-label-map)
12108 (reftex-select-bib-map):
12109 * textmodes/reftex-index.el (reftex-index-map)
12110 (reftex-index-phrases-map):
12111 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
12112 * progmodes/meta-mode.el (meta-mode-map):
12113 * novice.el (disabled-command-hook):
12114 * loadhist.el (unload-hook-features-list):
12115 * frame.el (blink-cursor):
12116 * files.el (find-file-not-found-hooks, write-file-hooks)
12117 (write-contents-hooks):
12118 * emulation/tpu-edt.el (GOLD-map):
12119 * emacs-lock.el (emacs-lock-from-exiting):
12120 * emacs-lisp/generic.el (generic-font-lock-defaults):
12121 * emacs-lisp/chart.el (chart-map):
12122 * dos-fns.el (register-name-alist):
12123 * dired-x.el (dired-omit-files-p):
12124 * desktop.el (desktop-enable):
12125 * cus-edit.el (custom-mode-hook):
12126 * buff-menu.el (buffer-menu-mode-hook):
12127 * bookmark.el (bookmark-read-annotation-text-func)
12128 (bookmark-exit-hooks):
12129 * allout.el (allout-mode-deactivate-hook)
12130 (allout-exposure-change-hook, allout-structure-added-hook)
12131 (allout-structure-deleted-hook, allout-structure-shifted-hook):
12132 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
12133 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
12134 comes before the corresponding variable's definition.
12135
12136 2012-05-12 Chong Yidong <cyd@gnu.org>
12137
12138 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
12139 (Buffer-menu-mouse-select): Restore function (Bug#11459).
12140 (Buffer-menu-mode-map): Bind it.
12141 (Buffer-menu--pretty-name): Add a mouse-face property.
12142
12143 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
12144
12145 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
12146 (prolog-upper-case-string, prolog-lower-case-string)
12147 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
12148 (prolog-use-smie, prolog-smie-grammar): New vars.
12149 (prolog-smie-forward-token, prolog-smie-backward-token)
12150 (prolog-smie-rules): New funs.
12151 (prolog-comment-indent): Remove.
12152 (prolog-mode-variables): Use default comment indentation instead.
12153 Setup SMIE.
12154 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
12155 (prolog-mode): Don't call them any more.
12156 (prolog-electric-colon, prolog-electric-dash)
12157 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
12158
12159 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
12160
12161 * minibuffer.el (completion--twq-all): Again, allow case differences.
12162
12163 * term.el: Move keymap initialization code to be more idiomatic.
12164 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
12165 (term-terminal-menu): Move initialization into declaration.
12166 (term-escape-char): Let the user set it in her .emacs.
12167
12168 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
12169 Provide SMIE-based indentation (not enabled by default yet).
12170 (sh-mode-map): Don't bind electric keys.
12171 Use electric-pair-mode instead of skeleton-pair.
12172 (sh-assignment-regexp): Fit within 80 columns.
12173 (sh-indent-supported): Specify actual shell name instead of boolean.
12174 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
12175 (sh-maybe-here-document): Use it. Make obsolete.
12176 (sh-electric-here-document-mode) New minor mode.
12177 (sh-mode): Use it. Don't set sh-indent-supported-here here.
12178 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
12179 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
12180 (sh-smie-rc-grammar, sh-use-smie): New vars.
12181 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
12182 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
12183 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
12184 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
12185 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
12186 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
12187 (sh-set-shell): Use smie-setup if requested.
12188
12189 * term.el (term-set-escape-char): Properly set term-escape-char.
12190 See http://stackoverflow.com/questions/10524656.
12191
12192 2012-05-10 Chong Yidong <cyd@gnu.org>
12193
12194 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
12195 Use url-generic-parse-url, and handle host names and Windows
12196 filenames properly.
12197 (ffap-url-unwrap-remote): Use url-generic-parse-url.
12198 (ffap-url-unwrap-remote): Accept list values, specifying a list of
12199 URL schemes to work on.
12200 (ffap--toggle-read-only): New function.
12201 (ffap-read-only, ffap-read-only-other-window)
12202 (ffap-read-only-other-frame): Use it.
12203 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
12204 necessary for ffap-url-unwrap-remote.
12205
12206 2012-05-10 Dave Abrahams <dave@boostpro.com>
12207
12208 * cus-start.el (create-lockfiles): Add it.
12209
12210 2012-05-09 Chong Yidong <cyd@gnu.org>
12211
12212 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
12213 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
12214
12215 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12216
12217 * shell.el (shell-completion-vars): Fix last change (bug#11348).
12218
12219 2012-05-09 Chong Yidong <cyd@gnu.org>
12220
12221 * ansi-color.el (ansi-color-process-output): Check for validity of
12222 comint-last-output-start before using it. This avoids a bad
12223 interaction with gdb-mi's input/output buffer.
12224
12225 2012-05-09 Glenn Morris <rgm@gnu.org>
12226
12227 * files.el (dir-locals-read-from-file):
12228 Mention dir-locals in any error message.
12229
12230 2012-05-09 Chong Yidong <cyd@gnu.org>
12231
12232 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
12233 package (Bug#11410).
12234
12235 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
12236 variables into description.
12237
12238 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12239
12240 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
12241 shell-delimiter-argument-list (bug#11348).
12242 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
12243
12244 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
12245
12246 * textmodes/rst.el: Silence byte-compiler warnings.
12247 (rst-re-alist, rst-reset-section-caches): Move around.
12248 (rst-re): Use `characterp', not `char-valid-p'.
12249 (font-lock-beg, font-lock-end): Declare.
12250
12251 * progmodes/idlw-shell.el (specs): Remove reference to deleted
12252 variable `idlwave-shell-activate-alt-keybindings' and simplify.
12253
12254 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
12255
12256 2012-05-08 Glenn Morris <rgm@gnu.org>
12257
12258 * files.el (auto-mode-alist): Treat ".make" like ".mk".
12259
12260 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12261
12262 * vc/log-edit.el: Add GNU coding standards highlighting.
12263 (log-edit-font-lock-gnu-style)
12264 (log-edit-font-lock-gnu-keywords): New vars.
12265 (log-edit-font-lock-keywords): New fun.
12266 (log-edit-mode): Don't fold case in font-lock.
12267 (log-edit-font-lock-keywords): Do not assume case-folding.
12268
12269 * imenu.el: Misc cleanup. Make docstrings out of comments.
12270 Use lexical-binding.
12271 (imenu--index-alist, imenu--last-menubar-index-alist)
12272 (imenu-menubar-modified-tick): Use defvar-local.
12273 (imenu--split-menu): Remove unused var.
12274 (imenu--cleanup-seen): Declare as global.
12275 (imenu--cleanup): Use dolist.
12276
12277 * subr.el (defvar-local): Add debug spec and doc-string position.
12278
12279 2012-05-08 Glenn Morris <rgm@gnu.org>
12280
12281 * language/burmese.el, language/cham.el, language/czech.el:
12282 * language/english.el, language/georgian.el, language/greek.el:
12283 * language/japanese.el, language/khmer.el, language/korean.el:
12284 * language/lao.el, language/misc-lang.el, language/romanian.el:
12285 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
12286 * language/thai.el, language/utf-8-lang.el:
12287 Remove no-byte-compile setting.
12288
12289 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
12290
12291 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12292
12293 * progmodes/make-mode.el (makefile-browse):
12294 Remove unnecessary interactive. (Bug#11324)
12295
12296 2012-05-07 Glenn Morris <rgm@gnu.org>
12297
12298 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
12299
12300 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
12301
12302 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12303
12304 * loadup.el: Preload newcomment.el.
12305 * newcomment.el: Move autoload-only code to toplevel.
12306
12307 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
12308 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12309 Handle new :right-align column property.
12310 (tabulated-list-print-col): Idem, plus use `display' text-property to
12311 try and preserve alignment for variable pitch fonts.
12312
12313 2012-05-07 Chong Yidong <cyd@gnu.org>
12314
12315 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
12316 (tabulated-list-use-header-line): New var.
12317 (tabulated-list-init-header): Use it.
12318 (tabulated-list-print-fake-header): New function.
12319 (tabulated-list-print): Use it.
12320 (tabulated-list-sort-button-map): Add non-header-line commands.
12321 (tabulated-list-init-header): Add column name property to basic
12322 labels as well.
12323 (tabulated-list-col-sort): Handle non-header-line button case.
12324 (tabulated-list--sort-by-column-name): Fix a corner case.
12325
12326 * buff-menu.el (list-buffers--refresh):
12327 Handle Buffer-menu-use-header-line.
12328
12329 2012-05-06 Chong Yidong <cyd@gnu.org>
12330
12331 * buff-menu.el: Convert to Tabulated List mode.
12332 (Buffer-menu-buffer+size-width): Make obsolete.
12333 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
12334 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
12335 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
12336 documentation into docstring of buffer-menu.
12337 (Buffer-menu-toggle-files-only): Add an informative message.
12338 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
12339 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
12340 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
12341 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
12342 (Buffer-menu-execute, Buffer-menu-select)
12343 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
12344 (Buffer-menu-bury): Use Tabulated List machinery.
12345 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
12346 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
12347 Delete.
12348 (list-buffers--refresh): New function.
12349 (list-buffers-noselect): Use it.
12350 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
12351 (Buffer-menu--pretty-file-name): New helper functions.
12352
12353 * loadup.el: Preload tabulated-list.
12354
12355 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
12356 tabulated-list-sort-column.
12357 (tabulated-list-init-header): Add the initial aligning space even
12358 if tabulated-list-padding is zero.
12359
12360 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
12361
12362 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
12363 whose cdr is not a cons cell correctly (bug#11038).
12364
12365 2012-05-06 Chong Yidong <cyd@gnu.org>
12366
12367 * emacs-lisp/tabulated-list.el (tabulated-list-format):
12368 Accept additional plist in column descriptors.
12369 (tabulated-list-init-header): Obey it.
12370 (tabulated-list-get-entry): New function.
12371 (tabulated-list-put-tag): Use it. Use string-width instead of
12372 length.
12373 (tabulated-list--column-number): New function.
12374 (tabulated-list-print): Use it.
12375 (tabulated-list-print-col): New function.
12376 Set `tabulated-list-column-name' property on each column's text.
12377 (tabulated-list-print-entry): Use it.
12378 (tabulated-list-delete-entry, tabulated-list-set-col):
12379 New functions.
12380 (tabulated-list-sort-column): New command (Bug#11337).
12381
12382 * buff-menu.el (list-buffers): Move C-x C-b binding from
12383 buff-menu.el to bindings.el.
12384
12385 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
12386 :advertised-binding feature.
12387
12388 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
12389
12390 * progmodes/compile.el (compilation-internal-error-properties):
12391 Calculate start position correctly when end-col is set but
12392 end-line is not (Bug#11382).
12393
12394 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
12395
12396 * man.el (Man-unindent): Use text-property-default-nonsticky to
12397 prevent untabify from inheriting face properties (Bug#11408).
12398
12399 2012-05-05 Stefan Merten <smerten@oekonux.de>
12400
12401 * textmodes/rst.el: Major merge with upstream development up to
12402 Docutils SVN r7399 / rst.el V1.2.1.
12403
12404 Clarify maintainership and authors.
12405
12406 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
12407 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
12408 (rst-official-version, rst-official-cvs-rev, rst-version)
12409 (rst-package-emacs-version-alist): New functions and variables
12410 for version information.
12411
12412 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
12413 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
12414 (rst-mode-syntax-table, rst-mode): New and corrected functions
12415 and variables representing reStructuredText features.
12416
12417 (rst-re): New function for reStructuredText regexes. Use in
12418 many places.
12419
12420 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
12421 (rst-mode-map): Rebind keys.
12422
12423 (rst-mode-lazy, rst-font-lock-keywords)
12424 (rst-font-lock-extend-region)
12425 (rst-font-lock-extend-region-internal)
12426 (rst-font-lock-extend-region-extend)
12427 (rst-font-lock-find-unindented-line-limit)
12428 (rst-font-lock-find-unindented-line-match)
12429 (rst-adornment-level, rst-font-lock-adornment-level)
12430 (rst-font-lock-adornment-match)
12431 (rst-font-lock-handle-adornment-pre-match-form)
12432 (rst-font-lock-handle-adornment-matcher): Major revision of
12433 font-locking. Integrate with other code. Use `jit-lock-mode'.
12434
12435 (rst-preferred-adornments, rst-adjust-hook)
12436 (rst-new-adornment-down, rst-preferred-bullets)
12437 (rst-preferred-bullets, rst-indent, rst-indent-width)
12438 (rst-indent-field, rst-indent-literal-normal)
12439 (rst-indent-literal-minimized, rst-indent-comment): Change,
12440 extend and improve customization.
12441
12442 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
12443 (rst-normalize-cursor-position, rst-get-decoration)
12444 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
12445 (rst-rstrip, rst-toc-insert-find-delete-contents)
12446 (rst-shift-fill-region, rst-compute-bullet-tabs)
12447 (rst-debug-print-tabs, rst-debug-mark-found)
12448 (rst-shift-region-guts, rst-shift-region-right)
12449 (rst-shift-region-left, rst-use-char-classes)
12450 (rst-font-lock-keywords-function)
12451 (rst-font-lock-indentation-point)
12452 (rst-font-lock-find-unindented-line-begin)
12453 (rst-font-lock-find-unindented-line-end)
12454 (rst-font-lock-find-unindented-line)
12455 (rst-font-lock-adornment-point, rst-font-lock-level)
12456 (rst-adornment-level-alist): Remove functions and variables.
12457
12458 (rst-compare-adornments, rst-get-adornment-match)
12459 (rst-suggest-new-adornment, rst-get-adornments-around)
12460 (rst-adornment-complete-p, rst-get-next-adornment)
12461 (rst-adjust-adornment, rst-display-adornments-hierarchy)
12462 (rst-straighten-adornments): Standardize function names to
12463 use "adornment" instead of "decoration". Correct callers.
12464 Similar standardizing in many places.
12465
12466 (rst-update-section, rst-adjust, rst-promote-region)
12467 (rst-enumerate-region, rst-bullet-list-region)
12468 (rst-repeat-last-character): Correct use of `interactive'.
12469
12470 (rst-classify-adornment, rst-find-all-adornments)
12471 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
12472 (rst-find-leftmost-column, rst-repeat-last-character):
12473 Refactor functions.
12474
12475 (rst-find-title-line, rst-reset-section-caches)
12476 (rst-get-adornments-around, rst-adjust-adornment-work)
12477 (rst-arabic-to-roman, rst-roman-to-arabic)
12478 (rst-insert-list-pos, rst-insert-list-new-item)
12479 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
12480 New functions.
12481
12482 (rst-all-sections, rst-section-hierarchy)
12483 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
12484 New variables.
12485
12486 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
12487 configuration instead of only buffer. Change where necessary.
12488
12489 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
12490 (rst-shift-region, rst-adaptive-fill): New functions for
12491 indentation and filling.
12492
12493 (rst-comment-line-break, rst-comment-indent)
12494 (rst-comment-insert-comment, rst-comment-region)
12495 (rst-uncomment-region): New functions for handling comments.
12496
12497 (rst-compile): Quote shell arguments.
12498
12499 (rst-compile-pdf-preview, rst-compile-slides-preview):
12500 Delete temporary files after use.
12501
12502 2012-05-05 Glenn Morris <rgm@gnu.org>
12503
12504 * calendar/cal-html.el: Optionally include holidays in the output.
12505 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
12506 (cal-html-holidays): New option.
12507 (cal-html-css-default): Add holiday entry.
12508 (holiday-in-range): Autoload it.
12509 (cal-html-htmlify-entry): Add optional class argument.
12510 (cal-html-htmlify-list): Add optional holidays argument.
12511 (cal-html-insert-agenda-days): Include holidays in the output.
12512 (cal-html-one-month): Maybe include holidays.
12513
12514 * calendar/holidays.el (holiday-in-range):
12515 Move here from cal-tex-list-holidays.
12516 * calendar/cal-tex.el (cal-tex-list-holidays):
12517 Make it an obsolete alias for holiday-in-range. Update all callers.
12518
12519 2012-05-05 Chong Yidong <cyd@gnu.org>
12520
12521 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
12522 Nextstep.
12523
12524 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
12525
12526 * files.el (file-auto-mode-skip): New var.
12527 (set-auto-mode-1): Use it.
12528
12529 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12530
12531 * repeat.el: Use lexical-binding.
12532 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
12533 (repeat-undo-count): Remove.
12534 (repeat):
12535 * progmodes/octave-mod.el (octave-abbrev-start):
12536 * progmodes/f90.el (f90-abbrev-start):
12537 * face-remap.el (text-scale-adjust):
12538 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
12539
12540 * emacs-lisp/pcase.el (pcase--let*): New function.
12541 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
12542 a bit more.
12543 (pcase--split-pred): Be more clever about ruling out overlap between
12544 a predicate and some constant pattern.
12545 (pcase--q1): Use `null' instead of (eq foo nil).
12546
12547 * subr.el (setq-local, defvar-local): New macros.
12548 (kbd): Redefine as an alias.
12549 (with-selected-window): Leave unrelated frames alone.
12550 (set-temporary-overlay-map): New function.
12551
12552 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12553
12554 * subr.el (user-error): New function.
12555 * window.el (switch-to-buffer):
12556 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
12557 (smerge-match-conflict):
12558 * simple.el (previous-matching-history-element)
12559 (next-matching-history-element, goto-history-element, undo-more)
12560 (undo-start):
12561 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
12562 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
12563 (next-file, tags-loop-scan, list-tags, complete-tag):
12564 * progmodes/compile.el (compilation-loop):
12565 * mouse.el (mouse-minibuffer-check):
12566 * man.el (Man-bgproc-sentinel, Man-goto-page):
12567 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
12568 (Info-history-forward, Info-follow-reference, Info-menu)
12569 (Info-extract-menu-item, Info-extract-menu-counting)
12570 (Info-forward-node, Info-backward-node, Info-next-menu-item)
12571 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
12572 (Info-next-reference, Info-prev-reference, Info-index)
12573 (Info-index-next, Info-follow-nearest-node)
12574 (Info-copy-current-node-name):
12575 * imenu.el (imenu--make-index-alist)
12576 (imenu-default-create-index-function, imenu-add-to-menubar):
12577 * files.el (basic-save-buffer, recover-file):
12578 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
12579 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
12580 (checkdoc-message-text, checkdoc-defun):
12581 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
12582 * cus-edit.el (customize-changed-options, customize-rogue)
12583 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
12584 (custom-variable-mark-to-reset-standard)
12585 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
12586 (custom-file):
12587 * completion.el (check-completion-length):
12588 * comint.el (comint-search-arg)
12589 (comint-previous-matching-input-string-position)
12590 (comint-previous-matching-input)
12591 (comint-replace-by-expanded-history-before-point, comint-send-input)
12592 (comint-copy-old-input, comint-backward-matching-input)
12593 (comint-goto-process-mark, comint-set-process-mark):
12594 * calendar/calendar.el (calendar-cursor-to-date): Use it.
12595 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
12596
12597 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12598
12599 * dabbrev.el (dabbrev--ignore-case-p): New function.
12600 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
12601 Use it.
12602
12603 * files.el (automount-dir-prefix): Mark as obsolete.
12604
12605 2012-05-04 Glenn Morris <rgm@gnu.org>
12606
12607 * patcomp.el, play/bruce.el: Move to obsolete/.
12608
12609 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
12610
12611 Fix minor Y10k bugs.
12612 * arc-mode.el (archive-unixdate):
12613 * autoinsert.el (auto-insert-alist):
12614 * calc/calc-forms.el (math-this-year):
12615 * emacs-lisp/copyright.el (copyright-current-year)
12616 (copyright-update-year, copyright):
12617 * tar-mode.el (tar-clip-time-string):
12618 * time.el (display-time-update):
12619 Don't assume years have 4 digits.
12620
12621 2012-05-04 Chong Yidong <cyd@gnu.org>
12622
12623 * dos-w32.el (file-name-buffer-file-type-alist)
12624 (direct-print-region-use-command-dot-com):
12625 * ffap.el (ffap-menu-regexp):
12626 * find-file.el (ff-special-constructs):
12627 * follow.el (follow-debug):
12628 * forms.el (forms--debug):
12629 * iswitchb.el (iswitchb-all-frames):
12630 * ido.el (ido-all-frames):
12631 * emacs-lisp/timer.el (timer-max-repeats):
12632 * mail/feedmail.el (feedmail-mail-send-hook)
12633 (feedmail-mail-send-hook-queued):
12634 * mail/footnote.el (footnote-signature-separator):
12635 * mail/mailabbrev.el (mail-alias-separator-string)
12636 (mail-abbrev-mode-regexp):
12637 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
12638 * progmodes/idlwave.el (idlwave-libinfo-file)
12639 (idlwave-default-completion-case-is-down)
12640 (idlwave-library-routines): Convert defvars to defcustoms.
12641
12642 * mail/rmail.el (rmail-decode-mime-charset):
12643 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
12644 (idlwave-shell-fix-inserted-breaks)
12645 (idlwave-shell-activate-alt-keybindings)
12646 (idlwave-shell-use-breakpoint-glyph):
12647 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
12648
12649 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12650
12651 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
12652
12653 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
12654
12655 * progmodes/verilog-mode.el (font-lock-keywords):
12656 Fix mis-highligting auto. Reported by Craig Barner.
12657 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
12658 defines from global name space. Reported by Dan Dever.
12659 (verilog-auto-reset, verilog-auto-reset-widths)
12660 (verilog-auto-tieoff): Support using unbased numbers for
12661 AUTORESET and AUTOTIEOFF.
12662 (verilog-submit-bug-report): Update variable list.
12663 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
12664 parenthesis from not matching. Reported by Michael Rytting.
12665 (verilog-auto-template-lint): Fix hash error when linting modules
12666 with no used templates.
12667 (verilog-warn, verilog-warn-error)
12668 (verilog-warn-fatal): When non-interactive report multiple
12669 warnings before exiting. Suggested by Brad Dobbie.
12670 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
12671 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
12672 to report unused template errors. Reported by Brad Dobbie.
12673 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
12674 nets, bug438. Reported by Vns Blore.
12675 (verilog-auto-inout-module, verilog-auto-reg)
12676 (verilog-read-decls, verilog-read-sub-decls-sig)
12677 (verilog-signals-edit-wire-reg, verilog-signals-with):
12678 Fix passing of Verilog data types in ANSI input/output ports
12679 such as "output logic" into the AUTOs. Special case "wire" and
12680 "reg" for backwards compatibility presuming Verilog 2001.
12681 (verilog-auto-ascii-enum): Add "auto enum" as alias.
12682 (verilog-preprocess): Fix replication of preprocess output.
12683 Reported by Brad Dobbie.
12684 (verilog-auto-inst-interfaced-ports):
12685 Create verilog-auto-inst-interfaced-ports, bug429.
12686 Reported by Julian Gorfajn.
12687 (verilog-after-save-font-hook)
12688 (verilog-before-save-font-hook): New variable.
12689 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
12690 (verilog-save-font-mods): Wrap disabling fontification, reported
12691 by David Rogoff.
12692 (verilog-do-indent, verilog-pretty-declarations-auto)
12693 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
12694 Reported by Pierre-David Pfister.
12695 (verilog-set-auto-endcomments): Fix endtask auto comments outside
12696 of class declarations, bug292. Reported by Kevin Heilman.
12697 (verilog-read-decls): Fix 'parameter type' not appearing in
12698 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
12699 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
12700 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
12701 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
12702 Reported by David Kravitz.
12703
12704 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
12705
12706 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
12707 assignment with tests in ifs and for loops.
12708 (verilog-extended-complete-re, verilog-complete-reg): Change so
12709 that DPI inport functions don't look like fuction declarations.
12710 (verilog-pretty-expr): Don't line up assignment
12711 operations to the test and increment in if and for loops
12712 (verilog-extended-complete-re, verilog-complete-reg): Change so
12713 that DPI inport functions don't look like fuction declarations.
12714
12715 2012-05-03 Kenichi Handa <handa@m17n.org>
12716
12717 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
12718 decoding, and show a warning message without signaling an error
12719 (Bug#11282).
12720
12721 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12722
12723 * emacs-lisp/bytecomp.el
12724 (byte-compile-file-form-custom-declare-variable): Compile all elements,
12725 since cconv.el might have introduced :fun-body, internal-make-closure,
12726 and friends for bytecomp to handle (bug#11391).
12727 * custom.el (defcustom): Avoid ((λ ..) ..).
12728
12729 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
12730
12731 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
12732
12733 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
12734
12735 * notifications.el (dbus-debug):
12736 * term/linux.el (gpm-mouse-enable):
12737 * term/screen.el (xterm-register-default-colors): Declare.
12738
12739 2012-05-02 Chong Yidong <cyd@gnu.org>
12740
12741 * cus-start.el (gc-cons-percentage, exec-suffixes)
12742 (dos-display-scancodes, dos-hyper-key, dos-super-key)
12743 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
12744 (make-cursor-line-fully-visible, void-text-area-pointer)
12745 (font-list-limit): Add customization data.
12746
12747 * allout.el (allout-exposure-change-functions)
12748 (allout-structure-added-functions)
12749 (allout-structure-deleted-functions)
12750 (allout-structure-shifted-functions): Rename abnormal hooks from
12751 *-hook, and convert to defcustoms.
12752 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
12753 Convert to defcustoms.
12754 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
12755
12756 * allout-widgets.el: Hook callers changed.
12757
12758 2012-05-02 Eli Zaretskii <eliz@gnu.org>
12759
12760 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
12761 the yanked message in preference to the default value of
12762 buffer-file-coding-system.
12763
12764 2012-05-02 Martin Rudalics <rudalics@gmx.at>
12765
12766 * window.el (display-buffer--action-function-custom-type):
12767 Fix entry.
12768
12769 2012-05-02 Alan Mackenzie <acm@muc.de>
12770
12771 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
12772
12773 2012-05-01 Glenn Morris <rgm@gnu.org>
12774
12775 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
12776
12777 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
12778
12779 * cus-edit.el (custom-variable-documentation): Simplify with format.
12780
12781 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12782 Stefan Monnier <monnier@iro.umontreal.ca>
12783
12784 * simple.el (suggest-key-bindings, execute-extended-command):
12785 Move from keyboard.c.
12786
12787 2012-05-01 Chong Yidong <cyd@gnu.org>
12788
12789 * follow.el: Eliminate advice.
12790 (set-process-filter, process-filter, sit-for): Advice deleted.
12791 (follow-mode-off-hook): Obsolete hook removed.
12792 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
12793 Vars deleted.
12794 (follow-auto): Use a :set function.
12795 (follow-mode): Rewritten. Don't advise process filters.
12796 (follow-switch-to-current-buffer-all, follow-scroll-up)
12797 (follow-scroll-down): Assume follow-mode is bound.
12798 (follow-comint-scroll-to-bottom)
12799 (follow-align-compilation-windows): New functions.
12800 (follow--window-sorter): New function.
12801 (follow-all-followers): Use it to explicitly sort windows by their
12802 positions; don't make assumptions about next-window order.
12803 (follow-windows-start-end, follow-delete-other-windows-and-split)
12804 (follow-calc-win-start): Doc fix.
12805 (follow-windows-aligned-p, follow-select-if-visible): Don't call
12806 vertical-motion unnecessarily.
12807 (follow-adjust-window): New function.
12808 (follow-post-command-hook): Use it.
12809 (follow-call-set-process-filter, follow-call-process-filter)
12810 (follow-intercept-process-output, follow-tidy-process-filter-alist)
12811 (follow-stop-intercept-process-output, follow-generic-filter):
12812 Functions deleted.
12813 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
12814 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
12815 New functions, replacing advice on scroll-bar-* commands.
12816 (follow-mwheel-scroll): New function (Bug#4112).
12817
12818 * comint.el (comint-adjust-point): New function.
12819 (comint-postoutput-scroll-to-bottom): Use it.
12820 Call follow-comint-scroll-to-bottom for Follow mode buffers.
12821
12822 2012-05-01 Glenn Morris <rgm@gnu.org>
12823
12824 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
12825 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
12826 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
12827 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
12828 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
12829 Remove no-byte-compile setting.
12830
12831 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
12832
12833 * minibuffer.el (completion-table-with-quoting): Fix compatibility
12834 all-completions code to not return a number in the last cdr.
12835
12836 2012-04-30 Leo Liu <sdl.web@gmail.com>
12837
12838 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
12839 read-only error.
12840
12841 2012-04-29 Chong Yidong <cyd@gnu.org>
12842
12843 * follow.el (follow-calc-win-end): Rewrite to handle partial
12844 screen lines correctly (Bug#8390).
12845 (follow-avoid-tail-recenter): Minor cleanup.
12846
12847 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12848
12849 Avoid the obsolete `assoc' package.
12850 * speedbar.el (speedbar-refresh): Avoid adelete.
12851 (speedbar-file-lists): Simplify and avoid aput.
12852 * man.el (Man--sections, Man--refpages): New vars, replacing
12853 Man-sections-alist and Man-refpages-alist.
12854 (Man-build-section-alist, Man-build-references-alist):
12855 Use them; avoid aput.
12856 (Man--last-section, Man--last-refpage): New vars.
12857 (Man-follow-manual-reference): Use them.
12858 Use the `default' arg of completing-read.
12859 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
12860
12861 2012-04-27 Chong Yidong <cyd@gnu.org>
12862
12863 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
12864
12865 * startup.el (x-apply-session-resources): New function.
12866
12867 * term/ns-win.el (ns-initialize-window-system):
12868 * term/w32-win.el (w32-initialize-window-system):
12869 * term/x-win.el (x-initialize-window-system): Use it to properly
12870 set menu-bar-mode and other vars from X resources, even if the
12871 initial frame is not a window-system frame (Bug#2299).
12872
12873 * subr.el (read-key): Avoid running filter function when setting
12874 up temporary tool bar entries (Bug#9922).
12875
12876 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
12877
12878 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
12879 (Bug#11344)
12880
12881 2012-04-27 Chong Yidong <cyd@gnu.org>
12882
12883 * select.el (xselect--encode-string): New function, split from
12884 xselect-convert-to-string.
12885 (xselect-convert-to-string): Use it.
12886 (xselect-convert-to-filename, xselect-convert-to-os)
12887 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
12888 returned strings are properly encoded (Bug#11315).
12889
12890 2012-04-27 Chong Yidong <cyd@gnu.org>
12891
12892 * simple.el (delete-active-region): Move to killing custom group.
12893
12894 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
12895
12896 * progmodes/which-func.el (which-func-current): Quote %
12897 characters for mode-line processing.
12898
12899 2012-04-27 Chong Yidong <cyd@gnu.org>
12900
12901 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
12902 reaching eob (Bug#11286).
12903
12904 2012-04-27 Eli Zaretskii <eliz@gnu.org>
12905
12906 * progmodes/gdb-mi.el (gdb-control-level): New variable.
12907 (gdb): Make it buffer-local and init to zero.
12908 (gdb-control-commands-regexp): New variable.
12909 (gdb-send): Don't wrap in "-interpreter-exec console" if
12910 gdb-control-level is positive. Increment gdb-control-level
12911 whenever the command matches gdb-control-commands-regexp, and
12912 decrement it each time the command is "end". (Bug#11279)
12913
12914 2012-04-27 Martin Rudalics <rudalics@gmx.at>
12915
12916 * window.el (adjust-window-trailing-edge, enlarge-window)
12917 (shrink-window, window-resize):
12918 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
12919 windows (Bug#11276).
12920
12921 2012-04-27 Chong Yidong <cyd@gnu.org>
12922
12923 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
12924 fix "missing prefix" warning. All callers changed.
12925
12926 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
12927
12928 * emacs-lisp/assoc.el: Move to obsolete/.
12929
12930 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12931
12932 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
12933
12934 * term/ns-win.el (ns-define-service):
12935 * progmodes/pascal.el (pascal-goto-defun):
12936 * progmodes/js.el (js--read-tab):
12937 * progmodes/etags.el (tags-lazy-completion-table):
12938 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
12939 * emacs-lisp/ewoc.el (ewoc--wrap):
12940 * emacs-lisp/assoc.el (aput, adelete, amake):
12941 * doc-view.el (doc-view-convert-current-doc):
12942 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
12943
12944 2012-04-26 Chong Yidong <cyd@gnu.org>
12945
12946 * image.el (image-type-from-buffer): Only return supported image
12947 type (Bug#9045).
12948
12949 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
12950 value, for symmetry with diff-end-of-hunk.
12951 (diff-split-hunk, diff-find-source-location)
12952 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
12953 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
12954 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
12955 compute the relevant hunk or file properly (Bug#6005).
12956 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
12957
12958 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12959
12960 * vc/vc-mtn.el:
12961 * vc/vc-hg.el:
12962 * vc/vc-git.el:
12963 * vc/vc-dir.el:
12964 * vc/vc-cvs.el:
12965 * vc/vc-bzr.el:
12966 * vc/vc-arch.el:
12967 * vc/vc.el: Replace lexical-let by lexical-binding.
12968 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
12969 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
12970 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
12971
12972 2012-04-26 Chong Yidong <cyd@gnu.org>
12973
12974 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
12975 (diff-mode-shared-map): Bind it to / and [remap undo].
12976
12977 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
12978 (ediff-window-setup-function): Use it as the default, to set up
12979 windows based on whether the current frame is graphical (Bug#2138).
12980 (ediff-choose-window-setup-function-automatically): Make obsolete.
12981
12982 * vc/ediff-init.el: Always define ediff-pixel-width/height.
12983
12984 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12985
12986 * ffap.el: Remove old code for obsolete package.
12987 (ffap-complete-as-file-p): Remove.
12988
12989 Use completion-table-with-quoting for comint and pcomplete.
12990 * comint.el (comint--unquote&requote-argument)
12991 (comint--unquote-argument, comint--requote-argument): New functions.
12992 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
12993 (comint-quote-filename): Use regexp-opt-charset.
12994 (comint--common-suffix, comint--common-quoted-suffix)
12995 (comint--table-subvert): Remove.
12996 (comint-unquote-function, comint-requote-function): New vars.
12997 (comint--complete-file-name-data): Use them with
12998 completion-table-with-quoting.
12999 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
13000 * pcomplete.el (pcomplete-arg-quote-list)
13001 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
13002 (pcomplete-unquote-argument-function): Default to non-nil.
13003 (pcomplete-unquote-argument): Simplify.
13004 (pcomplete--common-quoted-suffix): Remove.
13005 (pcomplete-requote-argument-function): New var.
13006 (pcomplete--common-suffix): New function.
13007 (pcomplete-completions-at-point): Use completion-table-with-quoting
13008 and completion-table-subvert.
13009
13010 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
13011 (minibuffer--double-dollars): Preserve properties.
13012 (completion--sifn-requote): New function.
13013 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
13014
13015 * minibuffer.el: Add support for completion of quoted/escaped data.
13016 (completion-table-with-quoting, completion-table-subvert): New funs.
13017 (completion--twq-try, completion--twq-all): New functions.
13018 (completion--nth-completion): New function.
13019 (completion-try-completion, completion-all-completions): Use it.
13020
13021 2012-04-25 Leo Liu <sdl.web@gmail.com>
13022
13023 * progmodes/python.el (python-pdbtrack-get-source-buffer):
13024 Use compilation-message if available to find real filename.
13025
13026 2012-04-25 Chong Yidong <cyd@gnu.org>
13027
13028 * vc/diff-mode.el (diff-setup-whitespace): New function.
13029 (diff-mode): Use it.
13030
13031 * vc/diff.el (diff-sentinel):
13032 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
13033 Whitespace mode variables based on diff style (Bug#8612).
13034
13035 2012-04-25 Leo Liu <sdl.web@gmail.com>
13036
13037 * progmodes/python.el (python-send-region): Add suffix .py to the
13038 temp file.
13039
13040 * files.el (auto-mode-alist): Use javascript-mode instead.
13041
13042 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
13043
13044 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
13045
13046 * net/soap-client.el (soap-resolve-references-for-sequence-type)
13047 (soap-resolve-references-for-array-type): Hack to prevent self
13048 references, see Bug#9.
13049 (soap-parse-envelope): Report the contents of the 'detail' node
13050 when receiving a fault reply.
13051 (soap-parse-envelope): Report the contents of the entire 'detail' node.
13052
13053 * net/soap-inspect.el (soap-sample-value-for-simple-type)
13054 (soap-inspect-simple-type): New function.
13055
13056 * net/soap-client.el (soap-simple-type): New struct.
13057 (soap-default-xsd-types, soap-default-soapenc-types)
13058 (soap-decode-basic-type, soap-encode-basic-type):
13059 support unsignedInt and double basic types.
13060 (soap-resolve-references-for-simple-type)
13061 (soap-parse-simple-type, soap-encode-simple-type): New function.
13062 (soap-parse-schema): Parse xsd:simpleType declarations.
13063
13064 * net/soap-client.el (soap-default-xsd-types)
13065 (soap-default-soapenc-types): Add integer, byte and anyURI types.
13066 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
13067 the local name of "soapenc:Array".
13068 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
13069 decoding integer, byte and anyURI xsd types.
13070
13071 2012-04-25 Chong Yidong <cyd@gnu.org>
13072
13073 * cus-edit.el (custom-buffer-create-internal): Update header text.
13074
13075 2012-04-25 Eli Zaretskii <eliz@gnu.org>
13076
13077 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
13078 settings on 'system-type', not on 'window-system'. On MS-Windows,
13079 set interactive-mode on in GDB.
13080
13081 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13082
13083 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
13084 (ruby-syntax-propertize-regexp): Remove.
13085 (ruby-syntax-propertize-function): Split regexp into chunks.
13086 Match following code directly.
13087
13088 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
13089
13090 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
13091 (ruby-syntax-propertize-regexp): New function.
13092 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
13093 by a special keyword.
13094
13095 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
13096 (ruby-syntax-general-delimiters-goto-beg)
13097 (ruby-syntax-propertize-general-delimiters): New functions.
13098 (ruby-syntax-propertize-function): Use them to handle GDL.
13099 (ruby-font-lock-keywords): Move old handling of GDL...
13100 (ruby-font-lock-syntactic-keywords): .. to here.
13101 (ruby-calculate-indent): Adjust indentation for GDL.
13102
13103 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
13104
13105 * notifications.el (top): Remove unneeded declarations.
13106 (notifications-specification-version): Change to "1.2".
13107 (notifications-interface, notifications-notify-method)
13108 (notifications-close-notification-method): Fix docstring.
13109 (notifications-get-capabilities-method): New defconst.
13110 (notifications-notify): Add :action-items, :resident and
13111 :transient hints. Change "image_data" to "image-data" and
13112 "image_path" to "image-path".
13113 (notifications-get-capabilities): New defun.
13114
13115 2012-04-24 Leo Liu <sdl.web@gmail.com>
13116
13117 * progmodes/python.el: Move hideshow setup to the end.
13118
13119 2012-04-24 Martin Rudalics <rudalics@gmx.at>
13120
13121 * window.el (handle-select-window): Clear echo area since this is
13122 no more done by read_char (Bug#11304).
13123
13124 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13125
13126 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
13127 and `/ M' to filter-derived-mode.
13128 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
13129 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
13130 (ibuffer-mark-by-mode): Use default rather than initial-input.
13131 (ibuffer-filter-by-derived-mode): Autoload and require-match.
13132
13133 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
13134
13135 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
13136 (ibuffer-filter-by-derived-mode): New filter.
13137 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
13138
13139 2012-04-23 Andreas Politz <politza@fh-trier.de>
13140
13141 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
13142
13143 2012-04-23 Chong Yidong <cyd@gnu.org>
13144
13145 * cus-edit.el (customize-apropos, customize-apropos-options):
13146 Disable matching of non-option variables (Bug#11176).
13147 (customize-option, customize-option-other-window)
13148 (customize-changed-options): Doc fix.
13149 (customize-apropos-options, customize-apropos-faces)
13150 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
13151
13152 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
13153 Fix word list splitting (Bug#11132).
13154 (apropos-symbol, apropos-keybinding, apropos-label)
13155 (apropos-property, apropos-function-button)
13156 (apropos-variable-button, apropos-misc-button): New faces.
13157 (apropos-symbol-face, apropos-keybinding-face)
13158 (apropos-label-face, apropos-property-face, apropos-match-face):
13159 Variables removed (Bug#8396).
13160 (apropos-library-button, apropos-format-plist, apropos-print)
13161 (apropos-print-doc, apropos-describe-plist): Callers changed.
13162
13163 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
13164
13165 * net/xesam.el (xesam-mode-map): Use let-bound map in
13166 initialization. (Bug#11292)
13167
13168 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13169
13170 Preserve ispell session localwords when switching back to
13171 original buffer.
13172
13173 * textmodes/ispell.el (ispell-buffer-session-localwords):
13174 New buffer-local variable to hold buffer session localwords.
13175 (ispell-kill-ispell): Add option 'clear to delete session
13176 localwords.
13177 (ispell-command-loop, ispell-change-dictionary)
13178 (ispell-buffer-local-words): Preserve session localwords when
13179 needed.
13180
13181 * textmodes/flyspell.el (flyspell-process-localwords)
13182 (flyspell-do-correct): Preserve session localwords when needed.
13183
13184 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13185
13186 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
13187 using obsolete `translation-table-for-input'.
13188 (ispell-word, ispell-process-line, ispell-complete-word):
13189 Use plain `insert' instead of removed `ispell-insert-word'.
13190
13191 2012-04-22 Chong Yidong <cyd@gnu.org>
13192
13193 * cus-edit.el (custom-variable-menu)
13194 (custom-variable-reset-saved, custom-face-menu)
13195 (custom-face-reset-saved): If there is no saved value, make the
13196 "reset-saved" operation bring back the default (Bug#9509).
13197 (custom-face-state): Properly detect themed faces.
13198
13199 * faces.el (face-spec-set): Stop supporting deprecated form of
13200 third arg.
13201
13202 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
13203
13204 Move functions from C to Lisp. Make non-blocking method calls
13205 the default. Implement further D-Bus standard interfaces.
13206
13207 * net/dbus.el (dbus-message-internal): Declare function.
13208 Remove unneeded function declarations.
13209 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
13210 (dbus-message-type-method-return, dbus-message-type-error)
13211 (dbus-message-type-signal): Declare variables. Remove local
13212 definitions.
13213 (dbus-interface-dbus, dbus-interface-peer)
13214 (dbus-interface-introspectable, dbus-interface-properties)
13215 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
13216 Adapt docstring.
13217 (dbus-interface-objectmanager): New defconst.
13218 (dbus-call-method, dbus-call-method-asynchronously)
13219 (dbus-send-signal, dbus-method-return-internal)
13220 (dbus-method-error-internal, dbus-register-service)
13221 (dbus-register-signal, dbus-register-method): New defuns, moved
13222 from dbusbind.c
13223 (dbus-call-method-handler, dbus-setenv)
13224 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
13225 New defuns.
13226 (dbus-call-method-non-blocking): Make it an obsolete function.
13227 (dbus-unregister-object, dbus-unregister-service)
13228 (dbus-handle-event, dbus-register-property)
13229 (dbus-property-handler): Obey the new structure of
13230 `bus-registered-objects'.
13231 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
13232 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
13233 Use `dbus-call-method'.
13234
13235 2012-04-22 Chong Yidong <cyd@gnu.org>
13236
13237 * cus-edit.el (custom-commands, custom-reset-menu)
13238 (Custom-reset-standard): Tweak labels.
13239 (custom-reset-button-menu): Change default to t.
13240 (custom-buffer-create-internal): For the custom-reset-button-menu
13241 case, put the revert button first.
13242 (custom-group-subtitle): New face.
13243 (custom-group-value-create): Align docstring to a specific column.
13244
13245 * wid-edit.el (widget-documentation-link-add): Don't handle
13246 indentation in this function.
13247 (widget-documentation-string-indent-to): New function.
13248 (widget-documentation-string-value-create): Use it.
13249
13250 * autorevert.el (auto-revert):
13251 * epg-config.el (epg):
13252 * ibuffer.el (ibuffer):
13253 * mpc.el (mpc):
13254 * ses.el (ses):
13255 * eshell/eshell.el (eshell):
13256 * net/ange-ftp.el (ange-ftp):
13257 * progmodes/ebnf2ps.el (postscript):
13258 * progmodes/flymake.el (flymake):
13259 * progmodes/prolog.el (prolog):
13260 * progmodes/verilog-mode.el (verilog-mode):
13261 * progmodes/which-func.el (which-func):
13262 * term/xterm.el (xterm):
13263 * textmodes/picture.el (picture):
13264 * textmodes/tildify.el (tildify):
13265 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
13266 customization buffers.
13267
13268 2012-04-22 Alan Mackenzie <acm@muc.de>
13269
13270 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
13271 Adding a ) can hide the resulting (..) from searches. Fix it.
13272 Bound the backward search to the position of the existing (.
13273
13274 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
13275
13276 * progmodes/verilog-mode.el (verilog-mode): Check whether
13277 which-func-modes is t before adding verilog-mode.
13278 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
13279
13280 2012-04-21 Leo Liu <sdl.web@gmail.com>
13281
13282 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
13283
13284 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
13285
13286 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
13287 filling of the last column of a table (Bug#5635).
13288 (woman-find-next-control-line): New arg, specifying an additional
13289 regexp component for the control line.
13290 (woman2-roff-buffer): Use it.
13291 (woman-break-table): New function.
13292 (woman2-TS): Use it.
13293
13294 2012-04-21 Chong Yidong <cyd@gnu.org>
13295
13296 * woman.el (woman-set-buffer-display-table, woman-decode-region)
13297 (woman-horizontal-escapes, woman-negative-vertical-space)
13298 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
13299 (WoMan-warn-ignored): Use ?\s instead of ?\ .
13300
13301 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13302
13303 * minibuffer.el (completion-file-name-table): Complete user names.
13304
13305 2012-04-20 Leo Liu <sdl.web@gmail.com>
13306
13307 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
13308 and pcase-let*.
13309
13310 2012-04-20 Chong Yidong <cyd@gnu.org>
13311
13312 * server.el (server-execute): Respect initial-buffer-choice if it
13313 is a string and there are no files to open (Bug#2825).
13314 (server-create-window-system-frame, server-create-tty-frame):
13315 Don't switch buffers here.
13316 (server-process-filter): Only try to open a window system frame if
13317 compiled with graphical support (Bug#8314).
13318
13319 2012-04-20 Dan Nicolaescu <dann@gnu.org>
13320
13321 * battery.el (battery-echo-area-format): Display remaining time
13322 for sysfs backend too (Bug#11269).
13323 (battery-linux-sysfs): Fix conditional for the charge.
13324
13325 2012-04-20 Chong Yidong <cyd@gnu.org>
13326
13327 * progmodes/gdb-mi.el (gdb): Revert previous change.
13328 (gdb-inferior-io--init-proc): New function.
13329 (gdb-init-1): Use it.
13330 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
13331 responsible for allocating a new pty and hooking it to gdb when
13332 the old pty gets an EIO due to process exit.
13333 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
13334 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
13335 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
13336
13337 2012-04-20 Eli Zaretskii <eliz@gnu.org>
13338
13339 * window.el (window-min-size, window-sizable, window-min-delta)
13340 (window-max-delta, window--resizable, window-resizable)
13341 (window-total-size, window-full-height-p, window-full-width-p)
13342 (window-in-direction, window--resize-mini-window, window-resize)
13343 (window--resize-child-windows-normal)
13344 (window--resize-child-windows, window--resize-siblings)
13345 (window--resize-this-window, adjust-window-trailing-edge)
13346 (enlarge-window, shrink-window): Doc fixes.
13347
13348 2012-04-20 Chong Yidong <cyd@gnu.org>
13349
13350 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
13351 New function to call delete-process on the gdb-inferior buffer's pty.
13352 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
13353 pty process (Bug#11273).
13354 (gdb-update): New arg to suppress talking to the gdb process.
13355 (gdb-done-or-error): Use it.
13356 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
13357 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
13358 sentinel not being called.
13359
13360 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
13361
13362 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
13363
13364 2012-04-20 Glenn Morris <rgm@gnu.org>
13365
13366 * net/network-stream.el (open-network-stream): Doc fix.
13367
13368 2012-04-20 Chong Yidong <cyd@gnu.org>
13369
13370 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
13371
13372 2012-04-20 Alan Mackenzie <acm@muc.de>
13373
13374 Ensure searching for keywords is case sensitive.
13375
13376 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
13377 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
13378 (c-defun-name, c-mark-function, c-cpp-define-name)
13379 (c-comment-indent, c-scan-conditionals, c-indent-defun)
13380 (c-context-line-break): Bind case-fold-search to nil.
13381
13382 * progmodes/cc-mode.el (c-font-lock-fontify-region):
13383 Bind case-fold-search to nil.
13384
13385 2012-04-20 Chong Yidong <cyd@gnu.org>
13386
13387 * mail/sendmail.el (mail-bury): Call return action with the right
13388 Rmail buffer (Bug#11242).
13389
13390 * server.el (server-process-filter): Handle corner case where both
13391 tty and nowait options are present (Bug#11102).
13392
13393 2012-04-20 Eli Zaretskii <eliz@gnu.org>
13394
13395 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
13396 (top level): Put into the executable the ident-style '$Id:' tag on
13397 windows-nt as well.
13398
13399 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13400
13401 * electric.el (electric-indent-post-self-insert-function): Check that
13402 electric-indent-mode is enabled in current buffer.
13403
13404 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
13405
13406 * imenu.el (imenu-progress-message): Restore; it is "used" in
13407 erc/erc-imenu.el and net/snmp-mode.el.
13408
13409 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
13410
13411 * avoid.el (mouse-avoidance-mode): Mark unused arg.
13412 (mouse-avoidance-nudge-mouse): Remove unused binding.
13413
13414 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
13415
13416 * descr-text.el (describe-char):
13417 * progmodes/python.el (python-describe-symbol):
13418 Don't call `toggle-read-only', set `buffer-read-only'.
13419
13420 * imenu.el (imenu-default-goto-function): Mark unused args.
13421 (imenu-progress-message): Remove obsolete macro; all callers changed.
13422
13423 * subr.el (keymap-canonicalize): Remove unused binding.
13424 (read-passwd): Mark unused arg.
13425
13426 * tutorial.el (tutorial--display-changes): Remove unused binding.
13427 (tutorial--save-tutorial-to): Remove unused variable.
13428
13429 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
13430 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
13431 (package-generate-autoloads, package-menu--generate)
13432 (package-menu--find-upgrades): Remove unused bindings.
13433
13434 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
13435 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
13436 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
13437 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
13438 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
13439 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
13440 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
13441 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
13442 (cua-delete-char-rectangle): Mark unused args.
13443 (cua-align-rectangle): Remove unused binding.
13444
13445 * mail/rmail.el (compilation--message->loc)
13446 (epa--find-coding-system-for-mime-charset): Declare.
13447
13448 * net/dbus.el (dbus-register-service): Declare.
13449 (dbus-name-owner-changed-handler): Remove unused binding.
13450
13451 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
13452 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
13453 (nxml-scan-backward-within): Mark unused arg.
13454 (nxml-dynamic-markup-word): Remove unused binding.
13455
13456 * mouse.el (mouse-menu-major-mode-map):
13457 * emacs-lisp/authors.el (authors-scan-change-log)
13458 (authors-add-to-author-list):
13459 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
13460 * emacs-lisp/smie.el (smie-auto-fill):
13461 * mail/sendmail.el (mail-bury):
13462 * mail/unrmail.el (unrmail):
13463 * net/tls.el (open-tls-stream):
13464 * textmodes/picture.el (picture-mouse-set-point):
13465 Remove unused bindings.
13466
13467 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
13468
13469 * net/tramp.el (tramp-action-password): Let-bind
13470 `enable-recursive-minibuffers' to t.
13471
13472 2012-04-18 Sam Steingold <sds@gnu.org>
13473
13474 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
13475 instead of 'string to accommodate values like [f11].
13476 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
13477 * progmodes/gdb-mi.el: Likewise.
13478
13479 2012-04-18 Leo Liu <sdl.web@gmail.com>
13480
13481 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
13482 current buffer.
13483 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
13484 LOCAL is nil.
13485
13486 2012-04-18 Chong Yidong <cyd@gnu.org>
13487
13488 * simple.el (line-move): Use forward-line if in batch mode
13489 (Bug#11053).
13490
13491 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
13492
13493 * files.el (after-find-file): Do not try to add a final newline if
13494 the buffer is read-only (Bug#11156).
13495
13496 2012-04-17 Richard Stallman <rms@gnu.org>
13497
13498 * mail/rmail.el (rmail-start-mail):
13499 Pass (rmail-mail-return...) for the return-action.
13500 Pass (rmail-yank-current-message...) for the yank-action.
13501 (rmail-yank-current-message): New function.
13502 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
13503 (rmail-reply): Likewise.
13504 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
13505
13506 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
13507 buffer, not the last. Reject temp buffers. Use the rmail-mode
13508 buffer, not newbuf.
13509
13510 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
13511
13512 * server.el (server-ensure-safe-dir): Simplify.
13513
13514 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13515
13516 * emacs-lisp/smie.el: Provide smarter auto-filling.
13517 (smie-auto-fill): New function.
13518 (smie-setup): Use it.
13519
13520 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
13521
13522 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
13523
13524 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
13525 (comment-indent): Use it.
13526
13527 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
13528
13529 * ses.el: The overall change is to add cell renaming, that is
13530 setting fancy names for cell symbols other than name matching
13531 "\\`[A-Z]+[0-9]+\\'" regexp .
13532 (ses-localvars): Add ses--renamed-cell-symb-list.
13533 (ses-create-cell-variable): New defun.
13534 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
13535 (ses-relocate-formula): Relocate formulas only for cells the
13536 symbols of which are not renamed, i.e. symbols whose names do not
13537 match regexp "\\`[A-Z]+[0-9]+\\'".
13538 (ses-relocate-all): Relocate values only for cells the symbols of
13539 which are not renamed.
13540 (ses-load): Create cells variables as the (ses-cell ...) are read,
13541 in order to check row col consistency with cell symbol name only
13542 for cells that are not renamed.
13543 (ses-replace-name-in-formula): New defun.
13544 (ses-rename-cell): New defun.
13545
13546 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
13547
13548 * progmodes/perl-mode.el (perl-indent-parens-as-block):
13549 New option (bug#11118).
13550 (perl-calculate-indent): Respect it.
13551
13552 2012-04-17 Glenn Morris <rgm@gnu.org>
13553
13554 * dired-aux.el (dired-mark-read-string): Doc fix.
13555
13556 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
13557
13558 * dired-aux.el (dired-mark-read-string): Offer optional completion.
13559 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
13560
13561 2012-04-17 Glenn Morris <rgm@gnu.org>
13562
13563 * mouse.el (mouse-drag-track):
13564 * speedbar.el (speedbar-frame-mode):
13565 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
13566
13567 2012-04-16 Leo Liu <sdl.web@gmail.com>
13568
13569 * progmodes/python.el: Trivial cleanup.
13570
13571 2012-04-16 Glenn Morris <rgm@gnu.org>
13572
13573 * vc/vc.el (vc-string-prefix-p):
13574 * vc/pcvs-util.el (cvs-string-prefix-p):
13575 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
13576 * mpc.el (mpc-string-prefix-p):
13577 Make all of these into obsolete aliases for string-prefix-p.
13578 Update callers.
13579 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
13580
13581 * textmodes/two-column.el: Move custom options to the start.
13582 (frame-width): Remove compat definition.
13583 (2C-associate-buffer, 2C-dissociate):
13584 Use with-current-buffer rather than save-excursion.
13585 (2C-dissociate): Force a mode-line update.
13586 (2C-autoscroll): Use ignore-errors.
13587
13588 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
13589 Autoload trivia.
13590
13591 * emacs-lisp/cl-extra.el (*random-state*):
13592 Remove unnecessary declaration.
13593
13594 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
13595
13596 * play/cookie1.el (cookie-snarf):
13597 Give an explicit error if input file cannot be read.
13598
13599 * play/yow.el (yow-file): Use expand-file-name rather than concat.
13600
13601 * progmodes/perl-mode.el (c-macro-expand):
13602 Remove unnecessary autoload (it is in loaddefs.el).
13603
13604 * textmodes/picture.el (picture-desired-column)
13605 (picture-update-desired-column): Convert comments to doc-strings.
13606 (picture-substitute): Remove function.
13607 (picture-mode-map): Initialize in the defvar.
13608
13609 * woman.el: Remove eval-after-load for tar-mode.
13610 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
13611 (woman-tar-extract-file): Autoload it.
13612
13613 * frame.el (automatic-hscrolling): Make this alias obsolete.
13614
13615 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13616
13617 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
13618 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
13619 (ispell-dictionary-base-alist): Revert to original XEmacs
13620 friendly version for default. [:alpha:] will be added in
13621 `ispell-set-spellchecker-params' if needed.
13622
13623 2012-04-16 Chong Yidong <cyd@gnu.org>
13624
13625 * image.el (imagemagick--file-regexp): New variable.
13626 (imagemagick-register-types): Use it.
13627 (imagemagick-types-inhibit): Add :set function. Allow new value
13628 of t to inhibit all types.
13629
13630 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
13631 so we can preload it.
13632
13633 * loadup.el (fboundp): Preload regexp-opt, needed by
13634 imagemagick-register-types.
13635
13636 2012-04-15 Chong Yidong <cyd@gnu.org>
13637
13638 * frame.el (scrolling): Remove nearly unused customization group.
13639
13640 * scroll-all.el (scroll-all-mode): Move to windows group.
13641
13642 2012-04-15 Chong Yidong <cyd@gnu.org>
13643
13644 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
13645
13646 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13647
13648 Avoid the use of ((lambda ...) ...) in lexical-binding code.
13649 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
13650
13651 2012-04-15 Glenn Morris <rgm@gnu.org>
13652
13653 * simple.el (process-file-side-effects): Doc fix.
13654
13655 2012-04-15 Glenn Morris <rgm@gnu.org>
13656
13657 * international/mule-cmds.el (set-language-environment): Doc fix.
13658
13659 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
13660
13661 * server.el (server-auth-key, server-generate-key): Doc fixes.
13662 (server-get-auth-key): Doc fix. Use `string-match-p'.
13663 (server-start): Reflow docstring.
13664
13665 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
13666
13667 * server.el (server-generate-key): `called-interactively-p'
13668 requires a parameter.
13669
13670 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
13671
13672 * server.el (server-auth-key): New variable.
13673 (server-generate-key, server-get-auth-key): New function.
13674 (server-start): Use the new variable and functions to allow
13675 setting a permanent server key (bug#9423).
13676
13677 2012-04-14 Leo Liu <sdl.web@gmail.com>
13678
13679 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
13680
13681 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
13682
13683 Spelling fixes.
13684 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
13685 Emacs uses American spelling.
13686
13687 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
13688
13689 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
13690 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
13691 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
13692 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
13693
13694 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13695
13696 * progmodes/which-func.el (which-func-modes): Change default.
13697
13698 2012-04-14 Kim F. Storm <storm@cua.dk>
13699
13700 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
13701 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
13702
13703 2012-04-14 Chong Yidong <cyd@gnu.org>
13704
13705 * custom.el (custom-theme-set-variables): Doc fix.
13706
13707 2012-04-14 Glenn Morris <rgm@gnu.org>
13708
13709 * international/mule.el (set-auto-coding-for-load): Doc fix.
13710
13711 2012-04-14 Alan Mackenzie <acm@muc.de>
13712
13713 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
13714 imenu work again for Objective C Mode. Correct the *-index values,
13715 these having been disturbed by a previous change in 2011-08.
13716
13717 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
13718 Correct two search limits.
13719
13720 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13721
13722 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
13723
13724 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
13725
13726 * international/characters.el: Fix sorting.
13727
13728 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13729
13730 * international/characters.el: Add more missing Latin case pairs.
13731
13732 2012-04-14 Glenn Morris <rgm@gnu.org>
13733
13734 * files.el (dir-locals-set-class-variables): Doc fix.
13735
13736 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13737
13738 * international/characters.el: Add set-case-syntax-pair call for
13739 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
13740 counterpart. (Bug#11209)
13741
13742 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
13743
13744 2012-04-14 Glenn Morris <rgm@gnu.org>
13745
13746 * calendar/holidays.el (calendar-check-holidays): Doc fix.
13747
13748 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13749
13750 * textmodes/ispell.el (ispell-dictionary-base-alist):
13751 Add data for Hebrew.
13752
13753 2012-04-14 Chong Yidong <cyd@gnu.org>
13754
13755 * net/rcirc.el (rcirc-cmd-quit):
13756 Revert 2012-03-18 change (Bug#11192).
13757
13758 2012-04-14 Glenn Morris <rgm@gnu.org>
13759
13760 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
13761
13762 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13763
13764 * minibuffer.el (completion-in-region-mode-map):
13765 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
13766
13767 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
13768
13769 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
13770
13771 2012-04-13 Masatake YAMATO <yamato@redhat.com>
13772
13773 * minibuffer.el (minibuffer-local-filename-syntax): New variable
13774 to allow `C-M-f' and `C-M-b' to move to the nearest path
13775 separator (bug#9511).
13776
13777 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
13778
13779 * avoid.el: Require cl when compiling. And also move the
13780 `provide' to the end.
13781
13782 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13783
13784 * avoid.el (mouse-avoidance-banish-position): New variable.
13785 (mouse-avoidance-banish-destination): Use it (bug#10165).
13786
13787 2012-04-13 Leo Liu <sdl.web@gmail.com>
13788
13789 * progmodes/which-func.el (which-func-modes): Add objc-mode.
13790
13791 2012-04-13 Ken Brown <kbrown@cornell.edu>
13792
13793 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
13794 this is no longer needed now that cygstart understands file:// URLs.
13795 (browse-url-filename-alist): For the same reason, don't modify
13796 file:// URLs on Cygwin.
13797
13798 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
13799
13800 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
13801 the region on shift if the binding is already shifted (bug#11221).
13802
13803 2012-04-12 Glenn Morris <rgm@gnu.org>
13804
13805 * mail/mailpost.el: Move to obsolete/.
13806
13807 2012-04-12 Drew Adams <drew.adams@oracle.com>
13808
13809 * imenu.el (imenu--generic-function): Ignore invisible definitions
13810 (bug#10123).
13811
13812 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
13813
13814 * hexl.el (hexl-bits): New variable.
13815 (hexl-options): Mention the variable in the doc string.
13816 (hexl-rulerise, hexl-line-displen): New functions.
13817 (hexl-mode): Mention the new variable.
13818 (hexl-mode, hexl-current-address, hexl-current-address):
13819 Use the displen.
13820 (hexl-ascii-start-column): New function.
13821 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
13822 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
13823
13824 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13825
13826 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
13827 '("-i" ENCODING), in 2 separate command-line arguments, to specify
13828 the encoding, as expected by hunspell.
13829
13830 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
13831
13832 * battery.el (battery--linux-sysfs-regexp): New const.
13833 (battery-status-function): Use it. Remove yeeloong special case.
13834 (battery-yeeloong-sysfs): Remove.
13835 (battery-echo-area-format): Remove yeeloong special case.
13836
13837 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13838
13839 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
13840 Reported by Noah Friedman.
13841
13842 * subr.el (read-passwd): Use read-string.
13843
13844 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13845
13846 * vcursor.el (vcursor-move): Increase the priority of the overlay
13847 (bug#9663).
13848
13849 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
13850
13851 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
13852 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
13853
13854 2012-04-11 William Stevenson <yhvh2000@gmail.com>
13855
13856 * textmodes/artist.el (artist-mode): Convert artist-mode to use
13857 define-minor-mode (bug#10760).
13858
13859 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
13860
13861 * progmodes/grep.el (rgrep): Tweak the find command line so
13862 that directories matching `grep-find-ignored-files' won't be
13863 pruned (bug#10351).
13864
13865 2012-04-11 Chong Yidong <cyd@gnu.org>
13866
13867 * startup.el (command-line): Remove support for long-obsolete
13868 variable font-lock-face-attributes.
13869
13870 2012-04-11 Glenn Morris <rgm@gnu.org>
13871
13872 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
13873
13874 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13875
13876 * window.el (window--state-get-1): Obey window-point-insertion-type.
13877
13878 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
13879
13880 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
13881 to previous function when point is on the first character of a
13882 function. Take care of that in `narrow-to-defun' (bug#6157).
13883
13884 2012-04-11 Glenn Morris <rgm@gnu.org>
13885
13886 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
13887 not just file-errors.
13888
13889 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
13890 (vc-bzr-sha1): Use internal sha1.
13891
13892 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13893
13894 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
13895
13896 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
13897
13898 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
13899 that start in the middle of the line (bug#10496).
13900
13901 2012-04-10 Dan Nicolaescu <dann@gnu.org>
13902
13903 * battery.el (battery-linux-proc-acpi): Only one battery is
13904 discharged at a time, but that seems to confuse battery.el when
13905 computing `rate-type' for the battery not being discharged
13906 (bug#10332).
13907
13908 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
13909
13910 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
13911
13912 * international/quail.el: Use dolist and simplify.
13913 (quail-define-package, quail-update-keyboard-layout)
13914 (quail-define-rules): Use dolist.
13915 (quail-insert-kbd-layout, quail-get-translation): CSE.
13916
13917 * tmm.el: Use dolist, remove left over hook.
13918 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
13919 Use dolist.
13920 (calendar-load-hook): Don't mess with it.
13921
13922 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
13923 Use derived-mode-p. Run the diff asynchronously.
13924
13925 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
13926
13927 * obsolete/mouse-sel.el: Add an Obsolete-since header.
13928
13929 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
13930
13931 * misc.el: Display absolute path of loaded DLLs (bug#10424).
13932 (list-dynamic-libraries--loaded): New function.
13933 (list-dynamic-libraries--refresh): Use it.
13934
13935 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
13936
13937 * progmodes/python.el (python-fill-paragraph):
13938 Make python-fill-region in a multiline string work when font-lock is
13939 disabled (bug#7018).
13940
13941 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
13942
13943 * language/european.el (cp775): Add oem/legacy (en)coding on
13944 DOS/MS Windows for the Baltic languages. There are still plenty
13945 of texts written in this encoding/codepage (bug#6519).
13946
13947 2012-04-10 Glenn Morris <rgm@gnu.org>
13948
13949 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
13950 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
13951
13952 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
13953
13954 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
13955 next-line "n" and previous-line "p" in order to make recentf more
13956 consistent with ibuffer, dired or org-mode (bug#9387).
13957
13958 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
13959
13960 * image.el (put-image): Return the overlay created instead of the
13961 optional input string (bug#7834). Note that this may break code
13962 that is (for some reason or other) depending on `put-image'
13963 returning the string.
13964
13965 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
13966
13967 * simple.el (zap-to-char): Allow zapping using input methods
13968 (bug#1580).
13969
13970 * textmodes/fill.el (fill-region): Leave point and mark where they
13971 were before filling (bug#5399).
13972
13973 2012-04-09 Glenn Morris <rgm@gnu.org>
13974
13975 * version.el (emacs-bzr-get-version):
13976 Handle lightweight checkouts of local branches.
13977
13978 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
13979
13980 * international/characters.el: Recover lost case pairs. (Bug#11209)
13981
13982 2012-04-09 Chong Yidong <cyd@gnu.org>
13983
13984 * custom.el (custom-variable-p): Return nil for non-symbol
13985 arguments instead of signaling an error.
13986 (user-variable-p): Obsolete alias for custom-variable-p.
13987
13988 * apropos.el (apropos-variable):
13989 * files-x.el (read-file-local-variable):
13990 * simple.el (set-variable):
13991 * woman.el (woman-mini-help):
13992 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
13993
13994 2012-04-09 Glenn Morris <rgm@gnu.org>
13995
13996 * startup.el (normal-top-level): Don't look for leim-list.el
13997 in places where it will not be found. (Bug#910)
13998
13999 * international/mule-cmds.el (set-default-coding-systems):
14000 * files.el (normal-mode):
14001 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
14002 This function was removed with ucs-tables.el in 2008.
14003
14004 2012-04-08 Eli Zaretskii <eliz@gnu.org>
14005
14006 * textmodes/ispell.el (ispell-check-version): For hunspell, set
14007 ispell-encoding8-command to "-i", without a trailing space.
14008 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
14009 separate command-line arguments, to specify the encoding, since
14010 that's how hunspell expects it.
14011
14012 2012-04-08 Glenn Morris <rgm@gnu.org>
14013
14014 * loadup.el: Load bindings before cus-start.
14015 This reduces somewhat the number of "rogue" settings in emacs -Q.
14016
14017 2012-04-07 Glenn Morris <rgm@gnu.org>
14018
14019 * version.el (emacs-bzr-get-version): New function.
14020 (emacs-bzr-version): New variable.
14021 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
14022 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
14023
14024 2012-04-07 Eli Zaretskii <eliz@gnu.org>
14025
14026 * international/uni-bidi.el, international/uni-category.el:
14027 * international/uni-combining.el, international/uni-decimal.el:
14028 * international/uni-decomposition.el, international/uni-digit.el:
14029 * international/uni-lowercase.el, international/uni-mirrored.el:
14030 * international/uni-name.el, international/uni-numeric.el:
14031 * international/uni-titlecase.el, international/uni-uppercase.el:
14032 Update for Unicode 6.1.
14033
14034 2012-04-07 Eli Zaretskii <eliz@gnu.org>
14035
14036 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
14037
14038 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
14039
14040 * window.el (shrink-window): Mention the `window-min-height'
14041 variable in the doc string.
14042
14043 2012-04-05 Bastien Guerry <bzg@altern.org>
14044
14045 * color.el (color-lighten-name): Fix typo.
14046
14047 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
14048
14049 * server.el (server--on-display-p): New function.
14050 (server--on-display-p): Use it.
14051
14052 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
14053
14054 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
14055 (bug#11145).
14056
14057 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
14058
14059 * comint.el (comint--common-quoted-suffix): Check string boundary
14060 before comparing (bug#11158).
14061 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
14062
14063 2012-04-04 Chong Yidong <cyd@gnu.org>
14064
14065 * minibuffer.el (completion-extra-properties): Doc fix.
14066
14067 * subr.el (delayed-warnings-hook): Doc fix.
14068
14069 2012-04-04 Daiki Ueno <ueno@unixuser.org>
14070
14071 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
14072 selection (Bug#11159).
14073 (epa-insert-keys): Inform that the default public key will be
14074 exported if no key is selected.
14075
14076 2012-04-04 Richard Stallman <rms@gnu.org>
14077
14078 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
14079
14080 2012-04-03 Chong Yidong <cyd@gnu.org>
14081
14082 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
14083 mail-insert-file, not its obsolete alias mail-attach-file.
14084
14085 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
14086
14087 * notifications.el (notifications-notify): Fix docstring.
14088
14089 2012-04-02 Glenn Morris <rgm@gnu.org>
14090
14091 * emacs-lisp/authors.el (authors-aliases): Another addition.
14092
14093 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
14094
14095 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
14096 `tramp-compat-call-process' instead of `tramp-local-call-process'.
14097 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
14098
14099 2012-04-01 Chong Yidong <cyd@gnu.org>
14100
14101 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
14102 Handle root directory properly.
14103 (copy-directory): Caller changed.
14104
14105 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
14106 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
14107
14108 2012-03-31 Glenn Morris <rgm@gnu.org>
14109
14110 * term/xterm.el (xterm-extra-capabilities): Doc fix.
14111
14112 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
14113
14114 * calendar/calendar.el (calendar-window-list)
14115 (calendar-hide-window): Restore. (Bug#11140)
14116 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
14117
14118 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
14119
14120 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14121
14122 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
14123 Check if file is a symlink (Bug#10489).
14124
14125 * files.el (copy-directory): Likewise.
14126
14127 2012-03-30 Chong Yidong <cyd@gnu.org>
14128
14129 * image.el (imagemagick-types-inhibit)
14130 (imagemagick-register-types): Doc fix.
14131
14132 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14133
14134 * textmodes/ispell.el (ispell-get-extended-character-mode):
14135 Disable extended-char-mode for hunspell. hunspell does not support it
14136 and treats ~word as ordinary words in pipe mode.
14137
14138 2012-03-30 Glenn Morris <rgm@gnu.org>
14139
14140 * tutorial.el (help-with-tutorial): Ensure local variables don't
14141 happen to make the buffer read-only. (Bug#11127)
14142
14143 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
14144
14145 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
14146 (perl-calculate-indent): Return `noindent' in strings.
14147
14148 2012-03-28 Sam Steingold <sds@gnu.org>
14149
14150 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
14151 instead of the broken adhockery which does not prevent calendar
14152 buffers from being displayed at random after exit.
14153 (calendar-window-list, calendar-hide-window): Remove the broken
14154 adhockery.
14155
14156 2012-03-28 Glenn Morris <rgm@gnu.org>
14157
14158 * replace.el (query-replace-map): Doc fix.
14159
14160 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
14161
14162 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
14163 contents. (Bug#11109)
14164
14165 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
14166
14167 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
14168 (bug#11077).
14169 (avl-tree--check, avl-tree--check-node): New funs.
14170
14171 2012-03-27 Martin Rudalics <rudalics@gmx.at>
14172
14173 * window.el (switch-to-visible-buffer): New option.
14174 (switch-to-prev-buffer, switch-to-next-buffer):
14175 Observe switch-to-visible-buffer. Make sure that checking for a window
14176 showing a buffer already is done on the same frame.
14177
14178 2012-03-27 Glenn Morris <rgm@gnu.org>
14179
14180 * startup.el (mail-host-address): Doc fix.
14181
14182 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14183
14184 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
14185 than 197 variables.
14186
14187 2012-03-26 Ami Fischman <ami@fischman.org>
14188
14189 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
14190
14191 2012-03-26 Glenn Morris <rgm@gnu.org>
14192
14193 * files.el (save-buffers-kill-emacs): Doc fix.
14194
14195 * startup.el (normal-top-level, command-line, command-line-1):
14196 Give them doc strings.
14197
14198 2012-03-25 Eli Zaretskii <eliz@gnu.org>
14199
14200 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
14201 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
14202
14203 2012-03-25 Chong Yidong <cyd@gnu.org>
14204
14205 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
14206 theme if it was previously enabled before (Bug#11031).
14207
14208 * cus-theme.el (custom-theme-write-faces): Retrieve current face
14209 spec with custom-face-get-current-spec if its :shown-value is not
14210 determined yet (Bug#9337).
14211 (customize-create-theme, custom-theme-revert): Doc fixes.
14212
14213 * button.el (button-at): Minor addition to docstring.
14214
14215 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
14216
14217 * vc/vc.el (vc-merge): Fix a prompt.
14218
14219 2012-03-24 Chong Yidong <cyd@gnu.org>
14220
14221 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
14222 point (Bug#9623).
14223
14224 * button.el (button-at): Minor addition to docstring.
14225
14226 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
14227
14228 * newcomment.el (comment-choose-indent): No space after BOL.
14229
14230 2012-03-22 Sam Steingold <sds@gnu.org>
14231
14232 * window.el (switch-to-prev-buffer): Revert last patch because the
14233 bug turned out to be an advertised feature (Elisp manual 28.14).
14234
14235 2012-03-22 Glenn Morris <rgm@gnu.org>
14236
14237 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
14238 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
14239
14240 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
14241
14242 * net/network-stream.el (network-stream-open-starttls): Make error
14243 message under Windows be less misleading.
14244
14245 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
14246
14247 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
14248 understands (bug#9942).
14249
14250 2012-03-22 Chong Yidong <cyd@gnu.org>
14251
14252 * simple.el (end-of-visible-line): Handle return value of
14253 next-single-property-change properly (Bug#9371).
14254
14255 2012-03-22 Kenichi Handa <handa@m17n.org>
14256
14257 * international/quail.el (quail-insert-kbd-layout): Fix previous
14258 change. To avoid unwanted bidi reordering, use
14259 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
14260
14261 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
14262
14263 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
14264 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
14265 (ruby-beginning-of-indent): Be more careful with the difference
14266 between word-boundary and symbol boundary.
14267 (ruby-mode-syntax-table): Make : a symbol constituent.
14268
14269 2012-03-21 Andreas Politz <politza@fh-trier.de>
14270
14271 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
14272
14273 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14274
14275 * progmodes/etags.el (tags-completion-at-point-function):
14276 Improve last fix.
14277
14278 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
14279
14280 2012-03-21 Sam Steingold <sds@gnu.org>
14281
14282 * progmodes/etags.el (tags-completion-at-point-function):
14283 Avoid the error when point is inside the pattern.
14284
14285 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
14286
14287 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
14288 line (Bug#10855).
14289
14290 2012-03-21 Drew Adams <drew.adams@oracle.com>
14291
14292 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
14293
14294 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
14295
14296 * ido.el (ido-set-current-directory, ido-read-internal)
14297 (ido-choose-completion-string, ido-completion-help): Handle nil
14298 value of ido-completion-buffer (Bug#11008).
14299
14300 2012-03-21 Sam Steingold <sds@gnu.org>
14301
14302 * window.el (switch-to-prev-buffer): Do not switch to a visible
14303 window previous buffer, just like with the frame previous buffers.
14304
14305 2012-03-21 Chong Yidong <cyd@gnu.org>
14306
14307 * faces.el (make-face, make-empty-face, copy-face):
14308 * face-remap.el (face-remap-add-relative, face-remap-set-base):
14309 Doc fixes.
14310
14311 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14312
14313 * wid-edit.el (widget-complete-field): Remove (bug#11051).
14314 (widget-complete): Remove broken use of it.
14315
14316 2012-03-20 Chong Yidong <cyd@gnu.org>
14317
14318 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14319 Use string-width and truncate-string-width to handle arbitrary
14320 characters.
14321
14322 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
14323
14324 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
14325 to draw rectangles, not squares. (Regression introduced by revno
14326 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
14327
14328 2012-03-18 Chong Yidong <cyd@gnu.org>
14329
14330 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
14331 it is not yet defined (for temacs).
14332
14333 2012-03-18 Leo Liu <sdl.web@gmail.com>
14334
14335 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
14336 prefix.
14337
14338 2012-03-17 Eli Zaretskii <eliz@gnu.org>
14339
14340 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
14341 (ispell-choices-win-default-height, ispell-silently-savep)
14342 (ispell-dictionary-alist, ispell-encoding8-command)
14343 (ispell-check-version, ispell-aspell-find-dictionary)
14344 (ispell-valid-dictionary-list, ispell-words-keyword)
14345 (ispell-get-word, ispell-internal-change-dictionary)
14346 (ispell-region, ispell-skip-region-list)
14347 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
14348 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
14349 (ispell-message-text-end, ispell-message)
14350 (ispell-buffer-local-parsing): Doc fix.
14351
14352 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
14353
14354 * htmlfontify.el: Add support for code block fontification for ODT
14355 export (Bug #9914).
14356 (hfy-optimisations): Define new option
14357 `body-text-only'
14358 (hfy-fontify-buffer): Honor above setting.
14359 (hfy-begin-span, hfy-end-span): New routines factored out form
14360 `hfy-fontify-buffer'.
14361 (hfy-begin-span-handler, hfy-end-span-handler): New variables
14362 that permit insertion of custom tags.
14363 (hfy-fontify-buffer): Use above handlers.
14364 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
14365 (hfy-face-to-css): Re-defined to be a variable.
14366 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
14367 over multiple runs. This is made possible by having the caller let
14368 bind a special variable `hfy-user-sheet-assoc'.
14369 (htmlfontify-string): New defun.
14370 (hfy-compile-face-map): Make sure that the last char in the
14371 buffer is correctly fontified.
14372 (hfy-face-resolve-face): Whitespace only change.
14373
14374 2012-03-17 Eli Zaretskii <eliz@gnu.org>
14375
14376 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
14377 message more clear.
14378
14379 2012-03-16 Leo Liu <sdl.web@gmail.com>
14380
14381 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
14382
14383 2012-03-16 Alan Mackenzie <acm@muc.de>
14384
14385 Further optimize the handling of large macros.
14386
14387 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
14388 limit to a call of `c-literal-limits'.
14389 (c-determine-+ve-limit): New function.
14390 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
14391 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
14392 In CASE 5B, restrict a search limit to 500.
14393 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
14394
14395 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
14396 Restrict macro bounds to +-500 from after-change's BEG END.
14397
14398 2012-03-16 Leo Liu <sdl.web@gmail.com>
14399
14400 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
14401
14402 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
14403
14404 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
14405 `special-mode' setting of `buffer-read-only'. (Bug#11010)
14406
14407 2012-03-16 Glenn Morris <rgm@gnu.org>
14408
14409 * view.el (view-buffer, view-buffer-other-window)
14410 (view-buffer-other-frame): Doc fixes re special mode-class.
14411
14412 * subr.el (eval-after-load): If named feature is provided not from
14413 a file, run after-load forms. (Bug#10946)
14414
14415 * calendar/calendar.el (calendar-insert-at-column):
14416 Handle non-unit-width characters a bit better. (Bug#10978)
14417
14418 2012-03-15 Chong Yidong <cyd@gnu.org>
14419
14420 * emacs-lisp/ring.el (ring-extend): New function.
14421 (ring-insert+extend): Extend the ring correctly (Bug#11019).
14422
14423 * comint.el (comint-read-input-ring)
14424 (comint-add-to-input-history): Grow comint-input-ring lazily.
14425
14426 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14427
14428 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
14429 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
14430
14431 * imenu.el: Fix multiple inheritance breakage (bug#9199).
14432 (imenu-add-to-menubar): Don't add a redundant index.
14433 (imenu-update-menubar): Handle a dynamically composed keymap.
14434
14435 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
14436
14437 * mail/sendmail.el (mail-encode-header):
14438 Bind rfc2047-encode-encoded-words to nil.
14439
14440 2012-03-13 Glenn Morris <rgm@gnu.org>
14441
14442 * calendar/calendar.el (calendar-string-spread):
14443 Handle non-unit-width characters a bit better. (Bug#10978)
14444
14445 2012-03-13 Leo Liu <sdl.web@gmail.com>
14446
14447 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
14448 directory and file as argument (Bug#10822).
14449
14450 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
14451
14452 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
14453 For dynamically generated code, follow $PC.
14454 (gdb-disassembly-handler-custom): Handle no function name case.
14455
14456 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
14457
14458 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
14459 * emulation/ws-mode.el (ws-query-replace):
14460 * sort.el (sort-regexp-fields):
14461 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
14462
14463 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14464
14465 * dabbrev.el: Fix cycle completion order (bug#10963).
14466 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
14467 (dabbrev-completion): Don't use an obarray; provide
14468 a cycle-sort-function.
14469
14470 2012-03-12 Leo Liu <sdl.web@gmail.com>
14471
14472 * simple.el (kill-new): Use equal-including-properties for comparison.
14473 (kill-do-not-save-duplicates): Doc fix.
14474
14475 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14476
14477 * dabbrev.el: Fix cycle completion (bug#10963).
14478 Use lexical binding and wrap to 80 columns.
14479 (dabbrev-completion): Delay computing the list of completions.
14480
14481 2012-03-12 Kenichi Handa <handa@m17n.org>
14482
14483 * international/quail.el (quail-insert-kbd-layout): Surround each
14484 row by LRO and PDF instead of inserting many LRMs. Pad the left
14485 and right of each non-spacing marks. Insert invisible space
14486 between lower and upper characters to prevent composition.
14487
14488 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14489
14490 * minibuffer.el (minibuffer-complete): Don't get confused when the
14491 function is run twice via different commands (bug#10958).
14492 (complete-with-action): Fix docstring.
14493
14494 2012-03-12 Chong Yidong <cyd@gnu.org>
14495
14496 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
14497 (nxml-completion-at-point-function): New function.
14498 (nxml-mode): Use it.
14499 (nxml-bind-meta-tab-to-complete-flag): Default to t.
14500
14501 * emacs-lisp/package.el (package-unpack, package-unpack-single):
14502 Load generated autoloads file before byte compiling (Bug#10970).
14503 (package--make-autoloads-and-compile): New helper fun.
14504
14505 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
14506
14507 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
14508
14509 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
14510
14511 * autorevert.el (auto-revert-handler): Ensure, that
14512 file-readable-p is applied only for local files or in
14513 auto-revert-tail-mode.
14514
14515 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
14516
14517 * server.el (server-eval-at): Handle non-tcp connections.
14518 Decode result string.
14519
14520 * server.el (server-msg-size): New constant.
14521 (server-reply-print): New function.
14522 (server-eval-and-print): Use it.
14523 (server-eval-at): Use server-quote-arg and server-unquote-arg.
14524 Handle -print-nonl.
14525
14526 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
14527
14528 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
14529 (Bug#10987).
14530
14531 2012-03-11 Chong Yidong <cyd@gnu.org>
14532
14533 * simple.el (goto-line): Doc fix (Bug#9938).
14534
14535 * subr.el (save-window-excursion): Doc fix (Bug#9979).
14536
14537 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
14538 when finished (Bug#10963).
14539
14540 2012-03-11 Martin Rudalics <rudalics@gmx.at>
14541
14542 * window.el (split-window-below): Fix bug in case where
14543 split-window-keep-point is nil (Bug#10971).
14544
14545 2012-03-11 Juri Linkov <juri@jurta.org>
14546
14547 * replace.el (replace-highlight): Set isearch-word to nil
14548 unconditionally. (Bug#10887)
14549
14550 2012-03-10 Eli Zaretskii <eliz@gnu.org>
14551
14552 * net/mairix.el (mairix-replace-invalid-chars): Rename from
14553 mairix-replace-illegal-chars; all callers changed. Don't remove
14554 ^, ~, and = characters: they are meaningful in mairix search specs.
14555 (mairix-widget-create-query): Add usage information about mairix
14556 search forms: negating words, searching for substrings, etc.
14557
14558 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
14559
14560 * international/fontset.el (font-encoding-alist): Add an entry for
14561 ksx1001 (Bug#5667).
14562
14563 2012-03-10 Richard Stallman <rms@gnu.org>
14564
14565 * mail/sendmail.el (mail-encode-header):
14566 Set rfc2047-encode-encoded-words.
14567
14568 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
14569
14570 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
14571 view buffer means not swapped.
14572 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
14573 (rmail-write-region-annotate): Error if real text has disappeared.
14574
14575 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
14576
14577 2012-03-10 Chong Yidong <cyd@gnu.org>
14578
14579 * emulation/cua-rect.el (cua--init-rectangles):
14580 * emulation/cua-base.el (cua--init-keymaps):
14581 Add delete-forward-char to remappings (Bug#9666).
14582
14583 2012-03-10 Martin Rudalics <rudalics@gmx.at>
14584
14585 * speedbar.el (speedbar-unhighlight-one-tag-line):
14586 Avoid unhighlighting due to frame switching (Bug#10275).
14587
14588 2012-03-10 Chong Yidong <cyd@gnu.org>
14589
14590 * minibuffer.el (completion-in-region, completion-help-at-point):
14591 Give the completion field overlay a high priority (Bug#6830).
14592
14593 * dired.el (dired-goto-file): Recognize absolute file name
14594 listings (Bug#7126).
14595 (dired-goto-file-1): New helper function.
14596 (dired-toggle-read-only): Inhibit warnings.
14597
14598 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
14599
14600 * net/dbus.el (dbus-property-handler): Return empty array if
14601 there are no properties.
14602
14603 2012-03-09 Leo Liu <sdl.web@gmail.com>
14604
14605 * savehist.el (savehist-printable): Stricter check for string
14606 value (Bug#10937).
14607
14608 2012-03-09 Eli Zaretskii <eliz@gnu.org>
14609
14610 * mail/smtpmail.el (smtpmail-send-it):
14611 Bind coding-system-for-write to *-unix, so that FCC files are kept in
14612 valid mbox format.
14613
14614 2012-03-09 Glenn Morris <rgm@gnu.org>
14615
14616 * files.el (dir-locals-find-file):
14617 Don't check result is regular, readable.
14618 (dir-locals-read-from-file): Demote errors.
14619
14620 2012-03-08 Eli Zaretskii <eliz@gnu.org>
14621
14622 * international/quail.el (quail-insert-kbd-layout):
14623 Insert invisible LRM characters before each character in a keyboard
14624 layout cell, to prevent their reordering by bidi display engine.
14625 For details, see the discussion in
14626 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
14627
14628 2012-03-08 Alan Mackenzie <acm@muc.de>
14629
14630 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
14631 the starting position; make it extend the marked region when
14632 invoked repeatedly - all under appropriate circumstances.
14633 Fixes bugs #5525, #10906.
14634
14635 2012-03-08 Glenn Morris <rgm@gnu.org>
14636
14637 * files.el (locate-dominating-file, dir-locals-find-file):
14638 Undo 2012-03-06 change.
14639
14640 2012-03-07 Eli Zaretskii <eliz@gnu.org>
14641
14642 * international/quail.el (quail-help):
14643 Force bidi-paragraph-direction be left-to-right. See discussion in
14644 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
14645 for the reason.
14646
14647 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
14648
14649 Avoid superfluous registering of signals. (Bug#10807)
14650
14651 * notifications.el (notifications-on-action-object)
14652 (notifications-on-close-object): New defvars.
14653 (notifications-on-action-signal, notifications-on-closed-signal):
14654 Unregister the signal if not needed any longer.
14655 (notifications-notify): Register `notifications-action-signal' or
14656 `notifications-closed-signal', if :on-action or :on-close has been
14657 passed as argument.
14658
14659 2012-03-07 Chong Yidong <cyd@gnu.org>
14660
14661 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
14662 non-X platforms.
14663
14664 2012-03-06 Glenn Morris <rgm@gnu.org>
14665
14666 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
14667 (x-disown-selection-internal, x-get-selection-internal):
14668 Doc fix (add arglist signatures). (Bug#10783)
14669
14670 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
14671
14672 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
14673 Handle breakpoints with no "type".
14674
14675 2012-03-06 Glenn Morris <rgm@gnu.org>
14676
14677 * files.el (locate-dominating-file): Add optional predicate argument.
14678 (dir-locals-find-file): Make use of above change.
14679
14680 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
14681
14682 * info.el (Info-insert-dir): Also try "dir.gz".
14683
14684 2012-03-06 Glenn Morris <rgm@gnu.org>
14685
14686 * files.el (dir-locals-find-file):
14687 Ignore non-readable or non-regular files. (Bug#10928)
14688
14689 * files.el (locate-dominating-file): Doc fix.
14690
14691 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
14692
14693 * calendar/calendar.el (calendar-set-mode-line):
14694 `getenv' returns a string. (Bug#10951)
14695
14696 2012-03-05 Leo Liu <sdl.web@gmail.com>
14697
14698 * simple.el (backward-delete-char-untabify): Constrain point to
14699 field (Bug#10939).
14700
14701 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
14702
14703 2012-03-05 Chong Yidong <cyd@gnu.org>
14704
14705 * simple.el (count-words): If called from Lisp, return the word
14706 count, for symmetry with `count-lines'. Arglist changed.
14707 (count-words--message): Args changed. Consolidate counting code
14708 from count-words and count-words-region.
14709 (count-words-region): Caller changed.
14710 (count-lines-region): Make it an obsolete alias.
14711
14712 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
14713
14714 * saveplace.el (save-place-to-alist)
14715 (save-place-ignore-files-regexp): Allow value nil to disable this
14716 feature.
14717
14718 2012-03-04 Chong Yidong <cyd@gnu.org>
14719
14720 * faces.el (face-spec-reset-face): For the default face, reset the
14721 attributes to default values (Bug#10748).
14722
14723 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
14724
14725 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
14726 previous patch: Check `message-send-mail-function', and not the
14727 default function (bug#10897).
14728
14729 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
14730
14731 * notifications.el (notifications-on-action-signal)
14732 (notifications-on-closed-signal): Check for unique service name of
14733 incoming event. Fix error in removing entry.
14734 (top): Register for signals with wildcard service name.
14735 (notifications-notify): Use daemon unique service name for map entries.
14736
14737 2012-03-04 Chong Yidong <cyd@gnu.org>
14738
14739 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
14740
14741 2012-03-04 Glenn Morris <rgm@gnu.org>
14742
14743 * abbrev.el (copy-abbrev-table, abbrev-table-p)
14744 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
14745 (expand-abbrev, define-abbrev-table): Doc fixes.
14746
14747 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14748
14749 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
14750 `message-default-send-mail-function' and not `send-mail-function'
14751 when doing the prompting for `sendmail-query-once' before sending
14752 in Message buffers (bug#10897).
14753
14754 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
14755 This is inconsistent with all the other stream functions, which leave
14756 the setting up to the higher levels (if so wanted) (bug#10931).
14757
14758 2012-03-02 Alan Mackenzie <acm@muc.de>
14759
14760 Depessimize the handling of very large macros.
14761
14762 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
14763 (c-macro-cache-syntactic): New variables to implement a one
14764 element macro cache.
14765 (c-invalidate-macro-cache): New function.
14766 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
14767 Adapt to use the new cache.
14768 (c-state-safe-place): Use better the cache of safe positions.
14769 (c-state-semi-nonlit-pos-cache)
14770 (c-state-semi-nonlit-pos-cache-limit):
14771 New variables for...
14772 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
14773 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
14774 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
14775 Use c-state-semi-safe-place.
14776
14777 * progmodes/cc-langs.el (c-get-state-before-change-functions):
14778 Add c-invalidate-macro-cache to the C, C++, Obj entries.
14779
14780 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
14781
14782 * jka-compr.el (jka-compr-call-process):
14783 Apply `file-accessible-directory-p' only when the default directory is
14784 not remote.
14785
14786 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
14787
14788 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
14789 access of FILE2, if FILE1 does not exist.
14790
14791 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
14792 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
14793
14794 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
14795 Add "PAGER=" to `process-environment'.
14796
14797 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
14798
14799 * progmodes/sql.el: Bug fix
14800 (sql-get-login-ext): Save login values in globals.
14801 (sql-get-login): Use new version of `sql-get-login-ext'.
14802 (sql-interactive-mode): Set global `sql-connection' to nil.
14803 (sql-connect): Set global values for connection.
14804 (sql-product-interactive): Save global values as buffer local.
14805
14806 2012-02-29 Leo Liu <sdl.web@gmail.com>
14807
14808 * abbrev.el (define-abbrevs): Reset sys to nil.
14809
14810 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14811
14812 * files.el (file-equal-p): Rename from `files-equal-p'.
14813 Return nil when one or both files don't exist.
14814 (file-subdir-of-p): Now only top directory must exists,
14815 return nil if it doesn't.
14816 (copy-directory): No need to test with `file-subdir-of-p' after
14817 creating dir.
14818 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
14819 to `file-equal-p'.
14820
14821 2012-02-28 Glenn Morris <rgm@gnu.org>
14822
14823 * shell.el (shell-mode):
14824 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
14825 * play/landmark.el (landmark-font-lock-face-O):
14826 * play/handwrite.el (handwrite):
14827 * play/gomoku.el (gomoku-O):
14828 * net/browse-url.el (browse-url-browser-display):
14829 * international/mule.el (define-charset):
14830 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
14831 * filesets.el (filesets-find-file-delay):
14832 * eshell/em-xtra.el (eshell-xtra):
14833 * eshell/em-unix.el (eshell-grep):
14834 * emulation/viper.el (viper-mode):
14835 * emacs-lisp/regexp-opt.el (regexp-opt-group):
14836 * emacs-lisp/easymenu.el (easy-menu-define):
14837 * calendar/timeclock.el (timeclock-use-display-time):
14838 * bs.el (bs-mode):
14839 * bookmark.el (bookmark-save-flag):
14840 Doc fix (standardize possessive apostrophe usage).
14841
14842 2012-02-27 Chong Yidong <cyd@gnu.org>
14843
14844 * emulation/viper-cmd.el (viper-intercept-ESC-key):
14845 Fix key-binding lookup for ESC key (Bug#9146).
14846
14847 * font-lock.el (font-lock-specified-p): Rename from
14848 font-lock-spec-present. Callers changed.
14849
14850 2012-02-27 Daniel Hackney <dan@haxney.org>
14851
14852 * emacs-lisp/package.el (package-compute-transaction):
14853 Handle holding a package version to t in package-load-list.
14854
14855 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
14856
14857 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
14858 (tramp-get-inode, tramp-get-device): Use cached values.
14859
14860 2012-02-26 Alan Mackenzie <acm@muc.de>
14861
14862 Check there is a font-lock specification before doing initial
14863 fontification.
14864
14865 * font-core.el (font-lock-mode): Move the conditional from
14866 :after-hook to font-lock-initial-fontify.
14867 (font-lock-default-function): Move the check for a specification
14868 to font-lock-spec-present.
14869
14870 * font-lock.el (font-lock-initial-fontify): Call ...
14871 (font-lock-spec-present): New function.
14872
14873 2012-02-26 Jim Blandy <jimb@red-bean.com>
14874
14875 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
14876 (gdb-send): Apply it to the operand of the '-interpreter-exec
14877 console' command, so that we can pass arguments with (say) quotes
14878 in them. Store exact string sent in gdb-debug-log (Bug#10765).
14879
14880 2012-02-26 Chong Yidong <cyd@gnu.org>
14881
14882 * help-fns.el (describe-function-1): Clarify description of
14883 remapping (Bug#10844).
14884
14885 * files.el (files-equal-p): Doc fix.
14886 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
14887 and quit the loop once a mismatch is found.
14888
14889 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
14890
14891 * bs.el (bs--show-with-configuration): Don't throw an error
14892 if the window cannot be split; otherwise, subsequent calls to
14893 bs-show fail, restoring a stale window config. (Bug#10882)
14894
14895 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
14896
14897 * term/ns-win.el (global-map): Bind ns-drag-file to
14898 ns-find-file (Bug#5855, Bug#10050).
14899
14900 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
14901
14902 * calendar/parse-time.el (parse-time-string): Allow extractor to
14903 return nil.
14904
14905 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
14906
14907 * net/tramp.el (tramp-file-name-for-operation):
14908 Add `files-equal-p' and `file-subdir-of-p'.
14909
14910 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
14911 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
14912 Add COPY-CONTENTS argument.
14913
14914 2012-02-25 Chong Yidong <cyd@gnu.org>
14915
14916 Add custom groups for VC backends, for consistency with vc-bzr.
14917
14918 * vc/vc-arch.el (vc-arch):
14919 * vc/vc-cvs.el (vc-cvs):
14920 * vc/vc-git.el (vc-git):
14921 * vc/vc-hg.el (vc-hg):
14922 * vc/vc-mtn.el (vc-mtn):
14923 * vc/vc-rcs.el (vc-rcs):
14924 * vc/vc-sccs.el (vc-sccs):
14925 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
14926 All relevant defcustoms reassigned.
14927
14928 2012-02-25 Chong Yidong <cyd@gnu.org>
14929
14930 * newcomment.el (comment-styles): Add autoload (Bug#10868).
14931
14932 * term/x-win.el (x-initialize-window-system): Reduce default for
14933 x-selection-timeout to 5 seconds (Bug#8869).
14934
14935 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14936
14937 * files.el (files-equal-p, file-subdir-of-p): New functions.
14938 (copy-directory): Error when trying to copy a directory on itself.
14939 Add missing copy-contents arg to tramp handler.
14940 * dired-aux.el (dired-copy-file-recursive): Same.
14941 (dired-create-files): Modify destination when source is equal to
14942 dest when copying files.
14943 Return also when dest is a subdir of source. (Bug#10489)
14944
14945 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
14946
14947 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
14948 (Bug#10874)
14949
14950 2012-02-23 Alan Mackenzie <acm@muc.de>
14951
14952 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
14953 parameter "after-hook:" to allow the expansion to run code after
14954 the execution of the mode hooks.
14955
14956 * font-lock.el (font-lock-initial-fontify): New function extracted
14957 from font-lock-mode-internal.
14958
14959 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
14960 :after-hook.
14961
14962 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
14963
14964 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
14965 (completion--cache-all-sorted-completions): New function.
14966 (completion-all-sorted-completions): Use it.
14967 (completion--do-completion, minibuffer-force-complete):
14968 Use it to re-instate the flush hook.
14969
14970 * icomplete.el (icomplete-completions): Replace last fix with a better
14971 one (bug#10850).
14972
14973 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
14974
14975 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
14976 when it might call us back infinitely (bug#10797).
14977
14978 2012-02-23 Glenn Morris <rgm@gnu.org>
14979
14980 * minibuffer.el (completion-category-overrides): Doc fix.
14981
14982 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
14983
14984 * minibuffer.el (completion-table-with-context): Fix inf-loop.
14985 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
14986
14987 2012-02-23 Glenn Morris <rgm@gnu.org>
14988
14989 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
14990 (authors-obsolete-files-regexps, authors-ignored-files)
14991 (authors-ambiguous-files, authors-renamed-files-alist):
14992 Add more entries.
14993
14994 2012-02-23 Juri Linkov <juri@jurta.org>
14995
14996 * isearch.el (isearch-occur): Sync interactive spec with occur's
14997 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
14998
14999 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
15000
15001 2012-02-22 Juri Linkov <juri@jurta.org>
15002
15003 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
15004 (ucs-insert): Doc fix. Check for hex digits in the string.
15005 Don't display `nil' in the error message. (Bug#10857)
15006
15007 2012-02-22 Alan Mackenzie <acm@muc.de>
15008
15009 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
15010
15011 2012-02-22 Glenn Morris <rgm@gnu.org>
15012
15013 * ffap.el (ffap-c-path):
15014 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
15015
15016 2012-02-22 Chong Yidong <cyd@gnu.org>
15017
15018 * custom.el (load-theme): Doc fix.
15019
15020 2012-02-22 Glenn Morris <rgm@gnu.org>
15021
15022 * dired-x.el (dired-guess-shell-alist-default):
15023 Remove escape sequences from nroff output. (Bug#172)
15024
15025 2012-02-21 Glenn Morris <rgm@gnu.org>
15026
15027 * vc/emerge.el (emerge-defvar-local):
15028 Set `permanent-local' property rather than unused `preserved'.
15029
15030 * textmodes/picture.el (picture-delete-char): New alias.
15031 (picture-mode-map): Use it. (Bug#10860)
15032 (picture-mode): Doc fix.
15033
15034 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
15035
15036 * newcomment.el (uncomment-region-default): Remove unused binding.
15037
15038 2012-02-21 Glenn Morris <rgm@gnu.org>
15039
15040 * textmodes/picture.el (picture-motion, picture-motion-reverse)
15041 (picture-self-insert, picture-tab-chars): Doc fix.
15042 (picture-mode-map): Fix C-a, C-e.
15043
15044 2012-02-20 Glenn Morris <rgm@gnu.org>
15045
15046 * emacs-lisp/authors.el (authors-aliases): Add another entry.
15047
15048 2012-02-20 Leo Liu <sdl.web@gmail.com>
15049
15050 * icomplete.el (icomplete-completions): Check FROM arg before
15051 passing to substring (Bug#10850).
15052
15053 2012-02-19 Chong Yidong <cyd@gnu.org>
15054
15055 * comint.el: Require ansi-color.
15056 (comint-output-filter-functions): Add ansi-color-process-output.
15057
15058 * ansi-color.el: Don't set comint-output-filter-functions; it is
15059 now in the initial value defined in comint.el.
15060 (ansi-color-apply-face-function): New variable.
15061 (ansi-color-apply-on-region): Use it.
15062 (ansi-color-apply-overlay-face): New function.
15063
15064 * shell.el (shell): No need to require ansi-color.
15065 (shell-mode): Use ansi-color-apply-face-function to highlight
15066 color escapes using font-lock-face property (Bug#10835).
15067
15068 2012-02-19 Chong Yidong <cyd@gnu.org>
15069
15070 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
15071 mode-line formats (Bug#10839).
15072
15073 2012-02-18 Glenn Morris <rgm@gnu.org>
15074
15075 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
15076
15077 * mail/undigest.el (unforward-rmail-message): Doc fix.
15078
15079 * saveplace.el (save-place-ignore-files-regexp): Add :version.
15080
15081 2012-02-18 Eli Zaretskii <eliz@gnu.org>
15082
15083 * international/characters.el (script-list): Sync with the latest
15084 Unicode Character Database.
15085
15086 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
15087
15088 * international/titdic-cnv.el: Remove duplicate coding tag.
15089 * language/cham.el: Likewise.
15090 * language/tai-viet.el: Likewise.
15091
15092 2012-02-18 Glenn Morris <rgm@gnu.org>
15093
15094 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
15095 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
15096 (calendar-bahai-all-holidays-flag, calendar-other-dates):
15097 * calendar/diary-lib.el (diary-abbreviated-year-flag):
15098 * calendar/holidays.el (holiday-bahai-holidays)
15099 (calendar-holidays, list-holidays):
15100 Use utf-8 Bahá'í in doc-strings, menus, etc.
15101
15102 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
15103
15104 * saveplace.el (save-place-ignore-files-regexp): New variable
15105 allowing for excluding files from saving their location of point.
15106 The default value matches the temporary commit message editing
15107 files from Git, SVN, Bazaar, and Mercurial.
15108 (save-place-to-alist): Use it.
15109
15110 2012-02-17 Lawrence Mitchell <wence@gmx.li>
15111 Stefan Monnier <monnier@iro.umontreal.ca>
15112
15113 * newcomment.el (uncomment-region-default): Don't leave extra space
15114 when an arg is provided (bug#8150).
15115
15116 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
15117
15118 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
15119
15120 2012-02-17 Glenn Morris <rgm@gnu.org>
15121
15122 * net/socks.el: Require network-stream. (Bug#10599)
15123
15124 2012-02-17 Kenichi Handa <handa@m17n.org>
15125
15126 * international/charprop.el:
15127 * international/uni-name.el:
15128 * international/uni-old-name.el:
15129 * international/uni-comment.el: Regenerate.
15130
15131 2012-02-16 Glenn Morris <rgm@gnu.org>
15132
15133 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
15134 Interactively in calendar buffer, give an error if not on a date.
15135
15136 2012-02-15 Glenn Morris <rgm@gnu.org>
15137
15138 * shell.el (shell-delimiter-argument-list):
15139 Revert 2011-02-17 change. (Bug#8027)
15140
15141 2012-02-15 Chong Yidong <cyd@gnu.org>
15142
15143 * minibuffer.el (completion-at-point-functions): Doc fix.
15144
15145 * custom.el (defcustom): Doc fix; note use of defvar.
15146
15147 2012-02-15 Glenn Morris <rgm@gnu.org>
15148
15149 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
15150 Doc fixes.
15151
15152 2012-02-14 Glenn Morris <rgm@gnu.org>
15153
15154 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
15155
15156 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
15157
15158 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
15159 way the ports list is computed.
15160 (smtpmail-query-smtp-server): Prompt the user for a port number if
15161 we can't connect to any of the standard ports (bug#10810).
15162
15163 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
15164
15165 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
15166
15167 2012-02-13 Glenn Morris <rgm@gnu.org>
15168
15169 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
15170
15171 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
15172
15173 * net/gnutls.el (gnutls-trustfiles): New variable.
15174 (gnutls-negotiate): Use it.
15175
15176 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
15177
15178 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
15179 does its stuff if Gnus is running.
15180
15181 2012-02-13 Alan Mackenzie <acm@muc.de>
15182
15183 Fix a loop in c-set-fl-decl-start.
15184
15185 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
15186 c-backward-syntactic-ws actually moves backwards.
15187
15188 2012-02-13 Leo Liu <sdl.web@gmail.com>
15189
15190 * net/rcirc.el (rcirc-markup-attributes): Move point to the
15191 beginning so that all \C-o chars are removed.
15192
15193 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
15194
15195 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
15196
15197 2012-02-12 Alan Mackenzie <acm@muc.de>
15198
15199 Fix infinite loop with long macros.
15200 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
15201
15202 2012-02-12 Chong Yidong <cyd@gnu.org>
15203
15204 * window.el (display-buffer): Doc fix (Bug#10785).
15205
15206 2012-02-12 Glenn Morris <rgm@gnu.org>
15207
15208 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
15209 (x-disown-selection-internal, x-get-selection-internal):
15210 Sync docs with the xselect.c versions.
15211
15212 * allout-widgets.el: Add missing license notice.
15213
15214 2012-02-11 Glenn Morris <rgm@gnu.org>
15215
15216 * select.el (x-get-selection-internal, x-own-selection-internal)
15217 (x-disown-selection-internal):
15218 * x-dnd.el (x-get-selection-internal): Update declarations.
15219
15220 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
15221
15222 * window.el (window-sides-slots):
15223 * tool-bar.el (tool-bar-position):
15224 * term/xterm.el (xterm-extra-capabilities):
15225 * ses.el (ses-self-reference-early-detection):
15226 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
15227 (verilog-auto-wire-type)
15228 (verilog-auto-delete-trailing-whitespace)
15229 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
15230 (verilog-auto-tieoff-declaration):
15231 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
15232 (sql-oracle-statement-starters, sql-oracle-scan-on):
15233 * progmodes/prolog.el (prolog-align-comments-flag)
15234 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
15235 (prolog-left-indent-regexp, prolog-paren-indent-p)
15236 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
15237 (prolog-types, prolog-mode-specificators)
15238 (prolog-determinism-specificators, prolog-directives)
15239 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
15240 (prolog-electric-dot-flag)
15241 (prolog-electric-dot-full-predicate-template)
15242 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
15243 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
15244 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
15245 (prolog-program-switches, prolog-prompt-regexp)
15246 (prolog-debug-on-string, prolog-debug-off-string)
15247 (prolog-trace-on-string, prolog-trace-off-string)
15248 (prolog-zip-on-string, prolog-zip-off-string)
15249 (prolog-use-standard-consult-compile-method-flag)
15250 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
15251 (prolog-imenu-max-lines, prolog-info-predicate-index)
15252 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
15253 (prolog-char-quote-workaround):
15254 * progmodes/cc-vars.el (c-defun-tactic):
15255 * net/tramp.el (tramp-encoding-command-interactive)
15256 (tramp-local-end-of-line):
15257 * net/soap-client.el (soap-client):
15258 * net/netrc.el (netrc-file):
15259 * net/gnutls.el (gnutls):
15260 * minibuffer.el (completion-category-overrides)
15261 (completion-cycle-threshold)
15262 (completion-pcm-complete-word-inserts-delimiters):
15263 * man.el (Man-name-local-regexp):
15264 * mail/feedmail.el (feedmail-display-full-frame):
15265 * international/characters.el (glyphless-char-display-control):
15266 * eshell/em-ls.el (eshell-ls-date-format):
15267 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
15268 (lisp-lambda-list-keyword-parameter-indentation)
15269 (lisp-lambda-list-keyword-parameter-alignment):
15270 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
15271 * dired-x.el (dired-omit-verbose):
15272 * cus-theme.el (custom-theme-allow-multiple-selections):
15273 * calc/calc.el (calc-highlight-selections-with-faces)
15274 (calc-lu-field-reference, calc-lu-power-reference)
15275 (calc-note-threshold):
15276 * battery.el (battery-mode-line-limit):
15277 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
15278 (archive-7z-update):
15279 * allout.el (allout-prefixed-keybindings)
15280 (allout-unprefixed-keybindings)
15281 (allout-inhibit-auto-fill-on-headline)
15282 (allout-flattened-numbering-abbreviation):
15283 * allout-widgets.el (allout-widgets-auto-activation)
15284 (allout-widgets-icons-dark-subdir)
15285 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
15286 (allout-widgets-theme-dark-background)
15287 (allout-widgets-theme-light-background)
15288 (allout-widgets-item-image-properties-emacs)
15289 (allout-widgets-item-image-properties-xemacs)
15290 (allout-widgets-run-unit-tests-on-load)
15291 (allout-widgets-time-decoration-activity)
15292 (allout-widgets-hook-error-post-time)
15293 (allout-widgets-track-decoration):
15294 Add missing :version tags to new defcustoms and defgroups.
15295
15296 * progmodes/sql.el (sql-ansi-statement-starters)
15297 (sql-oracle-statement-starters): Add custom type.
15298
15299 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
15300 (prolog-system-version): Give it a type.
15301
15302 2012-02-11 Eli Zaretskii <eliz@gnu.org>
15303
15304 * term/pc-win.el (x-select-text, x-selection-owner-p)
15305 (x-own-selection-internal, x-disown-selection-internal)
15306 (x-get-selection-internal): Sync doc strings and argument lists
15307 with xselect.c, common-win.el and x-win.el. (Bug#10783)
15308
15309 2012-02-11 Leo Liu <sdl.web@gmail.com>
15310
15311 * progmodes/python.el (python-end-of-statement): Fix infinite
15312 loop. (Bug#10788)
15313
15314 2012-02-10 Glenn Morris <rgm@gnu.org>
15315
15316 * international/mule-cmds.el (unify-8859-on-encoding-mode)
15317 (unify-8859-on-decoding-mode): Properly mark as obsolete.
15318
15319 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
15320
15321 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
15322 about SMTP before checking the From header.
15323
15324 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
15325 into own function for reuse by emacsbug.el.
15326
15327 2012-02-10 Leo Liu <sdl.web@gmail.com>
15328
15329 * subr.el (condition-case-unless-debug): Rename from
15330 condition-case-no-debug. All callers changed.
15331 (with-demoted-errors): Fix caller.
15332
15333 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
15334 * nxml/rng-valid.el (rng-do-some-validation):
15335 * emacs-lisp/package.el (package-refresh-contents)
15336 (package-menu-execute):
15337 * desktop.el (desktop-create-buffer):
15338 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
15339
15340 2012-02-10 Glenn Morris <rgm@gnu.org>
15341
15342 * textmodes/bibtex.el:
15343 Add missing :version tags for new/changed defcustoms.
15344
15345 * files.el (remote-file-name-inhibit-cache): Doc fixes.
15346
15347 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
15348
15349 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
15350 (smtpmail-via-smtp): Use it, or fall back on the From address.
15351 (smtpmail-send-it): Ditto.
15352
15353 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
15354
15355 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
15356 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
15357 (byte-compile-tmp-var): New const.
15358 (byte-compile-defvar): Use it to minimize .elc size.
15359 Just use `defvar' rather than simulate it (bug#10761).
15360
15361 2012-02-09 Glenn Morris <rgm@gnu.org>
15362
15363 * files.el (rename-uniquely): Doc fix. (Bug#3806)
15364
15365 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
15366 Add :version tags.
15367
15368 * progmodes/compile.el (compilation-error-screen-columns)
15369 (compilation-first-column, compilation-filter-start): Doc fixes.
15370
15371 * vc/log-view.el (log-view-toggle-entry-display):
15372 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
15373
15374 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
15375 (report-emacs-bug-can-use-xdg-email):
15376 (report-emacs-bug-insert-to-mailer): Doc fixes.
15377 (report-emacs-bug): Message fix.
15378
15379 * net/browse-url.el (browse-url-can-use-xdg-open)
15380 (browse-url-xdg-open): Doc fixes.
15381
15382 * electric.el (electric-indent-mode, electric-pair-mode)
15383 (electric-layout-rules, electric-layout-mode): Doc fixes.
15384 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
15385
15386 2012-02-08 Martin Rudalics <rudalics@gmx.at>
15387
15388 * server.el (server-unselect-display): Don't inadvertently kill
15389 the current buffer. (Bug#10729)
15390
15391 2012-02-08 Glenn Morris <rgm@gnu.org>
15392
15393 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
15394 (sql-list-table): Doc fixes.
15395
15396 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
15397 Comment out (does nothing).
15398
15399 * completion.el (dynamic-completion-mode):
15400 * dirtrack.el (dirtrack-debug-mode):
15401 * electric.el (electric-layout-mode):
15402 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
15403 * face-remap.el (text-scale-mode, buffer-face-mode):
15404 * iimage.el (iimage-mode):
15405 * image-mode.el (image-transform-mode):
15406 * minibuffer.el (completion-in-region-mode):
15407 * scroll-lock.el (scroll-lock-mode):
15408 * simple.el (next-error-follow-minor-mode):
15409 * tar-mode.el (tar-subfile-mode):
15410 * tooltip.el (tooltip-mode):
15411 * vcursor.el (vcursor-use-vcursor-map):
15412 * wid-browse.el (widget-minor-mode):
15413 * emulation/tpu-edt.el (tpu-edt-mode):
15414 * emulation/tpu-extras.el (tpu-cursor-free-mode):
15415 * international/iso-ascii.el (iso-ascii-mode):
15416 * language/thai-util.el (thai-word-mode):
15417 * mail/supercite.el (sc-minor-mode):
15418 * net/goto-addr.el (goto-address-mode):
15419 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
15420 * progmodes/cwarn.el (cwarn-mode):
15421 * progmodes/flymake.el (flymake-mode):
15422 * progmodes/glasses.el (glasses-mode):
15423 * progmodes/hideshow.el (hs-minor-mode):
15424 * progmodes/pascal.el (pascal-outline-mode):
15425 * textmodes/enriched.el (enriched-mode):
15426 * vc/smerge-mode.el (smerge-mode):
15427 Doc fixes (minor mode argument).
15428
15429 2012-02-07 Eli Zaretskii <eliz@gnu.org>
15430
15431 * ls-lisp.el (ls-lisp-sanitize): New function.
15432 (ls-lisp-insert-directory): Use it to fix or remove any elements
15433 in file-alist with missing attributes. (Bug#4673)
15434
15435 2012-02-07 Alan Mackenzie <acm@muc.de>
15436
15437 Fix spurious recognition of c-in-knr-argdecl.
15438
15439 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
15440 putative K&R region.
15441
15442 2012-02-07 Alan Mackenzie <acm@muc.de>
15443
15444 * progmodes/cc-engine.el (c-forward-objc-directive):
15445 Prevent looping in "#pragma mark @implementation".
15446
15447 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
15448
15449 * notifications.el (notifications-on-closed-signal): Make `reason'
15450 optional. (Bug#10744)
15451
15452 2012-02-07 Glenn Morris <rgm@gnu.org>
15453
15454 * emacs-lisp/easy-mmode.el (define-minor-mode):
15455 Doc fixes for the macro and the mode it defines.
15456
15457 * image.el (imagemagick-types-inhibit): Doc fix.
15458
15459 * cus-start.el (imagemagick-render-type): Add it.
15460
15461 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
15462
15463 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
15464 Set the default at load time, too, so that `font-lock-fontify-buffer'
15465 can be called without setting up the entire mode first. This fixes
15466 a bug in `mm-inline-text' with C MIME parts.
15467
15468 2012-02-06 Chong Yidong <cyd@gnu.org>
15469
15470 * simple.el (list-processes--refresh): Delete exited processes
15471 (Bug#8094).
15472
15473 * comint.el (comint-next-prompt): next-single-char-property-change
15474 and prev-single-char-property-change never return nil (Bug#8657).
15475
15476 * custom.el (defcustom): Doc fix (Bug#9711).
15477
15478 2012-02-05 Chong Yidong <cyd@gnu.org>
15479
15480 * cus-edit.el (custom-variable-reset-backup): Quote the value
15481 before storing it in the customized-value property (Bug#6712).
15482 (custom-display): Add a customization type tag.
15483 (custom-buffer-create-internal): Improve tooltip message.
15484
15485 * wid-edit.el (widget-field-value-get): New optional arg to
15486 suppress trailing whitespace truncation.
15487 (character): Use it (Bug#2689).
15488
15489 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
15490
15491 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
15492 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
15493
15494 2012-02-05 Chong Yidong <cyd@gnu.org>
15495
15496 * cus-edit.el (custom-variable-value-create): For mismatched
15497 types, show the current value (Bug#7600).
15498
15499 * custom.el (defcustom): Doc fix.
15500
15501 2012-02-05 Glenn Morris <rgm@gnu.org>
15502
15503 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
15504
15505 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
15506
15507 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
15508 (pp-buffer): Use `ignore-errors', `looking-at-p'.
15509 (pp-last-sexp): Use `looking-at-p'.
15510
15511 2012-02-04 Glenn Morris <rgm@gnu.org>
15512
15513 * files.el (revert-buffer):
15514 Doc fix (mention revert-buffer-in-progress-p).
15515
15516 * emacs-lisp/ert-x.el (ert-simulate-command):
15517 Check deferred-action-list (which is obsolete) is bound.
15518
15519 * subr.el (with-wrapper-hook): Doc fixes.
15520
15521 * simple.el (filter-buffer-substring-functions)
15522 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
15523
15524 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
15525
15526 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
15527 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
15528
15529 2012-02-04 Leo Liu <sdl.web@gmail.com>
15530
15531 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
15532
15533 2012-02-04 Glenn Morris <rgm@gnu.org>
15534
15535 * image.el (image-extension-data): Add obsolete alias.
15536
15537 * isearch.el (isearch-update): Doc fix.
15538
15539 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
15540
15541 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
15542
15543 2012-02-03 Glenn Morris <rgm@gnu.org>
15544
15545 * image.el (image-animated-p): Doc fix. Use image-animated-types.
15546 (image-animate-timeout): Doc fix.
15547
15548 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
15549
15550 2012-02-02 Glenn Morris <rgm@gnu.org>
15551
15552 * server.el (server-auth-dir): Doc fix.
15553 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
15554
15555 * subr.el (run-mode-hooks): Doc fix.
15556
15557 2012-02-02 Juri Linkov <juri@jurta.org>
15558
15559 * image-mode.el (image-toggle-display-image): Remove tautological
15560 `major-mode' from the `derived-mode-p' test.
15561
15562 2012-02-02 Kenichi Handa <handa@m17n.org>
15563
15564 * composite.el (compose-region): Cancel previous change.
15565
15566 2012-02-02 Kenichi Handa <handa@m17n.org>
15567
15568 * composite.el (compose-region, compose-string): Signal error for
15569 a null string component (Bug#6988).
15570
15571 2012-02-01 Chong Yidong <cyd@gnu.org>
15572
15573 * view.el (view-buffer-other-window, view-buffer-other-frame):
15574 Handle special modes like view-buffer (Bug#10650).
15575 (view-buffer): Simplify.
15576
15577 * frame.el (set-frame-font): Tweak meaning of third argument.
15578
15579 * dynamic-setting.el (font-setting-change-default-font):
15580 Use set-frame-font (Bug#9982).
15581
15582 2012-02-01 Glenn Morris <rgm@gnu.org>
15583
15584 * progmodes/compile.el (compilation-internal-error-properties):
15585 Respect compilation-first-column in the "*compilation*" buffer.
15586
15587 * emacs-lisp/easy-mmode.el (define-minor-mode):
15588 Relax :variable's test for a named function.
15589
15590 2012-01-31 Alan Mackenzie <acm@muc.de>
15591
15592 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
15593 off by one error.
15594
15595 2012-01-31 Chong Yidong <cyd@gnu.org>
15596
15597 * frame.el (set-frame-font): New arg ALL-FRAMES.
15598
15599 * menu-bar.el (menu-set-font): Use set-frame-font.
15600
15601 * faces.el (face-spec-reset-face): Don't apply unspecified
15602 attribute values to the default face.
15603
15604 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
15605
15606 * progmodes/cwarn.el (cwarn): Remove dead link.
15607 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
15608 Remove * from defcustom docstrings.
15609 (turn-on-cwarn-mode): Make obsolete.
15610 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
15611 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
15612
15613 2012-01-31 Glenn Morris <rgm@gnu.org>
15614
15615 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
15616 Fix :variable handling of mode a symbol not equal to modefun.
15617 Allow named functions to be used as the cdr of :variable.
15618
15619 2012-01-30 Glenn Morris <rgm@gnu.org>
15620
15621 * emacs-lisp/authors.el (authors-fixed-entries):
15622 Remove reference to deleted file rnewspost.el.
15623
15624 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
15625
15626 * window.el (window-with-parameter): Remove unused variable `windows'.
15627 (window--side-check): Remove unused variable `code'.
15628 (window--resize-siblings): Remove unused variable `first'.
15629 (adjust-window-trailing-edge): Remove unused variable `failed'.
15630 (window-deletable-p, window--delete): Remove unused variable `buffer'.
15631 Use `let', not `let*'.
15632 (balance-windows-2): Remove unused variable `found'.
15633 (window--state-put-2): Remove unused variable `splits'.
15634 (window-state-put): Remove unused variable `selected'.
15635 (same-window-p): Use `string-match-p'.
15636 (display-buffer-assq-regexp): Remove unused variable `value'.
15637 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15638 Mark argument ALIST as ignored.
15639 (pop-to-buffer): Remove unused variable `old-window'.
15640
15641 2012-01-29 Eli Zaretskii <eliz@gnu.org>
15642
15643 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
15644 and .lzma compressed files.
15645
15646 2012-01-29 Chong Yidong <cyd@gnu.org>
15647
15648 * frame.el (window-system-default-frame-alist): Doc fix.
15649
15650 * dynamic-setting.el (font-setting-change-default-font): Don't
15651 change the default face if SET-FONT argument is non-nil (Bug#9982).
15652
15653 2012-01-29 Samuel Bronson <naesten@gmail.com>
15654
15655 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
15656
15657 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
15658
15659 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
15660 breakpoints in files outside current directory (Bug#6098).
15661
15662 2012-01-29 Chong Yidong <cyd@gnu.org>
15663
15664 * progmodes/python.el: Require ansi-color at top-level.
15665
15666 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
15667 Define and use in Emacs Lisp mode (Bug#9360).
15668 (lisp-mode-abbrev-table): Add doc.
15669 (lisp-mode-variables): Don't set local-abbrev-table.
15670 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
15671
15672 2012-01-28 Roland Winkler <winkler@gnu.org>
15673
15674 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
15675
15676 2012-01-28 Roland Winkler <winkler@gnu.org>
15677
15678 * textmodes/bibtex.el (bibtex-entry-alist): New function.
15679 (bibtex-set-dialect): Use it. Either set global values of
15680 dialect-dependent variables or bind these variables buffer-locally
15681 (Bug#10254).
15682 (bibtex-mode): Call bibtex-set-dialect via
15683 hack-local-variables-hook.
15684 (bibtex-dialect): Update docstring.
15685 Add safe-local-variable predicate.
15686 (bibtex-entry-alist, bibtex-field-alist): Initialize via
15687 bibtex-set-dialect.
15688 (bibtex-mode-map): Define menu for each dialect.
15689 (bibtex-entry): Fix docstring.
15690
15691 2012-01-28 Chong Yidong <cyd@gnu.org>
15692
15693 * eshell/esh-arg.el (eshell-quote-argument): New function.
15694
15695 * eshell/esh-ext.el (eshell-invoke-batch-file):
15696 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
15697 first arg to eshell-parse-command (Bug#10523).
15698
15699 2012-01-28 Drew Adams <drew.adams@oracle.com>
15700
15701 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
15702 `default-directory' is non-nil.
15703
15704 2012-01-28 Eli Zaretskii <eliz@gnu.org>
15705
15706 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
15707 line that displays system-configuration-options. (Bug#9924)
15708
15709 2012-01-28 Drew Adams <drew.adams@oracle.com>
15710
15711 * descr-text.el (describe-char): Show information about POS, in
15712 addition to information about the character at POS. Improve and
15713 update the doc string. Change "code point" to "code point in
15714 charset", to avoid confusion with the character's Unicode code
15715 point shown above that. (Bug#10129)
15716
15717 2012-01-28 Eli Zaretskii <eliz@gnu.org>
15718
15719 * descr-text.el (describe-char): Show the raw character, not only
15720 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
15721 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
15722 for the reasons.
15723
15724 2012-01-28 Phil Hagelberg <phil@hagelb.org>
15725
15726 * emacs-lisp/package.el (package-install):
15727 Run package-refresh-contents if there is no archive yet (Bug#9798).
15728
15729 2012-01-28 Chong Yidong <cyd@gnu.org>
15730
15731 * emacs-lisp/package.el (package-maybe-load-descriptor):
15732 New function, split from package-maybe-load-descriptor.
15733 (package-maybe-load-descriptor): Use it.
15734 (package-download-transaction): Fully load required packages
15735 inside the loop, so that `require' calls work (Bug#10593).
15736 (package-install): No need to call package-initialize now.
15737
15738 2012-01-28 Chong Yidong <cyd@gnu.org>
15739
15740 * simple.el (deactivate-mark): Doc fix (Bug#8614).
15741
15742 * tooltip.el (tooltip-mode): Doc fix.
15743 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
15744
15745 * frame.el (set-cursor-color): Doc fix (Bug#352).
15746
15747 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
15748 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
15749
15750 * cus-edit.el (custom-buffer-create-internal): Fix search button
15751 action (Bug#10542).
15752 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
15753
15754 2012-01-27 Eduard Wiebe <usenet@pusto.de>
15755
15756 * dired.el (dired-mark-files-regexp):
15757 Include any subdirectory components. (Bug#10445)
15758
15759 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
15760
15761 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
15762 Handle [host]:port syntax. (Bug#10533)
15763
15764 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
15765
15766 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
15767
15768 2012-01-26 Glenn Morris <rgm@gnu.org>
15769
15770 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
15771 * term.el (term-raw-escape-map): Use Control-X-prefix.
15772 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
15773
15774 2012-01-25 Martin Rudalics <rudalics@gmx.at>
15775
15776 * window.el (window-state-get, window--state-get-1): Don't deal
15777 with fixed-sizeness of windows. Simplify code.
15778
15779 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
15780
15781 * window.el (window--state-get-1, window--state-put-2):
15782 Don't save and restore the mark.
15783
15784 2012-01-25 Chong Yidong <cyd@gnu.org>
15785
15786 * custom.el (custom-variable-p): Doc fix.
15787
15788 2012-01-25 Glenn Morris <rgm@gnu.org>
15789
15790 * dired.el (dired-goto-file): Handle some of the more common
15791 characters that `ls -b' escapes. (Bug#10596)
15792
15793 * progmodes/compile.el (compilation-next-error-function):
15794 Respect compilation-first-column in the "*compilation*" buffer.
15795 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
15796
15797 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
15798
15799 2012-01-24 Glenn Morris <rgm@gnu.org>
15800
15801 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
15802
15803 2012-01-24 Julien Danjou <julien@danjou.info>
15804
15805 * color.el (color-rgb-to-hsl): Fix value computing.
15806 (color-hue-to-rgb): New function.
15807 (color-hsl-to-rgb): New function.
15808 (color-clamp, color-saturate-hsl, color-saturate-name)
15809 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
15810 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
15811
15812 2012-01-24 Glenn Morris <rgm@gnu.org>
15813
15814 * vc/vc-rcs.el (vc-rcs-create-tag):
15815 * vc/vc-sccs.el (vc-sccs-create-tag):
15816 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
15817
15818 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
15819
15820 * eshell/esh-util.el (eshell-read-hosts-file):
15821 Skip comment lines. (Bug#10549)
15822
15823 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
15824
15825 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
15826
15827 * subr.el (display-delayed-warnings): Doc fix.
15828 (collapse-delayed-warnings): New function to collapse identical
15829 adjacent warnings.
15830 (delayed-warnings-hook): Add it.
15831
15832 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
15833
15834 * net/tramp.el (tramp-action-login): Set connection property "login-as".
15835
15836 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
15837 (tramp-default-user-alist): Don't add "pscp".
15838 (tramp-do-copy-or-rename-file-out-of-band): Use connection
15839 property "login-as", if set. (Bug#10530)
15840
15841 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
15842
15843 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
15844 "plink1" and "psftp". (Bug#10530)
15845
15846 2012-01-21 Kenichi Handa <handa@m17n.org>
15847
15848 * international/mule-cmds.el (prefer-coding-system): Show a
15849 warning message if the default value of file-name-coding-system
15850 was not changed.
15851
15852 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
15853
15854 * windmove.el (windmove-reference-loc):
15855 Fix windmove-reference-loc miscalculation.
15856
15857 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
15858
15859 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
15860 default unit.
15861
15862 2012-01-21 Glenn Morris <rgm@gnu.org>
15863
15864 * international/mule.el (auto-coding-alist): Add .tbz.
15865
15866 * files.el (local-enable-local-variables): Doc fix.
15867 (inhibit-local-variables-regexps): Rename from
15868 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
15869 Doc fix. Add some extensions from auto-coding-alist.
15870 (inhibit-local-variables-suffixes):
15871 Rename from inhibit-first-line-modes-suffixes. Doc fix.
15872 (inhibit-local-variables-p):
15873 New function, extracted from set-auto-mode-1.
15874 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
15875 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
15876 (hack-local-variables): Doc fix. Make the mode-only case
15877 respect enable-local-variables and friends.
15878 Respect inhibit-local-variables-regexps for file-locals, but
15879 not for directory-locals.
15880 (set-visited-file-name):
15881 Take account of inhibit-local-variables-regexps.
15882 Whether it applies may change as the file name is changed.
15883 * jka-cmpr-hook.el (jka-compr-install):
15884 * jka-compr.el (jka-compr-uninstall):
15885 Update for inhibit-first-line-modes-suffixes name change.
15886
15887 2012-01-20 Martin Rudalics <rudalics@gmx.at>
15888
15889 * help-macro.el (make-help-screen): Temporarily restore original
15890 binding for minor-mode-map-alist (Bug#10454).
15891
15892 2012-01-19 Julien Danjou <julien@danjou.info>
15893
15894 * color.el (color-name-to-rgb): Use the white color to find the max
15895 color component value and return correctly computed values.
15896 (color-name-to-rgb): Add missing float conversion for max value.
15897
15898 2012-01-19 Martin Rudalics <rudalics@gmx.at>
15899
15900 * window.el (window--state-get-1, window-state-get): Do not use
15901 special state value for window-persistent-parameters.
15902 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
15903 (window--state-put-2): Reset all window parameters to nil before
15904 assigning values of persistent parameters.
15905
15906 2012-01-18 Alan Mackenzie <acm@muc.de>
15907
15908 Eliminate sluggishness and hangs in fontification of "semicolon
15909 deserts".
15910
15911 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
15912 Change value 10000 -> 3000.
15913 (c-state-safe-place): Reformulate so it doesn't stack up an
15914 infinite number of wrong entries in c-state-nonlit-pos-cache.
15915 (c-determine-limit-get-base, c-determine-limit): New functions to
15916 determine backward search limits disregarding literals.
15917 (c-find-decl-spots): Amend commenting.
15918 (c-cheap-inside-bracelist-p): New function which detects "={".
15919
15920 * progmodes/cc-fonts.el
15921 (c-make-font-lock-BO-decl-search-function): Give a limit to a
15922 backward search.
15923 (c-font-lock-declarations): Fix an occurrence of point being
15924 undefined. Check additionally for point being in a bracelist or
15925 near a macro invocation without a semicolon so as to avoid a
15926 fruitless time consuming search for a declarator. Give a more
15927 precise search limit for declarators using the new
15928 c-determine-limit.
15929
15930 2012-01-18 Glenn Morris <rgm@gnu.org>
15931
15932 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
15933 (set-auto-mode): Doc fixes.
15934
15935 2012-01-17 Glenn Morris <rgm@gnu.org>
15936
15937 * isearch.el (search-nonincremental-instead): Fix doc typo.
15938
15939 * dired.el (dired-insert-directory): Handle newlines in directory name.
15940 (dired-build-subdir-alist): Unescape newlines in directory name.
15941
15942 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
15943
15944 * net/tramp.el (tramp-local-end-of-line): New defcustom.
15945 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
15946 (tramp-action-terminal): Use it. (Bug#10530)
15947
15948 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
15949
15950 * minibuffer.el (completion--replace): Strip properties (bug#10062).
15951
15952 2012-01-16 Martin Rudalics <rudalics@gmx.at>
15953
15954 * window.el (window-state-ignored-parameters): Remove variable.
15955 (window--state-get-1): Rename argument MARKERS to IGNORE.
15956 Handle persistent window parameters. Make copy of clone-of
15957 parameter only if requested. (Bug#10348)
15958 (window--state-put-2): Install a window parameter only if it has
15959 a non-nil value or an existing parameter shall be overwritten.
15960
15961 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
15962
15963 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
15964
15965 2012-01-14 Eli Zaretskii <eliz@gnu.org>
15966
15967 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
15968 don't pass the (nil) value of `upnode' to string-match.
15969
15970 2012-01-14 Chong Yidong <cyd@gnu.org>
15971
15972 * startup.el (command-line): Fix X resource class for cursorColor.
15973 Fix values recognized by the cursorBlink resource.
15974
15975 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
15976
15977 * epg.el (epg--make-temp-file): Avoid permission race condition
15978 when running on old Emacs versions (bug#10403).
15979
15980 2012-01-14 Glenn Morris <rgm@gnu.org>
15981
15982 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
15983
15984 2012-01-13 Alan Mackenzie <acm@muc.de>
15985
15986 Fix filling for when filladapt mode is enabled.
15987
15988 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
15989 c-mask-paragraph, pass in `fill-paragraph' rather than
15990 `fill-region-as-paragraph'. (This is a reversion of a previous
15991 change.)
15992 * progmodes/cc-mode.el (c-basic-common-init):
15993 Make fill-paragraph-handle-comment buffer local and set it to nil.
15994
15995 2012-01-13 Glenn Morris <rgm@gnu.org>
15996
15997 * dired.el (dired-switches-escape-p): New function.
15998 (dired-insert-directory): Use dired-switches-escape-p.
15999 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
16000
16001 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
16002
16003 2012-01-12 Glenn Morris <rgm@gnu.org>
16004
16005 * mail/sendmail.el (mail-mode): Update paragraph-separate for
16006 changes in adaptive-fill-regexp. (Bug#10276)
16007
16008 2012-01-11 Alan Mackenzie <acm@muc.de>
16009
16010 Fix Emacs bug #10463 - put `widen's around the critical spots.
16011
16012 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
16013 widen around each invocation of c-state-pp-to-literal. Remove an
16014 unused let variable.
16015
16016 2012-01-11 Glenn Morris <rgm@gnu.org>
16017
16018 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
16019 Doc fix.
16020
16021 2012-01-10 Chong Yidong <cyd@gnu.org>
16022
16023 * net/network-stream.el (network-stream-open-starttls):
16024 Avoid emitting a confusing error message when the server gives a bad
16025 response to the capability command.
16026
16027 2012-01-10 Glenn Morris <rgm@gnu.org>
16028
16029 * mail/unrmail.el (unrmail): Tweak previous change.
16030
16031 2012-01-09 Chong Yidong <cyd@gnu.org>
16032
16033 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
16034
16035 2012-01-08 Alan Mackenzie <acm@muc.de>
16036
16037 Optimize font locking in long enum definitions.
16038
16039 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
16040 arm to a cond form to handle enums.
16041 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
16042 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
16043
16044 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
16045
16046 * files.el (move-file-to-trash): Preserve default file modes on error.
16047 (Bug#10401)
16048
16049 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16050
16051 * faces.el (set-face-attribute): Clarify the meaning of the nil
16052 frame (bug#10294).
16053
16054 * subr.el (with-selected-frame): Mention that the selected frame
16055 is restored (bug#9980).
16056
16057 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
16058 (bug#9759).
16059
16060 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
16061 (password-read): Don't autoload unused function.
16062
16063 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
16064
16065 * progmodes/which-func.el (which-func-mode): Turn into a
16066 non-interactive function and mark as obsolete (bug#10428).
16067
16068 2012-01-06 Chong Yidong <cyd@gnu.org>
16069
16070 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
16071 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
16072 functions, along with 1 and -1.
16073
16074 2012-01-06 Eli Zaretskii <eliz@gnu.org>
16075
16076 * time.el (display-time-load-average)
16077 (display-time-default-load-average): Doc fixes. See the thread
16078 starting at
16079 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
16080 for the details.
16081
16082 2012-01-06 Glenn Morris <rgm@gnu.org>
16083
16084 * mail/unrmail.el (unrmail): Give an explicit error if the input file
16085 has no messages. (Bug#10377)
16086
16087 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
16088 than Info-edit. (Bug#10385)
16089
16090 * time.el (display-time-load-average, display-time-next-load-average):
16091 Doc fixes.
16092
16093 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
16094 local setting of buffer-read-only to the input buffer. (Bug#10419)
16095
16096 * calendar/calendar.el (calendar-mode):
16097 Locally set scroll-margin to 0. (Bug#10379)
16098
16099 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
16100
16101 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
16102
16103 2012-01-05 Glenn Morris <rgm@gnu.org>
16104
16105 * eshell/em-unix.el (diff-no-select): Autoload it.
16106 (eshell/diff): Use diff-no-select. (Bug#10420)
16107
16108 2012-01-05 Chong Yidong <cyd@gnu.org>
16109
16110 * shell.el (shell-dynamic-complete-functions): Revert last change.
16111 (shell-command-completion-function): New function.
16112 (shell-completion-vars): Use it to implement
16113 shell-completion-execonly (Bug#10417).
16114
16115 * custom.el (enable-theme): Don't set custom-safe-themes.
16116
16117 * cus-theme.el (custom-theme-merge-theme):
16118 Ignore custom-enabled-themes and custom-safe-themes.
16119
16120 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
16121
16122 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
16123 first prompt in `sql-interacive-mode'.
16124 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
16125 keywords.
16126 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
16127 (sql-product-interactive): Bug fix: Set `sql-buffer' in
16128 context of original buffer. Invoke `sql-login-hook'.
16129
16130 2012-01-04 Eli Zaretskii <eliz@gnu.org>
16131
16132 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
16133 letters in cite-prefix.
16134
16135 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16136
16137 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
16138
16139 2012-01-03 Chong Yidong <cyd@gnu.org>
16140
16141 * shell.el (shell-dynamic-complete-functions):
16142 Put pcomplete-completions-at-point, so as to try
16143 comint-filename-completion first (Bug#10417).
16144
16145 2012-01-02 Richard Stallman <rms@gnu.org>
16146
16147 * battery.el (battery-status-function):
16148 Detect when to use battery-yeeloong-sysfs.
16149 (battery-echo-area-format): Add string for Yeeloong.
16150 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
16151 (battery-yeeloong-sysfs): New function.
16152
16153 2012-01-02 Chong Yidong <cyd@gnu.org>
16154
16155 * dirtrack.el (dirtrack-list): Eliminate unused third element.
16156 (dirtrack): Merge code for handling relative filenames in prompt
16157 from shell-dir-cookie-watcher.
16158 (dirtrack-debug-message): New arg to avoid excess format calls.
16159
16160 * shell.el (shell-dir-cookie-re): Variable deleted.
16161 (shell-dir-cookie-watcher): Function deleted.
16162 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
16163 with dirtrack-mode.
16164
16165 2012-01-01 Eli Zaretskii <eliz@gnu.org>
16166
16167 * term/w32-win.el (dynamic-library-alist) <gnutls>:
16168 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
16169 libgnutls-26.dll.
16170
16171 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
16172
16173 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
16174
16175 2011-12-31 Eli Zaretskii <eliz@gnu.org>
16176
16177 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
16178 headers of non-MIME messages, when rmail-enable-mime is non-nil.
16179
16180 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
16181
16182 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
16183 also for alternative shells.
16184 (tramp-open-connection-setup-interactive-shell): Check, whether
16185 the shell is a busybox.
16186 (tramp-send-command): Don't suppress multiple prompts for
16187 busyboxes, it hurts.
16188
16189 2011-12-28 Chong Yidong <cyd@gnu.org>
16190
16191 * progmodes/gdb-mi.el (gdb-get-source-file-list)
16192 (gdb-get-source-file): Move mode line update to
16193 gdb-get-source-file (Bug#10087).
16194
16195 2011-12-25 Chong Yidong <cyd@gnu.org>
16196
16197 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
16198 gud-gdb-marker-filter without taking it as an argument.
16199 (gud-gdb-run-command-fetch-lines): Caller changed.
16200 (gud-gdb-completion-function): New variable.
16201 (gud-gdb-completion-at-point): Use it.
16202 (gud-gdb-completions-1): Split from gud-gdb-completions.
16203
16204 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
16205 function as separate arguments.
16206 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
16207 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
16208 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
16209 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
16210 (gdb-stopped, def-gdb-auto-update-trigger)
16211 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
16212 (gdb-get-changed-registers, gdb-get-main-selected-frame):
16213 Callers changed.
16214 (gud-gdbmi-completions): New function.
16215 (gdb): Use it for generating the completion table.
16216
16217 2011-12-24 Alan Mackenzie <acm@muc.de>
16218
16219 Introduce a mechanism to widen the region used in context font
16220 locking. Use this to protect declarations from losing their contexts.
16221
16222 * progmodes/cc-langs.el (c-before-font-lock-functions):
16223 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
16224 (c-before-context-fontification-functions): New defvar, a list of
16225 functions to be run just before context (etc.) font locking.
16226
16227 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
16228 New, functionality extracted from
16229 c-neutralize-syntax-in-and-mark-CPP.
16230 (c-in-after-change-fontification): New variable.
16231 (c-after-change): Set c-in-after-change-fontification.
16232 (c-set-fl-decl-start): Rejig its interface, so it can be called
16233 from both after-change and context fontifying.
16234 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
16235 New functions.
16236 (c-standard-font-lock-fontify-region-function): New variable.
16237 (c-font-lock-fontify-region): New function.
16238
16239 2011-12-24 Juri Linkov <juri@jurta.org>
16240
16241 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
16242 (Bug#10348)
16243
16244 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
16245
16246 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
16247 existence of source file. (Bug#10325)
16248
16249 2011-12-23 Alan Mackenzie <acm@muc.de>
16250
16251 Fix unstable fontification inside templates.
16252
16253 * progmodes/cc-langs.el (c-before-font-lock-functions):
16254 Newly created from the singular version. The (c c++ objc) entry now
16255 additionally has c-set-fl-decl-start. The other languages (apart
16256 from AWK) have that as a single entry.
16257
16258 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
16259 The functionality for "local" declarations has been extracted to
16260 c-set-fl-decl-start.
16261
16262 * progmodes/cc-mode.el (c-common-init, c-after-change):
16263 Changes due to pluralisation of c-before-font-lock-functions.
16264 (c-set-fl-decl-start): New function, extracted from
16265 c-font-lock-enclosing-decls and enhanced.
16266
16267 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
16268
16269 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
16270
16271 2011-12-22 Juri Linkov <juri@jurta.org>
16272
16273 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
16274
16275 2011-12-22 Chong Yidong <cyd@gnu.org>
16276
16277 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
16278
16279 2011-12-21 Drew Adams <drew.adams@oracle.com>
16280
16281 * files.el (file-remote-p): Fix docstring. (Bug#10319)
16282
16283 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
16284
16285 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
16286
16287 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
16288
16289 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
16290 highlighting and support. Fix up comments for capitalization.
16291 (cfengine-mode-debug): New var.
16292 (cfengine3-mode): Change the modeline indicator to "CFE3".
16293 (cfengine3-font-lock-keywords): Improve defun highlighting.
16294 (cfengine2-actions): Rename from `cfengine-actions'.
16295 (cfengine2-font-lock-keywords): Rename from
16296 `cfengine-font-lock-keywords'.
16297 (cfengine2-imenu-expression): Rename from
16298 `cfengine-imenu-expression'.
16299 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
16300 (cfengine2-beginning-of-defun): Rename from
16301 `cfengine-beginning-of-defun'.
16302 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
16303 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
16304 (cfengine2-mode): Rename from `cfengine-mode'. Change the
16305 modeline indicator to "CFE2".
16306 (cfengine-mode): Defalias to `cfengine-auto-mode'.
16307 (cfengine-mode-abbrevs): Mark obsolete.
16308
16309 2011-12-21 Chong Yidong <cyd@gnu.org>
16310
16311 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
16312 filename argument.
16313
16314 2011-12-20 Martin Rudalics <rudalics@gmx.at>
16315
16316 * window.el (window-normalize-buffer-to-display): Remove.
16317 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
16318
16319 2011-12-19 Chong Yidong <cyd@gnu.org>
16320
16321 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
16322 Don't signal an error in a predicate function; return non-nil.
16323 (vc-dir-mark-file): Move the error here.
16324 (vc-dir-mark-unmark): If acting on the region, keep going if one
16325 of the entries cannot be marked/unmarked.
16326 (vc-dir-mark-all-files): If current entry is a directory, mark
16327 only child files, as documented.
16328
16329 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
16330
16331 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
16332 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
16333 addition.
16334
16335 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
16336
16337 * term/ns-win.el (ns-get-selection-internal)
16338 (ns-store-selection-internal): Declare.
16339 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
16340 Declare as obsolete.
16341 (ns-get-pasteboard, ns-paste-secondary):
16342 Use ns-get-selection-internal.
16343 (ns-set-pasteboard, ns-copy-including-secondary):
16344 Use ns-store-selection-internal.
16345
16346 2011-12-17 Chong Yidong <cyd@gnu.org>
16347
16348 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
16349 (vc-deduce-fileset): Doc fix.
16350
16351 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
16352
16353 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
16354
16355 2011-12-13 Sam Steingold <sds@gnu.org>
16356
16357 * man.el (Man-getpage-in-background): When running under a
16358 window-system, ignore $MANWIDTH and $COLUMNS.
16359
16360 2011-12-15 Kenichi Handa <handa@m17n.org>
16361
16362 * language/ethio-util.el: Change coding tag to utf-8-emacs.
16363 (setup-ethiopic-environment-internal): Comment out key-binding for
16364 ethio-toggle-punctuation.
16365
16366 2011-12-13 Alan Mackenzie <acm@muc.de>
16367
16368 Add the switch statement to AWK Mode.
16369
16370 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
16371 "default" to the keywords regexp.
16372
16373 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
16374 expression as the rest.
16375 (c-nonlabel-token-key): Allow string literals for AWK.
16376 Refactor for the other modes.
16377
16378 Large brace-block initialisation makes CC Mode slow: Fix.
16379 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
16380 routines. Limit backward searching in c-font-lock-enclosing.decl.
16381
16382 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
16383 pp-state and literal type in addition to the limits.
16384 (c-state-safe-place): New defun, extracted from c-state-literal-at.
16385 (c-state-literal-at): Use the above new defun.
16386 (c-slow-in-literal, c-fast-in-literal): Remove.
16387 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
16388
16389 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
16390 being in a literal. Add a limit for backward searching.
16391
16392 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
16393 c-slow-in-literal.
16394
16395 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
16396
16397 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
16398
16399 2011-12-13 Martin Rudalics <rudalics@gmx.at>
16400
16401 * window.el (delete-other-windows): Use correct frame in call to
16402 window-with-parameter.
16403
16404 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
16405
16406 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
16407 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
16408 (makefile-gmake-statements, makefile-makepp-statements):
16409 Use it and add new makepp keywords.
16410 (makefile-makepp-font-lock-keywords): Add new patterns.
16411 (makefile-match-function-end): Match new [...] and [[...]].
16412
16413 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
16414
16415 * ses.el (ses-call-printer-return, ses-cell-property-get)
16416 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
16417 (ses-create-cell-variable, ses-reset-header-string)
16418 (ses-cell-set-formula, ses-repair-cell-reference-all)
16419 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
16420 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
16421 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
16422 (ses-aset-with-undo, ses-load, ses-truncate-cell)
16423 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
16424 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
16425 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
16426 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
16427 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
16428 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
16429 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
16430 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
16431
16432 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
16433
16434 * ses.el: The overall change is to add cell renaming, that is
16435 setting fancy names for cell symbols other than name matching
16436 "\\`[A-Z]+[0-9]+\\'" regexp .
16437 (ses-create-cell-variable): New defun.
16438 (ses-relocate-formula): Relocate formulas only for cells the
16439 symbols of which are not renamed, i.e. symbols whose names do not
16440 match regexp "\\`[A-Z]+[0-9]+\\'".
16441 (ses-relocate-all): Relocate values only for cells the symbols of
16442 which are not renamed.
16443 (ses-load): Create cells variables as the (ses-cell ...) are read,
16444 in order to check row col consistency with cell symbol name only
16445 for cells that are not renamed.
16446 (ses-replace-name-in-formula): New defun.
16447 (ses-rename-cell): New defun.
16448
16449 2011-12-11 Chong Yidong <cyd@gnu.org>
16450
16451 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
16452 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
16453
16454 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
16455
16456 * window.el (other-window): Fix docstring.
16457
16458 2011-12-10 Eli Zaretskii <eliz@gnu.org>
16459
16460 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
16461 `from' or `to' address before taking its substring.
16462 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
16463 encoded name is chopped in the middle of the encoded string, and
16464 thus displayed encoded.
16465
16466 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
16467
16468 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
16469
16470 2011-12-10 Eli Zaretskii <eliz@gnu.org>
16471
16472 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
16473 to use texinfo-update-node and commands that call it if the
16474 Texinfo file uses @node lines without next/prev/up pointers.
16475 Correct outdated description about texinfo-master-menu.
16476 (texinfo-all-menus-update, texinfo-master-menu)
16477 (texinfo-update-node, texinfo-every-node-update)
16478 (texinfo-multiple-files-update): Doc fix. Warn against updating
16479 all the @node lines.
16480 (texinfo-master-menu): Only call texinfo-update-node if the prefix
16481 argument is numeric. Explain better in the doc string what the
16482 function really does.
16483 (texinfo-insert-master-menu-list): Improve the error message
16484 displayed if there's no menu in the Top node.
16485 (Bug#2975) See also this thread:
16486 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
16487
16488 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
16489
16490 * speedbar.el (speedbar-supported-extension-expressions):
16491 Add .adb and .ads, commonly used for Ada source code (bug#10256).
16492
16493 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
16494
16495 * printing.el (pr-mode-alist):
16496 * simple.el (filter-buffer-substring-functions)
16497 (completion-list-insert-choice-function):
16498 * window.el (window-with-parameter, window-atom-root)
16499 (window-sides-slots, window-size-fixed, window-min-delta)
16500 (window-max-delta, window--resize-mini-window)
16501 (window--resize-child-windows-normal, window-tree)
16502 (delete-other-windows, quit-window, split-window)
16503 (display-buffer-record-window, special-display-buffer-names)
16504 (special-display-regexps, special-display-popup-frame)
16505 (same-window-p, split-window-sensibly)
16506 (display-buffer-overriding-action, display-buffer-alist)
16507 (display-buffer-base-action, display-buffer, switch-to-buffer)
16508 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
16509 (fit-window-to-buffer, recenter-positions)
16510 (mouse-autoselect-window-state, mouse-autoselect-window-select):
16511 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
16512 and remove unneeded backslashes in docstrings.
16513
16514 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
16515
16516 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
16517
16518 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
16519 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
16520 end in ".mk".
16521 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
16522 when reading the makefile (bug#10116).
16523
16524 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
16525
16526 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
16527 (bug#10116).
16528
16529 2011-12-06 Glenn Morris <rgm@gnu.org>
16530
16531 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
16532
16533 2011-12-06 Chong Yidong <cyd@gnu.org>
16534
16535 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
16536
16537 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
16538
16539 * textmodes/table.el (table-shorten-cell): Fix typo.
16540
16541 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
16542
16543 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
16544
16545 2011-12-05 Eli Zaretskii <eliz@gnu.org>
16546
16547 * descr-text.el (describe-char): Fix display of strong
16548 right-to-left characters and directional embeddings and overrides.
16549
16550 * simple.el (what-cursor-position): Fix display of codepoints of
16551 strong right-to-left characters.
16552
16553 2011-12-05 Chong Yidong <cyd@gnu.org>
16554
16555 * faces.el (read-color): Doc fix.
16556
16557 2011-12-05 Glenn Morris <rgm@gnu.org>
16558
16559 * align.el (align--set-marker): Add doc-string.
16560 Don't try to move something that is not a marker. (Bug#10216)
16561
16562 2011-12-04 Glenn Morris <rgm@gnu.org>
16563
16564 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
16565 overly zealous deletion of trailing whitespace.
16566
16567 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
16568
16569 * server.el (server-delete-client): On Windows, do not try to delete
16570 the only terminal.
16571 (server-process-filter): On Windows, treat requests for a tty frame as
16572 if they were for a GUI frame if the running server is in GUI mode.
16573
16574 2011-12-03 Glenn Morris <rgm@gnu.org>
16575
16576 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
16577
16578 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
16579
16580 * electric.el: Streamline electric-indent's hook.
16581 (electric-indent-chars): Revert to simple list.
16582 (electric-indent-functions): New var.
16583 (electric-indent-post-self-insert-function): Use it.
16584
16585 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
16586 there's no inferior buffer (bug#10196).
16587 (prolog-consult-compile): Don't use toggle-read-only.
16588
16589 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
16590
16591 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
16592 interrupt. (Bug#10187)
16593
16594 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
16595
16596 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
16597 (bug#9160).
16598
16599 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
16600 (bug#10191).
16601
16602 2011-12-02 Juri Linkov <juri@jurta.org>
16603
16604 * info.el (Info-search): Display "end of manual" when Isearch
16605 reaches the end of single-file Info manual. (Bug#9918)
16606
16607 2011-12-02 Eli Zaretskii <eliz@gnu.org>
16608
16609 * isearch.el (isearch-message-prefix): Run the input method part
16610 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
16611
16612 2011-12-02 Juri Linkov <juri@jurta.org>
16613
16614 * isearch.el (isearch-occur): Use `word-search-regexp' for
16615 `isearch-word'.
16616 (isearch-search-and-update): Add condition for `isearch-word' and
16617 call `word-search-regexp'. (Bug#10145)
16618
16619 2011-12-01 Glenn Morris <rgm@gnu.org>
16620
16621 * eshell/em-hist.el (eshell-hist-initialize):
16622 Handle eshell-history-size nil and HISTSIZE set or unset.
16623 (eshell-history-file-name, eshell-history-size): Fix custom type.
16624
16625 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
16626
16627 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
16628
16629 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
16630
16631 * progmodes/verilog-mode.el (verilog-pretty-expr):
16632 Rework verilog-pretty-expr to handle new assignment operators in system
16633 verilog, such as += *= and the like.
16634 (verilog-assignment-operator-re): Regular expression to find the
16635 assigment operator in a verilog assignment.
16636 (verilog-assignment-operation-re): Regular expression to find an
16637 assignment statement for pretty-expr.
16638 (verilog-in-attribute-p): Query returns true if point is in an
16639 attribute context; used to skip these for expression line up from
16640 pretty-expr.
16641 (verilog-in-parameter-p): Query returns true if point is in an
16642 parameter definition context; used to skip these for expression
16643 line up from pretty-expr.
16644 (verilog-in-parenthesis-p): Query returns true if point is in a
16645 parenthetical expression, specifically ( ) but not [ ] or { };
16646 used by pretty-expr.
16647 (verilog-just-one-space): If there is no space, don't add one.
16648 (verilog-get-lineup-indent-2): Specifically skip just attribute
16649 contexts for expression lineup, rather than skipping all
16650 parenthetical expressions.
16651 (verilog-calculate-indent): Fix comment, and fix indent.
16652 (verilog-do-indent): Indent declarations in lists (suggested by
16653 Joachim Lechner).
16654 (verilog-mode-abbrev-table): Populate abbrev mode with the various
16655 skeleton items.
16656 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
16657 by Alain Mellan).
16658
16659 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
16660
16661 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
16662 parameters with embedded comments. Reported by Ray Stevens.
16663 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
16664 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
16665 Reported by Tim Holt.
16666 (verilog-auto): Fix AUTOing a upper module then AUTOing module
16667 instantiated by upper module causing wrong expansion until AUTOed a
16668 second time. Reported by K C Buckenmaier.
16669 (verilog-diff-auto): Fix showing .* as a difference when
16670 `verilog-auto-star-save' off. Reported by Dan Dever.
16671 (verilog-auto-reset, verilog-read-always-signals)
16672 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
16673 temporary signals in reset list if
16674 verilog-auto-reset-blocking-in-non is nil, and match assignment
16675 style to each signal's assignment type, bug381.
16676 Reported by Thomas Esposito.
16677 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
16678 (verilog-uvm-statement-re): Support UVM indentation and
16679 highlighting, with old OVM keywords only.
16680 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
16681 Support AUTOTIEOFF creating non-wire data types.
16682 Suggested by Jonathan Greenlaw.
16683 (verilog-auto-insert-lisp, verilog-delete-to-paren)
16684 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
16685 (verilog-inject-sense, verilog-read-inst-pins)
16686 (verilog-read-sub-decls, verilog-read-sub-decls-line):
16687 Fix mismatching parenthesis inside commented out code when deleting
16688 AUTOINST, bug383. Reported by Jonathan Greenlaw.
16689 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
16690 non-numeric vector width. Reported by Alex Reed.
16691 (verilog-auto-ascii-enum): Add "onehot" option to work around not
16692 detecting signals with parameter widths. Reported by Alex Reed.
16693 (verilog-auto-delete-trailing-whitespace):
16694 With `verilog-auto-delete-trailing-whitespace' remove trailing
16695 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
16696 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
16697 Fix verilog-scan-cache corruption when running user AUTO expansion
16698 hooks that call indentation routines.
16699 (verilog-simplify-range-expression): Fix typo ignoring lower case
16700 identifiers.
16701 (verilog-delete-auto): Fix delete-autos to also remove user created
16702 automatics, as long as they start with AUTO.
16703 (verilog-batch-diff-auto, verilog-diff-auto)
16704 (verilog-diff-function): Add `verilog-diff-auto' and bind to
16705 "C-c?" to report differences in AUTO expansion, ignoring spaces.
16706 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
16707 (verilog-in-paren-quick, verilog-re-search-backward-quick)
16708 (verilog-re-search-forward-quick, verilog-syntax-ppss):
16709 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
16710 is disabled and its cache will get corrupt, causing AUTOS not to
16711 expand. Instead use only -quick functions.
16712 (verilog-scan-region): Fix scanning over escaped quotes.
16713 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
16714 (verilog-re-search-backward-quick)
16715 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
16716 related functions now ignore strings, to fix misparsing of strings
16717 with magic comments embedded in them.
16718 (verilog-read-auto-template):
16719 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
16720 Reported by Brad Dobbie.
16721 (verilog-read-auto-template):
16722 Fix 'verilog-auto-inst-template-numbers' with comments.
16723 Reported by Brad Dobbie.
16724 (verilog-auto-inst, verilog-auto-inst-param)
16725 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
16726 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
16727 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
16728 debugging templates without merge conflicts, bug357.
16729 Reported by Brad Dobbie.
16730 (verilog-read-auto-template):
16731 Fix verilog-auto-inst-template-numbers with multiple templates.
16732 Reported by Brad Dobbie.
16733 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
16734 abbrevs so user won't be asked to save.
16735 (verilog-read-auto-lisp-present): Fix to start at beginning of
16736 buffer in case called outside of verilog-auto.
16737 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
16738 to "X-2". Reported by Matthew Myers.
16739 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
16740 all inputs from module templates. Reported by Leith Johnson.
16741 (verilog-module-inside-filename-p): Fix locating programs as with
16742 modules.
16743 (verilog-auto-inst-port): Fix vl-width expressions when using
16744 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
16745 (verilog-decls-get-regs, verilog-decls-get-signals,
16746 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
16747 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
16748 verilog-read-decls): Combine reg and wire structures into one var
16749 structure to represent SystemVerilog concepts.
16750 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
16751 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
16752 (verilog-auto-wire-type, verilog-insert-definition):
16753 Add verilog-auto-wire-type and AUTOLOGIC to support using
16754 SystemVerilog "logic" keyword instead of "wire"/"reg".
16755 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
16756 to declares outputs that also have assignments (presumably in an
16757 ifdef or generate if so there's not a driver conflict).
16758 Reported by Matthew Myers.
16759 (verilog-auto-declare-nettype, verilog-insert-definition):
16760 Add verilog-auto-declare-nettype to fix declarations using
16761 `default_nettype none. Reported by Julian Gorfajn.
16762 (verilog-read-always-signals-recurse, verilog-read-decls)
16763 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
16764 malformed end statement, bug325. Reported by Joshua Wise and
16765 Andrew Drake.
16766 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
16767 (verilog-inst-comment-re): Fix not deleting Interfaced comment
16768 when expanding .* in interfaces, bug320.
16769 Reported by Pierre-David Pfister.
16770 (verilog-read-module-name): Fix import statements between module
16771 name and open parenthesis, bug317.
16772 Reported by Pierre-David Pfister.
16773 (verilog-simplify-range-expression): Fix simplification of
16774 multiplications inside AUTOWIRE connections, bug303.
16775 (verilog-auto-inst-port): Support parameter expansion in
16776 multidimensional arrays.
16777 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
16778 after "assert property". Reported by Julian Gorfajn.
16779 (verilog-simplify-range-expression): Fix "couldn't merge" errors
16780 with multiplication, bug303.
16781 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
16782 Reported by Jan Frode Lonnum.
16783
16784 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
16785
16786 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
16787 (hfy-shell-file-name, hfy-shell):
16788 * international/fontset.el (x-decompose-font-name): Fix typos.
16789
16790 2011-11-29 Ken Brown <kbrown@cornell.edu>
16791
16792 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
16793 (gdb-version): Remove defvar.
16794 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
16795 (gdb-gud-context-command, gdb-non-stop-handler)
16796 (gdb-current-context-command, gdb-stopped): Use it.
16797 (gdb-init-1): Enable pretty printing here.
16798 (gdb-non-stop-handler): Don't enable pretty-printing here.
16799 Check to see if the target supports non-stop mode; if not, turn off
16800 non-stop mode. Use the following.
16801 (gdb-check-target-async): New defun.
16802 (gud-watch, gdb-stopped): Fix whitespace.
16803 (gdb-get-source-file): Don't try to display the source file if
16804 `gdb-main-file' is nil.
16805
16806 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
16807
16808 * align.el: Try to generate fewer markers (bug#10047).
16809 (align--set-marker): New macro.
16810 (align-region): Use it.
16811
16812 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
16813
16814 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
16815
16816 2011-11-29 Chong Yidong <cyd@gnu.org>
16817
16818 * indent.el (indent-for-tab-command, indent-according-to-mode):
16819 Doc fix.
16820 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
16821
16822 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
16823
16824 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
16825 aware of remote file names. (Bug#10124)
16826
16827 2011-11-29 Chong Yidong <cyd@gnu.org>
16828
16829 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
16830
16831 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
16832
16833 * files.el (find-file): Don't use force-same-window (bug#10144).
16834 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
16835 use pop-to-buffer if the selected window can't be used.
16836 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
16837
16838 2011-11-28 Eli Zaretskii <eliz@gnu.org>
16839
16840 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
16841 special-mode-map.
16842
16843 2011-11-28 Chong Yidong <cyd@gnu.org>
16844
16845 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
16846
16847 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
16848
16849 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
16850 gdb-get-source-file-list on gdb-create-source-file-list.
16851
16852 2011-11-26 Eli Zaretskii <eliz@gnu.org>
16853
16854 * whitespace.el (whitespace-newline): Use a different foreground
16855 color for 16-color light-background displays.
16856
16857 2011-11-24 Chong Yidong <cyd@gnu.org>
16858
16859 * window.el (display-buffer--special-action): Doc fix.
16860
16861 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
16862
16863 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
16864 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
16865 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
16866 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
16867 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
16868 (avl-tree-stack-first):
16869 * emacs-lisp/cconv.el (cconv--analyse-use):
16870 * net/gnutls.el (gnutls-negotiate): Fix typos.
16871
16872 2011-11-24 Glenn Morris <rgm@gnu.org>
16873
16874 * lpr.el (lpr-windows-system, lpr-lp-system):
16875 * mail/binhex.el (binhex-begin-line):
16876 * progmodes/grep.el (grep-history, grep-find-history):
16877 * textmodes/flyspell.el:
16878 * vc/pcvs-defs.el (cvs-global-menu):
16879 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
16880 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
16881 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
16882
16883 * net/tls.el: Fix case of "GnuTLS".
16884
16885 * paths.el (rmail-file-name): Format doc-string for make-docfile.
16886
16887 * version.el (emacs-build-system): Give it a doc-string.
16888
16889 2011-11-24 Juri Linkov <juri@jurta.org>
16890
16891 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
16892
16893 2011-11-24 Glenn Morris <rgm@gnu.org>
16894
16895 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
16896 if called on a non-mime message just toggle the headers. (Bug#8006)
16897
16898 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
16899
16900 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
16901 (allout-lead-with-comment-string, allout-structure-deleted-hook)
16902 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
16903 (allout-rebullet-heading, allout-open-sibtopic)
16904 (allout-toggle-current-subtree-encryption)
16905 (allout-toggle-subtree-encryption, allout-encrypt-string)
16906 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
16907 (allout-distinctive-bullets-string, allout-auto-activation):
16908 * window.el (window-normalize-buffer-to-display):
16909 * progmodes/verilog-mode.el (verilog-batch-indent):
16910 * textmodes/bibtex.el (bibtex-field-braces-opt)
16911 (bibtex-field-strings-opt):
16912 * vc/cvs-status.el (cvs-tree-merge):
16913 Fix typos.
16914
16915 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
16916
16917 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
16918 `non-essential' to t, in order to avoid remote connections.
16919
16920 2011-11-23 Eli Zaretskii <eliz@gnu.org>
16921
16922 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
16923 On MS-DOS and MS-Windows, compare with loaddefs.el
16924 case-insensitively.
16925
16926 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16927
16928 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
16929
16930 2011-11-23 Glenn Morris <rgm@gnu.org>
16931
16932 * paths.el (rmail-file-name): Reformat the doc-string so that it
16933 is picked up.
16934
16935 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
16936 (rmail-auto-file): Ignore case in the "special" field names,
16937 as mail-fetch-field does for all others.
16938
16939 * mail/rmail.el (rmail-forward):
16940 * mail/rmailkwd.el (rmail-set-label):
16941 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
16942 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
16943
16944 * mail/rmail.el (rmail-current-message): Doc fix.
16945
16946 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
16947
16948 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
16949
16950 * server.el (server-eval-and-print): Allow C-g (bug#6585).
16951
16952 2011-11-22 Glenn Morris <rgm@gnu.org>
16953
16954 * mail/rmailmm.el (test-rmail-mime-handler)
16955 (test-rmail-mime-bulk-handler)
16956 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
16957
16958 2011-11-21 Juri Linkov <juri@jurta.org>
16959
16960 * calc/calc.el (calc-read-key-sequence):
16961 Let-bind `input-method-function' to nil. (Bug#10018)
16962
16963 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16964
16965 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
16966 Tell the caller that the next line needs recomputation, even
16967 though it doesn't start a sexp (bug#10094).
16968
16969 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
16970
16971 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
16972
16973 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
16974
16975 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
16976 Use force-same-window.
16977
16978 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
16979
16980 * descr-text.el (describe-char-unicode-data):
16981 * json.el (json-string-escape):
16982 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
16983 (Footnote-unicode, Footnote-style-p):
16984 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
16985
16986 2011-11-20 Chong Yidong <cyd@gnu.org>
16987
16988 * window.el (replace-buffer-in-windows): Restore interactive spec.
16989
16990 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
16991
16992 * electric.el (electric-indent-mode): Fix last change (too optimistic).
16993
16994 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
16995 (byte-compile-global-not-obsolete-vars): New var.
16996 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
16997 Use it.
16998 (byte-compile-warn-obsolete): Align text with the one in *Help*.
16999
17000 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
17001
17002 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
17003 * progmodes/pascal.el (electric-pascal-equal):
17004 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
17005 * xml.el (xml-substitute-special): Fix typos.
17006
17007 2011-11-20 Glenn Morris <rgm@gnu.org>
17008
17009 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
17010 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
17011 Doc fixes.
17012 (rmail-decode-mime-charset): Mark as obsolete.
17013
17014 * mail/rmailsum.el (rmail-message-regexp-p-1):
17015 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
17016 Before using mime functions, check they are set. (Bug#10077)
17017
17018 2011-11-19 Juri Linkov <juri@jurta.org>
17019
17020 * info.el (Info-finder-find-node): Use `package--builtins' instead
17021 of `package-alist'. Use node names formed by the pattern "Keyword "
17022 and the keyword name.
17023
17024 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
17025
17026 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
17027
17028 2011-11-19 Juri Linkov <juri@jurta.org>
17029
17030 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
17031 that calls `revert-buffer' on all Info buffers. (Bug#9915)
17032 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
17033 `old-history', `old-history-forward'. Add let-binding
17034 `window-selected'. Remove calls to `kill-buffer',
17035 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
17036 before calling `Info-find-node', so `Info-find-node-2' will reread
17037 the Info file. Restore window positions only when `window-selected'
17038 is non-nil.
17039
17040 2011-11-19 Juri Linkov <juri@jurta.org>
17041
17042 * isearch.el (isearch-lazy-highlight-new-loop):
17043 Remove condition `(not isearch-error)'. (Bug#9918)
17044
17045 * misearch.el (multi-isearch-search-fun): Add condition
17046 `(not bound)' to ignore lazy-highlighting search.
17047 Add the search-failed message "end of multi" when the end of
17048 multi-sequence is reached. Uncapitalize the search-failed
17049 message "Repeat for next buffer".
17050
17051 * info.el (Info-search): Add the search-failed message
17052 "end of the manual" when the end of the manual is reached
17053 in Isearch mode.
17054
17055 2011-11-19 Juri Linkov <juri@jurta.org>
17056
17057 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
17058 Use non-destructive `remove' instead of `delete' because
17059 `Info-history-list' stored to `Info-isearch-initial-history-list' in
17060 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
17061
17062 2011-11-19 Juri Linkov <juri@jurta.org>
17063
17064 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
17065 to nil instead of binding `search-ring' and `regexp-search-ring'.
17066 (Bug#9185)
17067
17068 2011-11-19 Eli Zaretskii <eliz@gnu.org>
17069
17070 * simple.el (line-move): Force movement by logical lines for any
17071 hscrolled window, not only when auto-hscroll-mode is on.
17072 (line-move-visual): Update doc string to that effect. (Bug#10076)
17073
17074 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
17075
17076 * language/european.el (macintosh): Define as alias for mac-roman.
17077
17078 2011-11-19 Eli Zaretskii <eliz@gnu.org>
17079
17080 * mail/rmailmm.el (rmail-mime-display-header)
17081 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
17082 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
17083 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
17084 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
17085 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
17086 of a raw aref.
17087 (rmail-mime-entity-segment): To get past the tagline, move forward
17088 2 more lines, to account for the 2 empty lines that precede and
17089 follow the line with the buttons.
17090 (rmail-mime-update-tagline): Move one more line, to get past the
17091 empty line that follows the buttons in the tagline. (Bug#9520)
17092
17093 2011-11-19 Martin Rudalics <rudalics@gmx.at>
17094
17095 * window.el (window-max-delta-1, window-min-delta-1)
17096 (window-min-size-1, window-state-get-1, window-state-put-1)
17097 (window-state-put-2): Use "window--" prefix.
17098
17099 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
17100
17101 * emacs-lisp/smie.el: Improve warnings and conflict detection.
17102 (smie-warning-count): New var.
17103 (smie-set-prec2tab): Use it.
17104 (smie-bnf->prec2): Improve warnings. Add docstring.
17105 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
17106 (smie-bnf--set-class): New function.
17107 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
17108 corner case.
17109
17110 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
17111 (compilation-error-properties, compilation-move-to-column):
17112 Handle compilation-first-column while in the target buffer.
17113
17114 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
17115 Don't hardcode point-min==1.
17116
17117 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
17118 (eshell-rewrite-for-command): Remove workaround.
17119 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
17120 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
17121 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
17122
17123 * files-x.el (modify-file-local-variable): Obey commenting conventions.
17124
17125 2011-11-17 Glenn Morris <rgm@gnu.org>
17126
17127 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
17128 Ignore buffer-local generated-autoload-file if it is the same
17129 as the global value. (Bug#10049)
17130
17131 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
17132
17133 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
17134 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
17135 (reftex-toc-previous-heading, reftex-toc-max-level)
17136 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
17137 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
17138 (reftex-toc-do-promote, reftex-toc-promote-prepare)
17139 (reftex-toc-promote-action, reftex-toc-extract-section-number)
17140 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
17141 (reftex-toc-rename-label, reftex-toc-visit-location)
17142 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
17143 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
17144 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
17145 leaving "*toc*" only for references to the buffer.
17146
17147 2011-11-17 Martin Rudalics <rudalics@gmx.at>
17148
17149 * window.el (window-resize, delete-window, split-window):
17150 Replace window-splits by window-combination-resize.
17151 * cus-start.el (window-splits): Replace by window-combination-resize.
17152
17153 2011-11-17 Glenn Morris <rgm@gnu.org>
17154
17155 * progmodes/sh-script.el (sh-font-lock-keywords-var):
17156 Make bash entry derive from sh entry, not shell entry.
17157
17158 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
17159
17160 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
17161 local file name.
17162
17163 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
17164
17165 * menu-bar.el (menu-bar-file-menu):
17166 * printing.el (pr-ps-utility):
17167 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
17168 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
17169 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
17170 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
17171 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
17172 (icalendar--convert-cyclic-to-ical)
17173 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
17174 (icalendar--convert-ical-to-diary)
17175 (icalendar--convert-recurring-to-diary)
17176 (icalendar--convert-non-recurring-all-day-to-diary)
17177 (icalendar-import-format-sample):
17178 * progmodes/idlw-shell.el (idlwave-shell-mode):
17179 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
17180 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
17181 (vhdl-ps-print-init): Fix typos.
17182
17183 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
17184
17185 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
17186 FSF and collapse date sequence, obscure author/maintainer email address
17187 better, remove extra version line, track relocation of author's webpage.
17188
17189 * progmodes/python.el (python-pdbtrack-input-prompt)
17190 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
17191 regular python pdb prompts. Adjustments shamelessly taken exactly as
17192 suggested in EmacsWiki page (tiny change):
17193 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
17194
17195 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
17196
17197 * expand.el (expand-pos, expand-index, expand-point):
17198 Remove redundant info from docstring.
17199 (expand-add-abbrevs): Doc fix.
17200 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
17201 (expand-sample-perl-mode-expand-list): Fix typos.
17202
17203 * net/dbus.el (dbus-event-member-name):
17204 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
17205 * term/pc-win.el (msdos-create-frame-with-faces):
17206 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
17207
17208 2011-11-16 Martin Rudalics <rudalics@gmx.at>
17209
17210 * window.el (split-window, window-state-get-1)
17211 (window-state-put-1, window-state-put-2): Rename occurrences of
17212 window-nest to window-combination-limit.
17213 * cus-start.el (window-nest): Rename to window-combination-limit.
17214
17215 2011-11-16 Chong Yidong <cyd@gnu.org>
17216
17217 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
17218 regexp (Bug#10033).
17219
17220 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
17221
17222 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
17223 `completing-read' will remove *Completions* and will preserve
17224 current-buffer for us.
17225 (tmm-add-prompt): Users of *Completions* will always (re)set its
17226 major mode.
17227 (tmm-old-comp-map): Remove.
17228
17229 2011-11-16 Glenn Morris <rgm@gnu.org>
17230
17231 * mail/rmailedit.el: Require rmailmm when compiling.
17232 (rmail-old-mime-state): New declaration.
17233 (rmail-edit-current-message): If editing a mime message,
17234 edit the "raw" message from the mbox buffer.
17235 (rmail-cease-edit): Handle mime messages. (Bug#9840)
17236
17237 2011-11-15 Glenn Morris <rgm@gnu.org>
17238
17239 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
17240 which wasn't being used. Add optional arg to force given state.
17241 (rmail-mime): Add optional arg to force given state.
17242
17243 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
17244
17245 * allout.el (allout-encryption-plaintext-sanitization-regexps):
17246 * frame.el (display-mm-dimensions-alist):
17247 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
17248 (outline-move-subtree-down):
17249 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
17250 (newsticker--treeview-do-get-node):
17251 * net/quickurl.el (quickurl-list-buffer-name):
17252 * progmodes/dcl-mode.el (dcl-mode):
17253 * progmodes/gdb-mi.el (gdb-mapcar*):
17254 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
17255
17256 2011-11-15 Glenn Morris <rgm@gnu.org>
17257
17258 * mail/rmail.el (rmail-file-coding-system): It's only ever used
17259 in a boolean sense, so just make it a boolean, and fix the doc.
17260 (rmail-show-mime-function, rmail-mime-feature)
17261 (rmail-require-mime-maybe): Doc fixes.
17262 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
17263
17264 * mail/rmailmm.el (rmail-show-mime): Doc fix.
17265
17266 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
17267
17268 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
17269 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
17270 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
17271 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
17272
17273 2011-11-15 Glenn Morris <rgm@gnu.org>
17274
17275 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
17276 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
17277 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
17278 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
17279 (rmail-mime, rmail-show-mime): Doc fixes.
17280
17281 * term/ns-win.el (mode-line-frame-identification):
17282 Leave it alone. (Bug#10051)
17283
17284 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
17285
17286 * mail/rmailout.el (rmail-output-to-rmail-buffer):
17287 Handle empty buffers. (Bug#9978)
17288
17289 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
17290
17291 * international/mule.el (define-charset):
17292 * mail/rmailmm.el (rmail-mime-find-header-encoding):
17293 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
17294 * progmodes/verilog-mode.el (verilog-backward-token):
17295 * textmodes/ispell.el (lookup-words):
17296 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
17297
17298 2011-11-14 Glenn Morris <rgm@gnu.org>
17299
17300 * progmodes/executable.el
17301 (executable-make-buffer-file-executable-if-script-p):
17302 Handle file-modes returning nil.
17303
17304 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
17305 message - not necessary, and causes problems. (Bug#9831)
17306
17307 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
17308
17309 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
17310
17311 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
17312 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
17313 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
17314
17315 2011-11-12 Martin Rudalics <rudalics@gmx.at>
17316
17317 * window.el (window-resize, delete-window): Use window-splits
17318 variable instead of function.
17319 (window-state-get-1, window-state-put-2, window-state-put):
17320 Don't deal with windows' splits status.
17321
17322 2011-11-12 Glenn Morris <rgm@gnu.org>
17323
17324 * apropos.el (apropos-do-all, apropos-library, apropos-value)
17325 (apropos-documentation): Doc fixes.
17326
17327 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
17328
17329 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
17330 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
17331
17332 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
17333
17334 * electric.el (electric-indent-post-self-insert-function): Make it
17335 possible for a char to only indent in some circumstances.
17336 (electric-indent-mode): Simplify.
17337
17338 2011-11-11 Martin Rudalics <rudalics@gmx.at>
17339
17340 * window.el (windows-with-parameter): Remove unused function.
17341 (windows-at-side): Rename to window-at-side-list.
17342 (window-check, window-atom-check, window-atom-check-1)
17343 (window-side-check, window-size-ignore, window-size-fixed-1)
17344 (window-in-direction-2): Prefix with "window--".
17345 (window-tree-1): Rename to window--subtree, fix doc-string.
17346
17347 2011-11-11 Glenn Morris <rgm@gnu.org>
17348
17349 * subr.el (eval-after-load): If FILE is already loaded,
17350 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
17351
17352 2011-11-10 Glenn Morris <rgm@gnu.org>
17353
17354 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
17355 Call svn via vc-svn-command rather than vc-do-command.
17356 (vc-svn-command): Add --non-interactive. (Bug#9993)
17357 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
17358
17359 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17360 Add toggle-read-only. (Bug#7292)
17361 * files.el (toggle-read-only): Mention that it should only
17362 be used interactively. (Bug#10006)
17363
17364 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
17365
17366 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17367 Adjust regexp for OCaml warnings.
17368
17369 * electric.el (electric-pair-post-self-insert-function): Let user
17370 turn it off buffer-locally (bug#9932).
17371
17372 * progmodes/python.el (python-beginning-of-statement):
17373 Rewrite (bug#2703).
17374
17375 * progmodes/compile.el: Better handle TABs (bug#9749).
17376 (compilation-internal-error-properties)
17377 (compilation-next-error-function): Obey the target buffer's
17378 compilation-error-screen-columns.
17379
17380 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
17381
17382 * progmodes/meta-mode.el: Remove obsolete comments.
17383 (meta-right-comment-regexp, meta-ignore-comment-regexp):
17384 Fix typos in docstrings.
17385
17386 2011-11-09 Martin Rudalics <rudalics@gmx.at>
17387
17388 * window.el (window-size-fixed-p): Rewrite doc-string.
17389 (window-resizable-p): Rename to window--resizable-p. Update callers.
17390 (window--resizable): New function. Make all callers of
17391 window-resizable call window--resizable instead.
17392 (window-resizable): Rewrite in terms of window--resizable.
17393
17394 2011-11-08 Glenn Morris <rgm@gnu.org>
17395
17396 * progmodes/delphi.el (delphi-mode-syntax-table):
17397 Let define-derived-mode define a proper syntax table. (Bug#9994)
17398
17399 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
17400
17401 * window.el: Stay away from defsubst.
17402 (window-list-no-nils): Remove.
17403 (window-state-get-1, window-state-get): Use backquote instead.
17404
17405 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17406
17407 * emacs-lisp/find-func.el (find-function-read):
17408 Fix incorrect use of default argument in `completing-read'.
17409
17410 2011-11-08 Martin Rudalics <rudalics@gmx.at>
17411
17412 * window.el (display-buffer-function, special-display-function):
17413 Mention display-buffer-record-window but do not mention
17414 help-setup parameter in doc-strings.
17415 (window-min-delta): Fix doc-string typo.
17416
17417 2011-11-08 Chong Yidong <cyd@gnu.org>
17418
17419 * window.el (window-total-height, window-total-width): Doc fix.
17420 (window-body-size): Move from C.
17421 (window-body-height, window-body-width): Move to C.
17422
17423 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
17424
17425 * window.el: Make special-display like display-buffer-alist (bug#9532).
17426 (display-buffer--special-action): New function, morphed
17427 from display-buffer--special.
17428 (display-buffer): Use it to handle special-display-buffers at higher
17429 priority (just after display-buffer-alist).
17430 (display-buffer-fallback-action, display-buffer--other-frame-action)
17431 (pop-to-buffer-same-window): Remove display-buffer--special.
17432
17433 2011-11-07 Glenn Morris <rgm@gnu.org>
17434
17435 * calendar/cal-menu.el (cal-menu-set-date-title):
17436 Do nothing if not in a calendar. (Bug#9976)
17437
17438 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
17439
17440 * files.el (find-file): Always use selected-window.
17441
17442 2011-11-07 Martin Rudalics <rudalics@gmx.at>
17443
17444 * window.el (window-combinations): Make WINDOW argument
17445 mandatory. Rewrite doc-string.
17446 (walk-window-subtree, window-atom-check, window-min-delta)
17447 (window-max-delta, window--resize-this-window)
17448 (window--resize-root-window-vertically, window-tree)
17449 (balance-windows, window-state-put): Rewrite doc-strings as to
17450 not mention the term "subwindow".
17451 (window--resize-subwindows-skip-p): Rename to
17452 window--resize-child-windows-skip-p.
17453 (window--resize-subwindows-normal): Rename to
17454 window--resize-child-windows-normal.
17455 (window--resize-subwindows): Rename to
17456 window--resize-child-windows.
17457 (window-or-subwindow-p): Rename to window--in-subtree-p.
17458
17459 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
17460
17461 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
17462 Ensure that mbox format messages end in two newlines (Bug#9974).
17463
17464 2011-11-06 Chong Yidong <cyd@gnu.org>
17465
17466 * window.el (window-combination-p): Function deleted; its
17467 side-effect is not used in any existing code.
17468 (window-combinations, window-combined-p): Call window-*-child
17469 directly.
17470
17471 2011-11-05 Chong Yidong <cyd@gnu.org>
17472
17473 * window.el (window-valid-p): Rename from window-any-p.
17474 (window-size-ignore, window-state-get): Callers changed.
17475 (window-normalize-window): Rename from window-normalize-any-window.
17476 New arg LIVE-ONLY, replacing window-normalize-live-window.
17477 (window-normalize-live-window): Delete.
17478 (window-combination-p, window-combined-p, window-combinations)
17479 (walk-window-subtree, window-atom-root, window-min-size)
17480 (window-sizable, window-sizable-p, window-size-fixed-p)
17481 (window-min-delta, window-max-delta, window-resizable)
17482 (window-resizable-p, window-full-height-p, window-full-width-p)
17483 (window-current-scroll-bars, window-point-1, set-window-point-1)
17484 (window-at-side-p, window-in-direction, window-resize)
17485 (adjust-window-trailing-edge, maximize-window, minimize-window)
17486 (window-deletable-p, delete-window, delete-other-windows)
17487 (record-window-buffer, unrecord-window-buffer)
17488 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
17489 (quit-window, split-window, window-state-put)
17490 (set-window-text-height, fit-window-to-buffer)
17491 (shrink-window-if-larger-than-buffer): Callers changed.
17492
17493 2011-11-04 Eli Zaretskii <eliz@gnu.org>
17494
17495 * mail/rmail.el (rmail-simplified-subject): Decode subject with
17496 rfc2047-decode-string.
17497 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
17498 warnings.
17499
17500 * window.el (window-body-height, window-body-width): Mention in
17501 the doc string that the return values are in frame's canonical
17502 units. (Bug#9949)
17503
17504 2011-11-03 Alan Mackenzie <acm@muc.de>
17505
17506 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
17507 change in cc-engine.el.
17508
17509 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
17510
17511 * window.el (switch-to-buffer): Use `force-same-window' interactively.
17512
17513 2011-11-02 Martin Rudalics <rudalics@gmx.at>
17514
17515 * window.el (quit-window): Call unrecord-window-buffer after
17516 showing another buffer in the window. (Bug#9937)
17517 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
17518
17519 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
17520
17521 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
17522 Accept status with more than 9 shelves. (Bug#9935)
17523 Reported by Colin D Bennett <colin@gibibit.com>.
17524
17525 2011-11-01 Martin Rudalics <rudalics@gmx.at>
17526
17527 * help.el (with-help-window): Don't reference
17528 temp-buffer-show-specifiers in doc-string.
17529
17530 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
17531
17532 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
17533 menu-item.
17534
17535 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17536
17537 * whitespace.el: New version 13.2.2.
17538 (whitespace-newline-mode): Disable properly. Reported by Sarah
17539 <EmacsWiki>.
17540
17541 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
17542
17543 * net/newst-treeview.el: Remove "Time-stamp".
17544 (newsticker--group-manage-orphan-feeds): Do not call
17545 newsticker--treeview-tree-update.
17546 (newsticker-treeview-update, newsticker-treeview):
17547 Call newsticker--treeview-tree-update if necessary.
17548
17549 2011-10-30 Martin Rudalics <rudalics@gmx.at>
17550
17551 * window.el (window-iso-combination-p, window-iso-combined-p)
17552 (window-iso-combinations): Remove "iso-" infix.
17553 Suggested by Chong Yidong.
17554 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
17555 (window-max-delta-1, window-resize, window--resize-siblings)
17556 (window--resize-this-window, adjust-window-trailing-edge)
17557 (split-window, balance-windows-1)
17558 (shrink-window-if-larger-than-buffer):
17559 * calendar/calendar.el (calendar-generate-window):
17560 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
17561
17562 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
17563
17564 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
17565 in place (bug#9907).
17566 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
17567 (eshell-rewrite-if-command, eshell-rewrite-for-command)
17568 (eshell-structure-basic-command, eshell-rewrite-while-command)
17569 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
17570 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
17571 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
17572 (eshell-do-pipelines-synchronously, eshell-eval-command):
17573 Use backquotes and prefer setq to set.
17574 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
17575 (eshell-macrop): Use functionp.
17576 (eshell-do-eval): Handle multiple expressions in `while' body.
17577
17578 2011-10-30 Chong Yidong <cyd@gnu.org>
17579
17580 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
17581 instead of set-mark (Bug#9810).
17582
17583 2011-10-30 Chong Yidong <cyd@gnu.org>
17584
17585 * window.el (split-window-below, split-window-right): Rename from
17586 split-window-above-each-other and split-window-side-by-side
17587 respectively. All callers changed.
17588 (split-window-sensibly, split-window-sensibly): Use them.
17589 (split-window-keep-point): Doc fix.
17590
17591 * isearch.el: Add isearch-scroll property to split-window-below
17592 and split-window-right.
17593
17594 * follow.el (follow-mode):
17595 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
17596 * progmodes/ada-xref.el (ada-gdb-application):
17597 * emulation/vip.el (vip-buffer-in-two-windows):
17598 * image-dired.el (image-dired-dired-with-window-configuration):
17599 * dired-x.el (dired-do-find-marked-files):
17600 * dired.el (dired-pop-to-buffer):
17601 * bs.el (bs--show-with-configuration):
17602 * vc/emerge.el (emerge-setup-windows):
17603 * textmodes/two-column.el (2C-two-columns):
17604 * textmodes/reftex-toc.el (reftex-toc):
17605 * progmodes/gdb-mi.el (gdb-setup-windows):
17606 * progmodes/fortran.el (fortran-window-create):
17607 * net/newst-treeview.el (newsticker--treeview-window-init):
17608 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
17609 * emulation/tpu-edt.el (tpu-gold-map):
17610 * emulation/crisp.el (crisp-mode-map):
17611 * calendar/calendar.el (calendar-basic-setup): Callers changed.
17612
17613 2011-10-29 Chong Yidong <cyd@gnu.org>
17614
17615 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
17616
17617 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
17618
17619 * textmodes/flyspell.el (flyspell-word): Fix char offset for
17620 forged Ispell output (Bug#7904).
17621
17622 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
17623
17624 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17625
17626 * doc-view.el: Avoid ugly errors about not finding nil.
17627 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
17628 (doc-view-dvipdf-program, doc-view-unoconv-program)
17629 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
17630 Avoid nil or absolute file name as default value.
17631 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
17632
17633 2011-10-28 Alan Mackenzie <acm@muc.de>
17634
17635 * progmodes/cc-defs.el (c-version): -> 5.32.2.
17636
17637 2011-10-28 Alan Mackenzie <acm@muc.de>
17638
17639 Amend the handling of c-beginning/end-of-defun in nested declaration
17640 scopes.
17641
17642 * progmodes/cc-vars.el (c-defun-tactic): Move here from
17643 cc-langs.el. Change it to a defcustom.
17644
17645 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
17646 cc-vars.el.
17647
17648 * progmodes/cc-engine.el (c-beginning-of-statement-1):
17649 Prevent "class foo : bar" being spuriously recognized as a label.
17650
17651 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
17652 Add parameter `inclusive' (to include enclosing braces in the region).
17653 (c-widen-to-enclosing-decl-scope): New function.
17654 (c-while-widening-to-decl-block): New macro.
17655 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
17656 outward for defun boundaries, and correspondingly change symbol
17657 `respect-enclosure' to `go-outward'.
17658 (c-declaration-limits): Change algorithm to report only the "innermost"
17659 defun's boundaries.
17660
17661 2011-10-28 Deniz Dogan <deniz@dogan.se>
17662
17663 * net/rcirc.el (rcirc-mode): Use hard newlines.
17664
17665 2011-10-28 Alan Mackenzie <acm@muc.de>
17666
17667 Amend to indent and fontify macros "which include their own semicolon"
17668 correctly, using the "virtual semicolon" mechanism.
17669
17670 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
17671
17672 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
17673 Recode to scan one line at a time rather than having \n and \r
17674 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
17675 (c-forward-label): Amend for virtual semicolons.
17676 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
17677
17678 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
17679 of the new C macros.
17680
17681 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
17682 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
17683 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
17684 (c-opt-cpp-macro-define): Make into a full language variable.
17685 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
17686 AWK Mode (including \n, \r) removed, no longer needed.
17687
17688 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
17689 Invoke c-make-macro-with-semi-re.
17690
17691 * progmodes/cc-vars.el (c-macro-with-semi-re):
17692 (c-macro-names-with-semicolon): New variables.
17693 (c-make-macro-with-semi-re): New function.
17694
17695 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17696
17697 * vc/log-edit.el: Fill empty field rather than adding new one.
17698 (log-edit-add-field): New function.
17699 (log-edit-insert-changelog): Use it.
17700
17701 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
17702
17703 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
17704
17705 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17706
17707 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
17708 (gdb--check-interpreter): New function.
17709 (gdb): Use it.
17710
17711 2011-10-27 Glenn Morris <rgm@gnu.org>
17712
17713 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
17714 (least-positive-float, least-negative-float)
17715 (least-positive-normalized-float, least-negative-normalized-float)
17716 (float-epsilon, float-negative-epsilon):
17717 Remove unnecessary declarations.
17718
17719 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
17720 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
17721 (least-positive-float, least-negative-float)
17722 (least-positive-normalized-float, least-negative-normalized-float)
17723 (float-epsilon, float-negative-epsilon): Add doc-strings,
17724 based on those in cl.texi.
17725
17726 * files.el (set-visited-file-name): If the major-mode changed,
17727 reload the local variables. (Bug#9796)
17728
17729 2011-10-27 Chong Yidong <cyd@gnu.org>
17730
17731 * subr.el (change-major-mode-after-body-hook): New hook.
17732 (run-mode-hooks): Run it.
17733
17734 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
17735 Use change-major-mode-before-body-hook.
17736
17737 * simple.el (fundamental-mode):
17738 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
17739 change introducing fundamental-mode-hook.
17740
17741 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
17742
17743 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
17744
17745 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
17746
17747 * ido.el (ido-file-name-all-completions-1): Do not require
17748 tramp.el explicitly. (Bug#7583)
17749
17750 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
17751
17752 * progmodes/octave-mod.el:
17753 * progmodes/octave-inf.el: Update maintainer.
17754
17755 2011-10-26 Chong Yidong <cyd@gnu.org>
17756
17757 * subr.el (with-wrapper-hook): Rewrite doc.
17758
17759 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
17760
17761 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
17762 filenames "/method:foo:". (Bug#9793)
17763
17764 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
17765
17766 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
17767 (bug#9865).
17768
17769 2011-10-24 Glenn Morris <rgm@gnu.org>
17770
17771 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
17772
17773 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
17774
17775 * notifications.el: Add the requirement of a running D-Bus session
17776 bus to the Commentary.
17777
17778 2011-10-24 Juri Linkov <juri@jurta.org>
17779
17780 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
17781 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
17782 (Bug#9364)
17783
17784 2011-10-24 Juri Linkov <juri@jurta.org>
17785
17786 * info.el (Info-following-node-name-re): Add newline to the list
17787 of allowed characters for leading space. (Bug#9824)
17788
17789 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
17790
17791 * progmodes/octave-inf.el (inferior-octave-mode-map):
17792 Fix C-c C-h binding.
17793 * progmodes/octave-mod.el (octave-help): Remove.
17794
17795 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
17796
17797 Sync with Tramp 2.2.3.
17798
17799 * net/tramp-cache.el (top): Pacify byte-compiler using
17800 `init-file-user' and `site-run-file'.
17801
17802 * net/trampver.el: Update release number.
17803
17804 2011-10-23 Chong Yidong <cyd@gnu.org>
17805
17806 * files.el (toggle-read-only): Remove obsolete comment about
17807 version control.
17808
17809 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
17810 for toggle-read-only. Note that this hasn't called vc-next-action
17811 since 2008-05-02, though it wasn't documented at the time.
17812
17813 * vc/ediff-init.el (ediff-toggle-read-only-function):
17814 Use toggle-read-only.
17815
17816 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
17817
17818 Fix bug #9560, sporadic wrong indentation; improve instrumentation
17819 of c-parse-state.
17820
17821 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
17822 correct faulty logical expression.
17823 (c-parse-state-state, c-record-parse-state-state):
17824 (c-replay-parse-state-state): New defvar/defuns.
17825 (c-debug-parse-state): Use new functions.
17826
17827 2011-10-22 Martin Rudalics <rudalics@gmx.at>
17828
17829 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
17830 last fix. Use window-in-direction correctly.
17831
17832 2011-10-21 Chong Yidong <cyd@gnu.org>
17833
17834 * progmodes/idlwave.el (idlwave-mode):
17835 * progmodes/vera-mode.el (vera-mode): No need to set
17836 require-final-newline; that's done in prog-mode.
17837 Suggested by Stefan Monnier.
17838
17839 2011-10-21 Martin Rudalics <rudalics@gmx.at>
17840
17841 * mouse.el (mouse-drag-window-above)
17842 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
17843 (mouse-drag-mode-line-1, mouse-drag-header-line)
17844 (mouse-drag-vertical-line-rightward-window): Remove.
17845 (mouse-drag-line): New function.
17846 (mouse-drag-mode-line, mouse-drag-header-line)
17847 (mouse-drag-vertical-line): Call mouse-drag-line.
17848 * window.el (window-at-side-p, windows-at-side): New functions.
17849
17850 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
17851
17852 * tar-mode.el (tar-grind-file-mode):
17853 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
17854
17855 2011-10-21 Chong Yidong <cyd@gnu.org>
17856
17857 * progmodes/idlwave.el (idlwave-mode):
17858 * progmodes/vera-mode.el (vera-mode):
17859 Use mode-require-final-newline.
17860
17861 2011-10-20 Glenn Morris <rgm@gnu.org>
17862
17863 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
17864
17865 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
17866
17867 * emulation/cua-base.el (cua-set-mark): Fix case of string.
17868
17869 2011-10-20 Chong Yidong <cyd@gnu.org>
17870
17871 * emulation/cua-base.el (cua-mode):
17872 * mail/footnote.el (footnote-mode):
17873 * mail/mailabbrev.el (mail-abbrevs-mode):
17874 * net/xesam.el (xesam-minor-mode):
17875 * progmodes/bug-reference.el (bug-reference-mode):
17876 * progmodes/cap-words.el (capitalized-words-mode):
17877 * progmodes/compile.el (compilation-minor-mode)
17878 (compilation-shell-minor-mode):
17879 * progmodes/gud.el (gud-tooltip-mode):
17880 * progmodes/hideif.el (hide-ifdef-mode):
17881 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
17882 * progmodes/subword.el (subword-mode):
17883 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
17884 * progmodes/which-func.el (which-function-mode):
17885 * term/tvi970.el (tvi970-set-keypad-mode):
17886 * term/vt100.el (vt100-wide-mode):
17887 * textmodes/flyspell.el (flyspell-mode):
17888 * textmodes/ispell.el (ispell-minor-mode):
17889 * textmodes/nroff-mode.el (nroff-electric-mode):
17890 * textmodes/paragraphs.el (use-hard-newlines):
17891 * textmodes/refill.el (refill-mode):
17892 * textmodes/reftex.el (reftex-mode):
17893 * textmodes/rst.el (rst-minor-mode):
17894 * textmodes/sgml-mode.el (html-autoview-mode)
17895 (sgml-electric-tag-pair-mode):
17896 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
17897 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
17898 * emulation/crisp.el (crisp-mode):
17899 * emacs-lisp/eldoc.el (eldoc-mode):
17900 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
17901 minor mode behavior.
17902
17903 2011-10-19 Juri Linkov <juri@jurta.org>
17904
17905 * descr-text.el (describe-char): Add #x2010 and #x2011 to
17906 the list of hard-coded chars with escape-glyph face.
17907
17908 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
17909
17910 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
17911
17912 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
17913
17914 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
17915 running process.
17916
17917 2011-10-19 Glenn Morris <rgm@gnu.org>
17918
17919 * vc/vc-bzr.el (vc-bzr-after-dir-status):
17920 Ignore ignored files. (Bug#9726)
17921
17922 2011-10-19 Chong Yidong <cyd@gnu.org>
17923
17924 Doc fix for minor modes, stating that an omitted argument enables
17925 the mode unconditionally when called from Lisp.
17926
17927 * abbrev.el (abbrev-mode):
17928 * allout.el (allout-mode):
17929 * autoinsert.el (auto-insert-mode):
17930 * autoarg.el (autoarg-mode, autoarg-kp-mode):
17931 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
17932 (global-auto-revert-mode):
17933 * battery.el (display-battery-mode):
17934 * composite.el (global-auto-composition-mode)
17935 (auto-composition-mode):
17936 * delsel.el (delete-selection-mode):
17937 * desktop.el (desktop-save-mode):
17938 * dired-x.el (dired-omit-mode):
17939 * dirtrack.el (dirtrack-mode):
17940 * doc-view.el (doc-view-minor-mode):
17941 * double.el (double-mode):
17942 * electric.el (electric-indent-mode, electric-pair-mode):
17943 * emacs-lock.el (emacs-lock-mode):
17944 * epa-hook.el (auto-encryption-mode):
17945 * follow.el (follow-mode):
17946 * font-core.el (font-lock-mode):
17947 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
17948 * help.el (temp-buffer-resize-mode):
17949 * hilit-chg.el (highlight-changes-mode)
17950 (highlight-changes-visible-mode):
17951 * hi-lock.el (hi-lock-mode):
17952 * hl-line.el (hl-line-mode, global-hl-line-mode):
17953 * icomplete.el (icomplete-mode):
17954 * ido.el (ido-everywhere):
17955 * image-file.el (auto-image-file-mode):
17956 * image-mode.el (image-minor-mode):
17957 * iswitchb.el (iswitchb-mode):
17958 * jka-cmpr-hook.el (auto-compression-mode):
17959 * linum.el (linum-mode):
17960 * longlines.el (longlines-mode):
17961 * master.el (master-mode):
17962 * mb-depth.el (minibuffer-depth-indicate-mode):
17963 * menu-bar.el (menu-bar-mode):
17964 * minibuf-eldef.el (minibuffer-electric-default-mode):
17965 * mouse-sel.el (mouse-sel-mode):
17966 * msb.el (msb-mode):
17967 * mwheel.el (mouse-wheel-mode):
17968 * outline.el (outline-minor-mode):
17969 * paren.el (show-paren-mode):
17970 * recentf.el (recentf-mode):
17971 * reveal.el (reveal-mode, global-reveal-mode):
17972 * rfn-eshadow.el (file-name-shadow-mode):
17973 * ruler-mode.el (ruler-mode):
17974 * savehist.el (savehist-mode):
17975 * scroll-all.el (scroll-all-mode):
17976 * scroll-bar.el (scroll-bar-mode):
17977 * server.el (server-mode):
17978 * shell.el (shell-dirtrack-mode):
17979 * simple.el (auto-fill-mode, transient-mark-mode)
17980 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
17981 (line-number-mode, column-number-mode, size-indication-mode)
17982 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
17983 * strokes.el (strokes-mode):
17984 * time.el (display-time-mode):
17985 * t-mouse.el (gpm-mouse-mode):
17986 * tool-bar.el (tool-bar-mode):
17987 * tooltip.el (tooltip-mode):
17988 * type-break.el (type-break-mode-line-message-mode)
17989 (type-break-query-mode):
17990 * view.el (view-mode):
17991 * whitespace.el (whitespace-mode, whitespace-newline-mode)
17992 (global-whitespace-mode, global-whitespace-newline-mode):
17993 * xt-mouse.el (xterm-mouse-mode): Doc fix.
17994
17995 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
17996 Fix autogenerated docstring.
17997
17998 2011-10-19 Juri Linkov <juri@jurta.org>
17999
18000 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
18001 by checking environment variables "DESKTOP_SESSION" and
18002 "XDG_CURRENT_DESKTOP". (Bug#9779)
18003
18004 2011-10-19 Juri Linkov <juri@jurta.org>
18005
18006 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
18007 (browse-url-chromium-program, browse-url-chromium-arguments):
18008 New defcustoms.
18009 (browse-url-default-browser): Check for `browse-url-chromium' and
18010 call `browse-url-chromium-program'.
18011 (browse-url-chromium): New command. (Bug#9779)
18012
18013 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
18014
18015 * facemenu.el (list-colors-duplicates): On Windows, detect more
18016 duplicates by assuming that only colors matching "^System" are
18017 special "system colors". (Bug#9722)
18018
18019 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
18020
18021 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
18022 to distinguish the author from the committer.
18023
18024 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
18025
18026 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
18027
18028 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
18029
18030 * international/mule.el (sgml-html-meta-auto-coding-function):
18031 Add support for detecting encoding in HTML5 specified only as
18032 <meta charset="UTF-8">. Implementation just makes http-equiv and
18033 content-type parts from HTML4 encoding string optional. (Bug#9716)
18034
18035 2011-10-18 Glenn Morris <rgm@gnu.org>
18036
18037 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
18038
18039 2011-10-18 Chong Yidong <cyd@gnu.org>
18040
18041 * faces.el (cursor): Doc fix.
18042
18043 2011-10-17 Chong Yidong <cyd@gnu.org>
18044
18045 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
18046
18047 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
18048
18049 * dirtrack.el (dirtrack): Support shell buffers with path
18050 prefixes, e.g. tramp-based remote shells. (Bug#9647)
18051
18052 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
18053
18054 * json.el: Bump version to 1.3 and note change in History.
18055 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
18056
18057 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
18058
18059 * comint.el (comint-insert-input, comint-send-input)
18060 (comint-get-old-input-default, comint-backward-matching-input)
18061 (comint-next-prompt): Use nil instead of `input' for field property of
18062 past user input (bug#114).
18063
18064 * minibuffer.el (completion--replace): Inherit surrounding properties
18065 (bug#114).
18066 (minibuffer-complete-and-exit): Use it.
18067
18068 * comint.el (comint--table-subvert): Quote the all-completions output
18069 (bug#9160).
18070
18071 2011-10-17 Martin Rudalics <rudalics@gmx.at>
18072
18073 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
18074
18075 * menu-bar.el (menu-bar-file-menu): Add entry for making new
18076 window on right of selected. (Bug#9350) Reword other window
18077 entries and separate them from frame entries.
18078
18079 2011-10-15 Glenn Morris <rgm@gnu.org>
18080
18081 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
18082 Doc fixes.
18083
18084 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
18085
18086 * net/network-stream.el (network-stream-open-starttls):
18087 Improve detection of failure due to lack of TLS support.
18088
18089 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
18090 putting the input text in front and in bold.
18091
18092 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
18093
18094 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
18095
18096 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
18097 empty buffer.
18098
18099 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
18100 unread-command-events rather than pushing yet-another event.
18101
18102 2011-10-14 Eli Zaretskii <eliz@gnu.org>
18103
18104 * mail/sendmail.el (sendmail-query-once): Improve the wording of
18105 the explanation of the possible choices. Make the options passed
18106 to completing-read shorter.
18107
18108 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
18109
18110 * textmodes/flyspell.el (flyspell-large-region): Make sure
18111 extended character mode is used if defined (Bug#1339).
18112
18113 2011-10-13 Eli Zaretskii <eliz@gnu.org>
18114
18115 * simple.el (what-cursor-position): Fix the display of the
18116 character info for LRE, LRO, RLE, and RLO characters by appending
18117 an invisible PDF.
18118
18119 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
18120
18121 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
18122 even in case of error; add debug spec; simplify data flow.
18123 (with-timeout-handler): Remove.
18124
18125 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
18126
18127 Fix Bug#6019, Bug#9315.
18128
18129 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
18130 complete `buffer-file-name', the local file name part could look
18131 remotely (for example on VMS).
18132
18133 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
18134 `tramp-run-real-handler'.
18135 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
18136 already quoted by '"'.
18137
18138 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
18139 Let `file-name-handler-alist' be nil, the local file name part
18140 could look remotely (for example on VMS).
18141
18142 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
18143
18144 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
18145 from here...
18146 (flyspell-post-command-hook): ...to here.
18147
18148 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
18149
18150 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
18151 if not needed.
18152 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
18153 using completion. Protect against "slow" callers.
18154 Remove the "message hack".
18155
18156 2011-10-11 Juri Linkov <juri@jurta.org>
18157
18158 * isearch.el (isearch-lazy-highlight-word): New variable.
18159 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
18160 Use it. (Bug#9727)
18161
18162 2011-10-11 Glenn Morris <rgm@gnu.org>
18163
18164 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
18165 like f90-previous-statement does.
18166
18167 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18168
18169 * eshell/eshell.el (eshell-command): History should be saved
18170 only in interactive use, to avoid error.
18171
18172 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
18173
18174 * minibuffer.el (completion-file-name-table): Fix last change,
18175 i.e. ignore normal errors but not the other ones.
18176
18177 2011-10-10 Martin Rudalics <rudalics@gmx.at>
18178
18179 * window.el (special-display-buffer-names)
18180 (special-display-regexps): Remove some remnants of earlier
18181 changes from doc-strings.
18182 (quit-windows-on): New function.
18183
18184 * vc/vc.el (vc-revert, vc-rollback):
18185 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
18186 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
18187 (Bug#6183) (Bug#7074) (Bug#7447)
18188
18189 2011-10-09 Martin Rudalics <rudalics@gmx.at>
18190
18191 * window.el (frame-auto-hide-function): Add version tag.
18192 (Bug#9699)
18193
18194 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
18195
18196 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
18197 condition.
18198
18199 2011-10-09 Leo Liu <sdl.web@gmail.com>
18200
18201 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
18202 (Bug#9701)
18203
18204 2011-10-08 Glenn Morris <rgm@gnu.org>
18205
18206 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
18207 before the first code statement zero indent. (Bug#9690)
18208
18209 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
18210
18211 * simple.el (count-words-region): Always count in the region.
18212 Report the number of lines and characters too.
18213 (count-words): New command, which counts in the buffer if the
18214 region is inactive, as count-words-region used to.
18215 (count-words--message): New function. Handle plurals.
18216 (count-lines-region): Make it an alias for count-words-region.
18217
18218 * bindings.el (esc-map): Replace count-lines-region with
18219 count-words-region.
18220
18221 2011-10-08 Martin Rudalics <rudalics@gmx.at>
18222
18223 * window.el (window--delete): Delete dedicated frame
18224 unconditionally when argument KILL is non-nil. (Bug#9699)
18225 (switch-to-buffer): Fix doc-string typo.
18226
18227 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18228
18229 * eshell/eshell.el (eshell-command): Avoid using hooks.
18230
18231 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
18232
18233 * bindings.el ([M-left],[M-right]): Bind to left-word and
18234 right-word respectively.
18235
18236 2011-10-07 Glenn Morris <rgm@gnu.org>
18237
18238 * cus-start.el (debug-on-quit): Fix custom type.
18239
18240 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
18241
18242 * subr.el (define-key-after): Clarify that the function is not
18243 useful for non-menu keymaps.
18244
18245 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
18246
18247 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18248
18249 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
18250 in current minibuffer (Fix bug with recursive minibuffers).
18251
18252 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
18253
18254 * progmodes/gdb-mi.el (gdb): Doc fix.
18255
18256 2011-10-05 Martin Rudalics <rudalics@gmx.at>
18257
18258 * window.el (frame-auto-hide-function): New option replacing
18259 frame-auto-delete. Suggested by Stefan Monnier.
18260 (window--delete): Call frame-auto-hide-function instead of
18261 investigating frame-auto-delete.
18262 (window-point-1, set-window-point-1): New functions.
18263 (window-in-direction, record-window-buffer, window-state-get-1)
18264 (display-buffer-record-window): Use window-point-1 instead of
18265 window-point.
18266 (set-window-buffer-start-and-point): Use set-window-point-1.
18267
18268 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18269
18270 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
18271
18272 2011-10-05 Glenn Morris <rgm@gnu.org>
18273
18274 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
18275 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
18276
18277 2011-10-05 Leo Liu <sdl.web@gmail.com>
18278
18279 * subr.el (read-char-choice): Fix argument to buffer-live-p which
18280 works with buffer object.
18281
18282 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18283
18284 * mpc.el (mpc-tool-bar-map): Add labels.
18285
18286 2011-10-04 Glenn Morris <rgm@gnu.org>
18287
18288 * calendar/holidays.el (calendar-check-holidays): Doc fix.
18289
18290 2011-10-04 Martin Rudalics <rudalics@gmx.at>
18291
18292 * window.el (window--delete): New function.
18293 (frame-auto-delete): Resuscitate option.
18294 (bury-buffer, replace-buffer-in-windows)
18295 (quit-window): Rewrite using window--delete.
18296 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
18297 Pass display-buffer-mark-dedicated to window--display-buffer-2
18298 (Bug#9639).
18299
18300 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
18301
18302 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
18303 returns a list (bug#9554). Add remote file name completion.
18304 * comint.el (comint--table-subvert): Curry and get quote&unquote
18305 functions as arguments.
18306 (comint--complete-file-name-data): Adjust call accordingly.
18307 * pcomplete.el (pcomplete--table-subvert): Remove.
18308 (pcomplete-completions-at-point): Use comint--table-subvert instead.
18309
18310 * minibuffer.el (completion-table-case-fold): Use currying.
18311 (completion--styles-type, completion--cycling-threshold-type):
18312 New constants.
18313 (completion-styles, completion-category-overrides)
18314 (completion-cycle-threshold): Use them.
18315 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
18316 completion-table-case-fold.
18317
18318 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
18319
18320 * minibuffer.el (completion-category-overrides): Fix type of styles
18321 and add more user friendly tags (bug#9660).
18322
18323 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
18324
18325 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
18326 (mule-input-method-string): New widget.
18327 (default-input-method, language-info-custom-alist): Use it.
18328
18329 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
18330
18331 * pcomplete.el: Require comint.
18332 (pcomplete--common-suffix): Remove.
18333 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
18334 (pcomplete--table-subvert): Sync with comint--table-subvert.
18335 (pcomplete--entries): Use comint-completion-file-name-table.
18336 * comint.el (comint-unquote-filename): Simplify.
18337 (comint-completion-file-name-table): New function (bug#9616).
18338 (comint--complete-file-name-data): Use it.
18339
18340 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
18341 (pcmpl-gnu-tar-buffer): Remove.
18342 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
18343 around. Make sure pcomplete-suffix-list is only changed temporarily.
18344 Don't look inside the tar's file if it's too large.
18345
18346 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
18347
18348 * cus-edit.el (custom-mode-map):
18349 * epa.el (epa-key-list-mode-map):
18350 * man.el (Man-mode-map):
18351 * startup.el (splash-screen-keymap):
18352 * simple.el (special-mode-map): Use scroll-up-command and
18353 scroll-down-command.
18354
18355 * progmodes/idlw-help.el (idlwave-help-mode-map):
18356 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
18357 * net/newst-plainview.el (newsticker-mode-map):
18358 * emulation/ws-mode.el (wordstar-mode-map):
18359 * emulation/vi.el (vi-com-map):
18360 * calc/calc-graph.el (calc-graph-show-dumb):
18361 * term/sun.el (terminal-init-sun):
18362 * term/ns-win.el (global-map):
18363 * progmodes/grep.el (grep-mode-map):
18364 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
18365 * mail/rmail.el (rmail-mode-map):
18366 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
18367
18368 * custom.el (custom-safe-themes, load-theme): Treat value of t for
18369 custom-safe-themes as special.
18370
18371 2011-10-01 Julien Danjou <julien@danjou.info>
18372
18373 * notifications.el (notifications-notify): Fix docstring.
18374
18375 2011-10-01 Per Starbäck <per@starback.se>
18376
18377 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
18378
18379 2011-09-30 Martin Rudalics <rudalics@gmx.at>
18380
18381 * startup.el (command-line-1): Fix last fix by inserting
18382 initial-scratch-message into *scratch* before displaying it.
18383 (Bug#9605) and (Bug#9636)
18384
18385 2011-09-29 Eli Zaretskii <eliz@gnu.org>
18386
18387 * simple.el (line-move): If auto-hscroll-mode is disabled and the
18388 window is hscrolled, move by logical lines. (Bug#9607)
18389 (line-move-visual): Update the doc string to the above effect.
18390
18391 2011-09-29 Martin Rudalics <rudalics@gmx.at>
18392
18393 * window.el (display-buffer-record-window): When WINDOW is the
18394 selected window use `point' instead of `window-point'. (Bug#9626)
18395
18396 * startup.el (command-line-1): Use insert-before-markers when
18397 inserting initial-scratch-message. (Bug#9605)
18398
18399 * help.el (help-window): Remove variable.
18400
18401 2011-09-29 Glenn Morris <rgm@gnu.org>
18402
18403 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
18404
18405 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
18406
18407 * descr-text.el (describe-char-categories): Accept category
18408 descriptions more than one line long.
18409
18410 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
18411
18412 * simple.el (delete-trailing-whitespace): Fix last change.
18413
18414 * progmodes/perl-mode.el (perl-syntax-propertize-function):
18415 Don't confuse "y => 3" as the beginning of a `y' operation.
18416
18417 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
18418 object has more than 4 slots (bug#9613).
18419
18420 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
18421
18422 * subr.el (with-output-to-temp-buffer):
18423 * net/quickurl.el (quickurl, quickurl-browse-url):
18424 Fix typos in docstrings.
18425
18426 2011-09-27 Eli Zaretskii <eliz@gnu.org>
18427
18428 * minibuffer.el (completion-styles)
18429 (completion-category-overrides): Cross reference each other in doc
18430 strings.
18431
18432 2011-09-27 Glenn Morris <rgm@gnu.org>
18433
18434 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
18435 to split-string. (Bug#9606)
18436
18437 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
18438
18439 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
18440 (bug#9615).
18441
18442 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
18443
18444 * emacs-lisp/package.el (list-packages): Fix echo area message.
18445
18446 2011-09-27 Leo Liu <sdl.web@gmail.com>
18447
18448 * ido.el (ido-read-internal): Accept cons cell HIST arg.
18449
18450 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
18451
18452 * net/dbus.el (dbus-unregister-object): Don't release services for
18453 registered signals. (Bug#9581)
18454
18455 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
18456
18457 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
18458 function that picks between cfengine 2 and 3 support
18459 automatically. Update docs accordingly.
18460
18461 2011-09-22 Kenichi Handa <handa@m17n.org>
18462
18463 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
18464 ZERO.
18465 (indian-itrans-v5-table-for-tamil): New variable.
18466 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
18467
18468 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
18469
18470 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
18471 that's true if the current command involved collapsing of text.
18472 It's reset to false at the beginning of the next command.
18473 (allout-post-command-business): Move the cursor to the beginning
18474 of entry if the cursor is hidden and collapsing activity just
18475 happened.
18476
18477 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
18478
18479 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
18480 tracking (Bug#9541).
18481
18482 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
18483
18484 * net/newst-reader.el (newsticker-html-renderer)
18485 (newsticker-show-news): Automatically load html rendering package
18486 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
18487 because w3m-fill-column is let-bound" and the error "Symbol's value
18488 as variable is void: w3m-fill-column".
18489
18490 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
18491
18492 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
18493 Release services only if they are defined. (Bug#9581)
18494
18495 2011-09-23 Richard Stallman <rms@gnu.org>
18496
18497 * textmodes/paragraphs.el (forward-sentence): For backwards case,
18498 distinguish start of paragraph from start of its text.
18499
18500 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
18501
18502 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
18503 (rmail-generate-viewer-buffer): Put that hook on view buffer.
18504 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
18505
18506 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
18507
18508 * international/mule-diag.el (mule-diag): Insert a newline after
18509 each fontset description.
18510
18511 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18512
18513 * simple.el (delete-trailing-whitespace):
18514 Document last change; simplify.
18515
18516 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
18517
18518 * simple.el (delete-trailing-whitespace): Also delete
18519 extra newlines at the end of the buffer.
18520
18521 * textmodes/picture.el: Make motion commands obey shift-select-mode.
18522 (picture-newline): Use forward-line so as to ignore fields.
18523
18524 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18525
18526 * subr.el (with-wrapper-hook): Fix edebug spec.
18527
18528 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
18529
18530 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
18531 (bug#4538).
18532
18533 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
18534
18535 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
18536 Fix nasty bug using wrong cached values.
18537
18538 2011-09-23 Alan Mackenzie <acm@muc.de>
18539
18540 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
18541
18542 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
18543
18544 * window.el (pop-to-buffer): Ensure right window is selected if we
18545 chose another frame.
18546
18547 2011-09-22 Eli Zaretskii <eliz@gnu.org>
18548
18549 * simple.el (what-cursor-position): Use get-char-property-change
18550 and next-single-char-property-change, to be able to show display
18551 properties that come from overlays as well as text properties.
18552
18553 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
18554
18555 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
18556
18557 * cmuscheme.el (run-scheme, switch-to-scheme):
18558 * cus-edit.el (customize-group, custom-buffer-create)
18559 (customize-browse):
18560 * info.el (info):
18561 * shell.el (shell):
18562 * mail/sendmail.el (mail):
18563 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
18564
18565 2011-09-22 Richard Stallman <rms@gnu.org>
18566
18567 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
18568 move back only to line beg, don't move back over blank lines.
18569
18570 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
18571
18572 * files.el (copy-directory): Set directory attributes only in case
18573 they could be retrieved from the source directory. (Bug#9565)
18574
18575 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
18576
18577 * progmodes/hideshow.el (hs-looking-at-block-start-p)
18578 (hs-find-block-beginning, hs-hide-level-recursive):
18579 Ignore strings as well as comments. (Bug#9502)
18580
18581 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
18582
18583 * progmodes/sql.el (sql-comint-postgres):
18584 Convert port number to a string. (Bug#9566)
18585
18586 2011-09-22 Martin Rudalics <rudalics@gmx.at>
18587
18588 * window.el (quit-window): Undedicate window when switching to
18589 previous buffer. Reported by Thierry Volpiatto
18590 <thierry.volpiatto@gmail.com>.
18591 (special-display-popup-frame): When popping up a new frame reset
18592 its previous buffers to nil. Simplify code.
18593
18594 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
18595
18596 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
18597 and process filter, as done also in `shell-command'.
18598
18599 2011-09-21 Martin Rudalics <rudalics@gmx.at>
18600
18601 * window.el (set-window-buffer-start-and-point):
18602 Call set-window-start with NOFORCE argument t.
18603 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
18604 (quit-window): Reword doc-string. Handle new format of
18605 quit-restore parameter. Don't delete window if it has a
18606 previous buffer we can show instead of the present one.
18607 (display-buffer-record-window): Rewrite using a new format for
18608 the quit-restore window parameter
18609 (special-display-popup-frame, display-buffer-same-window)
18610 (display-buffer-reuse-window, display-buffer-pop-up-frame)
18611 (display-buffer-pop-up-window, display-buffer-use-some-window):
18612 Adapt symbol passed to display-buffer-record-window.
18613 * help.el (help-window-setup): Handle new format of quit-restore
18614 parameter.
18615
18616 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
18617
18618 * faces.el (face-list): Fix docstring (bug#9564).
18619
18620 * window.el (display-buffer--action-function-custom-type):
18621 Don't include internal functions in the Custom interface.
18622
18623 2011-09-20 Juri Linkov <juri@jurta.org>
18624
18625 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
18626 (Info-forward-node, Info-backward-node, Info-next-preorder)
18627 (Info-last-preorder): Use it. (Bug#9528)
18628
18629 2011-09-20 Juri Linkov <juri@jurta.org>
18630
18631 * info.el (Info-last-preorder): Visit last menu item only when
18632 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
18633
18634 2011-09-20 Julien Danjou <julien@danjou.info>
18635
18636 * password-cache.el (password-cache-remove): Remove entries even if the
18637 value is nil, so that password with a nil value (negative caching) is
18638 possible to invalidate.
18639
18640 2011-09-20 Lawrence Mitchell <wence@gmx.li>
18641
18642 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
18643 all whitespace around breakpoint. (Bug#9553)
18644 (f90-find-breakpoint): Only break at whitespace inside a comment.
18645
18646 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
18647
18648 * minibuffer.el (completion-file-name-table): Keep track of errors.
18649 (completion-table-with-predicate): Handle the case where pred1 is nil.
18650 * pcomplete.el (pcomplete-completions-at-point): Simplify.
18651
18652 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
18653
18654 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
18655 (debugger-return-value): Signal an error if the debugging context does
18656 not await any return value.
18657
18658 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
18659 * image-mode.el (image-toggle-display-text)
18660 (image-toggle-display-image): Stay away from evil `intangible'.
18661
18662 2011-09-19 Leo Liu <sdl.web@gmail.com>
18663
18664 * replace.el (occur-revert-arguments): Make it permanent-local.
18665 (occur-mode): Don't call font-lock-defontify.
18666
18667 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
18668
18669 * net/ldap.el (ldap-search-internal): Don't push empty search
18670 result (Bug#9508).
18671
18672 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
18673
18674 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
18675
18676 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
18677
18678 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
18679 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
18680
18681 2011-09-18 Juri Linkov <juri@jurta.org>
18682
18683 * buff-menu.el (Buffer-menu-mode-map):
18684 * dired.el (dired-mode-map):
18685 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
18686 (lisp-interaction-mode-map):
18687 * emacs-lisp/package.el (package-menu-mode-map):
18688 * epa.el (epa-key-list-mode-map):
18689 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
18690 (menu-bar-options-menu):
18691 * outline.el (outline-mode-menu-bar-map):
18692 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
18693 * vc/vc-dir.el (vc-dir-menu-map):
18694 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
18695 Capitalize non-function content words in menu item strings.
18696
18697 * dired.el (dired-mode-map): Add menu item for
18698 `image-dired-dired-toggle-marked-thumbs'.
18699
18700 2011-09-18 Juri Linkov <juri@jurta.org>
18701
18702 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
18703 to `isearch-case-fold-search' and restore its original value
18704 after the `isearch-mode' call.
18705
18706 2011-09-18 Juri Linkov <juri@jurta.org>
18707
18708 * progmodes/grep.el (grep-process-setup): Don't check code for 1
18709 because `zgrep' returns 1 for successful matches (bug#9226).
18710
18711 2011-09-18 Juri Linkov <juri@jurta.org>
18712
18713 * info.el (Info-extract-menu-node-name): Check the second match
18714 for empty string (second test-case of bug#9528).
18715 (Info-last-preorder): Let-bind `Info-history' to nil to not add
18716 intermediate nodes to the history (first test-case of bug#9528).
18717
18718 2011-09-18 Juri Linkov <juri@jurta.org>
18719
18720 * info.el (Info-mode-syntax-table): New variable.
18721 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
18722
18723 2011-09-18 Juri Linkov <juri@jurta.org>
18724
18725 * info.el (Info-file-supports-index-cookies):
18726 Increment line-beginning-position's arg from 3 to 4 because makeinfo
18727 outputs one more line for long file names (bug#4142).
18728
18729 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
18730
18731 * newcomment.el (comment-normalize-vars): If prompting for
18732 comment-start, set comment-start-skip too (Bug#8424).
18733
18734 2011-09-18 Johan Bockgård <bojohan@gnu.org>
18735
18736 * icomplete.el: Fix previous fix of Bug#5849.
18737 (icomplete-mode): Don't set completion-show-inline-help.
18738 (icomplete-minibuffer-setup): Set completion-show-inline-help
18739 locally during icompletion.
18740
18741 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
18742
18743 * woman.el (woman2-process-escapes): Don't delete unrecognized
18744 escapes (Bug#7843).
18745
18746 * files.el (inhibit-first-line-modes-regexps): Add image files.
18747 (hack-local-variables-prop-line): Return nil for malformed
18748 prop-lines (Bug#9044).
18749
18750 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
18751
18752 * net/tramp.el (top): Don't require 'shell.
18753 (tramp-methods): Fix docstring.
18754 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
18755 Return complete remote file name. Handle "smb" case.
18756 Use `tramp-tmpdir', if defined for the respective method.
18757 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
18758
18759 * net/tramp-compat.el (top): Require 'shell.
18760
18761 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
18762 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
18763 `tramp-current-host'.
18764 (tramp-get-remote-tmpdir): Remove.
18765
18766 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
18767 `tramp-tmpdir' entries.
18768 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
18769 (tramp-smb-handle-file-attributes): Ignore errors.
18770 (tramp-smb-wait-for-output): Check also for process end.
18771
18772 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
18773
18774 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
18775 when sending QUIT (bug#9312).
18776
18777 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
18778
18779 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
18780 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
18781 occur-mode-display-occurrence.
18782 (occur-edit-mode): Add usage message.
18783 (occur-cease-edit): New command.
18784 (occur-after-change-function): Use text properties to find the
18785 position of the prefix text.
18786 (occur-engine): Set stickiness of prefix text properties.
18787
18788 2011-09-17 Glenn Morris <rgm@gnu.org>
18789
18790 * progmodes/etags.el (complete-tag):
18791 Fix call to completion-in-region. (Bug#9526)
18792
18793 2011-09-17 Juri Linkov <juri@jurta.org>
18794
18795 * textmodes/ispell.el (ispell-word): Add to the error message
18796 the word, ispell program name and current dictionary (bug#9121).
18797 (ispell-tex-arg-end): Capitalize "error" in the error message.
18798
18799 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
18800
18801 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
18802 check. (Bug#4251)
18803
18804 2011-09-17 Juri Linkov <juri@jurta.org>
18805
18806 * window.el (window-safe-min-height, window-safe-min-width):
18807 Fix typos (followup to bug#9522).
18808
18809 2011-09-17 Sven Joachim <svenjoac@gmx.de>
18810
18811 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
18812
18813 2011-09-16 Eli Zaretskii <eliz@gnu.org>
18814
18815 * simple.el (line-move): If goal-column is set, move by logical
18816 lines, not by display lines. (Bug#971)
18817 (next-line, previous-line, goal-column, line-move-visual): Doc fix
18818 to reflect the above change.
18819
18820 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
18821
18822 * image.el (imagemagick-register-types): Use regexp-opt.
18823
18824 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
18825
18826 * window.el (display-buffer-base-action): Rename from
18827 display-buffer-default-action. Make default value empty.
18828 (display-buffer-overriding-action): Convert to defvar.
18829 (display-buffer-fallback-action): New var.
18830
18831 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
18832
18833 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
18834 declaration.
18835 (package--add-to-archive-contents): If there is a duplicate entry
18836 with an older version, remove it.
18837 (package-menu-mark-delete, package-menu-mark-install)
18838 (package-menu-mark-unmark): Make unused args optional.
18839 (package-menu-mark-obsolete-for-deletion):
18840 Use package-menu-get-status instead of a regexp search.
18841 (package-menu-get-status): Use tabulated-list-entry.
18842 (package-menu-mark-upgrades): New command.
18843 (package-menu-mode-map): Bind it to U. Add it to menu bar.
18844 (package-menu-execute): Do installation before deletion.
18845 (package-menu-refresh, package-menu-execute): Use derived-mode-p
18846 instead of checking major-mode.
18847 (package-menu--find-upgrades): New function.
18848
18849 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
18850
18851 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
18852 passwords in the log buffer.
18853 (smtpmail-process-filter): Update the process marker so that the
18854 "broken by peer" status message is inserted in the right place.
18855
18856 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
18857
18858 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
18859 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
18860 bibtex-completion-at-point-function.
18861 (bibtex-completion-at-point-function): Use them.
18862
18863 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
18864
18865 * mpc.el (mpc-constraints-tag-lookup): New function.
18866 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
18867 also to browser "album|playlist".
18868
18869 2011-09-14 Juri Linkov <juri@jurta.org>
18870
18871 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
18872 (isearch-edit-string): Use length of `isearch-string' when
18873 `isearch-fail-pos' returns nil.
18874 (isearch-message): Remove duplicate code and call
18875 `isearch-fail-pos' with arg `t'.
18876
18877 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
18878
18879 * replace.el (occur-mode-goto-occurrence): Don't force using other
18880 window (Bug#9499).
18881
18882 * dired-aux.el (dired-do-chmod): Don't provide initial input.
18883
18884 2011-09-14 Martin Rudalics <rudalics@gmx.at>
18885
18886 * window.el (display-buffer-window): Remove.
18887 (display-buffer-record-window): Use help-setup window parameter
18888 instead of variable display-buffer-window.
18889 (display-buffer-function, special-display-buffer-names)
18890 (special-display-function): Mention help-setup parameter instead
18891 of display-buffer-window in doc-string.
18892 * help.el (help-window-setup): New argument help-window.
18893 Use help-window-setup parameter instead of display-buffer-window.
18894 Reword some messages.
18895 (with-help-window): Pass window used for displaying the buffer
18896 to help-window-setup. Don't set display-buffer-window.
18897
18898 2011-09-13 Glenn Morris <rgm@gnu.org>
18899
18900 * emacs-lisp/debug.el (debugger-make-xrefs):
18901 Preserve point. (Bug#9462)
18902
18903 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
18904
18905 * window.el (window-deletable-p): Use next-frame.
18906
18907 2011-09-13 Martin Rudalics <rudalics@gmx.at>
18908
18909 * window.el (window-auto-delete): Remove.
18910 (window-deletable-p): Remove argument FORCE. Don't deal with
18911 dedication and previous buffers.
18912 (switch-to-prev-buffer): Don't delete window.
18913 (delete-windows-on): Delete a window's frame if and only if the
18914 window is dedicated.
18915 (replace-buffer-in-windows): Delete buffer's window or frame if
18916 and only if window is dedicated.
18917 (quit-window): Handle quit-restore as before last change.
18918 (bury-buffer): Delete window only if window-deletable-p returns t.
18919
18920 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
18921
18922 * window.el (window-deletable-p): Never delete the last frame on a
18923 given terminal.
18924
18925 2011-09-13 Glenn Morris <rgm@gnu.org>
18926
18927 * help.el (describe-key-briefly): Copy previous standard-output change.
18928
18929 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
18930
18931 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
18932
18933 2011-09-13 Glenn Morris <rgm@gnu.org>
18934
18935 * emacs-lisp/lisp-mode.el (lisp-indent-function):
18936 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
18937
18938 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
18939
18940 * dired-aux.el (dired-mark-read-string): Don't return default
18941 value on empty input (Bug#9361).
18942 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
18943 Omit initial minibuffer contents.
18944 (dired-do-chmod): Signal an error on empty input.
18945 (dired-mark-read-string): Don't return default on empty input.
18946
18947 * files.el (file-modes-symbolic-to-number): Doc fix.
18948
18949 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18950
18951 * international/mule-cmds.el (ucs-completions): Remove.
18952 (read-char-by-name): Use complete-with-action instead; add metadata.
18953
18954 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
18955
18956 * window.el (display-buffer--action-function-custom-type)
18957 (display-buffer--action-custom-type): New vars.
18958 (display-buffer-alist, display-buffer-default-action)
18959 (display-buffer-overriding-action): Add defcustom types.
18960
18961 * frame.el (delete-other-frames): Doc fix (Bug#276).
18962
18963 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18964
18965 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
18966
18967 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
18968
18969 Change modes that used same-window-* vars to use switch-to-buffer.
18970
18971 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
18972 Use switch-to-buffer.
18973
18974 * cus-edit.el (customize-group, custom-buffer-create)
18975 (customize-browse, custom-buffer-create-other-window):
18976 Use switch-to-buffer or switch-to-buffer-other-window.
18977
18978 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
18979 (Info-prev, Info-up, Info-speedbar-goto-node)
18980 (info-display-manual): Use switch-to-buffer.
18981 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
18982
18983 * mail/sendmail.el (mail): Use switch-to-buffer.
18984 (mail-recover): Use switch-to-buffer-other-window.
18985
18986 * cmuscheme.el (run-scheme, switch-to-scheme):
18987 * ielm.el (ielm):
18988 * shell.el (shell):
18989 * net/rlogin.el (rlogin):
18990 * net/telnet.el (telnet, rsh):
18991 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
18992
18993 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
18994
18995 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
18996
18997 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18998
18999 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
19000 so don't mention it (bug#9301).
19001 (dired-sort-toggle-or-edit): Clarify string further.
19002
19003 * faces.el (face-spec-set-match-display): Make `(type graphic)'
19004 match `x', `w32' and `ns', like the manual says (bug#9029).
19005
19006 * subr.el (eval-after-load): Doc string clarification (bug#9125).
19007 (process-kill-buffer-query-function): Mention the buffer name in
19008 the query.
19009
19010 * image-mode.el (image-next-line): The line parameter is mandatory
19011 (bug#9258).
19012
19013 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
19014 which can be useful (bug#9301).
19015
19016 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
19017
19018 * subr.el (match-string): Mention that the current buffer should
19019 be the same as the search was done in (bug#9282).
19020
19021 * facemenu.el: Disable the remove-* commands if the mark isn't
19022 active (bug#9162).
19023
19024 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
19025
19026 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
19027 of display-buffer.
19028 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
19029
19030 * replace.el (occur-mode-goto-occurrence)
19031 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
19032 and display-buffer.
19033
19034 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
19035 display-buffer.
19036
19037 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
19038 special-display and same-window variables.
19039 (mail-other-window): Use switch-to-buffer-other-window.
19040 (mail-other-frame): USe switch-to-buffer-other-frame.
19041
19042 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
19043 Use display-buffer-other-frame.
19044 (gdb-display-gdb-buffer): Use pop-to-buffer.
19045
19046 * progmodes/gud.el (gud-goto-info): Use info-other-window.
19047
19048 * progmodes/python.el: Don't set same-window-buffer-names.
19049
19050 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
19051
19052 * window.el (display-buffer-alist): Add *Python*.
19053
19054 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
19055
19056 * window.el (display-buffer-alist): Add entry for buffers
19057 previously handled same-window-*.
19058 (display-buffer-alist, display-buffer-default-action)
19059 (display-buffer-overriding-action): Mark as risky.
19060 (display-buffer-alist): Document action function changes.
19061 (display-buffer--same-window-action)
19062 (display-buffer--other-frame-action): New variables.
19063 (switch-to-buffer, display-buffer-other-frame): Use them.
19064 (display-buffer): Rename reuse-frame entry to reusable-frames.
19065 (display-buffer-reuse-selected-window): Function deleted.
19066 (display-buffer-reuse-window): Handle reusable-frames alist entry.
19067 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
19068 (display-buffer-special): New function.
19069 (display-buffer--maybe-pop-up-frame-or-window): Rename from
19070 display-buffer-reuse-or-pop-window. Split off special-display
19071 part into display-buffer-special.
19072 (display-buffer-use-some-window): Don't perform any special
19073 pop-up-frames handling.
19074 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
19075 (display-buffer--maybe-same-window): Rename from
19076 display-buffer-maybe-same-window.
19077
19078 * info.el: Don't set same-window-regexps.
19079 (info-setup): New function.
19080 (info-other-window, info): Call it.
19081
19082 * cus-edit.el: Don't set same-window-regexps.
19083 (customize-group): New argument.
19084 (customize-group-other-window): Use it.
19085 (customize-face, customize-face-other-window): Likewise.
19086 (custom-buffer-create-other-window): Use pop-to-buffer directly.
19087
19088 * net/rlogin.el:
19089 * net/telnet.el:
19090 * progmodes/gud.el: Don't set same-window-regexps.
19091
19092 * cmuscheme.el:
19093 * ielm.el:
19094 * shell.el:
19095 * mail/sendmail.el:
19096 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
19097
19098 2011-09-10 Juri Linkov <juri@jurta.org>
19099
19100 * isearch.el (isearch-edit-string): Remove obsolete mention of
19101 `C-w' (`isearch-yank-word-or-char') from docstring.
19102 (isearch-query-replace): Fix typo in docstring (bug#9466).
19103
19104 2011-09-10 Juri Linkov <juri@jurta.org>
19105
19106 * paren.el (show-paren-function): Don't show escaped parens.
19107 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
19108
19109 2011-09-10 Eli Zaretskii <eliz@gnu.org>
19110
19111 * mail/sendmail.el (mml-to-mime, mml-attach-file)
19112 (mm-default-file-encoding): Remove autoload forms, they are
19113 replaced with autoload cookies in mml.el and mm-encode.el.
19114 (mail-add-attachment): New command.
19115 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
19116 (mail-mode): Mention mail-insert-file and mail-add-attachment in
19117 the doc string.
19118 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
19119
19120 2011-09-10 Reuben Thomas <rrt@sc3d.org>
19121
19122 * simple.el (count-words-region): Use buffer if there's no region
19123 (bug#9429).
19124
19125 2011-09-09 Juri Linkov <juri@jurta.org>
19126
19127 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
19128 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
19129 (wdired-isearch-filter-read-only): New function. (Bug#6362)
19130
19131 2011-09-09 Alan Mackenzie <acm@muc.de>
19132
19133 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
19134 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
19135
19136 2011-09-09 Eli Zaretskii <eliz@gnu.org>
19137
19138 Fix for Savannah bug#9392.
19139 * simple.el (mail-encode-mml): New defvar.
19140
19141 * mail/rmail.el (mail-encode-mml): Add a defvar.
19142 (rmail-enable-mime-composing): Default to t.
19143 (rmail-forward): Use MIME method of forwarding only if both
19144 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
19145 Set mail-encode-mml non-nil if the MIME method was used.
19146
19147 * mail/sendmail.el (mml-to-mime): Add autoload form.
19148 (mail-encode-mml): Add a defvar.
19149 (mail-mode): Make mail-encode-mml buffer-local and initialize it
19150 to nil.
19151 (mail-send): If mail-encode-mml is non-nil, run the outgoing
19152 message through mml-to-mime, and reset mail-encode-mml to nil.
19153
19154 2011-09-09 Glenn Morris <rgm@gnu.org>
19155
19156 * woman.el (woman-if-body): When processing an .el block,
19157 do not delete the next .el block as well. (Bug#9447)
19158 (woman-special-characters): Add oq, cq, and hy characters.
19159
19160 2011-09-08 Martin Rudalics <rudalics@gmx.at>
19161
19162 * window.el (window-deletable-p): Make sure window is live before
19163 invoking window-prev-buffers.
19164
19165 2011-09-08 Leo Liu <sdl.web@gmail.com>
19166
19167 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
19168
19169 2011-09-08 Juri Linkov <juri@jurta.org>
19170
19171 * progmodes/compile.el (compilation-environment): Make it
19172 a defcustom (bug#8340).
19173
19174 2011-09-08 Martin Rudalics <rudalics@gmx.at>
19175
19176 * window.el (frame-auto-delete): Rename to window-auto-delete.
19177 Make it control auto-deletion of windows and/or frames.
19178 (window-deletable-p): New argument FORCE. Rewrite conditions
19179 for deleting window/frame. (Bug#9419)
19180 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
19181 Rewrite handling of case when window/frame can be deleted.
19182 (delete-windows-on): Call window-deletable-p with new FORCE
19183 argument t. (Bug#9456)
19184
19185 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
19186
19187 * help-mode.el (help-mode): Restore autoload.
19188
19189 2011-09-07 Juri Linkov <juri@jurta.org>
19190
19191 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
19192 `compilation-environment'. Set buffer-local
19193 `compilation-environment' to `thisenv' later after (funcall mode).
19194 (Bug#8340)
19195
19196 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
19197 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
19198 instead of replacing its value. (Bug#8340)
19199
19200 2011-09-07 Juri Linkov <juri@jurta.org>
19201
19202 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
19203 based on text properties put by `grep-filter' instead of matching
19204 escape sequences.
19205 (grep-mode): Set buffer-local `compilation-error-screen-columns'
19206 to the value of `grep-error-screen-columns' (bug#9438).
19207
19208 2011-09-07 Juri Linkov <juri@jurta.org>
19209
19210 * simple.el (next-error-highlight, next-error-highlight-no-select):
19211 Doc fix (bug#9432).
19212
19213 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
19214
19215 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
19216 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
19217
19218 2011-09-07 Leo Liu <sdl.web@gmail.com>
19219
19220 * net/rcirc.el (rcirc-mode): Conditionally initialize
19221 rcirc-input-ring.
19222
19223 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
19224
19225 * emacs-lisp/find-func.el (find-function-C-source): Only set
19226 find-function-C-source-directory after checking that we found a source
19227 file there (bug#9440).
19228
19229 2011-09-06 Alan Mackenzie <acm@muc.de>
19230
19231 * isearch.el (isearch-other-meta-char): Wherever a key list is
19232 unread, "unread" the prefix arg, too. This fixes bug #8901.
19233
19234 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
19235
19236 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
19237
19238 2011-09-05 Juri Linkov <juri@jurta.org>
19239
19240 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
19241
19242 2011-09-05 Juri Linkov <juri@jurta.org>
19243
19244 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
19245 keeping point where processing of grep matches begins, and
19246 continue to delete remaining escape sequences from the same point.
19247 (grep-filter): Make leading zero optional in "0?1;31m" because
19248 git-grep emits "\033[1;31m" escape sequences unlike expected
19249 "\033[01;31m" as GNU Grep does (bug#9408).
19250 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
19251
19252 2011-09-05 Juri Linkov <juri@jurta.org>
19253
19254 * subr.el (y-or-n-p): Capitalize "yes".
19255
19256 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
19257
19258 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
19259 `tramp-cache-unload-hook' where appropriate.
19260 (tramp-methods): Rename `tramp-remote-sh' to
19261 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
19262 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
19263
19264 * net/tramp-sh.el (top): Don't require 'shell.
19265 (tramp-methods): Add `tramp-remote-shell' and
19266 `tramp-remote-shell-args' entries.
19267 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
19268 (tramp-sh-handle-shell-command): Remove.
19269 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
19270 Use `tramp-remote-shell'.
19271
19272 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
19273
19274 * mail/sendmail.el (sendmail-query-once-function): Delete.
19275 (sendmail-query-once): Save directly to send-mail-function.
19276 Update message-send-mail-function too.
19277
19278 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
19279
19280 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
19281
19282 * progmodes/python.el (python-mode-map): Use correct function to
19283 start python interpreter from menu-bar (as reported by Geert
19284 Kloosterman).
19285 (inferior-python-mode-map): Fix typo.
19286 (python-shell-map): Remove.
19287
19288 2011-09-03 Deniz Dogan <deniz@dogan.se>
19289
19290 * net/rcirc.el (rcirc-print): Simplify code for
19291 rcirc-scroll-show-maximum-output. There is no need to walk
19292 through all windows to find the right one.
19293
19294 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
19295
19296 * help.el (help-return-method): Doc fix.
19297
19298 2011-09-03 Martin Rudalics <rudalics@gmx.at>
19299
19300 * window.el (window-deletable-p): Don't return a non-nil value
19301 when there's a buffer that was shown in the window before.
19302 (Bug#9419)
19303 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
19304 Set window's previous buffers to nil.
19305
19306 2011-09-03 Eli Zaretskii <eliz@gnu.org>
19307
19308 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
19309 newline before and after the tag line, so it doesn't interfere
19310 with determining the paragraph direction of bidirectional text.
19311
19312 2011-09-03 Leo Liu <sdl.web@gmail.com>
19313
19314 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
19315
19316 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
19317
19318 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
19319 (pop-to-buffer): Change interactive spec. Pass second argument
19320 directly to display-buffer.
19321 (display-buffer): Fix interactive spec. Use functionp to
19322 distinguish between a function and a list of functions.
19323
19324 * abbrev.el (edit-abbrevs):
19325 * arc-mode.el (archive-extract):
19326 * autoinsert.el (auto-insert):
19327 * bookmark.el (bookmark-bmenu-list):
19328 * files.el (find-file):
19329 * view.el (view-buffer):
19330 * progmodes/compile.el (compilation-goto-locus):
19331 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
19332
19333 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
19334
19335 * window.el (display-buffer-alist): Doc fix.
19336 (display-buffer): Add docstring. Don't treat
19337 display-buffer-default specially.
19338 (display-buffer-reuse-selected-window)
19339 (display-buffer-same-window, display-buffer-maybe-same-window)
19340 (display-buffer-reuse-window, display-buffer-pop-up-frame)
19341 (display-buffer-pop-up-window)
19342 (display-buffer-reuse-or-pop-window)
19343 (display-buffer-use-some-window): New functions.
19344 (display-buffer-default-action): Use them.
19345 (display-buffer-default): Delete.
19346 (pop-to-buffer-1): Fix choice of actions.
19347
19348 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
19349
19350 * minibuffer.el (completion--insert-strings): Don't get confused by
19351 completion entries that end with an LF char.
19352
19353 2011-09-01 Eli Zaretskii <eliz@gnu.org>
19354
19355 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
19356
19357 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
19358
19359 * window.el (display-buffer): Restore interactive spec.
19360 (display-buffer-same-window, display-buffer-other-window):
19361 New functions.
19362 (pop-to-buffer-1): New function. Use the above.
19363 (pop-to-buffer, pop-to-buffer-same-window): Use it.
19364 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
19365
19366 * view.el (view-buffer-other-window, view-buffer-other-frame):
19367 Just use pop-to-buffer.
19368
19369 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19370
19371 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
19372
19373 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
19374
19375 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
19376
19377 2011-08-31 Richard Stallman <rms@gnu.org>
19378
19379 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
19380 of the separation of rmail-view-buffer from rmail-buffer.
19381 If you say no to "replace original", the decrypt is in the
19382 view buffer. If you say yes, the decrypt goes into the
19383 rmail buffer also.
19384
19385 2011-08-31 Martin Rudalics <rudalics@gmx.at>
19386
19387 * window.el (display-buffer-window): Rewrite doc-string.
19388 (display-buffer-record-window): New function.
19389 (display-buffer-macro-specifiers)
19390 (display-buffer-even-window-sizes, display-buffer-set-height)
19391 (display-buffer-set-width, display-buffer-in-window)
19392 (display-buffer-reuse-window, display-buffer-split-specifiers)
19393 (display-buffer-side-specifiers, display-buffer-split-window-1)
19394 (display-buffer-split-window, display-buffer-split-atom-window)
19395 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
19396 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
19397 (display-buffer-other-window-means-other-frame)
19398 (display-buffer-normalize-special)
19399 (display-buffer-normalize-default)
19400 (display-buffer-normalize-argument)
19401 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
19402 (display-buffer-normalize-specifiers, display-buffer-frame)
19403 (display-buffer-same-window, display-buffer-same-frame)
19404 (display-buffer-other-window)
19405 (display-buffer-same-frame-other-window)
19406 (display-buffer-other-frame, pop-to-buffer-same-window)
19407 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
19408 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
19409 (switch-to-buffer-same-frame)
19410 (switch-to-buffer-other-window-same-frame)
19411 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
19412 (display-buffer-alist-set-1, display-buffer-alist-set-2)
19413 (display-buffer-alist-set): Remove.
19414 (display-buffer-function, special-display-buffer-names)
19415 (special-display-regexps, special-display-function):
19416 In doc-string refer to display-buffer-window and quit-restore
19417 parameter.
19418 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
19419 (special-display-frame-alist, special-display-popup-frame)
19420 (same-window-buffer-names, same-window-regexps, same-window-p)
19421 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
19422 (split-window-preferred-function, split-height-threshold)
19423 (split-width-threshold, window-splittable-p)
19424 (split-window-sensibly, window--try-to-split-window)
19425 (window--frame-usable-p, even-window-heights)
19426 (window--even-window-heights, window--display-buffer-1)
19427 (window--display-buffer-2, display-buffer-other-frame):
19428 Restore old Emacs 23 code, order and doc-strings where applicable.
19429 (display-buffer-default, display-buffer-assq-regexp): New functions.
19430 (display-buffer-alist): Rewrite doc-string.
19431 (display-buffer-default-action)
19432 (display-buffer-overriding-action): New variables.
19433 (display-buffer, switch-to-buffer): Rewrite.
19434 (pop-to-buffer): Restore Emacs 23 behavior but use
19435 window-normalize-buffer-to-display.
19436 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
19437 Restore Emacs 23 behavior but use
19438 window-normalize-buffer-to-switch-to.
19439 (pop-to-buffer-same-window): Rewrite.
19440 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
19441 Rewrite using Emacs 23 options.
19442
19443 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
19444
19445 * net/tramp.el (tramp-root-regexp): Remove.
19446 (tramp-completion-file-name-regexp-unified)
19447 (tramp-completion-file-name-regexp-separate)
19448 (tramp-completion-file-name-regexp-url): Don't use leading volume
19449 letter on w32 systems. (Bug#5303, Bug#9311)
19450 (tramp-drop-volume-letter): Simplify definition.
19451 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
19452
19453 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
19454
19455 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
19456 (bug#9356).
19457
19458 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
19459
19460 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
19461
19462 2011-08-29 Juri Linkov <juri@jurta.org>
19463
19464 * isearch.el (isearch-done): Don't display message "Mark saved"
19465 when arg `edit' is non-nil to prevent its flicker in the echo area.
19466
19467 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
19468
19469 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
19470 obsolete packages for deletion.
19471
19472 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
19473
19474 * help-mode.el (help-mode-map): Add special-mode-map to parent.
19475 (help-mode): Derive help-mode from special-mode. Don't invoke
19476 view-mode from help-mode.
19477 (help-xref-override-view-map): Remove.
19478 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
19479 view-mode is not used anymore.
19480
19481 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
19482
19483 * server.el (server-port): Doc fix.
19484
19485 * cus-theme.el (custom-theme-choose-mode): Inherit from
19486 special-mode (Bug#9124).
19487 (custom-theme-choose-mode-map): Add special-mode to parent.
19488
19489 2011-08-28 Alan Mackenzie <acm@muc.de>
19490
19491 * progmodes/cc-fonts.el
19492 (c-make-font-lock-BO-decl-search-function): New function.
19493 (c-basic-matchers-after - "Fontify the clauses after various
19494 keywords"): Extract the three keyword lists for the 3 erroneous
19495 constructs from the list of four, and use the new function above
19496 in place of an old one.
19497
19498 2011-08-28 Deniz Dogan <deniz@dogan.se>
19499
19500 * net/rcirc.el (rcirc-insert-prev-input)
19501 (rcirc-insert-next-input): Remove unused argument.
19502
19503 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19504
19505 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
19506
19507 2011-08-27 Alan Mackenzie <acm@muc.de>
19508
19509 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
19510 handle function pointer parameters properly.
19511
19512 2011-08-27 Martin Rudalics <rudalics@gmx.at>
19513
19514 * window.el (display-buffer-reuse-window): Fix case where
19515 selected window was reused with non-nil OTHER-WINDOW argument.
19516 (Bug#9381)
19517
19518 2011-08-27 Deniz Dogan <deniz@dogan.se>
19519
19520 * net/rcirc.el (rcirc-check-auth-status): Adding support for
19521 oftc's NickServ messages.
19522
19523 2011-08-27 Glenn Morris <rgm@gnu.org>
19524
19525 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
19526
19527 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
19528
19529 * emacs-lisp/package.el (package-install): Call package-initialize
19530 if called interactively.
19531
19532 2011-08-26 Leo Liu <sdl.web@gmail.com>
19533
19534 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
19535
19536 2011-08-25 Juri Linkov <juri@jurta.org>
19537
19538 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
19539 `search-whitespace-regexp' (bug#9364).
19540
19541 2011-08-25 Juri Linkov <juri@jurta.org>
19542
19543 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
19544 `regexp-search-ring' to their global values to protect from
19545 updating by `read-from-minibuffer' (bug#9185).
19546
19547 2011-08-25 Juri Linkov <juri@jurta.org>
19548
19549 * textmodes/ispell.el (ispell-command-loop): Add newline
19550 at the end of the "Use option `i'..." line.
19551
19552 2011-08-25 Juri Linkov <juri@jurta.org>
19553
19554 * battery.el (display-battery-mode): If `battery-status-function'
19555 or `battery-mode-line-format' is nil, display the message and set
19556 `display-battery-mode' to nil (bug#9363).
19557
19558 2011-08-25 Eli Zaretskii <eliz@gnu.org>
19559
19560 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
19561 bidi-string-mark-left-to-right; they are unnecessary now.
19562
19563 2011-08-25 Deniz Dogan <deniz@dogan.se>
19564
19565 * net/quickurl.el: Documentation typo fixes.
19566
19567 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
19568
19569 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
19570
19571 2011-08-25 Glenn Morris <rgm@gnu.org>
19572
19573 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
19574
19575 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
19576 (smtpmail-via-smtp): Handle nil response from smtp.
19577
19578 2011-08-24 Juri Linkov <juri@jurta.org>
19579
19580 * proced.el (proced-marked): Inherit from `error' instead of
19581 `font-lock-warning-face'.
19582
19583 * ibuffer.el (ibuffer-marked-face): Change default face from
19584 `font-lock-warning-face' to `warning'.
19585 (ibuffer-deletion-face): Change default face from
19586 `font-lock-type-face' to `error'.
19587
19588 * battery.el (battery-update): Use the face `error' instead of
19589 `font-lock-warning-face' (bug#6117).
19590
19591 2011-08-24 Juri Linkov <juri@jurta.org>
19592
19593 * faces.el (success): Change face color from "Green3" to
19594 "ForestGreen" on light background (bug#9353).
19595
19596 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
19597
19598 * window.el (quit-window): Rename from quit-restore-window.
19599 Use same arglist as old quit-window.
19600 (frame-auto-delete): Doc fix.
19601
19602 * view.el (view-mode-exit): Use quit-window.
19603
19604 2011-08-24 Juri Linkov <juri@jurta.org>
19605
19606 * isearch.el (isearch-ring-adjust1): Start visiting previous
19607 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
19608 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
19609 for empty search string (when the last search string is reused
19610 automatically) to adjust the isearch ring to the last element and
19611 prepare the correct index for further M-p commands (bug#9185).
19612
19613 2011-08-24 Kenichi Handa <handa@m17n.org>
19614
19615 * international/ucs-normalize.el: If decomposition property of
19616 CHAR is the default one (i.e. a list of CHAR itself), treat it as
19617 nil.
19618 (nfd, nfkd): Likewise.
19619
19620 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
19621
19622 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
19623 from process filters aren't reliably transmitted to the surrounding
19624 accept-process-output.
19625 (mpc-proc-check): New function.
19626 (mpc-proc-sync): Use it (bug#8293)
19627
19628 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
19629
19630 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
19631 Add compatibility functions (bug#9313).
19632
19633 2011-08-23 Eli Zaretskii <eliz@gnu.org>
19634
19635 * cus-start.el (all): Add entry for bidi-paragraph-direction.
19636
19637 * international/uni-bidi.el: Regenerate.
19638
19639 2011-08-23 Kenichi Handa <handa@m17n.org>
19640
19641 * international/charprop.el:
19642 * international/uni-bidi.el:
19643 * international/uni-category.el:
19644 * international/uni-combining.el:
19645 * international/uni-comment.el:
19646 * international/uni-decimal.el:
19647 * international/uni-decomposition.el:
19648 * international/uni-digit.el:
19649 * international/uni-lowercase.el:
19650 * international/uni-mirrored.el:
19651 * international/uni-name.el:
19652 * international/uni-numeric.el:
19653 * international/uni-old-name.el:
19654 * international/uni-titlecase.el:
19655 * international/uni-uppercase.el: Regenerate.
19656
19657 2011-08-23 Martin Rudalics <rudalics@gmx.at>
19658
19659 * help.el (help-window-setup): Fix message displayed when other
19660 window is reused. (Bug#9341)
19661
19662 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
19663
19664 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
19665 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
19666
19667 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
19668 Mark obsolete.
19669 * shell.el (shell-parse-pcomplete-arguments): New function.
19670 (shell-completion-vars): Use it instead (bug#9160).
19671
19672 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
19673
19674 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
19675 strings and comments (bug#9333).
19676
19677 * emacs-lisp/debug.el (debug-arglist): New function.
19678 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
19679 (debug-on-entry-1): Handle interpreted closures (bug#9120).
19680
19681 2011-08-22 Juri Linkov <juri@jurta.org>
19682
19683 * progmodes/compile.el (compilation-mode-font-lock-keywords):
19684 Revert regexp that highlights output switches to its old
19685 pre-2010-10-28 value and remove one `?' from it (bug#9319).
19686
19687 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
19688 to check for empty output (bug#9226).
19689
19690 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
19691
19692 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
19693 symbol-constituent as the default, as that stops font-lock from
19694 working properly (Bug#8843).
19695
19696 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19697
19698 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
19699 `coding-system-for-*' around the process open call to avoid
19700 auth-source side effects.
19701 (smtpmail-try-auth-methods): Expand the secret password.
19702 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
19703 probe hangs.
19704
19705 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
19706
19707 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
19708
19709 * emacs-lisp/find-func.el (find-function-noselect): New arg
19710 lisp-only.
19711
19712 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
19713 signal an error for built-in functions (Bug#6664).
19714
19715 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19716
19717 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
19718 (smtpmail-try-auth-methods): Use it.
19719
19720 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
19721
19722 * font-lock.el (font-lock-fontify-region)
19723 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
19724 (font-lock-default-unfontify-buffer)
19725 (font-lock-default-fontify-region)
19726 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
19727
19728 * progmodes/compile.el (compilation-error-properties):
19729 Fix confusion between file struct and message struct (Bug#9319).
19730 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
19731 `ant' regexp.
19732
19733 * net/browse-url.el (browse-url-firefox): Don't call
19734 browse-url-firefox-sentinel unless using -remote (Bug#9328).
19735
19736 2011-08-20 Glenn Morris <rgm@gnu.org>
19737
19738 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
19739
19740 * tutorial.el (tutorial--default-keys): Update some default bindings.
19741
19742 * files.el (hack-local-variables): Fully ignore case for "mode:".
19743
19744 2011-08-20 Alan Mackenzie <acm@muc.de>
19745
19746 Resolve invalid use of a regexp in regexp-opt.
19747
19748 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
19749 detection for a java annotation.
19750
19751 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
19752 detection for a java annotation.
19753
19754 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
19755 handling for java.
19756 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
19757
19758 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
19759
19760 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
19761 (Bug#9274).
19762
19763 2011-08-20 Alan Mackenzie <acm@muc.de>
19764
19765 Fontify CPP expressions correctly when starting in the middle of
19766 such a construct. Mainly for when jit-lock etc. starts a chunk
19767 here.
19768
19769 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
19770 variable.
19771 (c-make-font-lock-search-form): New function, extracted from
19772 c-make-font-lock-search-function.
19773 (c-make-font-lock-search-function): Use the above function.
19774 (c-make-font-lock-context-search-function): New function.
19775 (c-cpp-matchers): Enhance the preprocessor expression case with
19776 the above function
19777 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
19778 which takes an expression.
19779
19780 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
19781
19782 2011-08-20 Martin Rudalics <rudalics@gmx.at>
19783
19784 * window.el (display-buffer-reuse-window)
19785 (display-buffer-pop-up-window): Don't reuse or split a side
19786 window.
19787
19788 2011-08-19 Glenn Morris <rgm@gnu.org>
19789
19790 * files.el (hack-local-variables-prop-line, hack-local-variables):
19791 Downcase "Mode:". (Bug#9331)
19792
19793 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
19794
19795 * international/characters.el: Add L and R categories.
19796
19797 * subr.el (bidi-string-mark-left-to-right): Rename from
19798 string-mark-left-to-right. Use category search.
19799
19800 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
19801
19802 2011-08-18 Juri Linkov <juri@jurta.org>
19803
19804 * faces.el (error, warning, success): New faces with definitions
19805 copied from old default values of `font-lock-warning-face',
19806 `compilation-warning', `compilation-info' (bug#6117).
19807
19808 * font-lock.el (font-lock-warning-face): Inherit from `error'.
19809
19810 * progmodes/compile.el (compilation-error): Inherit from `error'.
19811 (compilation-warning): Inherit from `warning'.
19812 (compilation-info): Inherit from `success'.
19813
19814 * dired.el (dired-marked): Inherit from `warning'.
19815 (dired-flagged): Inherit from `error'.
19816
19817 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19818
19819 * mail/smtpmail.el (auth-source): Require to avoid problems with
19820 binding variables (bug#9298). Also clean up some unused
19821 autoloads.
19822
19823 * net/network-stream.el (network-stream-open-starttls):
19824 Support using starttls.el without using gnutls-cli.
19825
19826 2011-08-17 Juri Linkov <juri@jurta.org>
19827
19828 * progmodes/grep.el (rgrep): Handle the case when
19829 `grep-find-command' is a cons cell (bug#9278).
19830
19831 2011-08-17 Martin Rudalics <rudalics@gmx.at>
19832
19833 * window.el (display-buffer-pop-up-frame): Run frame creation
19834 function with BUFFER current (as special-display-popup-frame
19835 does). Reported by Drew Adams.
19836
19837 2011-08-17 Daiki Ueno <ueno@unixuser.org>
19838
19839 * epa-mail.el: Simplify GnuPG group expansion using
19840 epg-expand-group.
19841 (epa-mail-group-alist, epa-mail-group-modtime)
19842 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
19843 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
19844 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
19845 Remove.
19846
19847 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
19848
19849 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
19850
19851 2011-08-16 Alan Mackenzie <acm@muc.de>
19852
19853 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
19854 Correct, to avoid the inside of macros.
19855
19856 2011-08-16 Richard Stallman <rms@gnu.org>
19857
19858 * epa-mail.el: Handle GnuPG group definitions.
19859 (epa-mail-group-alist, epa-mail-group-modtime)
19860 (epa-mail-gnupg-conf-file): New variables.
19861 (epa-mail-parse-groups, epa-mail-sync-groups)
19862 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
19863 (epa-mail-expand-recipients): New functions.
19864 (epa-mail-encrypt): Call epa-mail-expand-recipients.
19865
19866 * mail/rmail.el (rmail-epa-decrypt): New command.
19867
19868 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
19869 Don't bind buffer-read-only, just inhibit-read-only.
19870 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
19871 (epa-decrypt-armor-in-region): Make error message clearer.
19872
19873 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
19874
19875 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
19876 and "a2b" to "ab" for `prefix'.
19877
19878 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
19879
19880 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
19881 filter groups.
19882 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
19883 Fourquet (Bug#8804).
19884
19885 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
19886
19887 * startup.el (argi): Declare as global variable (bug#9275).
19888
19889 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
19890
19891 * subr.el (string-mark-left-to-right): Search the entire string
19892 for RTL script, not just the terminating character. Doc fix.
19893
19894 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
19895
19896 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
19897 New function.
19898 (js--regexp-literal, js-syntax-propertize-function): Remove.
19899 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
19900 (js-mode-map): Don't rebind electric keys.
19901 (js-insert-and-indent): Remove.
19902 (js-mode): Setup electric-layout and electric-indent instead.
19903
19904 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
19905
19906 2011-08-12 Daiki Ueno <ueno@unixuser.org>
19907
19908 * epa.el (epa-progress-callback-function): Fix the logic of
19909 displaying progress.
19910 * epa-file.el (epa-file-insert-file-contents): Make progress
19911 display more user-friendly.
19912 (epa-file-write-region): Ditto.
19913
19914 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
19915
19916 * subr.el (string-mark-left-to-right): New function.
19917
19918 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
19919 Use string-mark-left-to-right.
19920 (list-buffers-noselect): Caller changed.
19921
19922 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19923 Use string-mark-left-to-right.
19924 (tabulated-list-print): Recenter after moving point.
19925
19926 2011-08-10 Juri Linkov <juri@jurta.org>
19927
19928 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
19929 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
19930 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
19931
19932 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
19933
19934 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
19935 (Bug#7554).
19936
19937 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
19938
19939 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
19940 character. (Bug#6594)
19941
19942 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
19943
19944 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
19945 (image-dired--with-db-file): New macro.
19946 (image-dired-write-tags, image-dired-remove-tag)
19947 (image-dired-create-gallery-lists, image-dired-write-comments)
19948 (image-dired-get-comment, image-dired-mark-tagged-files)
19949 (image-dired-list-tags, image-dired-gallery-generate): Use it.
19950 (image-dired-gallery-generate): Use insert-file-contents.
19951
19952 * time.el (display-time-world-list, display-time-world-display):
19953 * time-stamp.el (time-stamp-string):
19954 * vc/add-log.el (add-change-log-entry): Use setenv instead of
19955 set-time-zone-rule (Bug#7337).
19956
19957 2011-08-08 Daiki Ueno <ueno@unixuser.org>
19958
19959 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
19960 (epg-error-to-string, epg-errors-to-string): New function.
19961 (epg-wait-for-completion): Reverse errors list.
19962 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
19963 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
19964 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
19965 (epg-sign-keys, epg-generate-key-from-file)
19966 (epg-generate-key-from-string): Format errors by using
19967 epg-errors-to-string (bug#9255).
19968 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
19969
19970 2011-08-07 Juri Linkov <juri@jurta.org>
19971
19972 * faces.el (list-faces-display): Remove extra angle bracket
19973 from `help-mode-map'.
19974
19975 * info.el (Info-history-toc-nodes): Doc fix.
19976
19977 * longlines.el (longlines-mode): Doc fix.
19978
19979 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
19980
19981 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
19982 of statements and in a few more cases (bug#9183).
19983
19984 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
19985 New functions.
19986 (cl-transform-lambda): Use them (bug#9239).
19987
19988 2011-08-05 Martin Rudalics <rudalics@gmx.at>
19989
19990 * window.el (display-buffer-same-window)
19991 (display-buffer-same-frame, display-buffer-other-window)
19992 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
19993 (pop-to-buffer-other-window)
19994 (pop-to-buffer-same-frame-other-window)
19995 (pop-to-buffer-other-frame): Make them defuns.
19996 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
19997
19998 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
19999
20000 * subr.el (make-composed-keymap): Move from C. Change calling
20001 convention, and improve docstring to bring attention to a subtle point.
20002 * minibuffer.el (completing-read-default): Adjust accordingly.
20003
20004 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
20005
20006 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
20007 (tramp-open-shell): Use `tramp-shell-quote-argument'.
20008
20009 * net/trampver.el: Update release number.
20010
20011 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
20012
20013 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
20014 "in" (bug#9190).
20015
20016 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20017
20018 * mail/sendmail.el (sendmail-query-once): Restore the current
20019 buffer after querying (bug#9074).
20020
20021 * dired.el (dired-flagged): Use different faces for marked and
20022 flagged files (bug#6117).
20023
20024 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
20025 (bug#4433).
20026
20027 * ido.el (ido-mode): Switch off the message if called
20028 non-interactively.
20029
20030 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
20031 before 587, since it appears that that's more likely to work for
20032 more people.
20033
20034 * cus-edit.el (custom-file): When running under emacs -q, always
20035 refuse to save the customizations, even if the .emacs file doesn't
20036 exist.
20037
20038 * info.el: Remove the `Info-beginning-of-buffer' function
20039 (bug#8325).
20040
20041 * net/network-stream.el (network-stream-open-starttls):
20042 Use `starttls-available-p' to see whether starttls.el can be used.
20043
20044 2011-08-01 Martin Rudalics <rudalics@gmx.at>
20045
20046 * window.el (display-buffer-in-window): Don't set dedicated status
20047 of window here (Bug#9215).
20048 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
20049 (display-buffer-pop-up-side-window)
20050 (display-buffer-in-side-window): Set dedicated status of window here.
20051
20052 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
20053
20054 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
20055 before binding generated-autoload-file.
20056
20057 2011-08-01 Deniz Dogan <deniz@dogan.se>
20058
20059 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
20060
20061 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
20062
20063 Sync with Tramp 2.2.2.
20064
20065 * net/trampver.el: Update release number.
20066
20067 2011-07-30 Juri Linkov <juri@jurta.org>
20068
20069 * dired-aux.el (dired-touch-initial): Remove function.
20070 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
20071 current time, and `default' to the last modification time of the
20072 current marked file (bug#6887).
20073
20074 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
20075
20076 * simple.el (goto-line): Use string-to-number to provide a
20077 numeric argument to read-number (bug#9163).
20078
20079 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
20080
20081 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
20082 connection process, it could be nil.
20083
20084 2011-07-27 Leo Liu <sdl.web@gmail.com>
20085
20086 Simplify url handling in rcirc-mode.
20087
20088 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
20089 (rcirc-browse-url-at-mouse): Remove.
20090 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
20091
20092 2011-07-26 Alan Mackenzie <acm@muc.de>
20093
20094 Fontify bitfield declarations properly.
20095
20096 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
20097 (c-symbol-chars): Now exported as a lang variable.
20098 (c-not-primitive-type-keywords): New lang variable.
20099
20100 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
20101 QT keyword "more" to prevent "more slots: ...." being spuriously
20102 parsed as a bitfield declaration.
20103
20104 * progmodes/cc-engine.el (c-beginning-of-statement-1):
20105 Refactor and enhance to handle bitfield declarations.
20106 (c-punctuation-in): New function.
20107 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
20108 declarations properly.
20109
20110 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
20111
20112 * calendar/icalendar.el (icalendar--all-events): Take care of
20113 multiple vcalendars in a single file.
20114 (icalendar--convert-float-to-ical): Checkdoc fixes.
20115
20116 2011-07-25 Deniz Dogan <deniz@dogan.se>
20117
20118 * image.el (insert-image): Clarifying docstring.
20119
20120 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
20121
20122 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
20123 `tramp-send-command-and-check' if there is no error.
20124 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
20125
20126 2011-07-22 Alan Mackenzie <acm@muc.de>
20127
20128 Prevent cc-langs.elc being loaded at run time.
20129
20130 * progmodes/cc-mode.el: Remove two autoload forms which loaded
20131 cc-langs.
20132
20133 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
20134 "(require 'cc-langs)". Quote a form so it will evaluate at
20135 (cc-mode's) compilation time.
20136
20137 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
20138
20139 * net/tramp.el (tramp-file-name-handler): Avoid recursive
20140 loading. (Bug#9114)
20141
20142 2011-07-21 Martin Rudalics <rudalics@gmx.at>
20143
20144 * window.el (display-buffer-pop-up-window)
20145 (display-buffer-pop-up-side-window)
20146 (display-buffer-in-side-window): Call display-buffer-set-height
20147 and display-buffer-set-width after setting the new window's
20148 buffer so `fit-window-to-buffer' and friends work on the right buffer.
20149
20150 2011-07-20 Sam Steingold <sds@gnu.org>
20151
20152 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
20153 (etags-tags-included-tables): Call `convert-standard-filename' on
20154 the file names contained in TAGS so that windows Emacs can handle
20155 TAGS files created by cygwin ctags.
20156
20157 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
20158
20159 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
20160 which apparently didn't work.
20161
20162 2011-07-19 Roland Winkler <winkler@gnu.org>
20163
20164 * proced.el (proced-send-signal): For *Marked Processes* buffer
20165 put point at beginning of buffer.
20166
20167 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
20168
20169 * proced.el (proced-format): Make header lines align with the text
20170 (bug#1779).
20171
20172 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
20173
20174 * view.el (view-buffer): Allow running in `special' modes if we're
20175 visiting a file (bug#8615).
20176
20177 2011-07-19 Martin Rudalics <rudalics@gmx.at>
20178
20179 * window.el (display-buffer-alist-of-strings-p)
20180 (display-buffer-alist-set-1, display-buffer-alist-set-2):
20181 New functions.
20182 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
20183 more accurately.
20184
20185 2011-07-18 Alan Mackenzie <acm@muc.de>
20186
20187 Fontify declarators properly when, e.g., a jit-lock chunk begins
20188 inside a declaration.
20189
20190 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
20191
20192 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
20193 New function.
20194 (c-complex-decl-matchers): Insert reference to
20195 c-font-lock-enclosing-decls.
20196
20197 * progmodes/cc-engine.el (c-backward-single-comment):
20198 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
20199 to nil around calls to (forward-comment -1).
20200
20201 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20202
20203 * image.el (put-image): Doc typo fix.
20204
20205 * progmodes/etags.el (tags-search): Doc typo fix.
20206
20207 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
20208 password if we get errors 550 to 554.
20209
20210 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
20211
20212 * net/gnutls.el (gnutls-log-level): Remove.
20213
20214 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
20215 indentation character (bug#6380).
20216
20217 * files.el (buffer-offer-save): Made permanently local (bug#6241).
20218
20219 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
20220 to clarify what the problem is (bug#4291).
20221
20222 * simple.el (current-kill): Clarify what
20223 `interprogram-paste-function' does (bug#7500).
20224 (auto-fill-mode): Document `auto-fill-function' in relation to
20225 `auto-fill-mode' (bug#2470).
20226
20227 2011-07-16 Lawrence Mitchell <wence@gmx.li>
20228
20229 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
20230 method if slot is read-only (bug#9035).
20231
20232 2011-07-16 Martin Rudalics <rudalics@gmx.at>
20233
20234 * frame.el (select-frame-set-input-focus): New argument NORECORD.
20235 * window.el (pop-to-buffer): Select window used even if it was
20236 selected before, see discussion of (Bug#8615), (Bug#6954).
20237 Pass argument NORECORD on to select-frame-set-input-focus.
20238
20239 2011-07-15 Glenn Morris <rgm@gnu.org>
20240
20241 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
20242 Respect help-form.
20243
20244 2011-07-09 Lawrence Mitchell <wence@gmx.li>
20245
20246 * net/gnutls.el (gnutls-min-prime-bits): New variable.
20247 (gnutls-negotiate): Use it.
20248
20249 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20250
20251 * net/gnutls.el (gnutls-negotiate):
20252 Upcase `gnutls-algorithm-priority'.
20253
20254 2011-07-15 Glenn Morris <rgm@gnu.org>
20255
20256 * jka-compr.el (jka-compr-verbose): Move from here...
20257 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
20258 Add missing :version tag.
20259 * info.el: No need to require jka-compr when compiling.
20260
20261 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20262
20263 * net/gnutls.el (gnutls-algorithm-priority): New variable.
20264 (gnutls-negotiate): Use it.
20265
20266 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
20267
20268 * info.el (Info-beginning-of-buffer): New command.
20269 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
20270 announcing `b' as the key (bug#8325).
20271 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
20272
20273 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
20274
20275 * international/mule-cmds.el
20276 (describe-specified-language-support): Make the error message
20277 clearer (bug#8905).
20278
20279 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
20280
20281 * isearch.el (isearch-barrier): Add a doc string, since it's
20282 mentioned in a function doc string (bug#8678).
20283
20284 2011-07-15 Martin Rudalics <rudalics@gmx.at>
20285
20286 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
20287 buffer argument (Bug#9083) and self-identifying label argument.
20288
20289 2011-07-15 Glenn Morris <rgm@gnu.org>
20290
20291 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
20292
20293 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20294
20295 * man.el (Man-fontify-manpage): Fix message when formatting the
20296 man page (bug#7929).
20297
20298 2011-07-14 Eli Zaretskii <eliz@gnu.org>
20299
20300 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
20301 argument LRM; if non-nil, append an invisible LRM character to the
20302 buffer name.
20303 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
20304 last argument non-nil, when formatting buffer names.
20305 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
20306 paragraph direction.
20307
20308 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20309
20310 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
20311 the man page name (bug#7929).
20312
20313 * image.el (put-image): Mention the `put-image' overlay property
20314 (bug#7834).
20315
20316 * scroll-bar.el (set-scroll-bar-mode): Mention that
20317 `scroll-bar-mode' lists the values (bug#7772).
20318
20319 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
20320 command (bug#7729).
20321
20322 * rect.el (apply-on-rectangle): Return the point after the last
20323 operation.
20324 (string-rectangle): Go to the point after the last operation
20325 (bug#7522).
20326
20327 * printing.el (pr-toggle-region): Clarify the documentation
20328 slightly (bug#7493).
20329
20330 * time.el (display-time-update):
20331 Allow `display-time-mail-function' to return nil (bug#7158).
20332 Fix suggested by Detlev Zundel.
20333
20334 * vc/diff.el (diff): Clarify the order the file names are read
20335 (bug#7111).
20336
20337 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
20338 the doc string (bug#7015).
20339
20340 * font-lock.el (font-lock-maximum-decoration): Mention what
20341 numeric levels mean (bug#6935).
20342
20343 * startup.el (initial-buffer-choice): Don't mention the `none'
20344 selection, which is against policy.
20345
20346 2011-07-14 Martin Rudalics <rudalics@gmx.at>
20347
20348 * window.el (display-buffer-normalize-special):
20349 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
20350
20351 2011-07-14 Eli Zaretskii <eliz@gnu.org>
20352
20353 * subr.el (version<, version<=, version=): Mention "-CVS" and
20354 "-12345" alpha version numbers.
20355
20356 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
20357
20358 * bindings.el: Add advertised binding for set-mark-command
20359 (Bug#5772).
20360
20361 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
20362
20363 * bindings.el (mode-line-other-buffer):
20364 * bookmark.el (bookmark-bmenu-2-window):
20365 * bs.el (bs-cycle-next, bs-cycle-previous):
20366 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
20367 switch-to-buffer.
20368
20369 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
20370 Delete.
20371
20372 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
20373
20374 * follow.el (follow-debug-message, follow-redisplay):
20375 * jka-cmpr-hook.el (with-auto-compression-mode):
20376 Fix typos in docstrings.
20377
20378 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20379
20380 * subr.el (with-silent-modifications): Clarify somewhat what the
20381 macro inhibits (bug#6525).
20382
20383 * simple.el (eval-expression): Note what it does if called
20384 interactively (bug#6495).
20385
20386 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
20387
20388 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
20389 Use pop-to-buffer buffer-or-name if it is nil.
20390
20391 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20392 Remove switch-to-buffer.
20393
20394 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20395
20396 * files.el (make-directory): Clarify that an error will be raised
20397 if there's an error (bug#6397).
20398
20399 * startup.el (initial-buffer-choice): Add `none' as a choice
20400 (bug#6234).
20401
20402 * subr.el (add-hook): Clarify section about buffer-local hooks
20403 (bug#6218).
20404
20405 * dired.el (dired-flagged): Clarify doc string (bug#6117).
20406
20407 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
20408
20409 * tabify.el (untabify): Preserve the current column so that point
20410 doesn't move (bug#6032).
20411
20412 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20413
20414 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
20415 Rewrite to avoid awkward possessive "s" (bug#5986).
20416
20417 2011-07-13 Glenn Morris <rgm@gnu.org>
20418
20419 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
20420 (dired-insert-directory): Give a message the first time
20421 if ls is found not to support --dired.
20422
20423 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20424
20425 * simple.el (toggle-truncate-lines): Clarify what is toggled
20426 (bug#5580). Text by Drew Adams.
20427
20428 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
20429
20430 * simple.el (blink-matching-open): Make the error message from the
20431 last change less verbose.
20432
20433 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
20434
20435 * font-lock.el (font-lock-comment-face): Use the high contrast
20436 "yellow" color for font-lock-comment-face on low color terminals
20437 using a dark background color (bug#4221).
20438
20439 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20440
20441 * dired.el (dired-insert-set-properties): Make the doc string
20442 reflect what it does now (bug#5325).
20443
20444 * simple.el (blink-matching-open): Say that we were unable to find
20445 the match within the limit, if we're limited (bug#5122).
20446
20447 * international/mule-cmds.el (prefer-coding-system): Add an
20448 example (bug#4869).
20449
20450 * progmodes/etags.el (tags-search): Document `file-list-form'
20451 (bug#4731).
20452
20453 2011-07-13 Lawrence Mitchell <wence@gmx.li>
20454
20455 * net/browse-url.el (browse-url-default-browser)
20456 (browse-url-browser-function): Make the default browser choice a
20457 bit more logical (bug#4300). Also clean up the doc string.
20458
20459 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
20460
20461 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
20462 binary endings (bug#4440).
20463
20464 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20465
20466 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
20467 which can be pretty annoying (bug#8971).
20468
20469 * jka-compr.el (jka-compr-verbose): New variable, and use
20470 throughout (bug#8971).
20471
20472 * info.el (Info-find-file): Fall back on the installation
20473 directory if we can't find the info node anywhere else.
20474
20475 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
20476
20477 * vc/vc.el (vc-revert-file):
20478 Don't set file time-stamp in the past. (Bug#5181)
20479
20480 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20481
20482 * files.el (after-find-file): Give a better error message when
20483 trying to find a symlink that points to a file that doesn't exist
20484 (bug#4398).
20485
20486 * progmodes/cc-vars.el: Remove (probably) misleading comment
20487 (bug#4396).
20488
20489 2011-07-12 Johan Bockgård <bojohan@gnu.org>
20490
20491 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
20492
20493 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
20494
20495 * mouse-sel.el: Hack restoring functionality, while keeping
20496 compatibility with 2010-07-03 changes to mouse selection.
20497 (mouse-sel-primary-overlay): New var.
20498 (mouse-sel-selection-alist): Use it.
20499 (mouse-sel-mode): Doc fix; remove points that are default features
20500 of mouse.el.
20501
20502 2011-07-12 Johan Bockgård <bojohan@gnu.org>
20503
20504 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20505 Fix previous fix (bug#2490).
20506
20507 2011-07-12 Roland Winkler <winkler@gnu.org>
20508
20509 * textmodes/bibtex.el (bibtex-initialize):
20510 Use pop-to-buffer-same-window.
20511 (bibtex-search-entries): Fix interactive call.
20512
20513 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20514
20515 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20516 Fontise bytecomp Error lines more correctly (bug#2490).
20517 Fix suggested by Johan Bockgård.
20518
20519 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
20520
20521 * dired-x.el (dired-guess-default): Use `delete-dups'.
20522
20523 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
20524
20525 * dired.el (dired-mark-prompt):
20526 * dired-aux.el (dired-read-shell-command): Doc fix.
20527
20528 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20529
20530 * mail/sendmail.el (sendmail-query-once):
20531 Use `customize-save-variable' unconditionally, now that it works under
20532 emacs -Q.
20533
20534 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
20535
20536 * cus-edit.el (custom-file): Take an optional no-error variable.
20537 (customize-save-variable): Set the variable, and give a warning if
20538 running under "emacs -q".
20539
20540 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
20541
20542 * loadhist.el (unload-feature-special-hooks):
20543 Add `auto-coding-functions', `fill-nobreak-predicate' and
20544 `find-directory-functions' (bug#5327).
20545
20546 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20547
20548 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
20549
20550 * cus-edit.el (custom-guess-name-alist): -alist variables should
20551 use the `alist' type (bug#3120). Suggested by Drew Adams.
20552
20553 * printing.el: Add documentation to all the `pr-toggle-' commands.
20554
20555 2011-07-11 Leo Liu <sdl.web@gmail.com>
20556
20557 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
20558 backends where it makes sense (bug#2623).
20559
20560 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20561
20562 * dired-x.el (dired-guess-default): Remove duplicate shell command
20563 entries (bug#2028).
20564 (dired-guess-default): Fix grammar in doc string (bug#2028).
20565 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
20566
20567 * subr.el (remove-duplicates): New conveniency function.
20568
20569 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
20570
20571 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
20572 (bug#1526).
20573
20574 2011-07-10 Martin Rudalics <rudalics@gmx.at>
20575
20576 * window.el (display-buffer-normalize-default): Don't invert
20577 meaning of even-window-heights. Reported by Eli Zaretskii
20578 <eliz@gnu.org>.
20579
20580 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
20581
20582 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
20583
20584 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
20585
20586 * window.el (display-buffer): Fix arguments to
20587 display-buffer-reuse-window in last change.
20588
20589 * faces.el (link): Use a less saturated blue on light backgrounds.
20590
20591 * startup.el (fancy-startup-text, fancy-about-text)
20592 (fancy-startup-tail): Use font-lock faces, for background safety.
20593
20594 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
20595
20596 * emulation/viper-cmd.el (viper-change-state-to-vi):
20597 Limit triggering of abbrev expansion (Bug#9038).
20598
20599 2011-07-09 Martin Rudalics <rudalics@gmx.at>
20600
20601 * window.el (display-buffer-default-specifiers): Remove.
20602 (display-buffer-macro-specifiers): Remove default specifiers.
20603 (display-buffer-alist): Default to nil.
20604 (display-buffer-reuse-window): New optional argument other-window.
20605 (display-buffer-pop-up-window): Allow splitting internal
20606 windows. Check whether a live window was created.
20607 (display-buffer-other-window-means-other-frame)
20608 (display-buffer-normalize-arguments): Rename to
20609 display-buffer-normalize-argument and rewrite. Set the
20610 other-window specifier.
20611 (display-buffer-normalize-special): New function.
20612 (display-buffer-normalize-options): Rename to
20613 display-buffer-normalize-default and rewrite.
20614 (display-buffer-normalize-options-inhibit): Remove.
20615 (display-buffer-normalize-specifiers): Rewrite.
20616 (display-buffer): Process other-window specifier and call
20617 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
20618 more faithfully.
20619 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
20620 (display-buffer-alist-set): Don't handle 'unset default values.
20621 (display-buffer-in-window, display-buffer-alist-set):
20622 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
20623 <tassilo@member.fsf.org>.
20624
20625 2011-07-09 Leo Liu <sdl.web@gmail.com>
20626
20627 * register.el (insert-register): Restore accidental change on
20628 2011-06-26. (Bug#9028)
20629
20630 2011-07-09 Glenn Morris <rgm@gnu.org>
20631
20632 * subr.el (remq): Handle the empty list. (Bug#9024)
20633
20634 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
20635
20636 * mail/sendmail.el (send-mail-function): No longer delay custom
20637 initialization.
20638 * custom.el (custom-initialize-delay): Doc fix.
20639
20640 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
20641
20642 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
20643
20644 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
20645
20646 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
20647 human-friendly prompt.
20648
20649 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
20650
20651 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
20652 provided by a particular plugin.
20653
20654 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
20655
20656 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
20657 save customizations (with "emacs -Q"), just set the variable
20658 instead of erroring out.
20659
20660 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
20661
20662 2011-07-08 Juri Linkov <juri@jurta.org>
20663
20664 * arc-mode.el (archive-zip-expunge, archive-zip-update)
20665 (archive-zip-update-case): Use 7z if found by `executable-find'.
20666 The order of searching the available programs is the same as in
20667 `archive-zip-extract' (bug#8968).
20668
20669 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20670
20671 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
20672 (menu-bar-options-menu): Tweak descriptions.
20673
20674 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
20675
20676 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
20677 menu items into verb phrases (bug#1421). Also refill to fit under
20678 80 columns.
20679
20680 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20681
20682 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
20683 (Info-read-node-name): Doc fix (Bug#1084).
20684
20685 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
20686 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
20687 (end-of-sexp, beginning-of-sexp)
20688 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
20689 (forward-symbol, forward-same-syntax, word-at-point)
20690 (sentence-at-point): Doc fix (Bug#1144).
20691
20692 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
20693
20694 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
20695 should cover it (bug#1281).
20696
20697 * cus-edit.el (custom-show): Mark as obsolete.
20698
20699 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
20700 negotiation fails, then possibly try again with a non-encrypted
20701 connection (bug#9017).
20702
20703 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
20704 be used.
20705
20706 2011-07-07 Richard Stallman <rms@gnu.org>
20707
20708 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
20709 property, and handle its changed format.
20710 Look for the correct line number.
20711 Use file's line contents (but not past first =) to find
20712 correct line in message.
20713
20714 2011-07-07 Kenichi Handa <handa@m17n.org>
20715
20716 * international/characters.el (build-unicode-category-table):
20717 Delete it.
20718 (unicode-category-table): Set it by unicode-property-table-internal.
20719
20720 * international/mule-cmds.el (char-code-property-alist): Move to
20721 to src/chartab.c.
20722 (get-char-code-property): Call unicode-property-table-internal to
20723 load a file. Call get-unicode-property-internal where necessary.
20724 (put-char-code-property): Call unicode-property-table-internal to
20725 load a file. Call put-unicode-property-internal where necessary.
20726 put-unicode-property-internal where necessary.
20727 (char-code-property-description):
20728 Call unicode-property-table-internal to load a file.
20729
20730 * international/charprop.el:
20731 * international/uni-bidi.el:
20732 * international/uni-category.el:
20733 * international/uni-combining.el:
20734 * international/uni-comment.el:
20735 * international/uni-decimal.el:
20736 * international/uni-decomposition.el:
20737 * international/uni-digit.el:
20738 * international/uni-lowercase.el:
20739 * international/uni-mirrored.el:
20740 * international/uni-name.el:
20741 * international/uni-numeric.el:
20742 * international/uni-old-name.el:
20743 * international/uni-titlecase.el:
20744 * international/uni-uppercase.el: Regenerate.
20745
20746 * loadup.el: Load international/charprop.el before
20747 international/characters.
20748
20749 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20750
20751 * window.el (next-buffer, previous-buffer): Signal an error if
20752 called from a minibuffer window.
20753
20754 * bindings.el: Revert 2011-07-04 change.
20755
20756 2011-07-06 Richard Stallman <rms@gnu.org>
20757
20758 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
20759 (rmail-mime-insert-bulk, rmail-mime-insert-text):
20760 Treat markers like ints.
20761 (rmail-mime-entity): Doc fix.
20762
20763 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20764
20765 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
20766 defcustom again for backwards compatibility.
20767
20768 * simple.el (shell-command-on-region): Fill.
20769
20770 * dired-aux.el (dired-kill-line): Add a doc string.
20771
20772 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
20773 to "\\sw\\|\\s_" (bug#358).
20774
20775 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
20776 (dired-unmark-backward): Ditto.
20777 (dired-flag-backup-files): Ditto.
20778
20779 * dired-x.el (dired-mark-sexp): Ditto.
20780
20781 2011-07-06 Richard Stallman <rms@gnu.org>
20782
20783 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
20784 (rmail-mime-entity): New arg TRUNCATED.
20785 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
20786 New functions.
20787 (rmail-mime-save): Warn if entity is truncated.
20788 (rmail-mime-toggle-hidden): Likewise, for showing.
20789 (rmail-mime-process-multipart): Record when an entity is truncated.
20790
20791 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
20792 if ENTITY is a string.
20793
20794 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20795
20796 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
20797 of faces when `M-C-x'-ing their definitions (bug#8378).
20798 Also clean up the code slightly.
20799
20800 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
20801 because that makes the colors go away.
20802
20803 * mail/sendmail.el (send-mail-function): Change the default to
20804 `sendmail-query-once'.
20805 (sendmail-query-once): Add an autoload cookie.
20806
20807 * net/network-stream.el (network-stream-open-starttls): Try using
20808 a plain connection even if the server offered STARTTLS, and we
20809 kinda wanted to use it, if Emacs doesn't have any STARTTLS
20810 capability. This should make smtpmail.el work in slightly more
20811 configurations.
20812
20813 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
20814
20815 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
20816 New defun.
20817 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
20818
20819 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
20820
20821 * progmodes/sql.el: Version 3.0
20822 (sql-product-alist): Add product :completion-object,
20823 :completion-column, and :statement attributes.
20824 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
20825 (sql-mode-syntax-table): Mark all punctuation.
20826 (sql-font-lock-keywords-builder): Temporarily remove fallback on
20827 ansi keywords.
20828 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
20829 (sql-mode-oracle-font-lock-keywords): Improve.
20830 (sql-oracle-show-reserved-words): New function for development.
20831 (sql-product-font-lock): Simplify for source code buffers.
20832 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
20833 New functions.
20834 (sql-highlight-product): Set product specific syntax table.
20835 (sql-mode-map): Add statement movement functions.
20836 (sql-ansi-statement-starters, sql-oracle-statement-starters):
20837 New variable.
20838 (sql-statement-regexp, sql-beginning-of-statement)
20839 (sql-end-of-statement, sql-signum): New functions.
20840 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
20841 (sql-show-sqli-buffer): Bug fix.
20842 (sql-interactive-mode): Store connection data as buffer local.
20843 (sql-connect): Add NEW-NAME parameter. Redesign interaction
20844 with sql-interactive-mode.
20845 (sql-save-connection): Save buffer local settings.
20846 (sql-connection-menu-filter): Change menu entry name.
20847 (sql-product-interactive): Bug fix.
20848 (sql-preoutput-hold): New variable.
20849 (sql-interactive-remove-continuation-prompt): Bug fixes.
20850 (sql-debug-redirect): New variable.
20851 (sql-str-literal): New function.
20852 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
20853 Redesign.
20854 (sql-oracle-save-settings, sql-oracle-restore-settings)
20855 (sql-oracle-list-all, sql-oracle-list-table): New functions.
20856 (sql-completion-object, sql-completion-column)
20857 (sql-completion-sqlbuf): New variables.
20858 (sql-build-completions-1, sql-build-completions)
20859 (sql-try-completion): New functions.
20860 (sql-read-table-name): Use them.
20861 (sql-contains-names): New buffer local variable.
20862 (sql-list-all, sql-list-table): Use it.
20863 (sql-oracle-completion-types): New variable.
20864 (sql-oracle-completion-object, sql-sqlite-completion-object)
20865 (sql-postgres-completion-object): New functions.
20866
20867 2011-07-06 Glenn Morris <rgm@gnu.org>
20868
20869 * window.el (pop-to-buffer): Doc fix.
20870
20871 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
20872
20873 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
20874
20875 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
20876
20877 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
20878
20879 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
20880
20881 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
20882
20883 * button.el (button): Inherit from link face. Suggested by Dan
20884 Nicolaescu.
20885
20886 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20887
20888 * progmodes/gdb-mi.el: Fit in 80 columns.
20889 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
20890 switch-to-buffer.
20891
20892 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
20893 if imenu is simply not configured (bug#8941).
20894
20895 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
20896
20897 * allout.el (allout-post-undo-hook): New allout outline-change
20898 event hook to signal undo activity.
20899 (allout-post-command-business): Run allout-post-undo-hook if an
20900 undo just occurred.
20901 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
20902 * allout-widgets.el (allout-widgets-after-undo-function):
20903 Ensure the integrity of the current item's decoration after it has been
20904 in the vicinity of an undo.
20905 (allout-widgets-mode): Include allout-widgets-after-undo-function
20906 on the new allout-post-undo-hook.
20907
20908 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20909
20910 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
20911 Let define-derived-mode define it.
20912 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
20913 cycles of abbrev-table inheritance (bug#8998).
20914
20915 2011-07-05 Roland Winkler <winkler@gnu.org>
20916
20917 * textmodes/bibtex.el: Add support for biblatex.
20918 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
20919 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
20920 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
20921 (bibtex-entry-alist, bibtex-field-alist): New variables.
20922 (bibtex-entry-field-alist): Obsolete alias for
20923 bibtex-BibTeX-entry-alist.
20924 (bibtex-entry-alist, bibtex-field-alist): New widgets.
20925 (bibtex-set-dialect): New command.
20926 (bibtex-entry-type, bibtex-entry-head)
20927 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
20928 Bind via bibtex-set-dialect.
20929 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
20930 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
20931 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
20932 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
20933 Define via bibtex-set-dialect.
20934 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
20935 Obey bibtex-no-opt-remove-re.
20936 (bibtex-vec-push, bibtex-vec-incr): New functions.
20937 (bibtex-format-entry, bibtex-field-list)
20938 (bibtex-print-help-message, bibtex-validate)
20939 (bibtex-search-entries): Use new format of bibtex-entry-alist.
20940
20941 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20942
20943 * progmodes/compile.el (compilation-goto-locus):
20944 * net/tramp-cmds.el (tramp-append-tramp-buffers):
20945 * bs.el (bs-cycle-next, bs-cycle-previous):
20946 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
20947 * bindings.el (mode-line-other-buffer):
20948 * autoinsert.el (auto-insert):
20949 * arc-mode.el (archive-extract):
20950 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
20951
20952 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20953
20954 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
20955 Fix check of `emacs-lock-unlockable-modes'.
20956 Coerce true values of `emacs-lock--try-unlocking' to t.
20957
20958 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20959
20960 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
20961 * emacs-lock.el: New file.
20962
20963 2011-07-05 Julien Danjou <julien@danjou.info>
20964
20965 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
20966 than `boundp' to check if face is set.
20967
20968 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20969
20970 * register.el (registerv-make):
20971 * window.el (window-min-height): Fix typos in docstrings.
20972
20973 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
20974
20975 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
20976 Update doc string.
20977
20978 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
20979
20980 * server.el (server-execute): Catch quit and call
20981 `server-return-error' to pass the error back to emacsclient and
20982 close the connection (bug#8942).
20983
20984 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
20985
20986 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
20987 insecure exception for current topic. Also note that auto-saves
20988 are handled differently.
20989
20990 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
20991 State variables for tracking auto-save inhibition situation.
20992
20993 (allout-write-contents-hook-handler): Rename from
20994 'allout-write-file-hook-handler', and describe how it depends on
20995 write-contents-functions sensitivity to non-nil value to prevent
20996 file write.
20997
20998 (allout-auto-save-hook-handler): Remove. auto-save does not check
20999 this in individual buffers, only in the starting buffer, so this
21000 is not the right way for us to inhibit auto-save in a buffer
21001 according to its condition.
21002
21003 (allout-mode): Use new allout-write-contents-hook-handler, and
21004 only with write-contents-functions. Remove auto-save provisions -
21005 they're implemented elsewhere.
21006
21007 (allout-before-change-handler): If undo is in progress, note that
21008 for attention of allout-post-command-business.
21009
21010 (allout-post-command-business): If the command we're following was
21011 an undo, check for change in the status of encrypted items and
21012 adjust auto-save inhibitions accordingly.
21013
21014 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
21015 according to whether there are or aren't any plain-text topics
21016 pending encryption.
21017
21018 (allout-inhibit-auto-save-info-for-decryption):
21019 Adjust buffer-saved-size and some allout state to inhibit auto-saves
21020 if there are plain-text topics pending encryption.
21021
21022 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
21023 buffer-saved-size and some allout state to not inhibit auto-saves
21024 if there are no longer any plain-text topics pending encryption.
21025
21026 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
21027 No longer provide for exemption of the current topic.
21028
21029 2011-07-04 Juri Linkov <juri@jurta.org>
21030
21031 Add 7z operations to delete and save changed members (bug#8968).
21032 * arc-mode.el (archive-7z-expunge, archive-7z-update):
21033 New defcustoms.
21034 (archive-7z-write-file-member): New function.
21035 (archive-7z-summarize): Fix the number of dashes in the
21036 listing output.
21037
21038 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
21039
21040 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
21041 (bug#8958).
21042
21043 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
21044
21045 * bindings.el: Ignore next-buffer and previous-buffer in
21046 minibuffer-local-map.
21047
21048 * font-lock.el (font-lock-builtin-face): Change light background
21049 color to dark slate blue (Bug#6693).
21050
21051 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
21052
21053 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
21054
21055 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
21056
21057 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
21058 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21059 Add switch-to-buffer.
21060
21061 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
21062
21063 * isearch.el (isearch-search-fun-function): Clarify further the
21064 meaning of the function returned.
21065
21066 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
21067
21068 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
21069
21070 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
21071 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
21072 Use it.
21073 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
21074 `tramp-default-remote-path' does not exist.
21075 (tramp-send-command-and-read): New optional argument NOERROR.
21076 (tramp-open-connection-setup-interactive-shell)
21077 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
21078 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
21079 (tramp-process-sentinel): Flush also process' connection property.
21080 (tramp-sh-handle-start-file-process): Do not set process
21081 sentinel. It is done now ...
21082 (tramp-maybe-open-connection): ... here. (Bug#8929)
21083
21084 2011-07-04 MON KEY <monkey@sandpframing.com>
21085
21086 * play/animate.el (animate-string): Doc fixes and allow changing
21087 the buffer name (bug#5417).
21088
21089 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
21090
21091 * play/animate.el (animation-buffer-name): Rename from *animate*.
21092
21093 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
21094
21095 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
21096 This is simpler and helps future-proof the code.
21097 (timer-until): Use time-subtract and float-time.
21098 (timer--time-less-p): Use time-less-p.
21099
21100 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
21101
21102 * type-break.el (timep): Use the value of `float-time' to avoid a
21103 byte-compiler warning.
21104
21105 * server.el (server-eval-and-print): Return any result, even nil.
21106
21107 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
21108
21109 * type-break.el: Accept time formats that the builtins accept.
21110 (timep, type-break-time-difference): Accept any format that
21111 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
21112 This is simpler and helps future-proof the code.
21113 (type-break-time-difference): Round rather than ignoring
21114 subseconds components.
21115
21116 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21117
21118 * info.el (Info-apropos-matches): Make non-interactive, since it
21119 doesn't seem to do anything useful as a command (bug#8829).
21120
21121 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
21122
21123 * frame.el (frame-background-mode, frame-set-background-mode):
21124 Move from faces.el.
21125 (frame-default-terminal-background): New function.
21126
21127 * custom.el (custom-push-theme): Don't record faces in `changed'
21128 theme; this doesn't work correctly for per-frame face settings.
21129 (disable-theme): Use face-set-after-frame-default to reset faces.
21130 (custom--frame-color-default): New function.
21131
21132 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21133
21134 * dired.el (dired-flagging-regexp): Remove unused variable
21135 (bug#8769).
21136
21137 2011-03-29 Kevin Ryde <user42@zip.com.au>
21138
21139 * progmodes/compile.el (compilation-error-regexp-alist-alist):
21140 `perl-Test2' extend to match possible "fail #N" rep count
21141 (bug#8377).
21142
21143 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21144
21145 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
21146 `smtpmail-via-smtp' now returns the error instead of nil.
21147
21148 * isearch.el (isearch-search-fun-function): Clarify the doc string
21149 (bug#8101).
21150
21151 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
21152
21153 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
21154 unnecessary spaces (bug#8987).
21155
21156 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21157
21158 * net/network-stream.el (open-network-stream): Use the
21159 :end-of-capability command thoughout.
21160
21161 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
21162
21163 * net/network-stream.el (open-network-stream): Add the
21164 :end-of-capability command parameter, used by pop3.el.
21165
21166 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21167
21168 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
21169
21170 * fringe.el (fringe-query-style): Remove redundant text " (type ?
21171 for list)" (bug#6475).
21172
21173 * files.el (file-expand-wildcards): Ignore non-readable
21174 sub-directories while trying to find matches instead of signaling
21175 an error (bug#6297).
21176
21177 * man.el (Man-reference-regexp): Allow matching possible
21178 word-wrapped references (bug#6289).
21179
21180 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
21181 for consistency with the other vc buffers (bug#6197).
21182 (vc-checkin): Ditto.
21183
21184 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
21185
21186 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
21187
21188 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21189
21190 * custom.el (defcustom): Clarify that :set is only used in the
21191 Customize user interface (bug#6089).
21192
21193 * progmodes/flymake.el (flymake-mode): If the buffer isn't
21194 associated with a file, refuse to run instead of erroring out
21195 (bug#6084).
21196
21197 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
21198 the doc string, since it appears that using `fill-column' always
21199 controls the width (bug#7845).
21200
21201 * simple.el (shell-command-on-region): Say where the error output
21202 went if `shell-command-default-error-buffer' is set (bug#6857).
21203
21204 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
21205
21206 * allout.el (allout-yank-processing): Adjust cursor position for
21207 backwards-deleted space.
21208
21209 (allout-rebullet-heading): Register changes with
21210 allout-exposure-changed-hook, so the modified topic is properly
21211 decorated.
21212
21213 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21214
21215 * minibuffer.el (completion-in-region): Document PREDICATE
21216 (bug#7136).
21217
21218 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
21219 of keyword/argument pairs (bug#6904).
21220
21221 * replace.el (multi-occur):
21222 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
21223
21224 2011-07-02 Drew Adams <drew.adams@oracle.com>
21225
21226 * dired.el (dired-mark-if): Make the message about whether it's
21227 marking or unmarking clearer (bug#8523).
21228
21229 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21230
21231 * disp-table.el (display-table-print-array): New function.
21232 (describe-display-table): Use it to print the vectors more pretty
21233 (Bug#8859).
21234
21235 2011-07-02 Martin Rudalics <rudalics@gmx.at>
21236
21237 * window.el (window-state-get-1): Don't assign clone numbers.
21238 Add clone-of item to list of window parameters.
21239 (window-state-put-2): Don't process clone numbers.
21240 (display-buffer-alist): Fix doc-string.
21241
21242 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
21243
21244 * subr.el (remq): Don't allocate if it's not needed.
21245 (keymap--menu-item-binding, keymap--menu-item-with-binding)
21246 (keymap--merge-bindings): New functions.
21247 (keymap-canonicalize): Use them to refine the canonicalization.
21248 * minibuffer.el (minibuffer-local-completion-map)
21249 (minibuffer-local-must-match-map): Move initialization from C.
21250 (minibuffer-local-filename-completion-map): Move initialization from C;
21251 don't inherit from anything here.
21252 (minibuffer-local-filename-must-match-map): Make obsolete.
21253 (completing-read-default): Use make-composed-keymap to combine
21254 minibuffer-local-filename-completion-map with either
21255 minibuffer-local-must-match-map or
21256 minibuffer-local-filename-completion-map.
21257
21258 2011-07-01 Glenn Morris <rgm@gnu.org>
21259
21260 * type-break.el (type-break-time-sum): Use dolist.
21261
21262 * textmodes/flyspell.el (flyspell-word-search-backward):
21263 Replace CL function.
21264
21265 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21266
21267 * mouse.el (mouse--strip-first-event): New function.
21268 (function-key-map): Use it to map fringe clicks to normal clicks
21269 by default.
21270
21271 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
21272 (vc-bzr-revision-completion-table): Add support for annotate and date.
21273
21274 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
21275 inherit from parent.
21276
21277 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
21278
21279 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
21280 (dired-show-file-type): Doc fixup (bug#8818).
21281
21282 * dired.el (dired-mode): Fix up the doc string as suggested by
21283 Drew Adams (bug#8817).
21284
21285 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
21286 cookie, since the manual says that it should be possible to add
21287 this function to `find-file-hook' (bug#8709).
21288
21289 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
21290
21291 * progmodes/cfengine.el: Moved all cfengine3.el functionality
21292 here. Noted Ted Zlatanov as the maintainer.
21293 (cfengine-common-settings, cfengine-common-syntax): New functions
21294 to set up common things between `cfengine-mode' and
21295 `cfengine3-mode'.
21296 (cfengine3-mode): New mode.
21297 (cfengine3-defuns cfengine3-defuns-regex
21298 (cfengine3-class-selector-regex cfengine3-category-regex)
21299 (cfengine3-vartypes cfengine3-font-lock-keywords)
21300 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
21301 (cfengine3-indent-line): Add from cfengine3.el.
21302
21303 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
21304
21305 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
21306
21307 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
21308
21309 2011-07-01 Martin Rudalics <rudalics@gmx.at>
21310
21311 * window.el (same-window-buffer-names, same-window-regexps)
21312 (same-window-p, special-display-frame-alist)
21313 (special-display-popup-frame, special-display-function)
21314 (special-display-buffer-names, special-display-regexps)
21315 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
21316 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21317 (split-window-preferred-function, split-height-threshold)
21318 (split-width-threshold, even-window-heights)
21319 (display-buffer-mark-dedicated, window-splittable-p)
21320 (split-window-sensibly, window-safely-shrinkable-p):
21321 Un-obsolete.
21322 (display-buffer): Don't spread args with function specifier
21323 because special-display-popup-frame won't like it.
21324
21325 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
21326
21327 Time-stamp simplifications and fixes.
21328 These improve accuracy slightly, and future-proof the code
21329 against some potential changes to current-time format.
21330
21331 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
21332 by using time-since and float-time.
21333
21334 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
21335 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
21336 + NNN microseconds".
21337
21338 * type-break.el (type-break-time-sum): Rewrite using time-add.
21339
21340 * play/hanoi.el (hanoi-current-time-float): Remove.
21341 All uses replaced by float-time.
21342
21343 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
21344 This yields a more-accurate answer.
21345 (rng-time-to-float): Remove; no longer needed.
21346
21347 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
21348
21349 * calendar/timeclock.el (timeclock-seconds-to-time):
21350 Defalias to seconds-to-time, since they're the same thing.
21351
21352 * emacs-lisp/elp.el (elp-elapsed-time):
21353 * emacs-lisp/benchmark.el (benchmark-elapse):
21354 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
21355
21356 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21357
21358 * window.el (bury-buffer): Don't iconify the only frame.
21359 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
21360 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
21361
21362 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
21363
21364 * eshell/em-smart.el (eshell-smart-display-navigate-list):
21365 Add mouse-yank-primary.
21366
21367 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
21368
21369 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
21370
21371 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21372
21373 * emacs-lisp/find-func.el (find-library--load-name): New fun.
21374 (find-library-name): Use it to find relative load names when provided
21375 absolute file name (bug#8803).
21376
21377 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
21378
21379 * textmodes/flyspell.el (flyspell-word): Consider words that
21380 differ only in case as potential doublons (bug#5687).
21381
21382 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
21383 Remove two rather uninteresting debugging-like messages to make
21384 debbugs.el more silent.
21385
21386 * comint.el (comint-password-prompt-regexp): Accept "Response" as
21387 a password-like phrase.
21388
21389 2011-06-30 Masatake YAMATO <yamato@redhat.com>
21390
21391 * progmodes/cc-guess.el: New file.
21392
21393 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
21394
21395 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
21396 derived from `c-basic-common-init'.
21397
21398 * progmodes/cc-mode.el (top-level): Require cc-guess.
21399 (c-basic-common-init): Use `cc-choose-style-for-mode'.
21400
21401 2011-06-30 Lawrence Mitchell <wence@gmx.li>
21402
21403 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
21404
21405 2011-06-30 Alan Mackenzie <acm@muc.de>
21406
21407 * progmodes/cc-engine.el (c-guess-continued-construct):
21408 Correct the handling of template-args-cont, particularly for when font
21409 lock is disabled. Name this case as "CASE G".
21410
21411 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
21412
21413 * allout.el (allout-yank-processing): Fix injection of extra space
21414 between bullet and non-whitespace character in first topic when
21415 pasting, ensuring that the actual spacing in the pasted topic
21416 following the bullet char is preserved. This extra space was
21417 causing pasted encrypted topics to get a decrypted status even
21418 when the content was actually still encrypted. Now the decryption
21419 status from before the paste is preserved.
21420
21421 (allout-flag-region): Set all allout overlays so they evaporate
21422 when reduced to zero length (evanescent), to prevent overlay
21423 leakage.
21424
21425 2011-06-30 Glenn Morris <rgm@gnu.org>
21426
21427 * w32-fns.el (w32-charset-info-alist): Declare.
21428
21429 * find-dired.el (find-grep-options): Simplify.
21430
21431 * term/ns-win.el (ns-set-resource): Declare.
21432
21433 * ses.el (row, col): Declare dynamic variables honestly.
21434
21435 * textmodes/reftex-parse.el (index-tags): Declare.
21436
21437 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
21438
21439 * cus-edit.el (customize-push-and-save): New function.
21440
21441 * files.el (hack-local-variables-confirm): Use it.
21442
21443 * custom.el (load-theme): New arg NO-CONFIRM.
21444 Use customize-push-and-save (Bug#8720).
21445 (custom-enabled-themes): Doc fix.
21446
21447 * cus-theme.el (customize-create-theme)
21448 (custom-theme-merge-theme): Callers to load-theme changed.
21449
21450 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
21451
21452 * thingatpt.el (thing-at-point-short-url-regexp): Require that
21453 short URLs have at least one dot in them (bug #7614).
21454
21455 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
21456 nil, because using a pty is apparently too slow (bug #895).
21457
21458 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
21459
21460 * mail/sendmail.el (sendmail-query-once): New function.
21461 (sendmail-query-once-function): New variable.
21462
21463 2011-06-29 Glenn Morris <rgm@gnu.org>
21464
21465 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
21466
21467 * ses.el (top-level): Require cl when compiling.
21468 (ses-set-localvars): Fix error statement.
21469 Call it at compile time to silence a storm of warnings.
21470
21471 2011-06-29 Martin Rudalics <rudalics@gmx.at>
21472
21473 * window.el (normalize-live-buffer): Rename to
21474 window-normalize-buffer.
21475 (normalize-live-frame): Rename to window-normalize-frame.
21476 (normalize-any-window): Rename to window-normalize-any-window.
21477 (normalize-live-window): Rename to window-normalize-live-window.
21478 (make-window-atom): Rename to window-make-atom.
21479 (window-resize-reset): Rename to window--resize-reset.
21480 (window-resize-reset-1): Rename to window--resize-reset-1.
21481 (resize-mini-window): Rename to window--resize-mini-window.
21482 (resize-subwindows-skip-p): Rename to
21483 window--resize-subwindows-skip-p.
21484 (resize-subwindows-normal): Rename to
21485 window--resize-subwindows-normal.
21486 (resize-subwindows): Rename to window--resize-subwindows.
21487 (resize-other-windows): Rename to window--resize-siblings.
21488 (resize-this-window): Rename to window--resize-this-window.
21489 (resize-root-window): Rename to window--resize-root-window.
21490 (resize-root-window-vertically): Rename to
21491 window--resize-root-window-vertically.
21492 (normalize-buffer-to-display): Rename to
21493 window-normalize-buffer-to-display.
21494 (normalize-buffer-to-switch-to): Rename to
21495 window-normalize-buffer-to-switch-to.
21496 Correspondingly update all callers of the functions listed
21497 above.
21498 (display-buffer-alist, display-buffer-normalize-arguments)
21499 (display-buffer-normalize-options, display-buffer)
21500 (display-buffer-alist-set): Use "function" instead of
21501 "fun-with-args".
21502
21503 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
21504
21505 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
21506 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
21507 debbugs.gnu.org. Mention acknowledgment email.
21508
21509 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
21510
21511 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
21512 buffer multibyteness, since it shouldn't matter.
21513
21514 2011-06-28 Martin Rudalics <rudalics@gmx.at>
21515
21516 * window.el (display-buffer-in-side-window): Handle dedicated
21517 windows as in display-buffer-reuse-window.
21518 (display-buffer-normalize-alist): Use value of override
21519 specifier.
21520 (display-buffer-normalize-specifiers): Use value of
21521 other-window-means-other-frame specifier.
21522 (display-buffer-alist): Rewrite some texts in widgets.
21523 (display-buffer): Spread arguments when calling function
21524 specified by fun-with-args.
21525
21526 2011-06-28 Deniz Dogan <deniz@dogan.se>
21527
21528 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
21529 Unnest `let'.
21530
21531 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
21532 selectors (Bug#5732).
21533 (css-proprietary-nmstart-re): Use `regexp-opt'.
21534
21535 2011-06-27 Jari Aalto <jari.aalto@cante.net>
21536
21537 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
21538 (eshell-ls-date-format): New defcustom.
21539 (eshell-ls-file): Use it.
21540
21541 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
21542
21543 * help-fns.el (describe-variable): Fix message for terminal-local vars.
21544
21545 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
21546
21547 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
21548 (ange-ftp-make-tmp-name): New arg.
21549 (ange-ftp-file-local-copy): Use it.
21550
21551 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
21552
21553 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
21554 no-conversion (Bug#8870).
21555
21556 2011-06-27 Martin Rudalics <rudalics@gmx.at>
21557
21558 * window.el (window-right, window-left, window-child)
21559 (window-child-count, window-last-child)
21560 (window-iso-combination-p, walk-window-tree-1)
21561 (window-atom-check-1, window-tree-1, delete-window)
21562 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
21563 new naming conventions - window-vchild, window-hchild,
21564 window-next and window-prev are now called window-top-child,
21565 window-left-child, window-next-sibling and window-prev-sibling
21566 respectively.
21567 (resize-window-reset): Rename to window-resize-reset.
21568 (resize-window-reset-1): Rename to window-resize-reset-1.
21569 (resize-window): Rename to window-resize.
21570 (window-min-height, window-min-width)
21571 (resize-mini-window, resize-this-window, resize-root-window)
21572 (resize-root-window-vertically, adjust-window-trailing-edge)
21573 (enlarge-window, shrink-window, maximize-window)
21574 (minimize-window, delete-window, quit-restore-window)
21575 (split-window, balance-windows, balance-windows-area-adjust)
21576 (balance-windows-area, window-state-put-2)
21577 (display-buffer-even-window-sizes, display-buffer-set-height)
21578 (display-buffer-set-width, set-window-text-height)
21579 (fit-window-to-buffer): Rename all "resize-window" prefixed
21580 calls to use the "window-resize" prefix convention.
21581 (display-buffer-alist): Fix symbol for label specifier.
21582 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
21583 corresponding specifier.
21584 Reported by Juanma Barranquero <lekktu@gmail.com>.
21585
21586 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
21587
21588 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
21589 convention.
21590 (ses-call-printer): Does not pass an empty string to formatter when the
21591 cell is empty to keep from barking printer Calc math-format-value.
21592
21593 2011-06-27 Richard Stallman <rms@gnu.org>
21594
21595 * battery.el (battery-mode-line-limit): New variable.
21596 (battery-update): Handle it.
21597
21598 * mail/rmailmm.el (rmail-mime-process-multipart):
21599 Handle truncated messages.
21600
21601 2011-06-27 Glenn Morris <rgm@gnu.org>
21602
21603 * progmodes/flymake.el (flymake-err-line-patterns):
21604 Allow for column numbers in the ant/javac pattern. (Bug#8866)
21605
21606 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
21607
21608 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
21609 (ses--clean-!, ses--clean-_): New functions.
21610 (ses-range): Add configurability of readout order, and conversion
21611 to Calc vector.
21612
21613 * ses.el (ses-repair-cell-reference-all): New function.
21614 (ses-cell-symbol): Set macro as safe, so that it can be used in
21615 formulas.
21616
21617 * ses.el: Update cycle detection algorithm.
21618 (ses-localvars): Add ses--Dijkstra-attempt-nb and
21619 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
21620 (ses-set-localvars): New function.
21621 (ses-make-cell): Add property-list as a cell element.
21622 (ses-cell-property-get-fun, ses-cell-property-get)
21623 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
21624 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
21625 New functions.
21626 (ses-cell-property-set, ses-cell-property-pop)
21627 (ses-cell-property-get-handle): New macro.
21628 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
21629 New aliases, used for code readability.
21630 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
21631 cycle detection.
21632 (ses-self-reference-early-detection): New defcustom.
21633 (ses-formula-references): Robustify against self-referring cells.
21634 (ses-mode): Use ses-set-localvars.
21635 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
21636 before lauching the update processing.
21637 (ses-initialize-Dijkstra-attempt): New function.
21638 (ses-recalculate-cell): Update for cycle detection based on
21639 Dijkstra algorithm.
21640
21641 * ses.el: Fix commenting and indenting convention.
21642
21643 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
21644
21645 * bs.el (bs-cycle-next): Complete last change.
21646
21647 2011-06-27 Drew Adams <drew.adams@oracle.com>
21648
21649 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
21650
21651 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
21652
21653 * net/network-stream.el (network-stream-open-starttls):
21654 Don't re-get capabilities unless we've reestablished connection.
21655 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
21656
21657 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
21658 to binary to possibly avoid line encoding issues on Windows (among
21659 other things).
21660
21661 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
21662
21663 * net/network-stream.el (open-network-stream): Return an :error
21664 saying what the problem was, if possible.
21665
21666 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
21667 server.
21668
21669 * net/network-stream.el (network-stream-open-starttls): If we
21670 wanted to use STARTTLS, and the server offered it, but we weren't
21671 able to because we had no STARTTLS support, then close the connection.
21672 (open-network-stream): Return an :error element, if present.
21673
21674 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
21675
21676 * hl-line.el (hl-line-sticky-flag): Doc fix.
21677 (global-hl-line-sticky-flag): New option (Bug#8323).
21678 (global-hl-line-highlight): Obey it.
21679
21680 * vc/vc.el (vc-revert-show-diff): Default to t.
21681
21682 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
21683
21684 * allout-widgets.el (allout-widgets-post-command-business):
21685 Stop decorating intermediate isearch matches. They're not being
21686 undecorated when an isearch is continued past, and isearch
21687 automatically collapses them. This leads to "widget leaks", where
21688 decorated items accumulate in collapsed areas. Lines with lots of
21689 hidden widgets can slow down cursor travel, substantially.
21690 Too much complicated machinery would be needed to ensure undecoration,
21691 so we're doing without this nicety.
21692
21693 (allout-widgets-tally-string): Don't try to do a hash-table-count
21694 of allout-widgets-tally when it's nil. This eliminates spurious "Error
21695 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
21696 *Messages* when allout-widgets-maintain-tally is t.
21697
21698 2011-06-26 Martin Rudalics <rudalics@gmx.at>
21699
21700 * window.el (display-buffer-normalize-argument): Rename to
21701 display-buffer-normalize-arguments. Handle special meaning of
21702 LABEL argument. Respect special-display-function when popping up
21703 a new frame. Fix code searching for a window showing the buffer
21704 on another frame.
21705 (display-buffer-normalize-specifiers):
21706 Call display-buffer-normalize-arguments.
21707 (display-buffer-in-window): Don't undedicate the window if its
21708 buffer remains the same.
21709 Reported by Drew Adams <drew.adams@oracle.com>.
21710 (display-buffer-alist): Add choice for same-window macro
21711 specfier.
21712 (display-buffer): Mention special meaning of LABEL argument in
21713 doc-string. Fix quoting. Don't pop up a new frame even as
21714 fallback.
21715
21716 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
21717
21718 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
21719 avoid deleting the current window in some cases (bug#8911).
21720
21721 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
21722
21723 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
21724 (Bug#8934)
21725
21726 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
21727
21728 * net/network-stream.el (network-stream-open-starttls):
21729 Use built-in TLS support if `gnutls-available-p' is true.
21730 (network-stream-open-tls): Ditto.
21731
21732 2011-06-26 Leo Liu <sdl.web@gmail.com>
21733
21734 * register.el (registerv): New struct.
21735 (registerv-make): New function.
21736 (jump-to-register, describe-register-1, insert-register):
21737 Support the jump-func, print-func and insert-func slot of a registerv
21738 struct. (Bug#8415)
21739
21740 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
21741
21742 * vc/vc.el (vc-revert-show-diff): New defcustom.
21743 (vc-diff-internal): New arg specifying diff buffer.
21744 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
21745 reuse an existing *vc-diff* buffer (Bug#8927).
21746
21747 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
21748
21749 2011-06-26 Glenn Morris <rgm@gnu.org>
21750
21751 * progmodes/f90.el (f90-critical-indent): New option.
21752 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
21753 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
21754 (f90-mode): Doc fix.
21755 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
21756 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
21757 (f90-beginning-of-block, f90-next-block, f90-indent-region)
21758 (f90-match-end): Handle block, critical.
21759
21760 2011-06-25 Glenn Morris <rgm@gnu.org>
21761
21762 * calendar/diary-lib.el (diary-included-files): Doc fix.
21763 (diary-include-files): New function, extracted from
21764 diary-include-other-diary-files and diary-mark-included-diary-files.
21765 (diary-include-other-diary-files, diary-mark-included-diary-files):
21766 Just call diary-include-files.
21767 (diary-mark-entries): Reset diary-included-files on first call.
21768
21769 * calendar/diary-lib.el (diary-mark-entries)
21770 (diary-mark-included-diary-files):
21771 Visit included diary-files in temp buffers.
21772
21773 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
21774 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
21775 (f90-start-block-re, f90-imenu-generic-expression)
21776 (f90-looking-at-program-block-start, f90-no-block-limit):
21777 Add support for submodules.
21778
21779 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
21780 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
21781
21782 2011-06-25 Eli Zaretskii <eliz@gnu.org>
21783
21784 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
21785 buffer-file-type before setting its value, to avoid disastrous
21786 global effects on decoding files for DOS/Windows systems. (Bug#8780)
21787
21788 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
21789
21790 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
21791
21792 * ses.el (ses-unload-function):
21793 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
21794
21795 * proced.el (proced-unload-function):
21796 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
21797
21798 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
21799
21800 * server.el (server-create-window-system-frame): Add parameters arg.
21801 (server-process-filter): Doc fix. Handle frame-parameters.
21802
21803 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
21804
21805 Fix bug#8730, bug#8781.
21806
21807 * loadhist.el (unload--set-major-mode): New function.
21808 (unload-feature): Use it.
21809
21810 * progmodes/python.el (python-after-info-look): Add autoload cookie.
21811 (python-unload-function): New function.
21812
21813 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
21814
21815 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
21816
21817 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
21818
21819 * net/browse-url.el (browse-url-firefox-program): Add icecat to
21820 the candidates list.
21821
21822 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
21823
21824 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
21825
21826 2011-06-23 Richard Stallman <rms@gnu.org>
21827
21828 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
21829 (rmail-variables): Set next-error-move-function.
21830 (rmail-what-message): Take argument POS.
21831 (rmail-next-error-move): New function.
21832
21833 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
21834
21835 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
21836 messages for adjacent non-terminals.
21837
21838 2011-06-23 Richard Stallman <rms@gnu.org>
21839
21840 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
21841 (rmail-show-message-1): Preserve buffer modified flag.
21842 (rmail-start-mail): Don't specify use of rmail-mail-return;
21843 that's done by mail-bury now.
21844 (rmail-mail-return): Handle arg NEWBUF.
21845
21846 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
21847
21848 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
21849 SIZE is a number.
21850
21851 2011-06-23 Martin Rudalics <rudalics@gmx.at>
21852
21853 * window.el (get-lru-window, get-mru-window)
21854 (get-largest-window): Never return a minibuffer window.
21855 (display-buffer-pop-up-window): Fix a bug that could lead to
21856 reusing the minibuffer window.
21857 (display-buffer): Pass original specifier argument to
21858 display-buffer-function instead of the normalized one.
21859 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
21860
21861 2011-06-22 Leo Liu <sdl.web@gmail.com>
21862
21863 * minibuffer.el (completing-read-function)
21864 (completing-read-default): Move from minibuf.c.
21865
21866 2011-06-22 Richard Stallman <rms@gnu.org>
21867
21868 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
21869 to Rmail even if not started by a special Rmail command.
21870
21871 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
21872 Copy the buffer currently showing just one message.
21873
21874 2011-06-22 Roland Winkler <winkler@gnu.org>
21875
21876 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
21877 (bibtex-clean-entry): First delete the old key so that a
21878 customized algorithm for generating the new key does not get
21879 confused by the old key.
21880 (bibtex-url): Obey regexp of first step.
21881 (bibtex-search-entries): Do not use add-to-list with local
21882 list-var.
21883
21884 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
21885
21886 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
21887 stored a user name, then query for the password first, instead of
21888 waiting for SMTP to give an error message and the trying again.
21889
21890 2011-06-22 Lawrence Mitchell <wence@gmx.li>
21891
21892 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
21893 BUFFER in call-process.
21894
21895 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
21896
21897 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
21898 QUIT twice.
21899 (smtpmail-try-auth-methods): Require user name and password from
21900 auth-source.
21901
21902 2011-06-22 Martin Rudalics <rudalics@gmx.at>
21903
21904 * window.el (display-buffer-default-specifiers)
21905 (display-buffer-alist): Remove entries for pop-up-frame-alist.
21906 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
21907 (split-window): Normalize SIDE argument (Bug#8916).
21908
21909 * frame.el (pop-up-frame-alist, pop-up-frame-function)
21910 (special-display-frame-alist, special-display-popup-frame):
21911 Remove duplicate declarations. These are now in window.el.
21912
21913 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21914
21915 * mail/smtpmail.el (smtpmail-via-smtp):
21916 Set :use-starttls-if-possible so that we always use STARTTLS if the
21917 server supports it. SMTP servers that support STARTTLS commonly
21918 require it.
21919
21920 * net/network-stream.el (network-stream-open-starttls): Support
21921 upgrading to STARTTLS always, even if we don't have built-in support.
21922 (open-network-stream): Add the :always-query-capabilities keyword.
21923
21924 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
21925 upgrades with `open-network-stream', and rely solely on
21926 auth-source for all credentials. Big changes throughout the file,
21927 but in particular:
21928 (smtpmail-auth-credentials): Remove.
21929 (smtpmail-starttls-credentials): Remove.
21930 (smtpmail-via-smtp): Check for servers saying they want AUTH after
21931 MAIL FROM, too.
21932
21933 * net/network-stream.el (network-stream-open-starttls):
21934 Provide support for client certificates both for external and built-in
21935 STARTTLS.
21936 (auth-source): Require.
21937 (open-network-stream): Document the :client-certificate keyword.
21938 (network-stream-certificate): Change cert-cert to cert and
21939 cert-key to key.
21940
21941 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
21942
21943 * net/tramp-cache.el (top): Don't load the persistency file when
21944 "emacs -Q" has been called.
21945
21946 2011-06-21 Tim Harper <timcharper@gmail.com>
21947
21948 * term/ns-win.el (ns-initialize-window-system):
21949 Set application-specific `ApplePressAndHoldEnabled' system
21950 resource to NO as it is not yet supported by the NS port.
21951
21952 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
21953
21954 * misc.el (list-dynamic-libraries--refresh): Compute header here...
21955 (list-dynamic-libraries): ...not here.
21956
21957 2011-06-21 Leo Liu <sdl.web@gmail.com>
21958
21959 * subr.el (sha1): Implement sha1 using secure-hash.
21960
21961 2011-06-21 Martin Rudalics <rudalics@gmx.at>
21962
21963 * window.el (display-buffer-alist): In default value do not
21964 enforce searching a window on any but the selected frame.
21965 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
21966 (display-buffer-select-window): Remove function.
21967 (display-buffer-in-window): When a window on another frame gets
21968 reused, do not select it any more but just raise its frame if
21969 necessary (Bug#8851) and (Bug#8856).
21970 (display-buffer-normalize-options): Handle pop-up-frames related
21971 options more faithfully.
21972 (pop-to-buffer): Don't rely on `display-buffer' selecting the
21973 window if it is on another frame.
21974 (display-buffer-alist, display-buffer-default-specifiers):
21975 Don't make new frame unsplittable by default.
21976 (display-buffer-normalize-argument): Fix doc-string typo and use
21977 'same-frame-other-window instead of 'other-window when associating
21978 with display-buffer-macro-specifiers.
21979
21980 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
21981
21982 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
21983 New functions.
21984 (5x5-mode-map, 5x5-mode-menu): Bind them.
21985 (5x5-draw-grid): Tweak the solver's rendering.
21986
21987 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
21988
21989 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
21990 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
21991
21992 2011-06-21 Drew Adams <drew.adams@oracle.com>
21993
21994 * menu-bar.el: Use function variable instead of switch-to-buffer.
21995 (menu-bar-select-buffer-function): New variable.
21996 (menu-bar-update-buffers): Use it (bug#8876).
21997
21998 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
21999
22000 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
22001 variable's status.
22002
22003 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
22004
22005 * x-dnd.el (x-dnd-version-from-flags)
22006 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
22007 and long as number (Bug#8899).
22008 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
22009
22010 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
22011
22012 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
22013 (completion-try-completion, completion-all-completions): Compute the
22014 metadata argument if it's missing; make it optional (bug#8795).
22015
22016 * wid-edit.el: Use lex-bind and move towards completion-at-point.
22017 (widget-complete): Use new :completion-function property.
22018 (widget-completions-at-point): New function.
22019 (default): Use :completion-function instead of :complete.
22020 (widget-default-completions): Rename from widget-default-complete;
22021 Rewrite.
22022 (widget-string-complete, widget-file-complete, widget-color-complete):
22023 Remove functions.
22024 (file, symbol, function, variable, coding-system, color):
22025 * international/mule-cmds.el (default-input-method, charset)
22026 (language-info-custom-alist):
22027 * cus-edit.el (face): Use new property :completions.
22028
22029 * progmodes/pascal.el (pascal-completions-at-point): New function.
22030 (pascal-mode): Use it.
22031 (pascal-mode-map): Use completion-at-point.
22032 (pascal-toggle-completions): Make obsolete.
22033 (pascal-complete-word, pascal-show-completions):
22034 * progmodes/octave-mod.el (octave-complete-symbol):
22035 Redefine as obsolete alias.
22036 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
22037 Signal absence of completion info for old Octave,
22038 (inferior-octave-complete): Redefine as obsolete alias.
22039 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
22040 (meta-completions-at-point): Rename from meta-complete-symbol and
22041 adapt it for use on completion-at-point-functions.
22042 (meta-common-mode): Use it.
22043 (meta-looking-at-backward, meta-match-buffer): Remove.
22044 (meta-complete-symbol): Redefine as obsolete alias.
22045 (meta-common-mode-map): Use completion-at-point.
22046 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
22047 (makefile-mode-map): Use completion-at-point.
22048 (makefile-completions-at-point): Rename from makefile-complete and
22049 adapt it for use on completion-at-point-functions.
22050 (makefile-mode): Use it.
22051 (makefile-complete): Redefine as obsolete alias.
22052
22053 2011-06-20 Deniz Dogan <deniz@dogan.se>
22054
22055 * net/rcirc.el: Delete trailing whitespaces once and for all.
22056
22057 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
22058
22059 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
22060
22061 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
22062
22063 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
22064
22065 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
22066
22067 2011-06-19 Martin Rudalics <rudalics@gmx.at>
22068
22069 * window.el (display-buffer-other-window-means-other-frame):
22070 Call display-buffer-normalize-alist.
22071 (display-buffer-normalize-specifiers-1): Rename to
22072 display-buffer-normalize-argument. New argument other-frame.
22073 Rewrite.
22074 (display-buffer-normalize-specifiers-2): Rename to
22075 display-buffer-normalize-options.
22076 (display-buffer-normalize-alist-1): New function.
22077 (display-buffer-normalize-specifiers-3): Rename to
22078 display-buffer-normalize-alist.
22079 Call display-buffer-normalize-alist-1.
22080 (display-buffer-normalize-options-inhibit): New variable.
22081 (display-buffer-normalize-specifiers): Rewrite calling
22082 display-buffer-normalize-alist,
22083 display-buffer-normalize-argument, and
22084 display-buffer-normalize-options. Don't call the latter if
22085 display-buffer-normalize-options-inhibit is non-nil.
22086 (frame-auto-delete): New option.
22087 (window-deletable-p): Use frame-auto-delete.
22088 (window-list-no-nils, window-state-ignored-parameters)
22089 (window-state-get-1, window-state-get, window-state-put-list)
22090 (window-state-put-1, window-state-put-2, window-state-put):
22091 New functions.
22092 (display-buffer-normalize-options): Move special-display-p group
22093 after pop-up-frame group (Bug#8851) and (Bug#8856).
22094
22095 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
22096
22097 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
22098 groups (Bug#8776).
22099 (rx-submatch-n): New function.
22100 (rx): Document it.
22101
22102 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
22103 (Bug#8768).
22104
22105 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
22106
22107 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
22108
22109 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
22110 anytime existing face settings are present (Bug#8889).
22111
22112 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
22113 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
22114 Remove unused argument.
22115
22116 2011-06-18 Martin Rudalics <rudalics@gmx.at>
22117
22118 * window.el (display-buffer-default-specifiers):
22119 Remove pop-up-frame. Add pop-up-window-min-height,
22120 pop-up-window-min-width, and another reuse-window specifier
22121 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
22122 (display-buffer-normalize-specifiers-2):
22123 Handle split-height-threshold and split-width-threshold also when
22124 pop-up-windows is unset. Add a reuse-window specifier for the
22125 case popping up a new window fails.
22126 (special-display-popup-frame): Remove double quoting.
22127 (display-buffer-normalize-specifiers-1): Fix thinko.
22128
22129 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
22130
22131 * shell.el (shell-completion-vars): Set pcomplete-termination-string
22132 according to comint-completion-addsuffix.
22133
22134 * pcomplete.el: Convert to lexical binding and fix bug#8819.
22135 (pcomplete-suffix-list): Mark as obsolete.
22136 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
22137 pcomplete-seen in the closure.
22138 (pcomplete-comint-setup): Setup completion-at-point as well.
22139 (pcomplete--entries): New function.
22140 (pcomplete--env-regexp): New var.
22141 (pcomplete-entries): Rewrite to work with partial-completion and
22142 without relying on pcomplete-suffix-list.
22143 (pcomplete-pare-list): Remove, unused.
22144
22145 2011-06-17 Martin Rudalics <rudalics@gmx.at>
22146
22147 * window.el (display-buffer-alist): Set pop-up-window-min-height
22148 and pop-up-window-min-width in default value. Reported by
22149 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
22150 other-window-means-other-frame.
22151 (display-buffer-macro-specifiers): Comment out entry for
22152 other-window specifier.
22153 (display-buffer-other-window-means-other-frame): New function.
22154 (display-buffer-normalize-specifiers-1): New arguments
22155 buffer-name and label. Treat other-window case specially.
22156 (display-buffer-normalize-specifiers-2): Treat other-window case
22157 specially.
22158 (display-buffer-normalize-specifiers-3): New function.
22159 (display-buffer-normalize-specifiers):
22160 Call display-buffer-normalize-specifiers-3.
22161
22162 2011-06-17 Martin Rudalics <rudalics@gmx.at>
22163
22164 * window.el (same-window-p): Fix two typos introduced when
22165 adding with-no-warnings.
22166 (display-buffer-normalize-specifiers-1): Don't check
22167 pop-up-frames for 'unset initialization.
22168 (display-buffer-normalize-specifiers-2): Major rewrite using
22169 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
22170 (pop-up-frames, display-buffer-reuse-frames)
22171 (display-buffer-mark-dedicated): Don't initialize to 'unset.
22172 Suggested by David Engster <deng@randomsample.de>.
22173 (even-window-heights): Initialize to 'unset.
22174 (display-buffer-alist-set): Handle new 'unset initializations.
22175 (display-buffer-macro-specifiers): Don't pop up a new frame in the
22176 other window case.
22177
22178 2011-06-16 Martin Rudalics <rudalics@gmx.at>
22179
22180 * window.el (display-buffer-normalize-specifiers-1):
22181 Respect current value of pop-up-frames for most reasonable values of
22182 second argument of display-buffer (Bug#8865).
22183 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
22184 (switch-to-buffer-other-window-same-frame)
22185 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
22186 Adams (Bug#8875).
22187 (display-buffer): Don't check noninteractive when calling
22188 display-buffer-pop-up-frame.
22189 (display-buffer-pop-up-frame): Never pop up a frame in
22190 noninteractive mode (Bug#8857).
22191 (enlarge-window, shrink-window): Don't report an error when the
22192 window can't be resized as requested (Bug#8862).
22193
22194 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
22195
22196 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
22197
22198 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
22199
22200 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
22201
22202 2011-06-15 Alan Mackenzie <acm@muc.de>
22203
22204 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
22205 for declarators, disable knr checking to speed up for normal files.
22206 2: Refactor, replacing a sequence of nested if forms by a cond form.
22207
22208 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
22209
22210 * net/network-stream.el (open-network-stream): Add the keyword
22211 :always-query-capabilities for the case where you want to force a
22212 `plain' network connection, but the protocol still requires the
22213 capabilitiy command (i.e., SMTP and EHLO).
22214
22215 * subr.el (process-live-p): Rename from `process-alive-p' for
22216 consistency with other `-live-p' functions.
22217
22218 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
22219
22220 * window.el (same-window-buffer-names, same-window-regexps)
22221 (special-display-frame-alist, special-display-popup-frame)
22222 (special-display-function, special-display-buffer-names)
22223 (special-display-regexps, pop-up-frame-alist)
22224 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
22225 (pop-up-windows, split-window-preferred-function)
22226 (split-height-threshold, split-width-threshold, even-window-heights)
22227 (display-buffer-mark-dedicated): Don't encourage the use of
22228 display-buffer-alist from Elisp code.
22229
22230 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
22231
22232 * progmodes/python.el (python-mode): Derive from prog-mode.
22233 * progmodes/ps-mode.el (ps-mode):
22234 * progmodes/mixal-mode.el (mixal-mode):
22235 * progmodes/cfengine.el (cfengine-mode):
22236 * progmodes/ld-script.el (ld-script-mode): Likewise.
22237
22238 2011-06-15 Martin Rudalics <rudalics@gmx.at>
22239
22240 * window.el (display-buffer-alist): Trim default value to avoid
22241 popping up a new frame (Bug#8857) or reusing an arbitrary window
22242 on another frame.
22243 (display-buffer): Do not fall back on popping up a new frame in
22244 batch mode (Bug#8857).
22245
22246 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
22247
22248 * cus-theme.el (describe-theme-1): Use custom-theme-p.
22249 (custom-theme-summary): New function.
22250 (customize-themes): Use it.
22251
22252 2011-06-13 Glenn Morris <rgm@gnu.org>
22253
22254 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
22255
22256 2011-06-13 Martin Rudalics <rudalics@gmx.at>
22257
22258 * help.el (help-window): Remove variable.
22259 (help-window-point-marker, temp-buffer-max-height)
22260 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
22261 (help-print-return-message): Don't set help-window.
22262 (resize-temp-buffer-window): Rewrite cod eand doc-string.
22263 (help-window-setup-finish): Remove.
22264 (help-window-display-message, help-window-setup)
22265 (with-help-window): Major rewrite based on new
22266 display-buffer-window variable.
22267
22268 * help-mode.el (help-mode-finish): Remove help-window related
22269 code.
22270
22271 * view.el (view-exits-all-viewing-windows): Remove reference to
22272 view-return-to-alist in doc-string.
22273 (view-return-to-alist): Make obsolete.
22274 (view-buffer): Call pop-to-buffer-same-window and remove
22275 undo-window code.
22276 (view-buffer-other-window): Call pop-to-buffer-other-window and
22277 simplify code. Ignore second argument.
22278 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
22279 simplify code. Ignore second argument.
22280 (view-return-to-alist-update): Make obsolete.
22281 (view-mode-enter): Rename second argument to QUIT-RESTORE.
22282 Rewrite using quit-restore window parameters.
22283 (view-mode-exit): Rename second argument to EXIT-ONLY.
22284 Rewrite using quit-restore-window.
22285 (View-exit, View-exit-and-edit, View-leave, View-quit)
22286 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
22287 appropriate arguments.
22288 (view-end-message): Use quit-restore window parameter.
22289
22290 * window.el (display-buffer-function): Rewrite doc-string.
22291 (display-buffer-window, display-buffer-alist): New variables.
22292 (display-buffer-split-specifiers)
22293 (display-buffer-side-specifiers)
22294 (display-buffer-macro-specifiers): New constants.
22295 (display-buffer-even-window-sizes, display-buffer-set-height)
22296 (display-buffer-set-width, display-buffer-select-window)
22297 (display-buffer-in-window, display-buffer-reuse-window)
22298 (display-buffer-split-window-1, display-buffer-split-window)
22299 (display-buffer-split-atom-window, display-buffer-pop-up-window)
22300 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
22301 (display-buffer-in-side-window, normalize-buffer-to-display)
22302 (display-buffer-normalize-specifiers-1)
22303 (display-buffer-normalize-specifiers-2)
22304 (display-buffer-normalize-specifiers, display-buffer-frame):
22305 New functions.
22306 (display-buffer): Major rewrite.
22307 (display-buffer-other-window, display-buffer-other-frame)
22308 (pop-to-buffer, switch-to-buffer-other-window)
22309 (switch-to-buffer-other-frame): Rewrite.
22310 (display-buffer-same-window, display-buffer-same-frame)
22311 (display-buffer-same-frame-other-window)
22312 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
22313 (pop-to-buffer-other-window)
22314 (pop-to-buffer-same-frame-other-window)
22315 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
22316 (switch-to-buffer-other-window-same-frame): New functions.
22317 (same-window-p, special-display-p): Rewrite disabling warnings.
22318 Make obsolete.
22319 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
22320 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
22321 Make obsolete
22322 (same-window-buffer-names, same-window-regexps)
22323 (special-display-frame-alist, special-display-popup-frame)
22324 (special-display-function, special-display-buffer-names)
22325 (special-display-regexps, pop-up-frame-alist)
22326 (pop-up-frame-function, split-window-preferred-function)
22327 (split-height-threshold, split-width-threshold)
22328 (even-window-heights): Make obsolete.
22329
22330 2011-06-12 Glenn Morris <rgm@gnu.org>
22331
22332 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
22333 Misc simplifications.
22334
22335 2011-06-12 Martin Rudalics <rudalics@gmx.at>
22336
22337 * window.el (window-safely-shrinkable-p): Restore function which
22338 was inadvertently removed in change from 2011-06-11. Declare as
22339 obsolete.
22340
22341 * calendar/calendar.el (calendar-generate-window):
22342 Use window-iso-combined-p instead of combination of one-window-p and
22343 window-safely-shrinkable-p.
22344
22345 2011-06-12 Glenn Morris <rgm@gnu.org>
22346
22347 * progmodes/fortran.el (fortran-mode-syntax-table):
22348 * progmodes/f90.el (f90-mode-syntax-table):
22349 Set % to punctuation. (Bug#8820)
22350 (f90-find-tag-default): Remove, no longer needed.
22351
22352 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
22353
22354 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
22355
22356 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
22357
22358 * image.el (image-animated-p): Return animation delay in seconds.
22359 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
22360 (image-animate-timeout): Remove DELAY argument. Don't assume
22361 every subimage has the same delay; get it from image-animated-p.
22362 (image-animate): Caller changed.
22363
22364 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
22365
22366 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
22367 to ignored backtrace functions.
22368
22369 2011-06-11 Glenn Morris <rgm@gnu.org>
22370
22371 * calendar/appt.el (appt-disp-window-function): Doc fix.
22372 (appt-check): Handle overlapping appointments. (Bug#8337)
22373
22374 2011-06-11 Martin Rudalics <rudalics@gmx.at>
22375
22376 * window.el (window-tree-1, window-tree): New functions, moving
22377 the latter to window.el.
22378 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
22379 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
22380 (bw-refresh-edges): Remove.
22381 (balance-windows-1, balance-windows-2): New functions.
22382 (balance-windows): Rewrite in terms of window tree functions,
22383 balance-windows-1 and balance-windows-2.
22384 (bw-adjust-window): Remove.
22385 (balance-windows-area-adjust): New function with functionality of
22386 bw-adjust-window but using resize-window.
22387 (set-window-text-height): Rewrite doc-string.
22388 Use normalize-live-window and resize-window.
22389 (enlarge-window-horizontally, shrink-window-horizontally):
22390 Rename argument to DELTA.
22391 (window-buffer-height): New function.
22392 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
22393 Rewrite using new window resize routines.
22394 (kill-buffer-and-window, mouse-autoselect-window-select):
22395 Use ignore-errors instead of condition-case.
22396 (quit-window): Call delete-frame instead of delete-windows-on
22397 for the only buffer on frame.
22398
22399 2011-06-10 Martin Rudalics <rudalics@gmx.at>
22400
22401 * loadup.el (top-level): Load window before files for the sake
22402 of replace-buffer-in-windows.
22403
22404 * files.el (read-buffer-to-switch)
22405 (switch-to-buffer-other-window)
22406 (switch-to-buffer-other-frame, display-buffer-other-frame):
22407 Move to window.el.
22408
22409 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
22410 (previous-buffer): Move to window.el.
22411
22412 * bindings.el (unbury-buffer): Move to window.el.
22413
22414 * window.el (delete-other-windows-vertically): Move after
22415 definition of delete-other-windows.
22416 (other-window, delete-windows-on, replace-buffer-in-windows):
22417 Move here from window.c.
22418 (record-window-buffer, unrecord-window-buffer)
22419 (set-window-buffer-start-and-point, switch-to-prev-buffer)
22420 (switch-to-next-buffer): New functions.
22421 (get-next-valid-buffer, last-buffer, next-buffer): Move here
22422 from simple.el. Call switch-to-next-buffer.
22423 (previous-buffer): Move here from simple.el.
22424 Call switch-to-prev-buffer.
22425 (bury-buffer): Move here from buffer.c. Switch to previous
22426 buffer when window cannot be deleted.
22427 (unbury-buffer): Move here from bindings.el.
22428 (ctl-x-map): Move binding for other-window from window.c to
22429 here.
22430 (read-buffer-to-switch, switch-to-buffer-other-window)
22431 (switch-to-buffer-other-frame): Move here from files.el.
22432 (normalize-buffer-to-switch-to): New functions.
22433 (switch-to-buffer): Move here from buffer.c.
22434 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
22435
22436 2011-06-10 Martin Rudalics <rudalics@gmx.at>
22437
22438 * window.el (window-min-height, window-min-width): Move here
22439 from window.c. Add defcustoms and rewrite doc-strings.
22440 (resize-mini-window, resize-window): New functions.
22441 (adjust-window-trailing-edge, enlarge-window, shrink-window):
22442 Move here from window.c.
22443 (maximize-window, minimize-window): New functions.
22444 (delete-window, delete-other-windows, split-window): Move here
22445 from window.c.
22446 (window-split-min-size): New function.
22447 (split-window-keep-point): Mention split-window-above-each-other
22448 instead of split-window-vertically.
22449 (split-window-above-each-other, split-window-vertically):
22450 Rename split-window-vertically to split-window-above-each-other
22451 and provide defalias for old definition.
22452 (split-window-side-by-side, split-window-horizontally):
22453 Rename split-window-horizontally to split-window-side-by-side
22454 and provide defalias for the old definition.
22455 (ctl-x-map): Move bindings for delete-window,
22456 delete-other-windows and enlarge-window here from window.c.
22457 Replace bindings for split-window-vertically and
22458 split-window-horizontally by bindings for
22459 split-window-above-each-other and split-window-side-by-side.
22460
22461 * cus-start.el (all): Remove entries for window-min-height and
22462 window-min-width. Add entries for window-splits and
22463 window-nest.
22464
22465 2011-06-09 Glenn Morris <rgm@gnu.org>
22466
22467 * calendar/appt.el (appt-mode-line): New function.
22468 (appt-check, appt-disp-window): Use it.
22469
22470 * files.el (hack-one-local-variable-eval-safep):
22471 Allow minor-modes with explicit +/-1 arguments.
22472
22473 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
22474
22475 * term/xterm.el (xterm): Add defgroup.
22476 (xterm-extra-capabilities): Add defcustom to supply known xterm
22477 capabilities, skip querying them, or query them (default).
22478 (terminal-init-xterm): Use it.
22479 (terminal-init-xterm-modify-other-keys): New function to set up
22480 modifyOtherKeys support to simplify `terminal-init-xterm'.
22481
22482 2011-06-09 Martin Rudalics <rudalics@gmx.at>
22483
22484 * window.el (resize-window-reset, resize-window-reset-1)
22485 (resize-subwindows-skip-p, resize-subwindows-normal)
22486 (resize-subwindows, resize-other-windows, resize-this-window)
22487 (resize-root-window, resize-root-window-vertically)
22488 (window-deletable-p, window-or-subwindow-p)
22489 (frame-root-window-p): New functions.
22490
22491 2011-06-09 Glenn Morris <rgm@gnu.org>
22492
22493 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
22494 (ange-ftp-get-files): Use it.
22495
22496 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
22497
22498 * mail/sendmail.el (mail-recover-1, mail-recover):
22499 * files.el (recover-file, recover-session):
22500 Handle dired-listing-switches not being just a single short option.
22501
22502 2011-06-09 Glenn Morris <rgm@gnu.org>
22503
22504 * calendar/appt.el (appt-display-message, appt-disp-window):
22505 Handle lists of appointments.
22506
22507 2011-06-08 Martin Rudalics <rudalics@gmx.at>
22508
22509 * window.el (one-window-p): Move down in code.
22510 Rewrite doc-string.
22511 (window-current-scroll-bars): Rewrite doc-string.
22512 Normalize live window argument.
22513 (walk-windows, get-window-with-predicate, count-windows):
22514 Rewrite doc-string. Use window-list-1.
22515 (window-in-direction-2, window-in-direction, get-mru-window):
22516 New functions.
22517
22518 2011-06-08 Reuben Thomas <rrt@sc3d.org>
22519
22520 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
22521 Doc fix (Bug#8713).
22522
22523 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
22524
22525 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
22526
22527 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
22528
22529 * loadhist.el (unload-feature-special-hooks):
22530 Add `comint-output-filter-functions'.
22531
22532 2011-06-08 Ivan Kanis <gnu@kanis.fr>
22533
22534 * calendar/appt.el (appt-check): Move some initializations into the let.
22535
22536 2011-06-08 Martin Rudalics <rudalics@gmx.at>
22537
22538 * window.el (window-height): Defalias to window-total-height.
22539 (window-width): Defalias to window-body-width.
22540
22541 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
22542
22543 * image-mode.el (image-toggle-animation): New command.
22544 (image-mode-map): Bind it to RET.
22545 (image-mode): Update message.
22546 (image-toggle-display-image): Avoid a spurious cache flush.
22547 (image-transform-rotation): Doc fix.
22548 (image-transform-properties): Return quickly in the normal case.
22549 (image-animate-loop): Rename from image-animate-max-time.
22550
22551 * image.el (image-animate-max-time): Move to image-mode.el.
22552 (create-animated-image): Remove unnecessary function.
22553 (image-animate): Rename from image-animate-start. New arg.
22554 (image-animate-stop): Remove; just use image-animate-timer.
22555 (image-animate-timer): Use car-safe.
22556 (image-animate-timeout): Rename argument.
22557
22558 2011-06-07 Martin Rudalics <rudalics@gmx.at>
22559
22560 * window.el (get-lru-window, get-largest-window): Move here from
22561 window.c. Rename first argument to ALL-FRAMES.
22562 Rephrase doc-strings.
22563 (get-buffer-window-list): Rewrite using window-list-1.
22564 Rephrase doc-string.
22565 (window-safe-min-height, window-safe-min-width): New constants.
22566 (window-size-ignore, window-min-size, window-min-size-1)
22567 (window-sizable, window-sizable-p, window-size-fixed-1)
22568 (window-size-fixed-p, window-min-delta-1, window-min-delta)
22569 (window-max-delta-1, window-max-delta, window-resizable)
22570 (window-resizable-p, window-total-height, window-total-width)
22571 (window-body-width): New functions.
22572 (window-full-height-p, window-full-width-p): Rewrite using
22573 window-total-size.
22574 (window-body-height): Rewrite using window-body-size.
22575
22576 2011-06-06 Martin Rudalics <rudalics@gmx.at>
22577
22578 * window.el (window-right, window-left, window-child)
22579 (window-child-count, window-last-child, window-any-p)
22580 (normalize-live-buffer, normalize-live-frame)
22581 (normalize-any-window, normalize-live-window)
22582 (window-iso-combination-p, window-iso-combined-p)
22583 (window-iso-combinations)
22584 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
22585 (windows-with-parameter, window-with-parameter)
22586 (window-atom-root, make-window-atom, window-atom-check-1)
22587 (window-atom-check, window-side-check, window-check):
22588 New functions.
22589 (ignore-window-parameters, window-sides, window-sides-vertical)
22590 (window-sides-slots): New variables.
22591 (window-size-fixed): Move down in code. Minor doc-string fix.
22592
22593 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
22594
22595 * comint.el (comint-dynamic-complete-as-filename)
22596 (comint-dynamic-complete-filename): Correctly call
22597 completion-in-region.
22598
22599 2011-06-05 Deniz Dogan <deniz@dogan.se>
22600
22601 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
22602 in last change.
22603
22604 2011-06-05 Deniz Dogan <deniz@dogan.se>
22605
22606 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
22607 (rcirc): Use it to prompt for encryption.
22608
22609 2011-06-05 Roland Winkler <winkler@gnu.org>
22610
22611 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
22612 (bibtex-search-entries): New command bound to C-c C-a.
22613 (bibtex-display-entries): New function.
22614
22615 2011-06-05 Roland Winkler <winkler@gnu.org>
22616
22617 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
22618 (bibtex-insert-kill): After yanking insert newline if necessary.
22619 (bibtex-initialize): Call bibtex-string-files-init only once.
22620 (bibtex-mode): Do not call easy-menu-add.
22621 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
22622 (bibtex-yank): Set arg properly if nil.
22623
22624 2011-06-05 Roland Winkler <winkler@gnu.org>
22625
22626 * textmodes/bibtex.el (bibtex-search-entry-globally):
22627 New variable.
22628 (bibtex-search-entry): Use it.
22629
22630 2011-06-05 Roland Winkler <winkler@gnu.org>
22631
22632 * textmodes/bibtex.el (bibtex-entry-format): New option
22633 sort-fields.
22634 (bibtex-format-entry, bibtex-reformat): Honor this option.
22635 (bibtex-parse-entry): Return fields in proper order.
22636
22637 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
22638
22639 * doc-view.el (doc-view-remove-if): Move computation of result out
22640 of `dolist' to silence misleading lexical-binding warning.
22641
22642 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
22643
22644 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
22645 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
22646
22647 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
22648
22649 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
22650 "SunOS 5.10".
22651
22652 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
22653
22654 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
22655 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
22656 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
22657 (tramp-parse-putty):
22658 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
22659 (tramp-completion-function-alist-ssh)
22660 (tramp-completion-function-alist-telnet)
22661 (tramp-completion-function-alist-su)
22662 (tramp-completion-function-alist-putty): Set `tramp-autoload'
22663 cookie.
22664
22665 * net/tramp-ftp.el:
22666 * net/tramp-sh.el:
22667 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
22668 load "tramp.el" `tramp-set-completion-function'.
22669
22670 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
22671
22672 * shell.el: Require and use pcomplete.
22673 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
22674 (shell-completion-vars): Set pcomplete-default-completion-function.
22675
22676 2011-06-04 Deniz Dogan <deniz@dogan.se>
22677
22678 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
22679 `memq' (Bug#8799).
22680
22681 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
22682
22683 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
22684
22685 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
22686
22687 * bs.el (bs--mark-unmark, bs--nth-wrapper):
22688 * mpc.el (mpc-select-extend, mpc-songpointer-context):
22689 * vc/log-view.el (log-view-beginning-of-defun):
22690 * vc/smerge-mode.el (smerge-apply-resolution-patch)
22691 (smerge-refine-forward, smerge-refine-chopup-region):
22692 Silence warning for unused `dotimes' counter variables.
22693
22694 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
22695
22696 * net/tramp.el (tramp-with-progress-reporter): Rename from
22697 with-progress-reporter. Use `declare'.
22698 * net/tramp-smb.el:
22699 * net/tramp-sh.el:
22700 * net/tramp-gvfs.el: Update all uses.
22701
22702 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
22703
22704 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
22705 buffer isn't killed before making it current.
22706
22707 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
22708
22709 Silence various byte-compiler warnings.
22710 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
22711 `access-type' and new obsolescence format.
22712 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
22713 new format.
22714 (byte-compile-check-variable): New `access-type' argument.
22715 Only warn if the access-type is obsolete.
22716 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
22717 (byte-compile-variable-set): Adjust callers.
22718 * help-fns.el (describe-variable): Adjust to new obsolescence format.
22719 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
22720 setting it as obsolete.
22721 * simple.el (minibuffer-completing-symbol):
22722 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
22723 access as obsolete.
22724 * minibuffer.el (minibuffer-completing-file-name): Don't make it
22725 obsolete yet.
22726 * international/quail.el (quail-mouse-choose-completion): Remove unused
22727 code referring to obsolete var.
22728 (quail-choose-completion-string): Remove.
22729 * server.el (server-clients-with, server-kill-buffer-query-function)
22730 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
22731 * proced.el (proced-send-signal):
22732 * emacs-lisp/lisp.el (lisp-complete-symbol):
22733 Replace completion-annotate-function with completion-extra-properties.
22734
22735 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
22736
22737 * simple.el (goto-line): Use read-number.
22738 (overriding-map-is-bound): Remove.
22739 (saved-overriding-map): Change default.
22740 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
22741 Take the map as argument.
22742 (universal-argument, negative-argument, digit-argument): Use it.
22743 (restore-overriding-map): Adjust.
22744 (do-auto-fill): Use fill-forward-paragraph.
22745 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
22746
22747 * minibuffer.el (minibuffer-inactive-mode-map): New var.
22748 (minibuffer-inactive-mode): New major mode.
22749 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
22750 the *Messages* buffer" hack.
22751 (mouse-popup-menubar): Don't burp if the event is a normal key.
22752
22753 Miscellaneous tweaks.
22754 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
22755 lexical scoping as in subr.el's dolist and dotimes.
22756 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
22757 Silence compiler warning.
22758 * thingatpt.el (forward-whitespace): Trivial coding style fix.
22759 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
22760 * international/ccl.el (ccl-compile): Trivial simplification.
22761 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
22762 * emacs-lisp/testcover.el (testcover-end): Remove spurious
22763 `printflag' argument.
22764 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
22765 Purecopy the whole obsolescence data.
22766
22767 2011-06-01 Leo Liu <sdl.web@gmail.com>
22768
22769 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
22770 improve doc-string as suggested by Marco Pessotto
22771 <melmothx@gmail.com>.
22772 (rcirc-print): Fix last change.
22773
22774 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22775
22776 * minibuffer.el (complete-with-action): Return nil for the metadata and
22777 boundaries of non-functional tables.
22778 (completion-table-dynamic): Return nil for the metadata.
22779 (completion-table-with-terminator): Add default case, using
22780 complete-with-action.
22781 (completion--metadata): New function.
22782 (completion-all-sorted-completions, minibuffer-completion-help): Use it
22783 to try and avoid pathological performance problems.
22784 (completion--embedded-envvar-table): Return `category' metadata.
22785
22786 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
22787
22788 * subr.el (process-alive-p): New tiny convenience function.
22789
22790 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22791
22792 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
22793 content but also its previous major mode.
22794
22795 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
22796
22797 * emacs-lisp/debug.el (debug): Restore the previous content of the
22798 *Backtrace* buffer when we exit with C-M-c.
22799
22800 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22801
22802 * minibuffer.el: Add metadata method to completion tables.
22803 (completion-category-overrides): New defcustom.
22804 (completion-metadata, completion--field-metadata)
22805 (completion-metadata-get, completion--styles)
22806 (completion--cycle-threshold): New functions.
22807 (completion-try-completion, completion-all-completions):
22808 Add `metadata' argument to choose completion-styles.
22809 (completion--do-completion): Use metadata to choose cycling.
22810 (completion-all-sorted-completions): Use metadata for sorting.
22811 Remove :completion-cycle-penalty which is not needed any more.
22812 (completion--try-word-completion): Add `metadata' argument.
22813 (minibuffer-completion-help): Check metadata for annotation function
22814 and sorting.
22815 (completion-file-name-table): Return `category' metadata.
22816 (minibuffer-completing-file-name): Make obsolete.
22817 * simple.el (minibuffer-completing-symbol): Make obsolete.
22818 * icomplete.el (icomplete-completions): Pass new `metadata' param to
22819 completion-try-completion.
22820
22821 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
22822
22823 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
22824
22825 2011-05-30 Leo Liu <sdl.web@gmail.com>
22826
22827 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
22828 (rcirc-print): Decode all incoming messages (bug#8744).
22829 (rcirc-decode-coding-system): Allow value nil for automatic coding
22830 system detection.
22831
22832 2011-06-01 Glenn Morris <rgm@gnu.org>
22833
22834 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
22835
22836 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22837
22838 * image.el (image-animate-max-time): Allow nil and t values.
22839 Default to nil.
22840 (create-animated-image): Doc fix.
22841 (image-animate-start): Remove second arg; just use
22842 image-animate-max-time.
22843 (image-animate-timeout): Doc fix. Args changed.
22844
22845 * image-mode.el (image-toggle-display-image): Ensure that the
22846 image spec passed to the animate timer is the same object as in
22847 the buffer's display property (Bug#6981).
22848 (image-transform-properties): Doc fix.
22849
22850 * image.el (image-animate-max-time): Default to nil.
22851
22852 2011-05-29 Martin Rudalics <rudalics@gmx.at>
22853
22854 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
22855 entire buffer list (Bug#8184).
22856
22857 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22858
22859 * image.el (imagemagick-types-inhibit)
22860 (imagemagick-register-types): Doc fix.
22861
22862 2011-05-29 Deniz Dogan <deniz@dogan.se>
22863
22864 * net/rcirc.el (rcirc): Use the user's stored encryption method by
22865 default.
22866
22867 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22868
22869 * select.el: Don't perform clipboard-manager saving in hooks;
22870 leave the hooks empty.
22871
22872 2011-05-28 Leo Liu <sdl.web@gmail.com>
22873
22874 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
22875 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
22876 (occur-edit-mode): New major mode (Bug#8463).
22877 (occur-after-change-function): New function.
22878 (occur-engine): Give Occur tags a read-only property.
22879
22880 2011-05-28 Kevin Ryde <user42@zip.com.au>
22881
22882 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
22883
22884 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22885
22886 * bindings.el (help-echo): Make the initial non-indicator dash
22887 empty on graphical terminals (Bug#7295).
22888
22889 * files.el (auto-mode-alist): Move config rule after the
22890 in-stripping one (Bug#8547).
22891
22892 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
22893
22894 * startup.el (normal-splash-screen): Remove gratuitous mode-line
22895 setting (Bug#8740).
22896
22897 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
22898
22899 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
22900 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
22901 (Bug#8539).
22902
22903 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22904
22905 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
22906
22907 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
22908
22909 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
22910 (hs-hide-block-at-point, hs-find-block-beginning)
22911 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
22912 (Bug#8279).
22913
22914 2011-05-28 Glenn Morris <rgm@gnu.org>
22915
22916 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
22917
22918 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22919
22920 * help-fns.el (describe-function-1): If the function is a derived
22921 major mode, print the parent mode.
22922
22923 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
22924 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
22925
22926 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
22927
22928 * minibuffer.el (completion--capf-wrapper): Check applicability before
22929 returning non-nil for non-exclusive completion data.
22930 * progmodes/etags.el (tags-completion-at-point-function):
22931 * info-look.el (info-lookup-completions-at-point): Mark as
22932 non-exclusive.
22933 (info-complete): Adjust accordingly.
22934
22935 * info-look.el: Convert to lexical-binding and completion-at-point.
22936 (info-lookup-completions-at-point): New function.
22937 (info-complete): Use it and completion-in-region.
22938
22939 2011-05-28 Drew Adams <drew.adams@oracle.com>
22940
22941 * isearch.el: Let M-e start with point at the first mismatched char.
22942 (isearch-fail-pos): New function.
22943 (isearch-edit-string): Use it.
22944
22945 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
22946
22947 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
22948
22949 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
22950
22951 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
22952 traversal functions for avl-trees.
22953 (avl-tree--stack): New struct.
22954 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
22955 (avl-tree-enter): Add optional `updatefun' arg.
22956 (avl-tree--do-enter): Add optional `updatefun' arg.
22957 Change return value.
22958 (avl-tree-delete): Add optional `test' and `nilflag' args.
22959 (avl-tree--do-delete): Add `test' and `nilflag' args.
22960 Change return value.
22961 (avl-tree-member): Add optional `nilflag'
22962 (avl-tree-member-p): New function.
22963 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
22964 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
22965 (avl-tree-stack-empty-p): New functions.
22966
22967 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
22968 avl-tree--del-balance1 and make it work both ways.
22969 (avl-tree--del-balance2): Remove.
22970 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
22971 make it work both ways.
22972 (avl-tree--enter-balance2): Remove.
22973 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
22974 New macros.
22975 (avl-tree--mapc, avl-tree-map): Add direction argument.
22976
22977 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
22978
22979 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
22980
22981 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
22982
22983 * select.el: Support clipboard managers with built-in function
22984 x-clipboard-manager-save, via delete-frame-functions and
22985 kill-emacs-hook.
22986 (xselect-convert-to-targets): Add MULTIPLE target to list.
22987 (xselect-convert-to-save-targets): New function.
22988
22989 2011-05-27 Kenichi Handa <handa@m17n.org>
22990
22991 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
22992 let-binding rfc2047-encode-encoded-words to nil.
22993
22994 2011-05-27 Glenn Morris <rgm@gnu.org>
22995
22996 * mail/emacsbug.el: Don't require url-util.
22997
22998 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
22999
23000 * files.el (set-auto-mode):
23001 Also respect mode: entries at the end of the file. (Bug#8586)
23002
23003 2011-05-26 Glenn Morris <rgm@gnu.org>
23004
23005 * files.el (hack-local-variables-prop-line, hack-local-variables):
23006 Downcase mode names, as seems to be traditional.
23007 (hack-local-variables, hack-local-variables-apply): Doc fixes.
23008
23009 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
23010 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
23011
23012 2011-05-25 Julien Danjou <julien@danjou.info>
23013
23014 * textmodes/rst.el (rst-define-level-faces): Do not define face
23015 symbol if it is already defined.
23016
23017 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
23018
23019 * play/5x5.el (5x5-new-game, 5x5-randomize):
23020 Reset 5x5-solver-output to nil when a new grid is cast.
23021 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
23022 these debugging traces, as defmacro breaks the compiled code.
23023
23024 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
23025
23026 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
23027
23028 2011-05-24 Leo Liu <sdl.web@gmail.com>
23029
23030 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
23031 (vc-bzr-sha1): Adapt.
23032
23033 * sha1.el: Remove. Function `sha1' is now builtin.
23034
23035 * bindings.el: Provide sha1 feature.
23036
23037 2011-05-24 Kenichi Handa <handa@m17n.org>
23038
23039 * mail/sendmail.el: Require `rfc2047'.
23040 (mail-insert-from-field): Do not perform RFC2047 encoding.
23041 (mail-encode-header): New function.
23042 (sendmail-send-it): Set buffer-file-coding-system of the work
23043 buffer to the return value of select-message-coding-system.
23044 Call mail-encode-header.
23045
23046 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
23047
23048 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
23049
23050 * mail/supercite.el (sc-default-cite-frame):
23051 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
23052
23053 2011-05-24 Glenn Morris <rgm@gnu.org>
23054
23055 * progmodes/python.el (brm-menu): Declare.
23056
23057 * emulation/viper.el (viper-set-hooks): Declare.
23058
23059 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
23060 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
23061 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
23062 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
23063 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
23064 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
23065
23066 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
23067
23068 Add an :exit-function for completion-at-point.
23069
23070 * minibuffer.el (completion--done): New fun.
23071 (completion--do-completion): Use it. New arg `expect-exact'.
23072 (minibuffer-complete, minibuffer-complete-word): Don't output message,
23073 since completion--do-completion does it for us now.
23074 (minibuffer-force-complete): Use completion--done and
23075 completion--replace. Handle sole-completion case with more care.
23076 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
23077 (completion-extra-properties): New var.
23078 (completion-annotate-function): Make obsolete.
23079 (minibuffer-completion-help): Adjust accordingly.
23080 Use completion-list-insert-choice-function.
23081 (completion-at-point, completion-help-at-point):
23082 Bind completion-extra-properties.
23083 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
23084 * simple.el (completion-list-insert-choice-function): New var.
23085 (completion-setup-function): Preserve it.
23086 (choose-completion): Pay attention to it, shuffle the code a bit.
23087 (choose-completion-string): New arg `insert-function'.
23088
23089 * textmodes/bibtex.el: Convert to lexical binding.
23090 (bibtex-mode-map): Use completion-at-point.
23091 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
23092 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
23093 (bibtex-complete): Define as obsolete alias.
23094 (bibtex-complete-internal): Remove.
23095 (bibtex-format-entry): Remove unused sub-group in regexp.
23096 * shell.el (shell--command-completion-data)
23097 (shell-environment-variable-completion):
23098 * pcomplete.el (pcomplete-completions-at-point):
23099 * comint.el (comint--complete-file-name-data): Use :exit-function
23100 instead of completion-table-with-terminator so it also works for
23101 choose-completion.
23102
23103 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
23104
23105 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
23106
23107 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
23108 (bug#8710).
23109
23110 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
23111
23112 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
23113
23114 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
23115 customization variable and implement: If non-nil, auto-fill will
23116 be inhibited while on topic's header line.
23117
23118 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
23119
23120 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
23121 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
23122 always have a solution in grid size = 5 cases.
23123 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
23124 (5x5-solver-output, 5x5-log-buffer): New vars.
23125 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
23126 Make these variables buffer local to achieve 5x5 multi-session-ness.
23127 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
23128 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
23129 (5x5-solve-suggest): New funs.
23130 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
23131 randomize a grid so that we ensure that there is always a solution.
23132 (5x5-make-random-grid): Allow other movement than flipping.
23133
23134 2011-05-23 Kevin Ryde <user42@zip.com.au>
23135
23136 * emacs-lisp/advice.el (ad-read-advised-function):
23137 Use `function-called-at-point' as the default, if it has
23138 advice and passes PREDICATE.
23139
23140 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
23141
23142 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
23143 byte-compile-lambda if it's actually a lambda.
23144
23145 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
23146 Fix function quoting. Use backquote better.
23147
23148 2011-05-22 Yuanle Song <sylecn@gmail.com>
23149
23150 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
23151 matching (Bug#8516).
23152
23153 2011-05-22 Jari Aalto <jari.aalto@cante.net>
23154
23155 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
23156 different face (Bug#8178).
23157
23158 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
23159
23160 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
23161 defface (Bug#8144).
23162
23163 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
23164
23165 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
23166 funcall as well (bug#8712). Warn when performing those conversions.
23167 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
23168
23169 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
23170
23171 2011-05-22 Glenn Morris <rgm@gnu.org>
23172
23173 * files.el (hack-local-variables-prop-line): Small simplifications.
23174 (hack-local-variables, hack-local-variables-prop-line):
23175 If MODE-ONLY, return the mode, rather than just `t'.
23176
23177 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
23178
23179 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
23180
23181 2011-05-21 Glenn Morris <rgm@gnu.org>
23182
23183 * files.el (hack-local-variables-prop-line, hack-local-variables):
23184 If only interested in the mode, don't bother doing the other stuff.
23185
23186 * image-mode.el (image-after-revert-hook):
23187 Redraw all frames on which the image is visible. (Bug#8567)
23188
23189 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
23190
23191 * wid-edit.el (widget-checklist-match-inline):
23192 Fix 2011-04-19 change. (Bug#8649)
23193
23194 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
23195
23196 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
23197 Also allow singlespace after single-letter capitals followed by a dot.
23198
23199 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
23200 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
23201
23202 2011-05-20 Nix <nix@esperi.org.uk>
23203
23204 * files.el (basic-save-buffer-2):
23205 Fix handling of break-hardlink-on-save with non-existent files.
23206
23207 2011-05-19 Deniz Dogan <deniz@dogan.se>
23208
23209 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
23210 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
23211
23212 2011-05-19 Glenn Morris <rgm@gnu.org>
23213
23214 * progmodes/f90.el (f90-type-def-re):
23215 Handle "type, bind(c)". (Bug#8691)
23216
23217 * emacs-lisp/autoload.el (batch-update-autoloads):
23218 Set autoload-excludes by parsing loadup.el rather than Makefiles.
23219
23220 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
23221
23222 * net/tramp.el (tramp-process-actions): Set "first-password-request"
23223 property for the correct connection in case of multihops.
23224
23225 2011-05-18 Glenn Morris <rgm@gnu.org>
23226
23227 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
23228 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
23229
23230 Rationalize calendar handling of day and month abbrev-arrays.
23231 * calendar/calendar.el (calendar-customized-p): New function.
23232 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
23233 (calendar-day-name-array, calendar-month-name-array): Doc fix.
23234 Add :set function.
23235 (calendar-abbrev-length, calendar-day-abbrev-array)
23236 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
23237 (calendar-day-abbrev-array, calendar-month-abbrev-array):
23238 Elements may no longer be nil.
23239 (calendar-day-name, calendar-month-name):
23240 Update for changed nature of abbrev arrays.
23241 * calendar/diary-lib.el (diary-name-pattern):
23242 Update for changed nature of abbrev arrays.
23243 (diary-mark-entries-1): Update calendar-make-alist calls.
23244 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
23245 * calendar/cal-html.el (cal-html-day-abbrev-array):
23246 Simply inherit from calendar-day-abbrev-array.
23247
23248 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
23249
23250 * progmodes/grep.el (grep-mode): Disable default
23251 compilation-directory-matcher setting (bug#8684).
23252
23253 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
23254
23255 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
23256 instead of "head" and "tail". There were problems with SunOS 5.9,
23257 and it performs better.
23258
23259 2011-05-17 Glenn Morris <rgm@gnu.org>
23260
23261 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
23262
23263 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
23264 Replace obsolete function.
23265
23266 * shell.el (pcomplete-parse-arguments-function): Declare.
23267
23268 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
23269 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
23270 (appt-check): Doc fixes.
23271 (appt-disp-window-function, appt-delete-window-function):
23272 Remove needless special case in custom :type.
23273 (appt-display-count): Default to 0, not nil.
23274 (appt-check): Reset appt-display-count to 0, not nil.
23275
23276 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
23277
23278 * progmodes/python.el (python-font-lock-keywords):
23279 Add the Python 3.X keyword "nonlocal" (bug#8639).
23280
23281 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
23282
23283 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
23284
23285 2011-05-16 Kevin Ryde <user42@zip.com.au>
23286
23287 * info-look.el (makefile-automake-mode): New setups, looking in
23288 automake manual, then makefile-mode.
23289 (makefile-mode): Remove automake manual, have it just in
23290 makefile-automake-mode since there's various things different or
23291 not relevant to plain make.
23292 (makefile-mode): Remove "other-modes" non-existent automake-mode,
23293 believe a hypothetical automake-mode would go to makefile-mode,
23294 not the other way around.
23295
23296 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
23297
23298 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
23299 hunk-end tags (Bug#8672).
23300
23301 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
23302 vc-annotate-show-diff-revision-at-line (Bug#8671).
23303
23304 2011-05-14 Glenn Morris <rgm@gnu.org>
23305
23306 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
23307 in the middle of an existing one with multiple authors. (Bug#8645)
23308 (change-log-font-lock-keywords): Also handle multiple author lines
23309 with leading tabs. (Bug#8644)
23310
23311 * calendar/appt.el (appt-check): Rename some local variables.
23312 Some simplification/reordering.
23313
23314 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
23315 (feedmail-sendmail-f-doesnt-sell-me-out)
23316 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
23317 (feedmail-debug-sit-for, feedmail-queue-express-hook)
23318 (feedmail-queue-runner-message-sender): Set :version.
23319 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
23320 (bbdb-dwim-net-address, vm-mail): Declare.
23321 (feedmail-binmail-gnulinuxish-template):
23322 Rename from feedmail-binmail-linuxish-template.
23323 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
23324 Use insert-buffer-substring.
23325
23326 2011-05-14 Bill Carpenter <bill@carpenter.org>
23327
23328 * mail/feedmail.el (feedmail-patch-level): Increase.
23329 (feedmail-debug): New custom group.
23330 (feedmail-confirm-outgoing-timeout)
23331 (feedmail-sendmail-f-doesnt-sell-me-out)
23332 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
23333 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
23334 (feedmail-sender-line, feedmail-from-line)
23335 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
23336 (feedmail-spray-this-address)
23337 (feedmail-spray-address-fiddle-plex-list)
23338 (feedmail-queue-use-send-time-for-date)
23339 (feedmail-queue-use-send-time-for-message-id)
23340 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
23341 (feedmail-buffer-eating-function):
23342 Doc fixes.
23343 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
23344 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
23345 (feedmail-message-action-scroll-down): New functions.
23346 (feedmail-queue-directory, feedmail-queue-draft-directory):
23347 Use expand-file-name.
23348 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
23349 Remove C-v help entry.
23350 (feedmail-queue-buffer-file-name): New variable.
23351 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
23352 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
23353 (feedmail-message-action-send-strong, feedmail-message-action-edit)
23354 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
23355 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
23356 (feedmail-message-action-toggle-spray)
23357 (feedmail-run-the-queue-no-prompts)
23358 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
23359 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
23360 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
23361 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
23362 (feedmail-envelope-deducer, feedmail-fiddle-from)
23363 (feedmail-fiddle-sender, feedmail-default-date-generator)
23364 (feedmail-fiddle-date, feedmail-fiddle-message-id)
23365 (feedmail-fiddle-spray-address)
23366 (feedmail-fiddle-list-of-spray-fiddle-plexes)
23367 (feedmail-fiddle-list-of-fiddle-plexes)
23368 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
23369 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
23370 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
23371 Change default. Doc fix.
23372 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
23373 (feedmail-binmail-linuxish-template): New constant.
23374 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
23375 Respect feedmail-sendmail-f-doesnt-sell-me-out.
23376 (feedmail-send-it): Add debug call.
23377 Use feedmail-queue-buffer-file-name, and
23378 feedmail-send-it-immediately-wrapper.
23379 (feedmail-message-action-send): Add debug call.
23380 Use feedmail-send-it-immediately-wrapper.
23381 (feedmail-queue-express-to-queue): Add debug call.
23382 Run feedmail-queue-express-hook.
23383 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
23384 (feedmail-message-action-help-blat):
23385 Rename from feedmail-queue-send-edit-prompt-help-first.
23386 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
23387 Check line-endings. Handle errors better.
23388 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
23389 Doc fix. Add debug call.
23390 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
23391 Use feedmail-queue-send-edit-prompt-inner.
23392 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
23393 (feedmail-queue-send-edit-prompt-inner): New function, extracted
23394 from feedmail-queue-send-edit-prompt.
23395 (feedmail-queue-send-edit-prompt-help)
23396 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
23397 (feedmail-tidy-up-slug): Add debug call.
23398 Respect feedmail-queue-slug-suspect-regexp.
23399 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
23400 (feedmail-dump-message-to-queue): Add debug call.
23401 Expand queue-directory.
23402 (feedmail-dump-message-to-queue): Change message slightly.
23403 Use feedmail-say-chatter.
23404 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
23405 (feedmail-send-it-immediately-wrapper): New function.
23406 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
23407 Insert empty string rather than newline. Handle full-frame case.
23408 Use catch/throw. Use feedmail-say-chatter.
23409 (feedmail-fiddle-from): Try mail-host-address.
23410 (feedmail-default-message-id-generator): Doc fix.
23411 Bind system-time-locale. Handle missing end.
23412 (feedmail-fiddle-x-mailer): Add debug call.
23413 Handle feedmail-x-mailer-line being nil.
23414 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
23415 Add debug call. Use buffer-substring-no-properties.
23416 (feedmail-say-debug, feedmail-say-chatter): New functions.
23417 (feedmail-find-eoh): Give an explicit error.
23418
23419 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
23420
23421 * net/newst-treeview.el (newsticker-treeview-face): Change default
23422 family from helvetica to sans.
23423 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
23424 etc/images/newsticker.
23425
23426 * net/newst-reader.el (newsticker-feed-face): Change default
23427 family from helvetica to sans.
23428
23429 * net/newst-plainview.el (newsticker-new-item-face)
23430 (newsticker-old-item-face, newsticker-immortal-item-face)
23431 (newsticker-obsolete-item-face, newsticker-date-face)
23432 (newsticker-statistics-face): Change default family from
23433 helvetica to sans.
23434 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
23435 etc/images/newsticker.
23436
23437 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
23438 (newsticker--process-auto-mark-filter-match): Tell user about
23439 auto-marking.
23440
23441 2011-05-13 Didier Verna <didier@xemacs.org>
23442
23443 Common Lisp indentation improvements on defmethod and lambda-lists.
23444 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
23445 TODO entries.
23446 (lisp-lambda-list-keyword-parameter-indentation)
23447 (lisp-lambda-list-keyword-parameter-alignment)
23448 (lisp-lambda-list-keyword-alignment): New customizable user options.
23449 (lisp-indent-defun-method): Improve docstring.
23450 (extended-loop-p): Fix comment.
23451 (lisp-indent-lambda-list-keywords-regexp): New variable.
23452 (lisp-indent-lambda-list): New function.
23453 (lisp-indent-259): Use it.
23454 (lisp-indent-defmethod): Support for more than one
23455 method qualifier and properly indent methods lambda-lists.
23456 (defgeneric): Provide a missing common-lisp-indent-function property.
23457
23458 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
23459
23460 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
23461 bounds for the empty string (bug#8667).
23462
23463 2011-05-13 Glenn Morris <rgm@gnu.org>
23464
23465 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
23466
23467 * mail/sendmail.el (sendmail-program): Try executable-find first.
23468 (sendmail-send-it): `sendmail-program' cannot be unbound.
23469
23470 * calendar/appt.el (appt-make-list): Simplify.
23471 (appt-time-msg-list): Doc fix.
23472 (appt-check): Change mode-line message at the time of the appointment.
23473
23474 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
23475
23476 * progmodes/ld-script.el (ld-script-keywords)
23477 (ld-script-builtins): Update keywords list.
23478
23479 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23480
23481 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
23482
23483 * shell.el (shell-completion-vars): New function.
23484 (shell-mode):
23485 * simple.el (read-shell-command): Use it.
23486 (blink-matching-open): No need for " [...]" in minibuffer-message.
23487
23488 2011-05-12 Glenn Morris <rgm@gnu.org>
23489
23490 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
23491 (appt-check): Simplify.
23492
23493 2011-05-12 Eli Zaretskii <eliz@gnu.org>
23494
23495 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
23496 literal "/dev/null".
23497
23498 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23499
23500 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
23501 Fix typo.
23502
23503 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
23504
23505 * progmodes/which-func.el (which-function):
23506 Use add-log-current-defun instead of add-log-current-defun-function,
23507 which might not be defined (Bug#8260).
23508
23509 2011-05-12 Glenn Morris <rgm@gnu.org>
23510
23511 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
23512 Let byte-compile-initial-macro-environment always take precedence.
23513
23514 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23515
23516 * net/rcirc.el: Add support for SSL/TLS connections.
23517 (rcirc-server-alist): New field `encryption'.
23518 (rcirc): Check `encryption' settings.
23519 (rcirc-connect): New arg `encryption'. Use open-network-stream.
23520 Merge make-local-variable into `set'.
23521 (rcirc--connection-open-p): New function.
23522 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
23523 the process is not a network process (e.g. running gnutls-cli).
23524 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
23525 Make rcirc-(en|de)code-coding-system local here.
23526 (rcirc-mode): Merge make-local-variable into `set'.
23527 (rcirc-parent-buffer): Make permanent buffer-local.
23528 (rcirc-multiline-minor-mode): Don't do it here.
23529 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
23530 there's no server buffer.
23531
23532 2011-05-11 Glenn Morris <rgm@gnu.org>
23533
23534 * newcomment.el (comment-kill): Prefix "unused" local.
23535
23536 * term/w32console.el (get-screen-color): Declare.
23537
23538 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
23539 Handle symbol elements of byte-compile-initial-macro-environment.
23540
23541 2011-05-10 Leo Liu <sdl.web@gmail.com>
23542
23543 * bookmark.el (bookmark-bmenu-mode-map):
23544 Bind bookmark-bmenu-search to `/'.
23545
23546 * mail/footnote.el: Convert to utf-8 encoding.
23547 (footnote-unicode-string, footnote-unicode-regexp): New variable.
23548 (Footnote-unicode): New function.
23549 (footnote-style-alist): Add unicode style to the list.
23550 (footnote-style): Doc fix.
23551
23552 2011-05-10 Jim Meyering <meyering@redhat.com>
23553
23554 Fix doubled-word typos.
23555 * international/quail.el (quail-insert-kbd-layout): and and -> and
23556 * kermit.el: and and -> and
23557 * net/ldap.el (ldap-search-internal): to to -> to
23558 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
23559 * progmodes/js.el (js-mode): and and -> and
23560 * textmodes/artist.el (artist-move-to-xy): at at -> at
23561 (artist-draw-region-trim-line-endings): if if -> if
23562 And Safetyc -> Safety.
23563 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
23564
23565 2011-05-10 Glenn Morris <rgm@gnu.org>
23566 Stefan Monnier <monnier@iro.umontreal.ca>
23567
23568 * files.el (hack-one-local-variable-eval-safep):
23569 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
23570
23571 2011-05-10 Glenn Morris <rgm@gnu.org>
23572
23573 * calendar/diary-lib.el (diary-list-entries-hook)
23574 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
23575 (diary-nongregorian-marking-hook, diary-list-entries)
23576 (diary-include-other-diary-files, diary-mark-entries)
23577 (diary-mark-included-diary-files): Doc fixes.
23578
23579 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
23580
23581 * misc.el: Require tabulated-list.el during compilation.
23582
23583 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
23584
23585 * progmodes/compile.el (compilation-start):
23586 Run compilation-filter-hook for the async case too.
23587 (compilation-filter-hook): Doc fix.
23588
23589 2011-05-09 Deniz Dogan <deniz@dogan.se>
23590
23591 * wdired.el: Remove outdated installation comment. Fix usage
23592 comment.
23593
23594 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
23595
23596 * misc.el: Implement new command `list-dynamic-libraries'.
23597 (list-dynamic-libraries--loaded-only-p): New variable.
23598 (list-dynamic-libraries--refresh): New function.
23599 (list-dynamic-libraries): New command.
23600
23601 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
23602
23603 * progmodes/compile.el (compilation-error-regexp-alist-alist):
23604 Fix the ant regexp to handle end-line and end-column info from jikes.
23605 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
23606 higher priority to avoid clobbering by gnu.
23607
23608 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
23609
23610 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
23611 if the face has existing theme settings (Bug#8454).
23612
23613 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
23614
23615 * progmodes/perl-mode.el (perl-imenu-generic-expression):
23616 Only match variables declared via `my' or `our' (Bug#8261).
23617
23618 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
23619 special file names `.' and `..' (Bug#8259).
23620
23621 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
23622
23623 * progmodes/grep.el (grep-mode-font-lock-keywords):
23624 Remove buffer-changing entries.
23625 (grep-filter): New function.
23626 (grep-mode): Add it to compilation-filter-hook.
23627
23628 * progmodes/compile.el (compilation-filter-hook)
23629 (compilation-filter-start): New defvars.
23630 (compilation-filter): Call compilation-filter-hook prior to
23631 updating the process mark.
23632
23633 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
23634
23635 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
23636
23637 2011-05-07 Eli Zaretskii <eliz@gnu.org>
23638
23639 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
23640 mailclient-send-it even if window-system is nil. (Bug#8595)
23641
23642 * term/w32console.el (terminal-init-w32console):
23643 Call get-screen-color and use its output to set the frame
23644 background-mode. (Bug#8597)
23645
23646 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
23647
23648 Make bytecomp.el understand that defmethod defines funs (bug#8631).
23649 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
23650 New functions.
23651 (defgeneric, eieio--defmethod): Use them.
23652 (eieio-defgeneric): Remove.
23653 (defmethod): Call defgeneric in a way visible to the byte-compiler.
23654
23655 2011-05-07 Glenn Morris <rgm@gnu.org>
23656
23657 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
23658 Use let rather than let*.
23659 (timeclock-find-discrep): Remove unused local.
23660
23661 * calendar/diary-lib.el (diary-comment-start): Doc fix.
23662
23663 * calendar/appt.el (appt-time-msg-list): Doc fix.
23664
23665 2011-05-06 Noah Friedman <friedman@splode.com>
23666
23667 * apropos.el (apropos-print-doc): Only use
23668 emacs-lisp-docstring-fill-column when it is bound to an integer,
23669 per that variable's documentation.
23670
23671 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
23672
23673 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
23674 and warnings are not silently discarded (e.g. use -d instead of -P).
23675
23676 2011-05-06 Glenn Morris <rgm@gnu.org>
23677
23678 * calendar/appt.el (appt-message-warning-time): Doc fix.
23679 (appt-warning-time-regexp): New option.
23680 (appt-make-list): Respect appt-message-warning-time.
23681
23682 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
23683 New options.
23684 (diary-add-to-list): Strip comments from the displayed string.
23685 (diary-mode): Set comment-start and comment-end.
23686
23687 * vc/diff-mode.el (smerge-refine-subst): Declare.
23688 (diff-refine-hunk): Don't require smerge-mode when compiling.
23689
23690 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
23691
23692 * simple.el (list-processes): Return nil as the docstring says.
23693
23694 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
23695
23696 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
23697 to "".
23698 (ange-ftp-write-region, ange-ftp-insert-file-contents)
23699 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
23700 determining of binary transfer. (Bug#7383)
23701
23702 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
23703
23704 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23705 Fix port computation bug. (Bug#8618)
23706
23707 2011-05-05 Glenn Morris <rgm@gnu.org>
23708
23709 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
23710
23711 * simple.el (shell-dynamic-complete-functions)
23712 (comint-dynamic-complete-functions): Declare.
23713
23714 * net/network-stream.el (gnutls-negotiate):
23715 * simple.el (tabulated-list-print): Fix declarations.
23716
23717 * progmodes/gud.el (syntax-symbol, syntax-point):
23718 Remove unnecessary and incorrect declarations.
23719
23720 * emacs-lisp/check-declare.el (check-declare-scan):
23721 Handle byte-compile-initial-macro-environment in bytecomp.el.
23722
23723 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
23724
23725 Fix earlier half-done eieio-defmethod change (bug#8338).
23726 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
23727 Streamline and change calling convention.
23728 (defmethod): Adjust accordingly and simplify.
23729 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
23730 new eieio--defmethod.
23731 (slot-boundp): Minor CSE simplification.
23732
23733 2011-05-05 Milan Zamazal <pdm@zamazal.org>
23734
23735 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
23736 (glasses-make-readable): Use glasses-separate-capital-groups.
23737
23738 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
23739
23740 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
23741 (warning-series): Doc fix.
23742 (display-warning): Don't try to create the buffer if we just found it.
23743
23744 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
23745
23746 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
23747 (autoload-find-generated-file): New function.
23748 (generate-file-autoloads): Bind generated-autoload-file to
23749 buffer-file-name.
23750 (update-file-autoloads, update-directory-autoloads):
23751 Use autoload-find-generated-file. If called interactively, prompt for
23752 output file (Bug#7989).
23753 (batch-update-autoloads): Doc fix.
23754
23755 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
23756
23757 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
23758
23759 2011-05-04 Glenn Morris <rgm@gnu.org>
23760
23761 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
23762 function, so it follows changes in calendar-date-style.
23763 (diary-fancy-date-matcher): New function.
23764 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
23765 (diary-fancy-font-lock-fontify-region-function):
23766 Use diary-fancy-date-pattern as a function.
23767
23768 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
23769 non-numbers for `year' etc pseudo-variables. (Bug#8583)
23770
23771 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
23772
23773 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
23774 instead of positional arguments. Allow :keylist and :crlfiles
23775 arguments.
23776 (open-gnutls-stream): Call it.
23777
23778 * net/network-stream.el (network-stream-open-starttls): Adjust to
23779 call `gnutls-negotiate' with :process and :hostname arguments.
23780
23781 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
23782
23783 * minibuffer.el (completion--message): New function.
23784 (completion--do-completion, minibuffer-complete)
23785 (minibuffer-force-complete, minibuffer-complete-word): Use it.
23786 (completion--do-completion): Don't ignore completion-auto-help when in
23787 icomplete-mode.
23788
23789 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
23790 internal encoding (e.g. tibetan zero is not whitespace).
23791 (global-whitespace-mode): Prefer save-current-buffer.
23792 (whitespace-trailing-regexp): Remove useless save-match-data.
23793 (whitespace-empty-at-bob-regexp): Minor simplification.
23794
23795 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
23796
23797 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
23798
23799 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
23800
23801 * textmodes/ispell.el (ispell-add-per-file-word-list):
23802 Use `concat' to create string for insertion.
23803
23804 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
23805
23806 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
23807 Avoid open-line which runs post-self-insert-hook.
23808 (bibtex-fill-entry): Remove unused `end' var.
23809
23810 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
23811
23812 * textmodes/ispell.el (ispell-add-per-file-word-list):
23813 Protect against `nil' value of `comment-start' (Bug#8579).
23814
23815 2011-05-03 Leo Liu <sdl.web@gmail.com>
23816
23817 * isearch.el (isearch-yank-pop): New command.
23818 (isearch-mode-map): Bind it to `M-y'.
23819 (isearch-forward): Mention it.
23820
23821 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
23822
23823 * simple.el (minibuffer-complete-shell-command): Remove.
23824 (minibuffer-local-shell-command-map): Use completion-at-point.
23825 (read-shell-command): Setup completion vars here instead.
23826 (read-expression-map): Bind TAB to symbol completion.
23827
23828 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
23829 error directly rather via storing it into `results'.
23830
23831 2011-05-02 Leo Liu <sdl.web@gmail.com>
23832
23833 * vc/diff.el: Fix description.
23834
23835 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23836
23837 * server.el (server-eval-at): New function.
23838
23839 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
23840
23841 * net/network-stream.el (open-network-stream): Take a :nowait
23842 parameter and pass it on to `make-network-process'.
23843 (network-stream-open-plain): Ditto.
23844
23845 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
23846
23847 * faces.el (face-spec-set-match-display): Don't match toolkit
23848 options on terminal frames.
23849
23850 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
23851
23852 * progmodes/pascal.el: Use lexical binding.
23853 (pascal-mode-map): Remove author preferences.
23854
23855 * pcomplete.el (pcomplete-std-complete): Don't abuse
23856 completion-at-point.
23857
23858 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
23859
23860 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
23861 removing code that has been dead since 1991 or so.
23862
23863 * startup.el (command-line): When warning about "_emacs", use a
23864 delayed warning to allow the user to filter it out.
23865
23866 2011-04-28 Deniz Dogan <deniz@dogan.se>
23867
23868 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
23869 user has not joined.
23870
23871 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
23872
23873 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
23874 aren't any completions at point.
23875
23876 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
23877
23878 * subr.el (display-delayed-warnings): New function.
23879 (delayed-warnings-hook): New variable.
23880
23881 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
23882
23883 * minibuffer.el (completion-at-point, completion-help-at-point):
23884 Don't presume that a given completion-at-point-function will always
23885 use the same calling convention.
23886
23887 * pcomplete.el (pcomplete-completions-at-point):
23888 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
23889 pcomplete-seen is non-nil.
23890 (pcomplete-comint-setup): Also recognize the new comint/shell
23891 completion functions.
23892 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
23893 pcomplete-seen is non-nil.
23894
23895 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
23896
23897 * calendar/icalendar.el (diary-lib): Add require statement.
23898 (icalendar--create-uid): Read out a uid from a text-property on
23899 the first character in the entry. This allows for code to add its
23900 own uid to the entry.
23901 (icalendar--convert-float-to-ical): Add export of
23902 `diary-float'-entries save for those with the optional DAY
23903 argument.
23904
23905 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
23906
23907 * subr.el (shell-quote-argument): Use alternate escaping strategy
23908 when we spot a variable reference in a string.
23909
23910 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
23911
23912 * cus-start.el (all): Define customization for debug-on-event.
23913
23914 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
23915
23916 * subr.el (shell-quote-argument): Escape correctly under Windows.
23917
23918 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
23919
23920 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
23921
23922 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
23923
23924 * net/tramp.el (tramp-process-actions): Add POS argument.
23925 Delete region between POS and (pos).
23926
23927 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23928 Use `nil' position in `tramp-process-actions' call.
23929 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
23930
23931 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
23932 position in `tramp-process-actions' call.
23933
23934 * net/trampver.el: Update release number.
23935
23936 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
23937
23938 * custom.el (defcustom): Obey lexical-binding.
23939
23940 Fix octave-inf completion problems reported by Alexander Klimov.
23941 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
23942 Inherit from octave-mode-syntax-table.
23943 (inferior-octave-mode): Set info-lookup-mode.
23944 (inferior-octave-completion-at-point): New function.
23945 (inferior-octave-complete): Use it and completion-in-region.
23946 (inferior-octave-dynamic-complete-functions): Use it as well, and use
23947 comint-filename-completion.
23948 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
23949 symbol elements which shouldn't be word elements.
23950 (octave-font-lock-keywords, octave-beginning-of-defun)
23951 (octave-function-header-regexp): Adjust regexps accordingly.
23952 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
23953
23954 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
23955
23956 * net/gnutls.el (gnutls-errorp): Declare before first use.
23957
23958 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
23959
23960 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
23961 verify-error, and verify-hostname-error parameters. Check whether
23962 default trustfile exists before going to use it. Add missing
23963 argument to gnutls-message-maybe call. Return value.
23964 Reported by Claudio Bley <claudio.bley@gmail.com>.
23965 (open-gnutls-stream): Add usage example.
23966
23967 * net/network-stream.el (network-stream-open-starttls): Give host
23968 parameter to `gnutls-negotiate'.
23969 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
23970 * subr.el (shell-quote-argument): Escape correctly under Windows.
23971
23972 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
23973
23974 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
23975 Use correct match group (bug#8438).
23976
23977 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
23978
23979 * emacs-lisp/package.el (package-built-in-p): Fix typo.
23980 (package-menu--generate): New arg specifying packages to show.
23981 (package-menu-refresh, package-menu-execute, list-packages):
23982 Callers changed.
23983 (package-show-package-list): New function, replacing deleted
23984 package--list-packages (renamed because it is non-internal).
23985
23986 * finder.el (finder-list-matches): Use package-show-package-list
23987 instead of deleted package--list-packages.
23988
23989 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
23990 Based on a previous implementation by Juanma Barranquero (Bug#8366).
23991 (vc-annotate-mode-map): Bind it to RET.
23992
23993 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
23994
23995 * progmodes/etags.el (next-file): Don't use set-buffer to change
23996 buffers (Bug#8478).
23997
23998 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
23999
24000 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
24001
24002 * apropos.el (apropos-label-face): Avoid variable-pitch face.
24003 (apropos-accumulator): Doc fix.
24004 (apropos-function, apropos-macro, apropos-command)
24005 (apropos-variable, apropos-face, apropos-group, apropos-widget)
24006 (apropos-plist): Add face property.
24007 (apropos-symbols-internal): Fix indentation.
24008 (apropos-print): Simplify help, and recognize apropos-multi-type.
24009 (apropos-print-doc): Use button-type-get to extract the button's
24010 face property. Fill docstring (Bug#8352).
24011
24012 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
24013
24014 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
24015
24016 * play/mpuz.el (mpuz-silent): Doc fix.
24017 (mpuz-mode-map): Use mapc.
24018 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
24019 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
24020 Fix typos in docstrings.
24021
24022 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
24023 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
24024
24025 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
24026
24027 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
24028
24029 * minibuffer.el (completion--do-completion): Avoid the "Next char
24030 not unique" prompt if icomplete-mode is enabled (Bug#5849).
24031
24032 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
24033 mouse-2 into unread-command-events, it is interpreted correctly.
24034
24035 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
24036 (image-toggle-display): Doc fix.
24037
24038 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
24039
24040 * textmodes/page.el (what-page): Use line-number-at-pos to
24041 calculate line number (Bug#6825).
24042
24043 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
24044
24045 * eshell/esh-mode.el (find-tag-interactive): Declare function.
24046 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
24047 Pass argument NO-DEFAULT to `find-tag-interactive'.
24048
24049 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
24050
24051 Lexical-binding cleanup.
24052
24053 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
24054 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
24055 * progmodes/ada-prj.el (ada-prj-initialize-values)
24056 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
24057 (ada-prj-show-value):
24058 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
24059 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
24060 (antlr-invalidate-context-cache, antlr-options-menu-filter)
24061 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
24062 * progmodes/bug-reference.el (bug-reference-push-button):
24063 * progmodes/fortran.el (fortran-line-length):
24064 * progmodes/glasses.el (glasses-change):
24065 * progmodes/octave-mod.el (octave-fill-paragraph):
24066 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
24067 (python-pdbtrack-grub-for-buffer, python-sentinel):
24068 * progmodes/sql.el (sql-save-connection):
24069 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
24070 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
24071 Mark unused parameters.
24072
24073 * progmodes/compile.el (compilation--flush-directory-cache)
24074 (compilation--flush-parse, compile-internal): Mark unused parameters.
24075 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
24076 (compilation-next-error-function): Remove unused variable `timestamp'.
24077
24078 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
24079 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
24080
24081 * progmodes/dcl-mode.el (dcl-end-of-command):
24082 Remove unused variable `start'.
24083 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
24084 (dcl-option-value-basic, dcl-option-value-offset)
24085 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
24086 Mark unused parameters.
24087 (dcl-save-local-variable): Remove unused variable `val'.
24088 (mode): Declare.
24089
24090 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
24091 Mark unused parameters.
24092 (delphi-ignore-changes): Move before first use.
24093 (delphi-charset-token-at): Remove unused variable `start'.
24094 (delphi-else-start): Remove unused variable `if-count'.
24095 (delphi-comment-block-start, delphi-comment-block-end):
24096 Remove unused variable `kind'.
24097 (delphi-indent-line): Remove unused variable `new-point'.
24098
24099 * progmodes/ebrowse.el (ebrowse-files-list)
24100 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
24101 Mark unused parameters. Don't quote `lambda'.
24102 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
24103 Don't quote `lambda'.
24104 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
24105 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
24106 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
24107 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
24108 Use `ignore-errors'.
24109 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
24110 (ebrowse-view/find-file-and-search-pattern)
24111 (ebrowse-view/find-member-declaration/definition):
24112 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
24113 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
24114 Rename parameter PREFIX-ARG to PREFIX.
24115 (ebrowse-tags-read-name): Remove unused variables `start' and
24116 `member-info'.
24117 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
24118 to `tags-file'.
24119
24120 * progmodes/etags.el (local-find-tag-hook): Declare.
24121 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
24122 Mark unused parameters.
24123
24124 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
24125 (executable-interpret): Mark unused parameter.
24126
24127 * progmodes/flymake.el (flymake-process-sentinel)
24128 (flymake-after-change-function)
24129 (flymake-create-temp-with-folder-structure)
24130 (flymake-get-include-dirs-dot): Mark unused parameters.
24131 (flymake-safe-delete-directory): Remove unused variable `err'.
24132
24133 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
24134 (speedbar-timer-fn, speedbar-line-text)
24135 (speedbar-change-expand-button-char, speedbar-delete-subblock)
24136 (speedbar-center-buffer-smartly): Declare functions.
24137 (gdb-find-watch-expression): Remove unused variable `array'.
24138 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
24139 (gdb-starting): Mark unused parameters.
24140 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
24141 (gdb-table-string): Remove unused variable `res'.
24142 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
24143 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
24144 (gdb-display-buffer): Remove unused variable `cur-size'.
24145
24146 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
24147 allow lexical-binding compilation.
24148 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
24149 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
24150 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
24151 Mark unused parameters.
24152 (gud-gdb-marker-filter): Remove unused variable `match'.
24153 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
24154 lambda expressions and funcall them, instead of using `fset'.
24155
24156 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
24157 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
24158
24159 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
24160 variable `header-beg'; use `let'.
24161
24162 * progmodes/icon.el (indent-icon-exp): Remove unused variables
24163 `restart', `last-sexp' and `at-do'.
24164
24165 * progmodes/js.el (js--debug): Mark unused parameter.
24166 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
24167 (js--splice-into-items): Remove unused variable `item'.
24168 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
24169
24170 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
24171 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
24172 (makefile-complete): Remove unused variable `try'.
24173 (makefile-fill-paragraph, makefile-match-function-end):
24174 Mark unused parameters.
24175
24176 * progmodes/octave-inf.el (inferior-octave-complete):
24177 Remove unused variable `proc'.
24178 (inferior-octave-output-digest): Mark unused parameter.
24179
24180 * progmodes/perl-mode.el (perl-calculate-indent):
24181 Remove unused variable `err'.
24182
24183 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
24184 (prolog-indent-line): Mark unused parameters.
24185 (prolog-indent-line): Remove unused variable `beg'.
24186
24187 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
24188 (reporter-dont-compact-list): Declare.
24189
24190 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
24191 Remove unused variable `char'.
24192 (sh-debug): Mark unused parameter.
24193 (sh-get-indent-info): Remove unused variable `start'.
24194 (sh-calculate-indent): Remove unused variable `var'.
24195
24196 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
24197 (simula-electric-keyword): Remove unused variable `null'.
24198 (simula-search-backward, simula-search-forward): Remove unused
24199 variables `begin' and `end'.
24200
24201 * progmodes/vera-mode.el (vera-guess-basic-syntax):
24202 Remove unused variable `pos'.
24203 (vera-electric-tab, vera-comment-uncomment-region):
24204 Mark unused parameters.
24205 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
24206
24207 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
24208
24209 * emacs-lisp/package.el (package--builtins, package-alist)
24210 (package-load-descriptor, package-built-in-p, package-activate)
24211 (define-package, package-installed-p)
24212 (package-compute-transaction, package-buffer-info)
24213 (package--push): Doc fix. Distinguish more clearly between
24214 version strings and version lists.
24215
24216 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
24217
24218 Lexical-binding cleanup.
24219
24220 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
24221 (5x5-make-mutate-best):
24222 * play/fortune.el (fortune-in-buffer):
24223 * play/gomoku.el (gomoku-init-display):
24224 * play/solitaire.el (solitaire, solitaire-do-check):
24225 * play/tetris.el (tetris-default-update-speed-function):
24226 Mark unused parameters.
24227
24228 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
24229 (bubbles--shift): Remove unused variable `char-org'.
24230 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
24231 (bubbles--show-images): Remove unused variable `char'.
24232
24233 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
24234 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
24235 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
24236 (decipher-analyze-buffer): Use ?\s.
24237 (decipher-make-checkpoint): Remove unused variable `mapping'.
24238
24239 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
24240
24241 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
24242 Remove unused variable `result'; use `let'.
24243
24244 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
24245 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
24246 (gametree-children-shown-p, gametree-compute-reduced-score):
24247 Use `ignore-errors'.
24248
24249 * play/handwrite.el (ps-lpr-switches): Declare.
24250 (handwrite): Remove unused variables `pmin' and `lastp'.
24251
24252 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
24253
24254 * play/landmark.el (landmark-init-display)
24255 (landmark-update-naught-weights): Mark unused parameters.
24256 (landmark-y): Remove unused variable `noise'. Simplify.
24257 (landmark-human-plays): Remove unused variable `score'.
24258
24259 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
24260 (mpuz-try-proposal): Remove unused variable `game'.
24261
24262 * play/zone.el (life-patterns): Declare.
24263
24264 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
24265
24266 * vc/vc.el (ediff-vc-internal): Declare function.
24267
24268 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
24269
24270 * shell.el: Use lexical-binding and std completion UI.
24271 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
24272 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
24273 comint-preoutput-filter-functions rather than on
24274 comint-output-filter-functions.
24275 (shell-command-completion, shell--command-completion-data)
24276 (shell-filename-completion, shell-environment-variable-completion)
24277 (shell-c-a-p-replace-by-expanded-directory): New functions.
24278 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
24279 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
24280 (shell-dynamic-complete-environment-variable): Use them.
24281 (shell-dynamic-complete-as-environment-variable)
24282 (shell-dynamic-complete-as-command): Remove.
24283 (shell-match-partial-variable): Match past point.
24284 * comint.el: Clean up use of completion-at-point-functions.
24285 (comint-completion-at-point): New function.
24286 (comint-mode): Use it completion-at-point-functions.
24287 (comint-dynamic-complete): Make it obsolete.
24288 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
24289 (comint-c-a-p-replace-by-expanded-history): New function.
24290 (comint-dynamic-complete-functions)
24291 (comint-replace-by-expanded-history): Use it.
24292 * minibuffer.el (completion-table-with-terminator): Allow dynamic
24293 termination strings. Try harder to avoid second try-completion.
24294 (completion-in-region-mode-map): Disable bindings that don't work yet.
24295
24296 * comint.el: Use lexical-binding. Require CL.
24297 (comint-dynamic-complete-functions): Use comint-filename-completion.
24298 (comint-completion-addsuffix): Tweak custom type.
24299 (comint-filename-completion, comint--common-suffix)
24300 (comint--common-quoted-suffix, comint--table-subvert)
24301 (comint--complete-file-name-data): New functions.
24302 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
24303 (comint-dynamic-list-filename-completions): Use them.
24304 (comint-dynamic-simple-complete): Make obsolete.
24305
24306 * minibuffer.el (completion-in-region-mode):
24307 Keep completion-in-region-mode--predicate global.
24308 (completion-in-region--postch):
24309 Assume completion-in-region-mode--predicate is not null.
24310
24311 * progmodes/flymake.el (flymake-start-syntax-check-process):
24312 Obey `dir'. Simplify.
24313
24314 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
24315 we're in VC after all.
24316
24317 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
24318
24319 * vc/vc.el (vc-diff-build-argument-list-internal)
24320 (vc-version-ediff, vc-ediff): New commands.
24321 (vc-version-diff): Use vc-diff-build-argument-list-internal.
24322
24323 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
24324
24325 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
24326 add sanity check.
24327
24328 * obsolete/erc-hecomplete.el: Make obsolete.
24329 * obsolete/: Standardize obsolescence info in the header.
24330
24331 2011-04-20 Glenn Morris <rgm@gnu.org>
24332
24333 * calendar/solar.el (solar-horizontal-coordinates):
24334 Use the longitude argument rather than `calendar-longitude'.
24335 (solar-date-next-longitude): Remove unused locals.
24336
24337 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
24338
24339 * whitespace.el: New version 13.2.1.
24340
24341 2011-04-20 felix <EmacsWiki> (tiny change)
24342
24343 * whitespace.el (global-whitespace-mode): Keep highlight when
24344 switching between major modes on a file.
24345
24346 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
24347
24348 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
24349 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
24350 multi-line comments as well.
24351
24352 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
24353
24354 Lexical-binding cleanup.
24355
24356 * arc-mode.el (archive-mode-revert):
24357 * cmuscheme.el (scheme-interactively-start-process):
24358 * custom.el (custom-initialize-delay):
24359 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
24360 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
24361 * emacs-lock.el (emacs-lock-clear-sentinel):
24362 * ezimage.el (defezimage):
24363 * follow.el (follow-avoid-tail-recenter):
24364 * fringe.el (set-fringe-mode-1):
24365 * generic-x.el (bat-generic-mode-compile):
24366 * help-mode.el (help-info-variable, help-do-xref)
24367 (help-mode-revert-buffer):
24368 * help.el (view-emacs-todo):
24369 * iswitchb.el (iswitchb-completion-help):
24370 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
24371 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
24372 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
24373 * locate.el (locate-update):
24374 * longlines.el (longlines-encode-region)
24375 (longlines-after-change-function):
24376 * outline.el (outline-isearch-open-invisible):
24377 * ps-def.el (declare-function, charset-dimension, char-width)
24378 (encode-char):
24379 * ps-mule.el (ps-mule-plot-string):
24380 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
24381 (recentf-edit-list-select, recentf-edit-list-validate)
24382 (recentf-open-files-action):
24383 * rect.el (delete-whitespace-rectangle-line)
24384 (rectangle-number-line-callback):
24385 * register.el (window-configuration-to-register)
24386 (frame-configuration-to-register):
24387 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
24388 * select.el (xselect-convert-to-string, xselect-convert-to-length)
24389 (xselect-convert-to-targets, xselect-convert-to-delete)
24390 (xselect-convert-to-filename, xselect-convert-to-charpos)
24391 (xselect-convert-to-lineno, xselect-convert-to-colno)
24392 (xselect-convert-to-os, xselect-convert-to-host)
24393 (xselect-convert-to-user, xselect-convert-to-class)
24394 (xselect-convert-to-name, xselect-convert-to-integer)
24395 (xselect-convert-to-atom, xselect-convert-to-identity):
24396 * subr.el (declare, ignore, process-kill-without-query)
24397 (text-clone-maintain):
24398 * terminal.el (te-get-char, te-tic-sentinel):
24399 * tool-bar.el (tool-bar-make-keymap):
24400 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
24401 * type-break.el (type-break-mode, type-break-noninteractive-query):
24402 * view.el (View-back-to-mark):
24403 * wid-browse.el (widget-browse-action, widget-browse-widget)
24404 (widget-browse-widgets, widget-browse-sexp):
24405 * widget.el (define-widget-keywords):
24406 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
24407 Mark unused parameters.
24408
24409 * align.el (align-adjust-col-for-rule): Mark unused parameter.
24410 (align-areas): Remove unused variable `look'.
24411 (align-region): Remove unused variables `real-end' and `pos-list'.
24412
24413 * apropos.el (apropos-score-doc): Remove unused variable `i'.
24414
24415 * bindings.el (mode-line-modified, mode-line-remote):
24416 Mark unused parameters.
24417 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
24418
24419 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
24420 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
24421
24422 * comint.el (comint-history-isearch-pop-state)
24423 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
24424 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
24425 (comint-substitute-in-file-name): Doc fix.
24426
24427 * completion.el (cmpl-statistics-block): Mark unused parameter.
24428 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
24429 (save-completions-to-file, load-completions-from-file):
24430 Remove unused local variable `e'.
24431
24432 * composite.el (compose-chars): Remove unused variable `len'.
24433 (lgstring-insert-glyph): Remove unused variable `g'.
24434 (compose-glyph-string): Remove unused variables `ascent',
24435 `descent', `lbearing' and `rbearing'.
24436 (compose-glyph-string-relative): Remove unused variables
24437 `lbearing', `rbearing' and `wadjust'.
24438 (compose-gstring-for-graphic): Remove unused variables `header',
24439 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
24440 (compose-gstring-for-terminal): Remove unused variables `header'
24441 and `nchars'. Use `let', not `let*'.
24442
24443 * cus-edit.el (Custom-set, Custom-save, custom-reset)
24444 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
24445 (Custom-buffer-done, custom-buffer-create-internal)
24446 (custom-browse-visibility-action, custom-browse-group-tag-action)
24447 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
24448 (widget-magic-mouse-down-action, custom-toggle-parent)
24449 (custom-add-parent-links, custom-toggle-hide-variable)
24450 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
24451 (custom-toggle-hide-face, face, hook, custom-group-link-action)
24452 (custom-face-menu-create, custom-variable-menu-create, get)
24453 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
24454 (custom-reset-standard-save-and-update): Remove unused variable `value'.
24455 (customize-apropos): Remove unused variable `tests'.
24456 (custom-group-value-create): Remove unused variable `hidden-p'.
24457 (sort-fold-case): Declare.
24458
24459 * cus-theme.el (custom-reset-standard-faces-list)
24460 (custom-reset-standard-variables-list): Declare.
24461 (customize-create-theme, custom-theme-revert, custom-theme-write)
24462 (custom-theme-choose-mode, customize-themes, custom-theme-save):
24463 Mark unused parameters.
24464
24465 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
24466
24467 * delim-col.el (delimit-columns-max): Move defvar before first use.
24468
24469 * descr-text.el (describe-char-categories): Don't quote `lambda'.
24470 (describe-char): Don't quote `lambda'. Mark unused parameter.
24471
24472 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
24473 (auto-insert): Declare.
24474 (desktop-restore-file-buffer): Rename desktop-* parameters;
24475 mark unused ones.
24476 (desktop-create-buffer): Rename desktop-* parameters and bind them.
24477 (desktop-buffer): Rename desktop-* parameters.
24478
24479 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
24480 (dframe-reposition-frame-xemacs, dframe-help-echo)
24481 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
24482 Mark unused parameters.
24483
24484 * dired-aux.el (backup-extract-version-start, overwrite-query)
24485 (overwrite-backup-query, rename-regexp-query)
24486 (rename-non-directory-query): Declare.
24487 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
24488 (dired-add-entry): Remove unused variable `orig-file-name'.
24489 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
24490 Use parameter PRESERVE-TIME instead of accessing dynamic variable
24491 `dired-copy-preserve-time' directly.
24492 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
24493 (dired-insert-subdir-newpos): Rename unused variable `pos'.
24494
24495 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
24496 (dired-virtual-revert, dired-make-relative-symlink):
24497 Mark unused parameters.
24498 (manual-program): Declare.
24499 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
24500 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
24501 wrapped in `with-no-warnings' to avoid replacing one warning by another.
24502
24503 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
24504
24505 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
24506
24507 * echistory.el (electric-history-in-progress, Helper-return-blurb):
24508 Declare.
24509
24510 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
24511
24512 * electric.el (Electric-command-loop): Rename parameter
24513 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
24514
24515 * expand.el (expand-in-literal): Remove unused variable `here'.
24516
24517 * facemenu.el (facemenu-add-new-color):
24518 Remove unused variable `docstring'.
24519
24520 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
24521 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
24522 (face-attr-construct): Mark unused parameter. Doc fix.
24523 (read-color): Remove unused variable `hex-string'.
24524
24525 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
24526 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
24527 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
24528 (display-buffer-other-frame): Remove unused variable `old-window'.
24529 (kill-buffer-hook): Declare.
24530 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
24531 Mark unused parameters.
24532 (after-find-file): Pass 1 to `auto-save-mode', not t.
24533
24534 * files-x.el (auto-insert): Declare.
24535 (modify-file-local-variable-prop-line): Remove unused variable `val'.
24536
24537 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
24538 variable `buf'. Mark unused parameter.
24539 (find-lisp-insert-directory): Mark unused parameter.
24540
24541 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
24542 (format-encode-region): Remove unused variables `cur-buf' and `result'.
24543 (format-common-tail): Remove, unused.
24544 (format-deannotate-region): Remove unused variable `loc'.
24545 (format-annotate-region): Remove unused variable `p'.
24546 (format-annotate-single-property-change): Remove unused variables
24547 `default' and `tail'.
24548
24549 * forms.el (read-file-filter): Declare.
24550 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
24551
24552 * frame.el (frame-creation-function-alist): Mark unused parameter.
24553 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
24554
24555 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
24556 Remove unused parameters.
24557 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
24558 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
24559
24560 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
24561 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
24562 (hfy-prepare-tag-map): Mark unused parameters.
24563 (htmlfontify-buffer): Use `called-interactively-p'.
24564
24565 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
24566 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
24567 (ibuffer-do-occur): Mark unused parameters.
24568 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
24569 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
24570
24571 * ibuffer.el: Don't quote `lambda'.
24572 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
24573 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
24574 Mark unused parameters.
24575
24576 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
24577 (ido-completing-read): Mark unused parameters.
24578 (ido-copy-current-word): Mark unused parameters;
24579 remove unused variable `name'.
24580 (ido-sort-merged-list): Remove unused parameter `dirs'.
24581
24582 * ielm.el (ielm-input-sender): Mark unused parameter.
24583 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
24584 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
24585 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
24586 `ielm-string' as a dynamic variable accessible from the IELM prompt.
24587 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
24588
24589 * image-dired.el (image-dired-display-thumbs): Remove unused
24590 variables `curr-file' and `count'.
24591 (image-dired-remove-tag): Remove unused variable `start'.
24592 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
24593 variable `curr-file'
24594 (image-dired-rotate-original): Remove unused variable `temp-file'.
24595 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
24596 Remove unused variable `file'.
24597 (image-dired-gallery-generate): Remove unused variable `curr'.
24598 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
24599
24600 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
24601
24602 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
24603
24604 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
24605
24606 * isearch.el (minibuffer-history-symbol): Declare.
24607 (isearch-edit-string): Remove unused variable `err'.
24608 (isearch-message-prefix, isearch-message-suffix):
24609 Mark unused parameters.
24610
24611 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
24612
24613 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
24614
24615 * makesum.el (double-column): Remove unused variable `cnt'.
24616
24617 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
24618 (ido-ignore-item-temp-list): Declare.
24619
24620 * mouse-drag.el (mouse-drag-throw): Remove unused variables
24621 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
24622 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
24623 (mouse-drag-drag): Remove unused variables `mouse-delta' and
24624 `mouse-col-delta'.
24625
24626 * mouse-sel.el (mouse-extend-internal):
24627 Remove unused variable `orig-window-frame'.
24628
24629 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
24630 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
24631 Move declarations before first use.
24632 (pcomplete-opt): Mark unused parameters; doc fix.
24633
24634 * proced.el (proced-revert): Mark unused parameter.
24635 (proced-send-signal): Remove unused variable `err'.
24636
24637 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
24638 Rename parameter PREFIX-ARG to ARG.
24639 (ps-basic-plot-string, ps-basic-plot-whitespace):
24640 Mark unused parameters.
24641
24642 * replace.el (replace-count): Define.
24643 (occur-revert-function): Mark unused parameters.
24644 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
24645 (isearch-case-fold-search, isearch-string): Declare.
24646 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
24647 bind `case-fold-search'. Remove unused variables `beg' and `end',
24648 and simplify.
24649 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
24650 COUNT and bind `replace-count'.
24651 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
24652 to COUNT.
24653
24654 * savehist.el (print-readably, print-string-length): Declare.
24655
24656 * shadowfile.el (shadow-expand-cluster-in-file-name):
24657 Remove unused variable `cluster'.
24658 (shadow-copy-file): Remove unused variable `i'.
24659 (shadow-noquery, shadow-clusters, shadow-site-cluster)
24660 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
24661 (shadow-define-literal-group, shadow-define-regexp-group)
24662 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
24663
24664 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
24665 (shell): Use `called-interactively-p'.
24666 (shell-directory-tracker): Remove unused variable `chdir-failure'.
24667
24668 * simple.el (compilation-context-lines, comint-file-name-quote-list)
24669 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
24670 (delete-backward-char): Remove unused variable `ocol'.
24671 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
24672 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
24673 (event-apply-hyper-modifier, event-apply-shift-modifier)
24674 (event-apply-control-modifier, event-apply-meta-modifier):
24675 Mark unused parameters.
24676 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
24677 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
24678
24679 * speedbar.el (speedbar-ignored-directory-expressions)
24680 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
24681 (speedbar-find-file, speedbar-dir-follow)
24682 (speedbar-directory-buttons-follow, speedbar-tag-find)
24683 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
24684 (speedbar-buffers-line-directory, speedbar-buffer-click):
24685 Mark unused parameters.
24686 (speedbar-tag-file): Remove unused variable `mode'.
24687 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
24688
24689 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
24690
24691 * talk.el (talk): Remove unused variable `display'.
24692
24693 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
24694 (tar-write-region-annotate): Mark unused parameter.
24695
24696 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
24697 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
24698 Declare them, wrapped in `with-no-warnings' to avoid replacing one
24699 warning by another.
24700
24701 * time-stamp.el (time-stamp-string-preprocess):
24702 Remove unused variable `require-padding'.
24703
24704 * tree-widget.el (widget-glyph-enable): Declare.
24705 (tree-widget-action): Mark unused parameter.
24706
24707 * w32-fns.el (x-get-selection): Mark unused parameter.
24708 (autoload-make-program, generated-autoload-file): Declare.
24709
24710 * wdired.el (wdired-revert): Mark unused parameters.
24711 (wdired-xcase-word): Remove unused variable `err'.
24712
24713 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
24714 (whitespace-help-scroll): Remove unused variable `data-help'.
24715
24716 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
24717 (widget-image-insert, widget-after-change, default)
24718 (widget-default-format-handler, widget-default-notify)
24719 (widget-default-prompt-value, widget-info-link-action)
24720 (widget-url-link-action, widget-function-link-action)
24721 (widget-variable-link-action, widget-file-link-action)
24722 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
24723 (widget-field-prompt-internal, widget-field-action, widget-field-match)
24724 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
24725 (widget-insert-button-action, widget-delete-button-action, visibility)
24726 (widget-documentation-link-action, widget-documentation-string-action)
24727 (widget-const-prompt-value, widget-regexp-match, symbol)
24728 (widget-coding-system-prompt-value)
24729 (widget-key-sequence-value-to-external, sexp)
24730 (widget-sexp-value-to-internal, character, vector, cons)
24731 (widget-choice-prompt-value, widget-boolean-prompt-value)
24732 (widget-color--choose-action): Mark unused parameters.
24733 (widget-item-match-inline, widget-choice-match-inline)
24734 (widget-checklist-match, widget-checklist-match-inline)
24735 (widget-group-match): Rename parameter VALUES to VALS.
24736 (widget-field-value-set): Remove unused variable `size'.
24737 (widget-color-action): Remove unused variables `value' and `start'.
24738
24739 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
24740 variable `dir'. Doc fix.
24741 (windmove-find-other-window): Don't pass it.
24742
24743 * window.el (count-windows): Mark unused parameter.
24744 (bw-adjust-window): Remove unused variable `err'.
24745
24746 * woman.el (woman-file-name): Remove unused variable `default'.
24747 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
24748 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
24749 (global-font-lock-mode): Declare.
24750 (woman-decode-region): Mark unused parameter.
24751 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
24752
24753 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
24754 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
24755 (x-dnd-handle-moz-url): Remove unused variable `title'.
24756 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
24757
24758 * xml.el (xml-parse-tag, xml-parse-attlist):
24759 Remove unused variable `pos'.
24760
24761 2011-04-19 Glenn Morris <rgm@gnu.org>
24762
24763 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
24764 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
24765 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
24766 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
24767 * calendar/cal-html.el (cal-html-insert-minical):
24768 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
24769 (calendar-mark-date-pattern):
24770 Prefix "unused" locals.
24771
24772 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
24773 optional argument `style'.
24774
24775 * calendar/appt.el (appt-make-list):
24776 * calendar/cal-china.el (calendar-chinese-date-string):
24777 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
24778 (diary-hebrew-yahrzeit):
24779 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
24780 * calendar/calendar.el (calendar-generate-window):
24781 * calendar/time-date.el (time-to-days):
24782 Remove unused local variables.
24783
24784 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
24785
24786 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
24787 glyphless-char-display table.
24788 (tabulated-list-glyphless-char-display): New var.
24789
24790 2011-04-18 Sam Steingold <sds@gnu.org>
24791
24792 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
24793 to acknowledgments.
24794
24795 2011-04-17 Glenn Morris <rgm@gnu.org>
24796
24797 * calendar/diary-lib.el (diary-sexp-entry):
24798 * calendar/holidays.el (holiday-sexp):
24799 Set debug-on-error rather than the removed stack-trace-on-error.
24800
24801 2011-04-16 Glenn Morris <rgm@gnu.org>
24802
24803 * progmodes/f90.el: Use lexical-binding.
24804 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
24805
24806 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
24807
24808 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
24809 (mail-mode): Setup mailalias completion here instead.
24810 * mail/mailalias.el: Use lexical-binding.
24811 (pattern, mailalias-done): Declare dynamic.
24812 (mail-completion-at-point-function): New function, from mail-complete.
24813 (mail-complete): Use it.
24814 (mail-completion-expand): New function.
24815 (mail-get-names): Use it.
24816 (mail-directory, mail-directory-process, mail-directory-stream):
24817 Don't use `pattern' for lexically bound arg.
24818
24819 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
24820
24821 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
24822 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
24823 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
24824
24825 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
24826 (byte-save-window-excursion, byte-temp-output-buffer-setup)
24827 (byte-interactive-p): Define them again, for use when inlining
24828 old code.
24829
24830 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
24831
24832 * loadup.el: Use `string-to-number', not `string-to-int'.
24833
24834 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
24835
24836 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
24837 gud-gdb-complete-command.
24838 (gud-gdb-completions): New function, from gud-gdb-complete-command.
24839 (gud-gdb-completion-at-point): New function.
24840 (gud-gdb-completions): Remove.
24841
24842 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
24843
24844 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
24845 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
24846 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
24847 whether `executable-find' is bound.
24848
24849 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
24850
24851 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
24852
24853 * minibuffer.el (completion-in-region-mode-predicate)
24854 (completion-in-region-mode--predicate): New vars.
24855 (completion-in-region, completion-in-region--postch)
24856 (completion-in-region-mode): Use them.
24857 (completion--capf-wrapper): Also return the hook function.
24858 (completion-at-point, completion-help-at-point):
24859 Adjust and provide a predicate.
24860
24861 Preserve arg names for advice of subr and lexical functions (bug#8457).
24862 * help-fns.el (help-function-arglist): Consolidate the subr and
24863 new-byte-code cases. Add argument `preserve-names' to extract names
24864 from the docstring when needed.
24865 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
24866 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
24867 (ad-arglist): Use help-function-arglist's new arg.
24868 (ad-definition-type): Use cond.
24869
24870 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
24871
24872 * autorevert.el (auto-revert-handler):
24873 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
24874 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
24875 Don't quote lambda.
24876
24877 * image-mode.el (image-transform-set-scale):
24878 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
24879
24880 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
24881
24882 * net/network-stream.el (network-stream-open-starttls): Only do
24883 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
24884 Upgrades via gnutls-cli are too slow to be done opportunistically.
24885
24886 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
24887
24888 * dframe.el (dframe-current-frame): Remove spurious quote.
24889
24890 2011-04-12 Glenn Morris <rgm@gnu.org>
24891
24892 * calendar/cal-tex.el (cal-tex-end-document):
24893 Try to automatically use latin1 input if needed.
24894
24895 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
24896 Don't try to cons a mark onto an empty element.
24897
24898 2011-04-11 Leo Liu <sdl.web@gmail.com>
24899
24900 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
24901 buffers.
24902 (ido-kill-buffer-at-head): Support killing virtual buffers.
24903
24904 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
24905
24906 * minibuffer.el (completion-show-inline-help): New var.
24907 (completion--do-completion, minibuffer-complete)
24908 (minibuffer-force-complete, minibuffer-complete-word):
24909 Inhibit minibuffer messages if completion-show-inline-help is nil.
24910
24911 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
24912 to avoid interference from inline help (Bug#5849).
24913
24914 2011-04-10 Leo Liu <sdl.web@gmail.com>
24915
24916 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
24917 Fix typo.
24918
24919 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
24920
24921 * image-mode.el (image-toggle-display-image): Signal an error if
24922 not in Image mode.
24923 (image-transform-mode, image-transform-resize)
24924 (image-transform-set-rotation): Doc fix.
24925 (image-transform-set-resize): Delete.
24926 (image-transform-set-scale, image-transform-fit-to-height)
24927 (image-transform-fit-to-width): Handle image-toggle-display-image
24928 and image-transform-resize directly.
24929
24930 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
24931
24932 * doc-view.el (doc-view-fit-width-to-window)
24933 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
24934 New functions for fitting the shown image to the Emacs window size.
24935 (doc-view-mode-map): Add bindings for the new functions.
24936
24937 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
24938
24939 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
24940 Fix typo in docstring.
24941
24942 2011-04-08 Eli Zaretskii <eliz@gnu.org>
24943
24944 * files.el (file-size-human-readable): Produce one digit after
24945 decimal, like "ls -lh" does.
24946
24947 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
24948 the file size representation.
24949
24950 * simple.el (list-processes): If async subprocesses are not
24951 available, error out with a clear error message.
24952
24953 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
24954
24955 * help.el (help-form-show): New function, to be called from C.
24956 Put help-form output in a buffer named differently than *Help*.
24957
24958 2011-04-08 Eli Zaretskii <eliz@gnu.org>
24959
24960 * files.el (file-size-human-readable): New function.
24961
24962 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
24963 computing the representation inline. Don't require `cl'.
24964
24965 2011-04-08 Glenn Morris <rgm@gnu.org>
24966
24967 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
24968
24969 * net/browse-url.el (browse-url-firefox):
24970 Test system-type, not system-configuration.
24971
24972 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
24973 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
24974 Use log-edit-empty-buffer-p. (Bug#7598)
24975
24976 * net/rlogin.el (rlogin-process-connection-type): Simplify.
24977 (rlogin-mode-map): Initialize in the defvar.
24978 (rlogin): Use ignore-errors.
24979
24980 * replace.el (occur-mode-map): Some fixes for menu items.
24981
24982 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
24983
24984 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
24985
24986 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
24987
24988 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
24989 issuing unused warnings.
24990
24991 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
24992 macro directly.
24993
24994 * simple.el: Lisp reimplement of list-processes. Based on an
24995 earlier reimplementation by Leo Liu, but using tabulated-list.el.
24996 (process-menu-mode): New major mode.
24997 (list-processes--refresh, list-processes):
24998 (process-menu-visit-buffer): New functions.
24999
25000 * files.el (save-buffers-kill-emacs): Don't assume any return
25001 value of list-processes, which is undocumented anyway.
25002
25003 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
25004
25005 * emacs-lisp/tabulated-list.el: New file.
25006
25007 * emacs-lisp/package.el: Use Tabulated List mode.
25008 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
25009 (package-menu-mode): Derive from tabulated-list-mode. Set up the
25010 table format using Tabulated List mode variables.
25011 (package--push): New macro, replacing package-list-maybe-add.
25012 (package-menu--generate): Use package--push. Renamed from
25013 package--generate-package-list.
25014 (package-menu-refresh, list-packages): Use it.
25015 (package-menu--print-info): Rename from package-print-package.
25016 Return insertion data instead of inserting it directly.
25017 (package-menu-describe-package, package-menu-execute):
25018 Use tabulated-list-get-id.
25019 (package-menu-mark-delete, package-menu-mark-install)
25020 (package-menu-mark-unmark, package-menu-backup-unmark)
25021 (package-menu-mark-obsolete-for-deletion):
25022 Use tabulated-list-put-tag.
25023 (package--list-packages, package-menu-revert)
25024 (package-menu-get-package, package-menu-get-version)
25025 (package-menu-sort-by-column): Functions deleted.
25026 (package-menu-package-list, package-menu-sort-key): Vars deleted.
25027 (package-menu--status-predicate, package-menu--version-predicate)
25028 (package-menu--name-predicate)
25029 (package-menu--description-predicate): Handle arguments in the
25030 Tabulated List format.
25031 (package-list-packages-no-fetch): Call list-packages.
25032
25033 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
25034
25035 * files.el (after-find-file-from-revert-buffer): Remove variable.
25036 (after-find-file): Don't bind it.
25037 (revert-buffer-in-progress-p): New variable.
25038 (revert-buffer): Bind it.
25039 Pass nil for `after-find-file-from-revert-buffer'.
25040
25041 * saveplace.el (save-place-find-file-hook): Use new variable
25042 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
25043
25044 2011-04-06 Glenn Morris <rgm@gnu.org>
25045
25046 * Makefile.in (AUTOGEN_VCS): New variable.
25047 (autoloads): Use $AUTOGEN_VCS.
25048
25049 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
25050 * calendar/calendar.el (calendar-mode-map):
25051 Check for toolkit scroll bars. (Bug#8305)
25052
25053 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
25054
25055 * minibuffer.el (completion-in-region--postch)
25056 (completion-in-region-mode): Remove unnecessary messages.
25057
25058 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
25059
25060 * font-lock.el (font-lock-refresh-defaults):
25061 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
25062 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
25063
25064 * info.el (Info-directory-list, Info-read-node-name-2)
25065 (Info-split-parameter-string): Doc fixes.
25066 (Info-virtual-nodes): Reflow docstring.
25067 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
25068 (Info-apropos-toc-nodes, info-finder, Info-get-token)
25069 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
25070 Fix typos in docstrings.
25071 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
25072 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
25073 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
25074 (Info-restore-desktop-buffer): Mark unused parameters.
25075 (Info-directory-find-file, Info-directory-find-node)
25076 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
25077 (Info-virtual-index-find-node, Info-apropos-find-file)
25078 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
25079 Mark unused parameters; fix typos in docstrings.
25080 (Info-virtual-index): Remove unused local variable `nodename'.
25081
25082 2011-04-05 Deniz Dogan <deniz@dogan.se>
25083
25084 * net/rcirc.el: Update my e-mail address.
25085 (rcirc-mode-map): Remove M-o binding.
25086
25087 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
25088
25089 * startup.el (command-line): Save the cursor's theme-face
25090 directly, instead of using face-override-spec.
25091
25092 * custom.el (load-theme): Minor optimization in assigning faces.
25093
25094 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
25095
25096 * help-fns.el (describe-variable): Complete all variables having
25097 documentation, including keywords.
25098 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
25099
25100 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
25101
25102 Convert to lexical-binding.
25103
25104 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
25105 (bs--get-marked-string, bs--get-modified-string)
25106 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
25107 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
25108 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
25109
25110 * ehelp.el (electric-help-execute-extended)
25111 (electric-help-ctrl-x-prefix):
25112 * hexl.el (hexl-revert-buffer-function):
25113 * linum.el (linum-after-change, linum-after-scroll):
25114 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
25115
25116 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
25117
25118 2011-04-04 Daiki Ueno <ueno@unixuser.org>
25119
25120 * epa-dired.el:
25121 * epa-mail.el:
25122 * epa-hook.el:
25123 * epa-file.el:
25124 * epa.el:
25125 * epg.el: Use lexical binding.
25126
25127 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
25128
25129 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
25130
25131 * textmodes/flyspell.el (flyspell-word): Recognize default
25132 dictionary case for flyspell-mark-duplications-exceptions.
25133 Use regexp matching for languages.
25134 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
25135 default dictionary (Bug#7926).
25136
25137 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
25138
25139 * emacs-lisp/package.el (package--with-work-buffer):
25140 Recognize https URLs.
25141
25142 * net/network-stream.el: Move from gnus/proto-stream.el.
25143 Change prefix to network-stream throughout.
25144 (open-protocol-stream): Merge into open-network-stream, leaving
25145 open-protocol-stream as an alias. Handle nil BUFFER args.
25146
25147 * subr.el (open-network-stream): Move to net/network-stream.el.
25148
25149 2011-04-02 Glenn Morris <rgm@gnu.org>
25150
25151 * find-dired.el (find-exec-terminator): New option.
25152 (find-ls-option): Test for -ls support.
25153 (find-ls-subdir-switches): Test for -b in find-ls-option.
25154 (find-dired, find-grep-dired): Doc fixes.
25155 (find-dired): Use find-exec-terminator.
25156
25157 * find-dired.el (find-ls-option, find-ls-subdir-switches)
25158 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
25159 (find-name-arg): Remove purecopy.
25160
25161 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
25162 (grep-compute-defaults): Check for `-exec COMMAND +' support.
25163 Set grep-find-use-xargs, grep-find-command, and grep-find-template
25164 accordingly. Don't add the null-device if not needed.
25165
25166 * files.el (save-some-buffers): Doc fix.
25167
25168 2011-04-02 Eli Zaretskii <eliz@gnu.org>
25169
25170 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
25171
25172 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
25173
25174 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
25175 Use `dolist' rather than `mapcar'.
25176
25177 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
25178
25179 Add lexical binding.
25180
25181 * subr.el (apply-partially): Use new closures rather than CL.
25182 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
25183 (dolist, dotimes): Use slightly different expansion for lexical code.
25184 (functionp): Move to C.
25185 (letrec): New macro.
25186 (with-wrapper-hook): Use it and apply-partially instead of CL.
25187 (eval-after-load): Preserve lexical-binding.
25188 (save-window-excursion, with-output-to-temp-buffer): Turn them
25189 into macros.
25190
25191 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
25192
25193 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
25194 than the arglist.
25195 (help-add-fundoc-usage): Don't add `Not documented'.
25196 (help-function-arglist): Handle closures, subroutines, and new
25197 byte-code-functions.
25198 (help-make-usage): Remove leading underscores.
25199 (describe-function-1): Handle closures.
25200 (describe-variable): Use special-variable-p for completion.
25201
25202 * files.el (lexical-binding): Declare safe.
25203
25204 * emacs-lisp/pcase.el: Don't use destructuring-bind.
25205 (pcase--memoize): Rename from pcase-memoize. Change weakness.
25206 (pcase): Add `let' pattern.
25207 Change memoization so it actually works.
25208 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
25209 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
25210 <let>: New case.
25211
25212 * emacs-lisp/macroexp.el: Use lexical binding.
25213 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
25214 Don't convert ' to #' without checking that it's indeed quoting
25215 a lambda.
25216
25217 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
25218 Use eval-sexp-add-defvars.
25219 (eval-sexp-add-defvars): New fun.
25220
25221 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
25222
25223 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
25224 Don't autoload.
25225 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
25226 than the internal `byte-compile-lambda'.
25227 (defmethod): Don't hide code under quotes.
25228 (eieio-defmethod): New `code' argument.
25229
25230 * emacs-lisp/eieio-comp.el: Remove.
25231
25232 * emacs-lisp/edebug.el (edebug-eval-defun)
25233 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
25234 (edebug-toggle): Avoid `eval'.
25235
25236 * emacs-lisp/disass.el (disassemble-internal): Handle new
25237 `closure' objects.
25238 (disassemble-1): Handle new byte codes.
25239
25240 * emacs-lisp/cl.el (pushnew): Silence warning.
25241
25242 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
25243 (cl-byte-compile-throw): Remove.
25244 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
25245
25246 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
25247 closures.
25248
25249 * emacs-lisp/cconv.el: New file.
25250
25251 * emacs-lisp/bytecomp.el: Use lexical binding instead of
25252 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
25253 (byte-compile-initial-macro-environment):
25254 Handle declare-function here.
25255 (byte-compile--lexical-environment): New var.
25256 (byte-stack-ref, byte-stack-set, byte-discardN)
25257 (byte-discardN-preserve-tos): New lap codes.
25258 (byte-interactive-p): Don't use any more.
25259 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
25260 New macros.
25261 (byte-compile-lapcode): Use them and handle new lap codes.
25262 (byte-compile-obsolete): Remove.
25263 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
25264 (byte-compile-arglist-warn): Check late def of inlinable funs.
25265 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
25266 since they should have been expanded by now.
25267 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
25268 (byte-compile-from-buffer): Remove unused second arg.
25269 (byte-compile-preprocess): New function.
25270 (byte-compile-toplevel-file-form): New function to distinguish
25271 file-form calls from outside from file-form calls from hunk-handlers.
25272 (byte-compile-file-form): Simplify.
25273 (byte-compile-file-form-defsubst): Remove.
25274 (byte-compile-file-form-defmumble): Simplify now that
25275 byte-compile-lambda always returns a byte-code-function.
25276 (byte-compile): Preprocess.
25277 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
25278 Remove, not used any more.
25279 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
25280 (byte-compile-make-args-desc): New funs.
25281 (byte-compile-lambda): Handle lexical functions. Always return
25282 a byte-code-function.
25283 (byte-compile-reserved-constants): New var, to make up room for
25284 closed-over variables.
25285 (byte-compile-constants-vector): Obey it.
25286 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
25287 (byte-compile-macroexpand-declare-function): New function.
25288 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
25289 byte-code-functions.
25290 (byte-compile-form): Check obsolescence here.
25291 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
25292 (byte-compile-variable-ref): Remove.
25293 (byte-compile-dynamic-variable-op): New fun.
25294 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
25295 (byte-compile-variable-set): New funs.
25296 (byte-compile-discard): Add 2 args.
25297 (byte-compile-stack-ref, byte-compile-stack-set)
25298 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
25299 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
25300 macroexpand-all instead.
25301 (byte-compile-quote-form): Remove.
25302 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
25303 (byte-compile-bind, byte-compile-unbind): New funs.
25304 (byte-compile-let): Handle let* and lexical binding.
25305 (byte-compile-let*): Remove.
25306 (byte-compile-catch, byte-compile-unwind-protect)
25307 (byte-compile-track-mouse, byte-compile-condition-case):
25308 Handle a new :fun-body form, used for lexical scoping.
25309 (byte-compile-save-window-excursion)
25310 (byte-compile-with-output-to-temp-buffer): Remove.
25311 (byte-compile-defun): Simplify.
25312 (byte-compile-stack-adjustment): New fun.
25313 (byte-compile-out): Use it.
25314 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
25315
25316 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
25317 handler any more.
25318
25319 * emacs-lisp/byte-opt.el: Use lexical binding.
25320 (byte-inline-lapcode): Remove (to bytecomp).
25321 (byte-compile-inline-expand): Pay attention to inlining to/from
25322 lexically bound code.
25323 (byte-compile-unfold-lambda): Don't handle byte-code-functions
25324 any more.
25325 (byte-optimize-form-code-walker): Don't handle save-window-excursion
25326 any more and don't call compiler-macros.
25327 (byte-compile-splice-in-already-compiled-code): Remove.
25328 (byte-code): Don't inline any more.
25329 (disassemble-offset): Receive `bytes' as argument rather than via
25330 dynamic scoping.
25331 (byte-compile-tag-number): Declare before first use.
25332 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
25333 `return' even if make-spliceable.
25334 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
25335 obsolete interactive-p.
25336 (byte-optimize-lapcode): Optimize new lap-codes.
25337 Don't trip up on new form of `byte-constant' lap code.
25338
25339 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
25340
25341 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
25342
25343 * custom.el (custom-initialize-default, custom-declare-variable):
25344 Use `defvar'.
25345
25346 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
25347 New variables.
25348 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
25349 (COMPILE_FIRST): Add macroexp and cconv.
25350 * makefile.w32-in: Mirror changes in Makefile.in.
25351
25352 * vc/cvs-status.el:
25353 * vc/diff-mode.el:
25354 * vc/log-edit.el:
25355 * vc/log-view.el:
25356 * vc/smerge-mode.el:
25357 * textmodes/bibtex-style.el:
25358 * textmodes/css-mode.el:
25359 * startup.el:
25360 * uniquify.el:
25361 * minibuffer.el:
25362 * newcomment.el:
25363 * reveal.el:
25364 * server.el:
25365 * mpc.el:
25366 * emacs-lisp/smie.el:
25367 * doc-view.el:
25368 * dired.el:
25369 * abbrev.el: Use lexical binding.
25370
25371 2011-04-01 Eli Zaretskii <eliz@gnu.org>
25372
25373 * info.el (info-display-manual): New function.
25374
25375 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
25376
25377 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
25378
25379 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
25380
25381 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
25382 an entry for that server in rcirc-authinfo. (Bug#8385)
25383
25384 2011-03-31 Glenn Morris <rgm@gnu.org>
25385
25386 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
25387
25388 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
25389
25390 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
25391
25392 * progmodes/python.el (python-default-interpreter)
25393 (python-python-command-args, python-jython-command-args)
25394 (python-which-shell, python-which-args, python-which-bufname)
25395 (python-file-queue, python-comint-output-filter-function)
25396 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
25397 variables and functions.
25398
25399 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
25400
25401 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
25402 (completion-in-region-mode): New minor mode.
25403 (completion-in-region): Use it.
25404 (completion-in-region--data, completion-in-region-mode-map): New vars.
25405 (completion-in-region--postch): New function.
25406 (completion--capf-misbehave-funs, completion--capf-safe-funs):
25407 New vars.
25408 (completion--capf-wrapper): New function.
25409 (completion-at-point): Use it to track well-behavedness of
25410 hook functions.
25411 (completion-help-at-point): New command.
25412
25413 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
25414
25415 * vc/add-log.el (add-change-log-entry): Don't use whitespace
25416 syntax class to search for whitespace on a single line
25417 (Message-ID: <4D938140.4030905@redhat.com>).
25418
25419 2011-03-30 Leo Liu <sdl.web@gmail.com>
25420
25421 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
25422 New commands.
25423 (edit-abbrevs-map): Bind them here.
25424 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
25425
25426 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
25427
25428 * allout.el (allout-hide-by-annotation, allout-flag-region):
25429 Reduce possibility of overlay leakage by making them volatile.
25430
25431 * allout-widgets.el (allout-widgets-tally): Define as nil so the
25432 hash is not shared between buffers. Mode initialization is
25433 responsible for giving it a useful starting value.
25434 (allout-item-span): Reduce possibility of overlay leakage by
25435 making them volatile.
25436 (allout-widgets-count-buttons-in-region): Add diagnostic function
25437 for tracking down button overlay leaks.
25438
25439 2011-03-29 Leo Liu <sdl.web@gmail.com>
25440
25441 * ido.el (ido-read-internal): Use the default history var
25442 minibuffer-history if no HISTORY is specified.
25443
25444 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
25445
25446 * net/imap.el (imap-shell-open, imap-process-connection-type):
25447 Use imap-process-connection-type for 'shell' streams as well as
25448 Kerberos, SSL, other subprocesses.
25449
25450 2011-03-28 Leo Liu <sdl.web@gmail.com>
25451
25452 * abbrev.el (abbrev-table-empty-p): New function.
25453 (prepare-abbrev-list-buffer): Place empty abbrev tables after
25454 nonempty ones. (Bug#5937)
25455
25456 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
25457
25458 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
25459
25460 2011-03-27 Leo Liu <sdl.web@gmail.com>
25461
25462 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
25463 for foreground and background colors.
25464 (ansi-color-make-color-map): Adapt.
25465
25466 2011-03-25 Leo Liu <sdl.web@gmail.com>
25467
25468 * midnight.el (midnight-time-float): Remove. Note it calculates
25469 the microsecond component incorrectly and seconds-to-time does the
25470 same job.
25471 Remove redundant (require 'timer).
25472
25473 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
25474 (ido-completions): Remove unused arguments. (Bug#8329)
25475
25476 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
25477
25478 * minibuffer.el (completion--flush-all-sorted-completions):
25479 Remove itself from hook.
25480 (completion-at-point): Let the functions perform the completion
25481 immediately and return nil or t.
25482 * comint.el (comint-dynamic-complete-functions): Now identical to
25483 completion-at-point-functions.
25484 (comint-dynamic-list-input-ring): Remove unused var `index'.
25485 (comint--match-partial-filename, comint--unquote&expand-filename):
25486 New funs, split from comint-match-partial-filename.
25487 (comint-dynamic-complete): Use completion-at-point.
25488 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
25489
25490 2011-03-24 Drew Adams <drew.adams@oracle.com>
25491
25492 * thingatpt.el: Support `defun'.
25493
25494 2011-03-23 Leo Liu <sdl.web@gmail.com>
25495
25496 * abbrevlist.el: Move to obsolete/abbrevlist.el.
25497
25498 * help-mode.el (help-mode-finish): Tweak regexp.
25499
25500 2011-03-23 Glenn Morris <rgm@gnu.org>
25501
25502 * eshell/esh-opt.el (eshell-eval-using-options):
25503 Do not bind unused local variable `eshell-option-stub'.
25504
25505 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
25506
25507 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
25508
25509 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
25510 keymap variable in `with-no-warnings' to avoid a warning when the
25511 keymap has been already `defconst'ed.
25512
25513 2011-03-22 Leo Liu <sdl.web@gmail.com>
25514
25515 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
25516 encode all chars in abbrevs; otherwise use emacs-mule or
25517 utf-8-emacs. (Bug#8308)
25518
25519 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
25520
25521 * simple.el (backward-delete-char-untabify):
25522 Avoid warning about using `delete-backward-char'.
25523
25524 * image.el (image-type-file-name-regexps): Make it variable.
25525 `imagemagick-register-types' modifies it, and the user may want
25526 to add new extensions for known image types.
25527 (imagemagick-register-types): Throw error if not using ImageMagick.
25528
25529 2011-03-22 Leo Liu <sdl.web@gmail.com>
25530
25531 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
25532 located before rcirc-prompt-end-marker.
25533 (rcirc-complete): Error if point is not after rcirc prompt.
25534 Handle the case when table is nil.
25535 (rcirc-user-authenticated): Define to fix compiler warning.
25536
25537 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
25538
25539 * custom.el (custom--inhibit-theme-enable): Make it affect only
25540 custom-theme-set-variables and custom-theme-set-faces.
25541 (provide-theme): Ignore custom--inhibit-theme-enable.
25542 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
25543 (custom-enabling-themes): Delete variable.
25544 (enable-theme): Accept only loaded themes as arguments.
25545 Ignore the special custom-enabled-themes variable.
25546 (custom-enabled-themes): Forbid themes from setting this.
25547 Eliminate use of custom-enabling-themes.
25548 (custom-push-theme): Quote "changed" custom var entry.
25549
25550 2011-03-21 Leo Liu <sdl.web@gmail.com>
25551
25552 * ido.el (ido-read-internal): Add ido-selected to history instead
25553 of user input.
25554
25555 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
25556
25557 * subr.el (deferred-action-list, deferred-action-function):
25558 Mark obsolete.
25559
25560 2011-03-21 Leo Liu <sdl.web@gmail.com>
25561
25562 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
25563 change on 2011-02-13 (bug#8309).
25564
25565 * minibuffer.el (read-file-name-function): Change default value.
25566 (read-file-name--defaults): Rename from read-file-name-defaults.
25567 (read-file-name-default): Rename from read-file-name.
25568 (read-file-name): Call read-file-name-function.
25569
25570 2011-03-21 Glenn Morris <rgm@gnu.org>
25571
25572 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
25573 Doc fixes.
25574
25575 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
25576
25577 * cus-theme.el: Add missing provide statement.
25578 (customize-create-theme): Extract theme value correctly.
25579 (custom-theme-visit-theme): Autoload.
25580 (customize-create-theme): Prompt before inserting default faces.
25581
25582 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
25583
25584 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
25585 units and musical notes.
25586
25587 2011-03-20 Leo Liu <sdl.web@gmail.com>
25588
25589 * ido.el (ido-read-internal): Use completing-read-default.
25590 (ido-completing-read): Fix compatibility with completing-read.
25591
25592 2011-03-20 Christian Ohler <ohler@gnu.org>
25593
25594 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
25595 (ert-delete-all-tests): Use `called-interactively-p' rather than
25596 `interactive-p'.
25597 (ert--make-xrefs-region): Respect END.
25598
25599 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
25600
25601 * dired-aux.el (dired-create-directory): Signal an error if the
25602 directory already exists (Bug#8246).
25603
25604 * facemenu.el (list-colors-display): Call list-faces-display
25605 inside with-help-window.
25606 (list-colors-print): Use display property to align the final
25607 column, instead of checking window-width.
25608
25609 2011-03-19 Eli Zaretskii <eliz@gnu.org>
25610
25611 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
25612 windows-nt systems.
25613 (emerge-protect-metachars): Quote correctly for ms-dos and
25614 windows-nt systems.
25615
25616 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
25617
25618 * info.el (info-initialize): Replace all uses of `:' with
25619 path-separator for compatibility with non-Unix systems.
25620 Cache quoting of path-separator. (Bug#8258)
25621
25622 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
25623
25624 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
25625 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
25626 (mouse-avoidance-mode): Fix typos in docstrings.
25627
25628 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
25629
25630 * startup.el (package-subdirectory-regexp): Move from package.el.
25631 Omit \\` and \\', and let callers add them.
25632
25633 * emacs-lisp/package.el (package-strip-version)
25634 (package-load-all-descriptors): Add \\` and \\' to
25635 package-subdirectory-regexp before using it.
25636 (package-untar-buffer): New arg DIR; ensure that file untars only
25637 into this expected directory. Remove superfluous delete-region.
25638 (package-unpack): Caller changed.
25639 (package-tar-file-info): Use package-subdirectory-regexp.
25640
25641 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
25642
25643 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
25644 diff-mode-shared-map (bug#8284).
25645 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
25646
25647 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
25648
25649 * calendar/time-date.el (format-seconds): Use assoc instead of
25650 assoc-string, since assoc-string doesn't exist in XEmacs.
25651
25652 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
25653
25654 * custom.el (custom-known-themes): Reflow docstring.
25655 (custom-theme-load-path): Fix typo in docstring.
25656 (load-theme): Fix typo in error message.
25657 (custom-available-themes, custom-variable-theme-value):
25658 Use `let', not `let*'.
25659
25660 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
25661
25662 * calc/README: Mention inclusion of musical notes.
25663
25664 * calc/calc-units.el (calc-lu-quant): Rename from
25665 `calc-logunits-quantity'.
25666 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
25667 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
25668 (calc-db): Rename from `calc-dblevel'.
25669 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
25670 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
25671 (calc-np): Rename from `calc-nplevel'.
25672 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
25673 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
25674 (calc-lu-plus): Rename from `calc-logunits-add'.
25675 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
25676 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
25677 (calc-lu-minus): Rename from `calc-logunits-sub'.
25678 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
25679 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
25680 (calc-lu-times): Rename from `calc-logunits-mul'.
25681 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
25682 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
25683 (calc-lu-divide): Rename from `calc-logunits-div'.
25684 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
25685 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
25686
25687 * calc/calc-ext.el (calc-init-extensions): Update the names of the
25688 functions being autoloaded.
25689
25690 * calc/calc.el (calc-lu-power-reference): Rename from
25691 `calc-logunits-power-reference'.
25692 (calc-lu-field-reference): Rename from
25693 `calc-logunits-field-reference'.
25694
25695 * calc/calc-help.el (calc-l-prefix-help):
25696 Mention musical note functions.
25697
25698 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
25699
25700 * minibuffer.el (completion-all-sorted-completions):
25701 Use :completion-cycle-penalty text property if present.
25702
25703 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
25704
25705 * allout.el (allout-yank-processing): Adjust for new rebulleting
25706 regime so bullet being yanked is used without prompting the user
25707 for a choice.
25708
25709 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
25710
25711 * startup.el (command-line): Warn the user that _emacs is deprecated.
25712
25713 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
25714
25715 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
25716 (delphi-verbose, delphi-comment-face, delphi-string-face)
25717 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
25718 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
25719 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
25720 (delphi-new-comment-line, delphi-font-lock-defaults)
25721 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
25722 Fix typos in docstrings.
25723
25724 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
25725
25726 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
25727 Invert the roles of character and string values for INSTEAD, so a
25728 string is used for the more common case of a defaulting prompt.
25729
25730 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25731
25732 * progmodes/ruby-mode.el (ruby-backward-sexp):
25733 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
25734 * play/gamegrid.el (gamegrid-make-face):
25735 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
25736 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
25737 * notifications.el (notifications-notify):
25738 * net/xesam.el (xesam-search-engines):
25739 * net/quickurl.el (quickurl-list-insert):
25740 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
25741
25742 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
25743
25744 * startup.el (command-line): Update package subdirectory regexp.
25745
25746 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25747
25748 * allout.el (allout-abbreviate-flattened-numbering)
25749 (allout-mode-deactivate-hook): Fix up obsolescence "date".
25750
25751 * subr.el (read-char-choice): Only show the cursor after the prompt,
25752 not after the answer.
25753
25754 2011-03-15 Kevin Ryde <user42@zip.com.au>
25755
25756 * help-fns.el (variable-at-point): Skip leading quotes, if any
25757 (bug#8253).
25758
25759 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25760
25761 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
25762 warning message.
25763
25764 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
25765
25766 * shell.el (shell): When called interactively, offer to change the
25767 shell file name on remote hosts.
25768
25769 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
25770
25771 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
25772 integration for LDAP parameters. The host, base, user or binddn,
25773 and secret tokens can be specified in a netrc file, for instance.
25774 This is optional because an `auth-source' parameter must be
25775 specified in the search attributes.
25776
25777 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
25778
25779 * help.el (describe-mode): Link to the mode's definition (bug#8185).
25780
25781 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
25782
25783 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
25784 into declaration. Remove redundant and harmful binding.
25785
25786 2011-03-12 Eli Zaretskii <eliz@gnu.org>
25787
25788 * files.el (file-ownership-preserved-p): Pass `integer' as an
25789 explicit 2nd argument to `file-attributes'. If the file's owner
25790 is the Administrators group on Windows, and the current user is
25791 Administrator, consider that a match.
25792
25793 * server.el (server-ensure-safe-dir): Consider server directory
25794 safe on MS-Windows if its owner is the Administrators group while
25795 the current Emacs user is Administrator. Use `=' to compare
25796 numerical UIDs, since they could be integers or floats.
25797
25798 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
25799
25800 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
25801
25802 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
25803
25804 Sync with Tramp 2.2.1.
25805
25806 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
25807
25808 * net/trampver.el: Update release number.
25809
25810 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
25811
25812 * progmodes/compile.el (compilation--previous-directory): Fix up
25813 various nil/dead-marker mismatches (bug#8014).
25814 (compilation-directory-properties, compilation-error-properties):
25815 Don't call it at a position past the one we're about to change.
25816
25817 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
25818 Disable obsolescence warnings in the file that declares it.
25819
25820 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
25821
25822 * allout-widgets.el (allout-widgets-tally):
25823 Initialize allout-widgets-tally as a hash table rather than nil to
25824 prevent mode-line redisplay warnings. Also, clarify the module
25825 description and fix a comment typo.
25826
25827 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
25828
25829 * help-fns.el (describe-variable): Don't complete keywords.
25830 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
25831
25832 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
25833
25834 * emacs-lisp/package.el (package-version-join): Impose a standard
25835 string representation for pre/alpha/beta version lists.
25836 (package-unpack-single): Standardize the directory name by passing
25837 it through package-version-join.
25838 (package-strip-rcs-id): Accept any version string that does not
25839 signal an error in version-to-list.
25840
25841 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
25842
25843 * simple.el (delete-trailing-whitespace): Return nil for the
25844 benefit of `write-file-functions'.
25845
25846 2011-03-10 Glenn Morris <rgm@gnu.org>
25847
25848 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
25849
25850 * vc/vc-git.el (vc-git-program): New option.
25851 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
25852 (vc-git--call): Use it.
25853
25854 * eshell/esh-util.el (eshell-condition-case): Doc fix.
25855
25856 * cus-edit.el (Custom-newline): If no button at point, look
25857 for a subgroup button at start-of-line. (Bug#2298)
25858
25859 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
25860
25861 2011-03-10 Julien Danjou <julien@danjou.info>
25862
25863 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
25864 `cursor-type' is nil.
25865
25866 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
25867
25868 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
25869
25870 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
25871
25872 * allout.el: Change so yank of distinctive-bullet items
25873 preserves the existing header prefix, rebulleting it if necessary,
25874 rather than replacing it. This is necessary for proper operation
25875 of cooperative addons like allout-widgets.
25876 (allout-make-topic-prefix, allout-rebullet-heading):
25877 Change SOLICIT arg to INSTEAD, and interpret additionally a string
25878 value as alternate bullet to be used, instead of prompting the user
25879 for a bullet character.
25880
25881 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
25882
25883 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25884 Do not use `tramp-file-name-port', because this returns also
25885 `tramp-default-port'.
25886
25887 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
25888
25889 * net/rcirc.el (rcirc-handler-001): Remove useless
25890 with-rcirc-process-buffer.
25891 (rcirc-check-auth-status): Swap arguments to string-match.
25892
25893 2011-03-09 Glenn Morris <rgm@gnu.org>
25894
25895 * shell.el (shell-mode):
25896 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
25897
25898 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
25899 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
25900
25901 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
25902
25903 * emacs-lisp/package.el (package-refresh-contents)
25904 (package-menu-execute): Use condition-case-no-debug.
25905
25906 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
25907
25908 * simple.el (shell-command-to-string): Use `process-file'.
25909
25910 * emacs-lisp/package.el (package-tar-file-info): Handle also
25911 remote files.
25912
25913 * emacs-lisp/package-x.el (package-upload-buffer-internal):
25914 Use `equal' for upload base check.
25915
25916 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
25917
25918 * textmodes/texinfo.el (texinfo-environments):
25919 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
25920
25921 2011-03-08 Glenn Morris <rgm@gnu.org>
25922
25923 * cus-start.el (cursor-in-non-selected-windows):
25924 Fix :set quoting oddness. (Bug#8192)
25925
25926 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
25927 in some setf expressions. (Bug#2159)
25928
25929 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
25930
25931 * custom.el (custom-available-themes): Return themes in
25932 alphabetical order.
25933
25934 See ChangeLog.15 for earlier changes.
25935
25936 ;; Local Variables:
25937 ;; coding: utf-8
25938 ;; End:
25939
25940 Copyright (C) 2011-2013 Free Software Foundation, Inc.
25941
25942 This file is part of GNU Emacs.
25943
25944 GNU Emacs is free software: you can redistribute it and/or modify
25945 it under the terms of the GNU General Public License as published by
25946 the Free Software Foundation, either version 3 of the License, or
25947 (at your option) any later version.
25948
25949 GNU Emacs is distributed in the hope that it will be useful,
25950 but WITHOUT ANY WARRANTY; without even the implied warranty of
25951 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25952 GNU General Public License for more details.
25953
25954 You should have received a copy of the GNU General Public License
25955 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.